exim-4.67-r1 fails to build with USE=domainkeys. Full USE settings: [ebuild U ] mail-mta/exim-4.67-r1 [4.60-r1] USE="X domainkeys exiscan-acl gnutls ipv6 pam perl sasl spf sqlite srs ssl tcpd -dnsdb -dovecot-sasl -exiscan -ldap -lmtp -mailwrapper -mbox -mbx -mysql -nis -postgres -radius -syslog" 0 kB Some of the build errors: gcc version.c rm -f exim gcc -o exim /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libdomainkeys.a(domainkeys.o): In function `dk_free': (.text+0x28e): undefined reference to `CRYPTO_free' /usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/../../../../lib64/libdomainkeys.a(domainkeys.o): In function `dk_free': (.text+0x2a4): undefined reference to `CRYPTO_free' (and much more...) The errors are undefined symbols, suggesting that a library may be missing on the command line. Full build log is at http://fushizen.net/exim-4.61-r1.log Reproducible: Always Steps to Reproduce: Portage 2.1.2.9 (default-linux/amd64/2006.1, gcc-4.1.2, glibc-2.5-r3, 2.6.16.29-xen x86_64) ================================================================= System uname: 2.6.16.29-xen x86_64 Dual-Core AMD Opteron(tm) Processor 2212 HE Gentoo Base System release 1.12.9 Timestamp of tree: Mon, 09 Jul 2007 05:30:01 +0000 ccache version 2.4 [disabled] dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=opteron" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /var/bind" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -pipe -march=opteron" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict userfetch userpriv usersandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 bitmap-fonts bzip2 ccache cjk cli cracklib crypt cups dri fam flac fortran gdbm gnutls gpm iconv ipv6 isdnlog libg++ midi mudflap ncurses nls nptl nptlonly ogg openmp pam pcre perl ppds pppd python readline reflection session spl ssl tcpd truetype-fonts type1-fonts unicode xattr xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i810 mach64 mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 124400 [details, diff] patch to correct the link error Here's a patch to the ebuild to correct the error
Thank you very much for the patch, i'll try and take a look at this this evening and update the ebuild. Cheers, Colin
patch will be -r2,
fixed, and stable in exim-4.68