libtool call to build rndc-confgen appears to depend on unix/os.lo before said file is built. Relevant piece of the build output: libtool: compile: x86_64-pc-linux-gnu-gcc -I/var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1 -I./include -I/var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/lib/isc/include -I../../lib/isc -I../../lib/isc/include -I../../lib/isc/unix/include -I../../lib/isc/pthreads/include -I../../lib/isc/x86_32/include -I/var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/lib/isccc/include -I../../lib/isccc/include -I/var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/lib/isccfg/include -I../../lib/isccfg/include -I/var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/lib/dns/include -I../../lib/dns/include -I/var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/lib/bind9/include -I../../lib/bind9/include -D_REENTRANT -D_GNU_SOURCE -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -W -Wall -Wmissing-prototypes -Wcast-qual -Wwrite-strings -Wformat -Wpointer-arith -fno-strict-aliasing -DRNDC_KEYFILE=\"/etc/bind/rndc.key\" -c ./rndc-confgen.c -o rndc-confgen.o >/dev/null 2>&1 export BASEOBJS="rndc-confgen.lo util.lo keygen.lo unix/os.lo"; \ if [ X"" = X -o X"${MAKE_SYMTABLE:-}" = X ] ; then /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgen ${BASEOBJS} ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc.la -lcap -lpthread -lm -lGeoIP ; else rm -f rndc-confgentmp0; /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgentmp0 ${BASEOBJS} ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc.la -lcap -lpthread -lm -lGeoIP || exit 1; rm -f rndc-confgen-symtbl.c rndc-confgen-symtbl.lo; ../../util/mksymtbl.pl -o rndc-confgen-symtbl.c rndc-confgentmp0 || exit 1; make rndc-confgen-symtbl.lo || exit 1; rm -f rndc-confgentmp1; /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgentmp1 ${BASEOBJS} rndc-confgen-symtbl.lo ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc-nosymtbl.la -lcap -lpthread -lm -lGeoIP || exit 1; rm -f rndc-confgen-symtbl.c rndc-confgen-symtbl.lo; ../../util/mksymtbl.pl -o rndc-confgen-symtbl.c rndc-confgentmp1 || exit 1; make rndc-confgen-symtbl.lo || exit 1; /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgentmp2 ${BASEOBJS} rndc-confgen-symtbl.lo ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc-nosymtbl.la -lcap -lpthread -lm -lGeoIP ; ../../util/mksymtbl.pl -o rndc-confgen-symtbl2.c rndc-confgentmp2; diff rndc-confgen-symtbl.c rndc-confgen-symtbl2.c || exit 1; mv rndc-confgentmp2 rndc-confgen; rm -f rndc-confgentmp0 rndc-confgentmp1 rndc-confgentmp2 rndc-confgen-symtbl2.c; fi libtool: link: `unix/os.lo' is not a valid libtool object make[2]: *** [rndc-confgen] Error 1 make[2]: *** Waiting for unfinished jobs.... Reproducible: Sometimes Steps to Reproduce: 1. emerge net-dns/bind Actual Results: Build fails Expected Results: Build should succeed if [ X"" = X -o X"${MAKE_SYMTABLE:-}" = X ] ; then /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgen ${BASEOBJS} ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc.la -lcap -lpthread -lm -lGeoIP ; else rm -f rndc-confgentmp0; /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgentmp0 ${BASEOBJS} ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc.la -lcap -lpthread -lm -lGeoIP || exit 1; rm -f rndc-confgen-symtbl.c rndc-confgen-symtbl.lo; ../../util/mksymtbl.pl -o rndc-confgen-symtbl.c rndc-confgentmp0 || exit 1; make rndc-confgen-symtbl.lo || exit 1; rm -f rndc-confgentmp1; /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgentmp1 ${BASEOBJS} rndc-confgen-symtbl.lo ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc-nosymtbl.la -lcap -lpthread -lm -lGeoIP || exit 1; rm -f rndc-confgen-symtbl.c rndc-confgen-symtbl.lo; ../../util/mksymtbl.pl -o rndc-confgen-symtbl.c rndc-confgentmp1 || exit 1; make rndc-confgen-symtbl.lo || exit 1; /bin/sh /var/tmp/portage/net-dns/bind-9.7.4_p1/work/bind-9.7.4-P1/libtool --mode=link x86_64-pc-linux-gnu-gcc -O2 -pipe -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf -mpclmul -mpopcnt -msse4.2 --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=256 -mtune=core2 -DHAVE_GEOIP -DHAVE_GEOIP_V6 -Wl,-O1 -Wl,--as-needed -o rndc-confgentmp2 ${BASEOBJS} rndc-confgen-symtbl.lo ${LIBS0} ../../lib/dns/libdns.la -lcrypto ../../lib/isc/libisc-nosymtbl.la -lcap -lpthread -lm -lGeoIP ; ../../util/mksymtbl.pl -o rndc-confgen-symtbl2.c rndc-confgentmp2; diff rndc-confgen-symtbl.c rndc-confgen-symtbl2.c || exit 1; mv rndc-confgentmp2 rndc-confgen; rm -f rndc-confgentmp0 rndc-confgentmp1 rndc-confgentmp2 rndc-confgen-symtbl2.c; fi libtool: link: `unix/os.lo' is not a valid libtool object make[2]: *** [rndc-confgen] Error 1 make[2]: *** Waiting for unfinished jobs....
Created attachment 299275 [details] emerge --info
Please attach the entire build log to this bug report.
I can't. I failed to copy the relevant files before trying again to see if it was reproducible.
Created attachment 299309 [details] build.log (reproduced crash Reproduced it.
*** This bug has been marked as a duplicate of bug 329001 ***