Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subberthehut: init at 20 #45366

Merged
merged 1 commit into from Aug 23, 2018
Merged

subberthehut: init at 20 #45366

merged 1 commit into from Aug 23, 2018

Conversation

jqueiroz
Copy link
Member

Motivation for this change
Things done
  • Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
  • Built on platform(s)
    • NixOS
    • macOS
    • other Linux distributions
  • Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
  • Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
  • Tested execution of all binary files (usually in ./result/bin/)
  • Determined the impact on package closure size (by running nix path-info -S before and after)
  • Fits CONTRIBUTING.md.

@xeji
Copy link
Contributor

xeji commented Aug 22, 2018

@GrahamcOfBorg build subberthehut

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: subberthehut

Partial log (click to expand)

installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20
shrinking /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20/bin/subberthehut
/nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip is /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip
stripping (with command /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip and flags -S) in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20/bin
patching script interpreter paths in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20
checking for references to /build in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20...
/nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: subberthehut

Partial log (click to expand)

build flags: SHELL=/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/bash
/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/bin/xmlrpc-c-config: line 64: xml2-config: command not found
/nix/store/7qw2hb02ychpaabvxs2yq16p1cc0i1jc-clang-wrapper-5.0.2/bin/clang -std=gnu99 -Wall -Wextra -pedantic -O2 -D_FORTIFY_SOURCE=2 -I/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/include  -I/nix/store/4jdar98fpj9d52hbin9x10pk9b9rnlba-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/69zsc7sg4908xqxww13q33lp9bwak3i7-glib-2.56.0/lib/glib-2.0/include -I/nix/store/dmrdlarqpb28m8k4624y24krigb6rbpi-zlib-1.2.11-dev/include -DVERSION=\"20\"    -c -o subberthehut.o subberthehut.c
/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/bin/xmlrpc-c-config: line 64: xml2-config: command not found
/nix/store/7qw2hb02ychpaabvxs2yq16p1cc0i1jc-clang-wrapper-5.0.2/bin/clang   subberthehut.o  -L/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/lib   -lxmlrpc_client -lxmlrpc   -lxmlrpc_util -lpthread -L/nix/store/szz3zynmrbi2scksca1xn1ani704xidk-curl-7.61.0/lib -lcurl -lnghttp2 -lssh2 -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lresolv -lz  -L/nix/store/69zsc7sg4908xqxww13q33lp9bwak3i7-glib-2.56.0/lib -L/nix/store/psry9nab69pwi27izxgy41zh7pccniqx-zlib-1.2.11/lib -lglib-2.0 -lz  -o subberthehut
ld: library not found for -lnghttp2
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [<builtin>: subberthehut] Error 1
builder for '/nix/store/h61334f7r8llmz4rh4s3l4s9v6pifjms-subberthehut-20.drv' failed with exit code 2
error: build of '/nix/store/h61334f7r8llmz4rh4s3l4s9v6pifjms-subberthehut-20.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: subberthehut

Partial log (click to expand)

installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/7h8vafkrbgna980dyjpdka6vj2af9aya-subberthehut-20
shrinking /nix/store/7h8vafkrbgna980dyjpdka6vj2af9aya-subberthehut-20/bin/subberthehut
/nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip is /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip
stripping (with command /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip and flags -S) in /nix/store/7h8vafkrbgna980dyjpdka6vj2af9aya-subberthehut-20/bin
patching script interpreter paths in /nix/store/7h8vafkrbgna980dyjpdka6vj2af9aya-subberthehut-20
checking for references to /build in /nix/store/7h8vafkrbgna980dyjpdka6vj2af9aya-subberthehut-20...
/nix/store/7h8vafkrbgna980dyjpdka6vj2af9aya-subberthehut-20

@xeji
Copy link
Contributor

xeji commented Aug 22, 2018

You can try to add nghttp2 to buildInputs to fix the Darwin failure.

@jqueiroz jqueiroz force-pushed the subberthehut branch 2 times, most recently from a8bfa86 to 4cb5865 Compare August 23, 2018 00:13
@jqueiroz
Copy link
Member Author

@GrahamcOfBorg build subberthehut

1 similar comment
@xeji
Copy link
Contributor

xeji commented Aug 23, 2018

@GrahamcOfBorg build subberthehut

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: subberthehut

Partial log (click to expand)

build flags: SHELL=/nix/store/zbhk0jhc9y8hmbcax9nvddbik3rgsary-bash-4.4-p23/bin/bash
/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/bin/xmlrpc-c-config: line 64: xml2-config: command not found
/nix/store/7qw2hb02ychpaabvxs2yq16p1cc0i1jc-clang-wrapper-5.0.2/bin/clang -std=gnu99 -Wall -Wextra -pedantic -O2 -D_FORTIFY_SOURCE=2 -I/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/include  -I/nix/store/4jdar98fpj9d52hbin9x10pk9b9rnlba-glib-2.56.0-dev/include/glib-2.0 -I/nix/store/69zsc7sg4908xqxww13q33lp9bwak3i7-glib-2.56.0/lib/glib-2.0/include -I/nix/store/dmrdlarqpb28m8k4624y24krigb6rbpi-zlib-1.2.11-dev/include -DVERSION=\"20\"    -c -o subberthehut.o subberthehut.c
/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/bin/xmlrpc-c-config: line 64: xml2-config: command not found
/nix/store/7qw2hb02ychpaabvxs2yq16p1cc0i1jc-clang-wrapper-5.0.2/bin/clang   subberthehut.o  -L/nix/store/1mz81g79pqrivr8bygxmrq6najvp1x73-xmlrpc-c-1.39.12/lib   -lxmlrpc_client -lxmlrpc   -lxmlrpc_util -lpthread -L/nix/store/szz3zynmrbi2scksca1xn1ani704xidk-curl-7.61.0/lib -lcurl -lnghttp2 -lssh2 -lssh2 -lssl -lcrypto -lssl -lcrypto -lgssapi_krb5 -lresolv -lz  -L/nix/store/69zsc7sg4908xqxww13q33lp9bwak3i7-glib-2.56.0/lib -L/nix/store/psry9nab69pwi27izxgy41zh7pccniqx-zlib-1.2.11/lib -lglib-2.0 -lz  -o subberthehut
ld: library not found for -lssh2
clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [<builtin>: subberthehut] Error 1
builder for '/nix/store/zydxp25mgqmq5dyc32dwk6yh6m3hycdi-subberthehut-20.drv' failed with exit code 2
error: build of '/nix/store/zydxp25mgqmq5dyc32dwk6yh6m3hycdi-subberthehut-20.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: subberthehut

Partial log (click to expand)

installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zh5dk2ymbpqjvpak719m5ayqwxzh04cx-subberthehut-20
shrinking /nix/store/zh5dk2ymbpqjvpak719m5ayqwxzh04cx-subberthehut-20/bin/subberthehut
/nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip is /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip
stripping (with command /nix/store/vp40my263xk32f07788srrgl59rycsna-binutils-2.30/bin/strip and flags -S) in /nix/store/zh5dk2ymbpqjvpak719m5ayqwxzh04cx-subberthehut-20/bin
patching script interpreter paths in /nix/store/zh5dk2ymbpqjvpak719m5ayqwxzh04cx-subberthehut-20
checking for references to /build in /nix/store/zh5dk2ymbpqjvpak719m5ayqwxzh04cx-subberthehut-20...
/nix/store/zh5dk2ymbpqjvpak719m5ayqwxzh04cx-subberthehut-20

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: subberthehut

Partial log (click to expand)

installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/rnvdk926xmfj7wd0jpwks1bvsg6dz9z2-subberthehut-20
shrinking /nix/store/rnvdk926xmfj7wd0jpwks1bvsg6dz9z2-subberthehut-20/bin/subberthehut
/nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip is /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip
stripping (with command /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip and flags -S) in /nix/store/rnvdk926xmfj7wd0jpwks1bvsg6dz9z2-subberthehut-20/bin
patching script interpreter paths in /nix/store/rnvdk926xmfj7wd0jpwks1bvsg6dz9z2-subberthehut-20
checking for references to /build in /nix/store/rnvdk926xmfj7wd0jpwks1bvsg6dz9z2-subberthehut-20...
/nix/store/rnvdk926xmfj7wd0jpwks1bvsg6dz9z2-subberthehut-20

@xeji
Copy link
Contributor

xeji commented Aug 23, 2018

Unfortunately that didn't fix the Darwin build. I suggest you limit platforms to platforms.linux so we can merge this. Anyone who wants to use this on a Mac can fix it later.

@jqueiroz
Copy link
Member Author

Thanks @xeji, I just changed the platforms as suggested.

@xeji
Copy link
Contributor

xeji commented Aug 23, 2018

@GrahamcOfBorg build subberthehut

@GrahamcOfBorg
Copy link

No attempt on x86_64-darwin (full log)

The following builds were skipped because they don't evaluate on x86_64-darwin: subberthehut

Partial log (click to expand)


a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.


@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: subberthehut

Partial log (click to expand)

installing
glibPreFixupPhase
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20
shrinking /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20/bin/subberthehut
/nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip is /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip
stripping (with command /nix/store/8wl4dykwswy42wxj671b6k7vk2ydxg86-binutils-2.30/bin/strip and flags -S) in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20/bin
patching script interpreter paths in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20
checking for references to /build in /nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20...
/nix/store/yhd6ps35xgfdixqn59s0m6ppdm2a0lsg-subberthehut-20

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: subberthehut

Partial log (click to expand)

/nix/store/7h8vafkrbgna980dyjpdka6vj2af9aya-subberthehut-20

@xeji
Copy link
Contributor

xeji commented Aug 23, 2018

Thank you!

@xeji xeji merged commit 8472912 into NixOS:master Aug 23, 2018
@jqueiroz jqueiroz deleted the subberthehut branch August 24, 2018 01:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants