Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225937 - net-dialup/freeradius-2.0.4 fails to build with glibc 2.8
Summary: net-dialup/freeradius-2.0.4 fails to build with glibc 2.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: glibc-2.8
  Show dependency tree
 
Reported: 2008-06-11 16:13 UTC by Mathieu Segaud
Modified: 2008-06-14 11:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mathieu Segaud 2008-06-11 16:13:58 UTC
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.
Comment 1 Mathieu Segaud 2008-06-11 16:15:59 UTC
This should be added to Tracker #225459.
Comment 2 Mathieu Segaud 2008-06-13 11:18:57 UTC
(In reply to comment #1)
> This should be added to Tracker #225459.
> 

I've attached a new ebuild to bug #225725 fixing both problems.
Comment 3 Alin Năstac (RETIRED) gentoo-dev 2008-06-14 11:11:40 UTC
Fixed in -r1.