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

libbsd: 0.8.7 -> 0.9.1 #46257

Closed
wants to merge 1 commit into from
Closed

Conversation

r-ryantm
Copy link
Contributor

@r-ryantm r-ryantm commented Sep 7, 2018

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from libbsd.

meta.description for libbsd is: '"Common functions found on BSD systems"'.

Checks done (click to expand)
Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

  1. Install cachix from https://cachix.org/
  2. Use r-ryantm's cache:
    cachix use r-ryantm
    

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:

nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/44838c5aebdd62a699dbdb7697b9010eeb5cabd6.tar.gz -p libbsd
ls -la /nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1

cc @matthewbauer for testing.

Semi-automatic update generated by
https://github.com/ryantm/nixpkgs-update tools. This update was made
based on information from
libbsd
@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: libbsd

Partial log (click to expand)

patching file src/getentropy.c
patching file src/hash/sha512.h
patching file src/hash/sha512c.c
patching file src/nlist.c
patching file src/setproctitle.c
patching file src/strlcat.c
patching file src/strlcpy.c
patching file src/strmode.c
builder for '/nix/store/h49s7jg9d8id5wvx2fr0662665drvrld-libbsd-0.9.1.drv' failed with exit code 1
error: build of '/nix/store/h49s7jg9d8id5wvx2fr0662665drvrld-libbsd-0.9.1.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: libbsd

Partial log (click to expand)

make[1]: Leaving directory '/build/libbsd-0.9.1'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1
shrinking /nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1/lib/libbsd.so.0.9.1
gzipping man pages under /nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1/lib
patching script interpreter paths in /nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1
checking for references to /build in /nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1...
/nix/store/ghix5wishwhbiqzkcbxrbd53lg0wgh38-libbsd-0.9.1

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: libbsd

Partial log (click to expand)

make[1]: Leaving directory '/build/libbsd-0.9.1'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/2ji11cq3ybn7019f4h19mab3s4vgcjij-libbsd-0.9.1
shrinking /nix/store/2ji11cq3ybn7019f4h19mab3s4vgcjij-libbsd-0.9.1/lib/libbsd.so.0.9.1
gzipping man pages under /nix/store/2ji11cq3ybn7019f4h19mab3s4vgcjij-libbsd-0.9.1/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/2ji11cq3ybn7019f4h19mab3s4vgcjij-libbsd-0.9.1/lib
patching script interpreter paths in /nix/store/2ji11cq3ybn7019f4h19mab3s4vgcjij-libbsd-0.9.1
checking for references to /build in /nix/store/2ji11cq3ybn7019f4h19mab3s4vgcjij-libbsd-0.9.1...
/nix/store/2ji11cq3ybn7019f4h19mab3s4vgcjij-libbsd-0.9.1

@lukateras
Copy link
Member

@GrahamcOfBorg build opendkim

@GrahamcOfBorg
Copy link

Failure on x86_64-darwin (full log)

Attempted: opendkim

Partial log (click to expand)

clang-5.0: error: no such file or directory: 'confCCOPTS_SO'
make: *** [Makefile:313: depend] Error 1
Making in /private/tmp/nix-build-libmilter-8.15.2.drv-0/sendmail-8.15.2/obj.Darwin.16.3.0.x86_64/libmilter
cc -traditional-cpp -pipe  -O3 -I. -I../../sendmail   -I../../include  -DDARWIN -DNETINET6 -DNOT_SENDMAIL -Dsm_snprintf=snprintf   confCCOPTS_SO -DXP_MT   -c -o main.o main.c
clang-5.0: error: no such file or directory: 'confCCOPTS_SO'
clang-5.0: error: the clang compiler does not support '-traditional-cpp'
make: *** [<builtin>: main.o] Error 1
builder for '/nix/store/8jdcimkv2z854mrsli70m01p1129zvsf-libmilter-8.15.2.drv' failed with exit code 2
cannot build derivation '/nix/store/zykhk70dh1437v17b1s7cfshj38llpy6-opendkim-2.10.3.drv': 2 dependencies couldn't be built
error: build of '/nix/store/zykhk70dh1437v17b1s7cfshj38llpy6-opendkim-2.10.3.drv' failed

@GrahamcOfBorg
Copy link

Success on x86_64-linux (full log)

Attempted: opendkim

Partial log (click to expand)

shrinking /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/sbin/opendkim
shrinking /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/sbin/opendkim-genzone
shrinking /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/sbin/opendkim-testmsg
gzipping man pages under /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/share/man/
strip is /nix/store/vcc4svb8gy29g4pam2zja6llkbcwsyiq-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/lib  /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/sbin
patching script interpreter paths in /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3
/nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/sbin/.opendkim-genkey-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/inx7qw2cxjhz23x7ibn7fj7mdryhr81h-perl-5.28.0/bin/perl"
checking for references to /build in /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3...
moving /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/sbin/* to /nix/store/vgsnvmnvasqlnhghmn26rz080vv2y2zc-opendkim-2.10.3/bin

@GrahamcOfBorg
Copy link

Success on aarch64-linux (full log)

Attempted: opendkim

Partial log (click to expand)

shrinking /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/sbin/opendkim-testkey
shrinking /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/sbin/opendkim-genzone
shrinking /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/lib/libopendkim.so.10.0.3
gzipping man pages under /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/share/man/
strip is /nix/store/p9akxn2sfy4wkhqdqa3li97pc6jaz3r1-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/lib  /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/sbin
patching script interpreter paths in /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3
/nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/sbin/.opendkim-genkey-wrapped: interpreter directive changed from "/usr/bin/perl" to "/nix/store/zn273apzyinrd1cbrp6b8b3zgfwwl0s1-perl-5.28.0/bin/perl"
checking for references to /build in /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3...
moving /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/sbin/* to /nix/store/51f2d36gi5dchas3f74v9r5x5kvhpd95-opendkim-2.10.3/bin

@lukateras
Copy link
Member

See #40969.

@lukateras lukateras closed this Oct 13, 2018
@r-ryantm r-ryantm deleted the auto-update/libbsd branch October 13, 2018 22:22
@matthewbauer
Copy link
Member

Actually what I was working on didn't work as well as expected. libbsd gets you some useful functions not otherwise available. My only hope is that we can upstream the darwin patch so I don't have to keep updating it every time.

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