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

netbsd: 7.1.2 -> 8.0 #47098

Merged
merged 8 commits into from Oct 8, 2018
Merged

netbsd: 7.1.2 -> 8.0 #47098

merged 8 commits into from Oct 8, 2018

Conversation

dtzWill
Copy link
Member

@dtzWill dtzWill commented Sep 21, 2018

I think everything that worked before still works O:)

  • 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.

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: netbsd.libcurses

Partial log (click to expand)

builder for '/nix/store/2yb6pzgn57g29rxxvg1k55m10978s0vc-bsd-fts-netbsd-8.0.drv' failed with exit code 1
cannot build derivation '/nix/store/igv3062g6m2ixb57pmg3bca9nrwvxrs0-bsd-xinstall-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/6f41spwjsimiwww859rxjdbmqcvdbhbs-bsd-lorder-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/iv3bwzzv0al0xxms42g9zxw3rq1w4zbq-bsd-stat-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hdvx7d0894ahmn1b2wvd9mzxvqpjn0s2-bsd-tsort-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/z6qdsdw5hxd56v7jajr406dj18vkp7wl-bsd-nbperf-netbsd-8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/gikwlm0rkfa2az6xpmsclzgmgr2c662v-bsd-tic-netbsd-8.0.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/simfwn3n4x6rm168wcc1ixv0vk1lqzsk-bsd-libterminfo-netbsd-8.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/1qblqw92pz98b4xmsqknlyhna1z0z5ai-bsd-libcurses-netbsd-8.0.drv': 5 dependencies couldn't be built
error: build of '/nix/store/1qblqw92pz98b4xmsqknlyhna1z0z5ai-bsd-libcurses-netbsd-8.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: netbsd.libcurses

Partial log (click to expand)

make: stopped in /build/cvs-export/usr.bin/xinstall
builder for '/nix/store/kgsz05yhp7rvy9qjrm8z6cfiabnd6n72-bsd-xinstall-netbsd-8.0.drv' failed with exit code 2
cannot build derivation '/nix/store/g278f6s0bgrqasir6hr2bq4ifl2g6sld-bsd-lorder-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/pg4bbpmvknnnfahqp92anhnqhb1p1cjz-bsd-stat-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/hd3mi205p9yyavjh8yvr85rv9cn1vchg-bsd-tsort-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/9pilig06s9ycvfwdfgb4cr1bqvwi2wl9-bsd-nbperf-netbsd-8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/1yqhiz3byry7npm81fh3qzwxc3j7iiqz-bsd-tic-netbsd-8.0.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/k6ddhsb1h8isn51iqyhcdinjs4z42dzz-bsd-libterminfo-netbsd-8.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/17d3hk4n3bpp92y57yy3qgs0brbdff9d-bsd-libcurses-netbsd-8.0.drv': 5 dependencies couldn't be built
error: build of '/nix/store/17d3hk4n3bpp92y57yy3qgs0brbdff9d-bsd-libcurses-netbsd-8.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: netbsd.libcurses

Partial log (click to expand)

#   install  /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0/share/man/html3/wvline.html
install -U -l h -o root -g wheel -m 444  /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0/share/man/html3/curses_line.html /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0/share/man/html3/wvline.html
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0
shrinking /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0/lib/libcurses.so.7.1
gzipping man pages under /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0/lib
patching script interpreter paths in /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0
checking for references to /build in /nix/store/lqcxaf3isrb8wq2i4nvwpzq027pj1mah-bsd-libcurses-netbsd-8.0...

@dtzWill
Copy link
Member Author

dtzWill commented Sep 21, 2018

Eep well it worked on Linux 😇 .

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: netbsd.libcurses

Partial log (click to expand)

builder for '/nix/store/3papcg4yr2dj9k43x3yn2yff9ci2njk1-bsd-fts-netbsd-8.0.drv' failed with exit code 1
cannot build derivation '/nix/store/4ps63lzbgh5l1r21nfq1gdjy4z0n64n5-bsd-xinstall-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/qy9fac0g8xwawsjfkliaqq351b6da0c7-bsd-lorder-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/v5b2fpwqh1hnmzd8ixzp4rimfp62whwq-bsd-stat-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/cyk6l33x77d0jidpb9jn2wm5p9gdlz67-bsd-tsort-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/x80mjln443bqdgq16zmg4spg6w24jds2-bsd-nbperf-netbsd-8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/vzkbzszr1crmpyx6r1ymkr510lri65mz-bsd-tic-netbsd-8.0.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/mp16v2b5wkkz92jd0w5nfraqz5hvrnrg-bsd-libterminfo-netbsd-8.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/m3h0byxanwdbn90i54m19m0mg5qxa0wq-bsd-libcurses-netbsd-8.0.drv': 5 dependencies couldn't be built
error: build of '/nix/store/m3h0byxanwdbn90i54m19m0mg5qxa0wq-bsd-libcurses-netbsd-8.0.drv' failed

@GrahamcOfBorg
Copy link

Failure on aarch64-linux (full log)

Attempted: netbsd.libcurses

Partial log (click to expand)

make: stopped in /build/cvs-export/usr.bin/xinstall
builder for '/nix/store/qvn793fabshvs1fx149582j7j5d8vqg3-bsd-xinstall-netbsd-8.0.drv' failed with exit code 2
cannot build derivation '/nix/store/9p7pa54qyhsr2cgg3pa0z0bq85kw2jnj-bsd-lorder-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5rmh9ylsxjxj90gz57nrpb7i4v6xa0zz-bsd-stat-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/ncjrp2kmyr7hx2klaf6f7854dzry823p-bsd-tsort-netbsd-8.0.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/5vax3vxhrpnk456ddl0aasra59rhxb55-bsd-nbperf-netbsd-8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/dqk4ybpwf5i3z76lrq87mrbhy1i0av4q-bsd-tic-netbsd-8.0.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/zrwlp6kmr5qhprqnq7h1jvs7zybm4yxg-bsd-libterminfo-netbsd-8.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/jn0g9bkc93sq1l8hc1xpj3yi5p03yag7-bsd-libcurses-netbsd-8.0.drv': 5 dependencies couldn't be built
error: build of '/nix/store/jn0g9bkc93sq1l8hc1xpj3yi5p03yag7-bsd-libcurses-netbsd-8.0.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: netbsd.libcurses

Partial log (click to expand)

install -U -l h -o root -g wheel -m 444  /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0/share/man/html3/curses_line.html /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0/share/man/html3/wvline.html
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0
shrinking /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0/lib/libcurses.so.7.1
gzipping man pages under /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0/lib
patching script interpreter paths in /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0
checking for references to /build in /nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0...
/nix/store/b7b9179skqaqmmbb0v1z2jvp7h9vdhdr-bsd-libcurses-netbsd-8.0

@matthewbauer
Copy link
Member

Looks good! A few hashes didn’t change with the version though. That might be because the underlying source didn’t change either though. I can look at darwin failures - there’s also aarch64 ones as well.

@dtzWill
Copy link
Member Author

dtzWill commented Sep 21, 2018

Please check if it's not trouble, but I can say at least a few sure seemed to be the same when I tried to check again, but definitely may have missed one or more. Thanks re:failures, I'll see what I can turn up as well :).

@matthewbauer
Copy link
Member

For reference, I was working on a NetBSD cross support branch here:

https://github.com/matthewbauer/nixpkgs/commits/netbsd

I don't think we're quite ready to start merging something like this yet- but might be useful as I changed some unrelated things. Eventually I'd like to get bootstrap tools for netbsd.

Separates build and host packages to get cross compilation working.
@matthewbauer matthewbauer self-assigned this Oct 8, 2018
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

3 participants