Just tried to upgrade util-linux from 2.12r-r8 to 2.13-r2, and it breaks on AI_ADDRCONFIG which is not defined in uclibc. --snipp-- make[2]: Entering directory `/var/tmp/portage/sys-apps/util-linux-2.13-r2/work/util-linux-ng-2.13/login-utils' if i586-pc-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I. -I.. -DMAIN_TEST_CHECKTTY -include ../config.h -I../include -DLOCALEDIR=\"/usr/share/locale\" -fsigned-char -O2 -march=i586 -pipe -MT checktty_test-checktty.o -MD -MP -MF ".deps/checktty_test-checktty.Tpo" -c -o checktty_test-checktty.o `test -f 'checktty.c' || echo './'`checktty.c; \ then mv -f ".deps/checktty_test-checktty.Tpo" ".deps/checktty_test-checktty.Po"; else rm -f ".deps/checktty_test-checktty.Tpo"; exit 1; fi checktty.c: In function 'main': checktty.c:306: error: 'AI_ADDRCONFIG' undeclared (first use in this function) checktty.c:306: error: (Each undeclared identifier is reported only once checktty.c:306: error: for each function it appears in.) make[2]: *** [checktty_test-checktty.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.13-r2/work/util-linux-ng-2.13/login-utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.13-r2/work/util-linux-ng-2.13' make: *** [all] Error 2 * * ERROR: sys-apps/util-linux-2.13-r2 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * util-linux-2.13-r2.ebuild, line 78: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.13-r2/temp/build.log'. * Reproducible: Always Steps to Reproduce:
Try w/ 2.13.1
Same thing with 2.13.1: Making all in login-utils make[2]: Entering directory `/var/tmp/portage/sys-apps/util-linux-2.13.1/work/util-linux-ng-2.13.1/login-utils' i586-pc-linux-uclibc-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DMAIN_TEST_CHECKTTY -include ../config.h -I../include -DLOCALEDIR=\"/usr/share/locale\" -fsigned-char -O2 -march=i586 -pipe -MT checktty_test-checktty.o -MD -MP -MF .deps/checktty_test-checktty.Tpo -c -o checktty_test-checktty.o `test -f 'checktty.c' || echo './'`checktty.c checktty.c: In function 'main': checktty.c:306: error: 'AI_ADDRCONFIG' undeclared (first use in this function) checktty.c:306: error: (Each undeclared identifier is reported only once checktty.c:306: error: for each function it appears in.) make[2]: *** [checktty_test-checktty.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.13.1/work/util-linux-ng-2.13.1/login-utils' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/sys-apps/util-linux-2.13.1/work/util-linux-ng-2.13.1' make: *** [all] Error 2 * * ERROR: sys-apps/util-linux-2.13.1 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * util-linux-2.13.1.ebuild, line 72: Called die * The specific snippet of code: * emake || die "emake failed" * The die message: * emake failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/tmp/portage/sys-apps/util-linux-2.13.1/temp/build.log'. *
this has already been fixed in newer uclibc *** This bug has been marked as a duplicate of bug 203711 ***
Using sys-libs/uclibc-0.9.28.3-r2 now and it works, thanks.