Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343241 - mail-mta/exim 4.72 fails to build with radius support
Summary: mail-mta/exim 4.72 fails to build with radius support
Status: RESOLVED DUPLICATE of bug 287426
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Fabian Groffen
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 12:12 UTC by Gergely POLONKAI
Modified: 2010-11-05 21:17 UTC (History)
1 user (show)

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


Attachments
build.log from this particular emerge (build.log,33.44 KB, text/plain)
2010-10-29 12:13 UTC, Gergely POLONKAI
Details
build.log from this particular emerge - English (build.log,34.39 KB, text/plain)
2010-10-29 14:44 UTC, Gergely POLONKAI
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gergely POLONKAI 2010-10-29 12:12:51 UTC
I've tried to build exim with the (almost) full feature set for testing, but when I enable radius support, it never builds any more.

Reproducible: Always

Steps to Reproduce:
USE="radius" emerge exim
Actual Results:  
Fails to compile.

Expected Results:  
Compile and install well.

Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo-r6-polesz i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.34-gentoo-r6-polesz-i686-Intel-R-_Pentium-R-_Dual_CPU_E2180_@_2.00GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 26 Oct 2010 06:45:01 +0000
app-shells/bash:     4.1_p7
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.3
sys-apps/sandbox:    2.3-r1
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /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/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.inf.elte.hu/"
LANG="hu_HU.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="hu"
MAKEOPTS=""
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="/var/lib/layman/matsuu /usr/local/portage"
SYNC="rsync://rsync.hu.gentoo.org/gentoo-portage"
USE="3dfx 3dnow X Xaw3d a52 aac aalib acl acpi alsa apache2 avahi bash-completion beagle berkdb bluetooth branding bzip2 cairo caps cddb cdr cleartype cli consolekit cracklib crypt cscope cups curl cxx dbus dga djvu dmx dri dts dvd dvdr dvi eds emacs emboss encode esd evo exif expat extras fam ffmpeg firefox flac fontconfig fontforge fuse galago gconf gcrypt gdbm gdu gif gimp git glade gmp gnome gnome-keyring gnutls gpg gpm gs gstreamer gtk guile hal iconv icu idn imagemagick imlib ipod ipv6 java jpeg jpeg2k kerberos lcms ldap libffi libnotify lirc log4j lua lzma lzo mad mikmod mmx mng modules mono mp3 mp4 mpeg mudflap mysql nautilus ncurses networkmanager nls nptl nptlonly nss ntp odbc ogg opengl openmp pam pango pcre pdf perl php png policykit postgres ppds pppd pulseaudio python readline samba sasl sdl servletapi session skey slang smp soap spell sqlite sqlite3 sse sse2 sse3 ssl ssse3 startup-notification svg sysfs syslog t1lib tcpd theora thumbnail tiff tools truetype tslib unicode upnp urandom usb utils uuid v4l2 vim-syntax vorbis webkit wmf x264 x86 xattr xcb xft xinerama xinetd xml xmp xorg xpm xprint xscreensaver xulrunner xv xvid zeroconf 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 asis auth_basic auth_digest authn_alias authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cern_meta cgi cgid charset_lite dav dav_fs dav_lock dbd deflate dir disk_cache dumpio env expires ext_filter file_cache filter headers ident imagemap include info log_config log_forensic logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_ftp proxy_http rewrite setenvif speling status substitute unique_id userdir usertrack version vhost_alias" APACHE2_MPMS="worker" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="hu" LIRC_DEVICES="serial sir userspace" PHP_TARGETS="php5-2" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gergely POLONKAI 2010-10-29 12:13:54 UTC
Created attachment 252471 [details]
build.log from this particular emerge

Attached my build.log from this emerge
Comment 2 Michael Weber (RETIRED) gentoo-dev 2010-10-29 13:52:27 UTC
Hi,

can you please rerun your emerge with 

LANG=C LC_ALL=C emerge -v1 ...

So everybody can understand the error messages. Thanks
Comment 3 Gergely POLONKAI 2010-10-29 14:44:37 UTC
Created attachment 252483 [details]
build.log from this particular emerge - English

Sorry, I forgot about that...
Comment 4 Wormo (RETIRED) gentoo-dev 2010-11-05 19:35:15 UTC
In file included from call_radius.c:41:
/usr/include/radiusclient.h:343: error: conflicting types for 'ENV'
/usr/include/db.h:181: note: previous declaration of 'ENV' was here

sys-libs/db and net-dialup/radiusclient own the header files in conflict. Apparently 4.7 versions of db added a typedef ENV, which radiusclient was already using. Although it really wasn't a great idea for either one to pollute the namespace by defining 'ENV', Berkeley db is by far the more widely used library, so it makes sense to resolve the conflict by renaming ENV in radiusclient.  Unfortunately radiusclient doesn't seem to have an upstream, so this might serve as motivation for packages using radiusclient to switch to radiusclient-ng.

Assigning to exim maintainers, who can either ditch radiusclient or bug the radiusclient maintainers to apply a conflict-resolving patch.
Comment 5 Fabian Groffen gentoo-dev 2010-11-05 21:11:43 UTC

*** This bug has been marked as a duplicate of bug 287426 ***
Comment 6 Fabian Groffen gentoo-dev 2010-11-05 21:17:34 UTC
since radiusclient-ng seems to be dead too, and merged and continuing in FreeRADIUS, probably *that* should be used.