Since I upgraded to glibc-2.8_p2008xxxx, freeradius fails to build. the build log is here: [...] /src -c strlcat.c -fPIC -DPIC -o .libs/strlcat.o i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c strlcat.c -o strlcat.o >/dev/null 2>&1 /var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/libtool --mode=compile i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c strlcpy.c i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c strlcpy.c -fPIC -DPIC -o .libs/strlcpy.o i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c strlcpy.c -o strlcpy.o >/dev/null 2>&1 /var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/libtool --mode=compile i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c token.c i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c token.c -fPIC -DPIC -o .libs/token.o i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c token.c -o token.o >/dev/null 2>&1 /var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/libtool --mode=compile i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c udpfromto.c i686-pc-linux-gnu-gcc -march=athlon-xp -mtune=athlon-xp -O2 -pipe -fweb -funswitch-loops -fgcse-after-reload -fforce-addr -D_LIBRADIUS -I/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src -c udpfromto.c -fPIC -DPIC -o .libs/udpfromto.o udpfromto.c: In function 'recvfromto': udpfromto.c:243: error: dereferencing pointer to incomplete type udpfromto.c: In function 'sendfromto': udpfromto.c:329: error: dereferencing pointer to incomplete type udpfromto.c:334: error: dereferencing pointer to incomplete type udpfromto.c:337: error: dereferencing pointer to incomplete type udpfromto.c:338: error: dereferencing pointer to incomplete type gmake[4]: *** [udpfromto.lo] エラー 1 gmake[4]: ディレクトリ `/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src/lib' から出ます gmake[3]: *** [common] エラー 2 gmake[3]: ディレクトリ `/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src' から出ます gmake[2]: *** [all] エラー 2 gmake[2]: ディレクトリ `/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4/src' から出ます gmake[1]: *** [common] エラー 2 gmake[1]: ディレクトリ `/var/tmp/portage/net-dialup/freeradius-2.0.4/work/freeradius-server-2.0.4' から出ます make: *** [all] エラー 2 * * ERROR: net-dialup/freeradius-2.0.4 failed. * Call stack: * ebuild.sh, line 49: Called src_compile * environment, line 2679: Called die * The specific snippet of code: * make || die "make failed" * The die message: * make failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/net-dialup:freeradius-2.0.4:20080611-155556.log'. * The ebuild environment file is located at '/var/tmp/portage/net-dialup/freeradius-2.0.4/temp/environment'. Reproducible: Always Steps to Reproduce: 1.emerge freeradius with glibc 2.8 2. 3. Actual Results: It fails upon no knowledge about struct in6_pktinfo. #include'ing <linux/ipv6.h> (which is bad) fixes the problem. This is not related to bug #225725.
This should be added to Tracker #225459.
(In reply to comment #1) > This should be added to Tracker #225459. > I've attached a new ebuild to bug #225725 fixing both problems.
Fixed in -r1.