Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283475 - net-dialup/freeradius-2.1.6 fails to compile
Summary: net-dialup/freeradius-2.1.6 fails to compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Alin Năstac (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-02 04:24 UTC by Simon Perry
Modified: 2009-09-05 06:05 UTC (History)
2 users (show)

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 Simon Perry 2009-09-02 04:24:00 UTC
This seems similar to an error in bug 230639. Tried to install FreeRadius-2.1.6 and compilation fails.

Reproducible: Always

Steps to Reproduce:
1. emerge freeradius

Actual Results:  
/bin/sh /var/tmp/portage/net-dialup/freeradius-2.1.6/work/freeradius-server-2.1.6/libtool --mode=compile i686-pc-linux-gnu-gcc  -march=core2 -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/portage/net-dialup/freeradius-2.1.6/work/freeradius-server-2.1.6/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.6\"  -DOPENSSL_NO_KRB5  -c event.c
libtool: compile:  i686-pc-linux-gnu-gcc -march=core2 -Wall -D_GNU_SOURCE -DNDEBUG -I/var/tmp/portage/net-dialup/freeradius-2.1.6/work/freeradius-server-2.1.6/src -DHOSTINFO=\"i686-pc-linux-gnu\" -DRADIUSD_VERSION=\"2.1.6\" -DOPENSSL_NO_KRB5 -c event.c  -fPIC -DPIC -o .libs/event.o
event.c: In function ‘originated_coa_request’:
event.c:1670: error: ‘REQUEST’ has no member named ‘child_pid’
event.c:1670: error: ‘NO_SUCH_CHILD_PID’ undeclared (first use in this function)
event.c:1670: error: (Each undeclared identifier is reported only once
event.c:1670: error: for each function it appears in.)
gmake[4]: *** [event.lo] Error 1
gmake[4]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.6/work/freeradius-server-2.1.6/src/main'
gmake[3]: *** [common] Error 2
gmake[3]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.6/work/freeradius-server-2.1.6/src'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.6/work/freeradius-server-2.1.6/src'
gmake[1]: *** [common] Error 2
gmake[1]: Leaving directory `/var/tmp/portage/net-dialup/freeradius-2.1.6/work/freeradius-server-2.1.6'
make: *** [all] Error 2

Expected Results:  
Package compiles.

# emerge --info
Portage 2.1.6.13 (default/linux/x86/2008.0, gcc-4.4.1, glibc-2.10.1-r0, 2.6.28-hardened-r7 i686)
=================================================================
System uname: Linux-2.6.28-hardened-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 01 Sep 2009 22:15:01 +0000
app-shells/bash:     4.0_p28
dev-lang/python:     2.6.2-r1, 3.1.1
dev-python/pycrypto: 2.0.1-r8
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.1
sys-devel/autoconf:  2.63-r1
sys-devel/automake:  1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -msse4.1 -O2 -pipe -fPIC -fomit-frame-pointer -fforce-addr -fstack-protector-all"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /home/mythtv/ /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -mfpmath=sse -mmmx -msse -msse2 -mssse3 -msse4.1 -O2 -pipe -fPIC -fomit-frame-pointer -fforce-addr -fstack-protector-all"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages metadata-transfer parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirror.internode.on.net/pub/gentoo"
LANG="en_AU.UTF-8"
LC_ALL="en_AU.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/gcpan /usr/local/portage/layman/mpd /usr/local/portage/layman/sunrise"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="X a52 aac acl acpi alsa amr ass autostart avi bcmath berkdb bzip2 cdda cddax cddb cdio cdr cgi cli clock cracklib crypt ctype cuda curl curlwrappers custom-cflags custom-cpuopts custom-cxxflags dba dbase dbus discard-path dri dts dvb dvd dynamicplugin encode evdev exif faac faad fam fastcgi ffmpeg fftw filter firefox flac flatfile force-cgi-redirect ftp gd-external gdbm geoip gif git gmp gnutls gtk2 hal hardened hash iconv id3 idn ieee1394 imap imlib isdnlog jpeg jpeg2k json keyscrub lame ldap libcaca libvisual lighttpd lirc live lm_sensors logrotate loop-aes mad matroska memcache mikmod mixer mmap mmx mmxext modplug mp3 mpeg mplayer mpm-prefork musepack mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses network nls nptl nptlonly nvidia ogg oggvorbis openal opengl openmp pam pcre perl php pic png posix pppd python quicktime radius readline reflection resid rrdtool rtc samba sasl sdl session sharedmem simplexml slang snes snmp soap sockets spell spl sqlite srt sse sse2 ssl ssse3 subversion svg sysfs taglib theora tidy tiff tokenizer tordns truetype tv unicode ups usb userlocales utils v4l v4l2 vdpau vim-syntax vorbis webdav x264 x86 xattr xine xmame xml xmlreader xmlrpc xmlwriter xorg xosd xrandr xtended xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" LIRC_DEVICES="mceusb2" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Simon Perry 2009-09-03 04:56:16 UTC
FYI: Setting the +threads USE flag for the package results in a successful compile and install!
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2009-09-05 06:05:23 UTC
Fixed in cvs w/o revbump. Thanks!