My guess is it's related to sys-kernel/linux-headers (http://sourceware.org/ml/libc-alpha/2008-03/msg00076.html gave me a hint). Could not test with sys-kernel/linux-headers-2.6.23-r3 (problem with redefined 'readline'), but the build fails with all other 2.6.* versions. -- make[3]: Entering directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6/ntpd' if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include -march=nocona -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar ith -Wshadow -Wstrict-prototypes -MT ntp_control.o -MD -MP -MF ".deps/ntp_control.Tpo" -c -o ntp_control.o ntp_control.c; \ then mv -f ".deps/ntp_control.Tpo" ".deps/ntp_control.Po"; else rm -f ".deps/ntp_control.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include -march=nocona -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar ith -Wshadow -Wstrict-prototypes -MT ntp_crypto.o -MD -MP -MF ".deps/ntp_crypto.Tpo" -c -o ntp_crypto.o ntp_crypto.c; \ then mv -f ".deps/ntp_crypto.Tpo" ".deps/ntp_crypto.Po"; else rm -f ".deps/ntp_crypto.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include -march=nocona -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar ith -Wshadow -Wstrict-prototypes -MT ntp_filegen.o -MD -MP -MF ".deps/ntp_filegen.Tpo" -c -o ntp_filegen.o ntp_filegen.c; \ then mv -f ".deps/ntp_filegen.Tpo" ".deps/ntp_filegen.Po"; else rm -f ".deps/ntp_filegen.Tpo"; exit 1; fi ntp_filegen.c: In function 'filegen_init': ntp_filegen.c:65: warning: declaration of 'basename' shadows a global declaration /usr/include/string.h:604: warning: shadowed declaration is here ntp_filegen.c: In function 'filegen_open': ntp_filegen.c:89: warning: declaration of 'basename' shadows a global declaration /usr/include/string.h:604: warning: shadowed declaration is here ntp_filegen.c: In function 'filegen_config': ntp_filegen.c:374: warning: declaration of 'basename' shadows a global declaration /usr/include/string.h:604: warning: shadowed declaration is here ntp_filegen.c: In function 'valid_fileref': ntp_filegen.c:432: warning: declaration of 'basename' shadows a global declaration /usr/include/string.h:604: warning: shadowed declaration is here if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include -march=nocona -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar ith -Wshadow -Wstrict-prototypes -MT ntp_intres.o -MD -MP -MF ".deps/ntp_intres.Tpo" -c -o ntp_intres.o ntp_intres.c; \ then mv -f ".deps/ntp_intres.Tpo" ".deps/ntp_intres.Po"; else rm -f ".deps/ntp_intres.Tpo"; exit 1; fi ntp_crypto.c: In function 'crypto_recv': ntp_crypto.c:633: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type ntp_crypto.c: In function 'crypto_encrypt': ntp_crypto.c:1656: warning: passing argument 3 of 'd2i_PublicKey' from incompatible pointer type ntp_crypto.c: In function 'cert_parse': ntp_crypto.c:3030: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type ntp_crypto.c: In function 'cert_sign': ntp_crypto.c:3242: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type ntp_crypto.c: In function 'cert_valid': ntp_crypto.c:3347: warning: passing argument 2 of 'd2i_X509' from incompatible pointer type if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include -march=nocona -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar ith -Wshadow -Wstrict-prototypes -MT ntp_loopfilter.o -MD -MP -MF ".deps/ntp_loopfilter.Tpo" -c -o ntp_loopfilter.o ntp_loopfilter.c; \ then mv -f ".deps/ntp_loopfilter.Tpo" ".deps/ntp_loopfilter.Po"; else rm -f ".deps/ntp_loopfilter.Tpo"; exit 1; fi if x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../include -I../libopts -D_GNU_SOURCE -I/usr/include -march=nocona -O2 -pipe -Wall -Wcast-qual -Wmissing-prototypes -Wpointer-ar ith -Wshadow -Wstrict-prototypes -MT ntp_monitor.o -MD -MP -MF ".deps/ntp_monitor.Tpo" -c -o ntp_monitor.o ntp_monitor.c; \ then mv -f ".deps/ntp_monitor.Tpo" ".deps/ntp_monitor.Po"; else rm -f ".deps/ntp_monitor.Tpo"; exit 1; fi ntp_loopfilter.c: In function 'local_clock': ntp_loopfilter.c:571: error: 'MOD_NANO' undeclared (first use in this function) ntp_loopfilter.c:571: error: (Each undeclared identifier is reported only once ntp_loopfilter.c:571: error: for each function it appears in.) ntp_loopfilter.c: In function 'loop_config': ntp_loopfilter.c:896: error: 'MOD_NANO' undeclared (first use in this function) make[3]: *** [ntp_loopfilter.o] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6/ntpd' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6/ntpd' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/net-misc/ntp-4.2.4_p6/work/ntp-4.2.4p6' make: *** [all] Error 2
Created attachment 191976 [details] emerge --info
*** This bug has been marked as a duplicate of bug 270483 ***