Summary: | mail-mta/courier-0.53.2 fails with --as-needed | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Bernd Wurst <bugzilla-gentoo> |
Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hanno, toffanin.mauro |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 129413 | ||
Attachments: | courier-0.59.0-asneeded.patch |
Description
Bernd Wurst
2007-03-13 16:58:59 UTC
Sorry, wrote too fast, it is not fixed by this action, will investigate this further. I get: Linking couriertls ../gdbmobj/.libs/libgdbmobj.a(gdbmobj.o): In function `gdbm_dofetch': gdbmobj.c:(.text+0x4c): undefined reference to `gdbm_fetch' ../gdbmobj/.libs/libgdbmobj.a(gdbmobj.o): In function `gdbmobj_exists': gdbmobj.c:(.text+0x1be): undefined reference to `gdbm_exists' ../gdbmobj/.libs/libgdbmobj.a(gdbmobj.o): In function `gdbmobj_close': gdbmobj.c:(.text+0x260): undefined reference to `gdbm_close' ../gdbmobj/.libs/libgdbmobj.a(gdbmobj.o): In function `gdbmobj_open': gdbmobj.c:(.text+0x308): undefined reference to `gdbm_open' gdbmobj.c:(.text+0x31d): undefined reference to `gdbm_fdesc' ../gdbmobj/.libs/libgdbmobj.a(gdbmobj.o): In function `gdbmobj_store': gdbmobj.c:(.text+0x21d): undefined reference to `gdbm_store' collect2: ld returned 1 exit status while compiling mail-mta/courier-0.53.2 sys-libs/gdbm-1.8.3-r3 is installed This is an issue with LDFLAGS --as-needed. emerge --info please. emerge --info: neu2 ~ # emerge --info Portage 2.1.2.2 (default-linux/amd64/2006.1/no-multilib, gcc-4.1.1, glibc-2.5-r0, 2.6.19.7-grsec x86_64) ================================================================= System uname: 2.6.19.7-grsec x86_64 AMD Athlon(tm) 64 Processor 3700+ Gentoo Base System release 1.12.9 Timestamp of tree: Wed, 14 Mar 2007 00:29:01 +0000 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 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.16.1-r3 sys-devel/gcc-config: 1.3.14 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -fstack-protector -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-O2 -march=athlon64 -fstack-protector -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict suidctl userpriv usersandbox" GENTOO_MIRRORS="ftp://mirror.q-mex.net/gentoo" LANG="de_DE.UTF8" LC_ALL="de_DE.UTF8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de en" MAKEOPTS="-j3" 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/overlays/keks" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl amd64 apache2 bash-completion bzip2 cgi cli cracklib crypt exif fastcgi gif gmp hardened idn imagemagick imap ipv6 jpeg leim logrotate mailwrapper memcache mysql ncurses nls no-old-linux nptl nptlonly pam pcre perl php png python qdbm readline ruby sensord session spell sqlite ssl suhosin tiff truetype unicode userlocales vhosts webdav xattr xml xmlrpc zip 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" LINGUAS="de en" USERLAND="GNU" VIDEO_CARDS="apm ark ati chips cirrus cyrix dummy fbdev glint i128 i810 mga neomagic nv rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS As said before, disabling LDFLAGS="-Wl,--as-needed" is a workaround. Will report upstream later today. this bugreport is also related to this one: https://bugs.gentoo.org/show_bug.cgi?id=113975 Just FYI, a workaround is LDFLAGS="" emerge courier (Bernd noted me that I should comment this workaround into the bug) Created attachment 151847 [details, diff]
courier-0.59.0-asneeded.patch
There you go, this patch should fix it. Good look with the eautoreconf call though :/
Thanks a lot, Diego. Submitted to the courier mailing list today after Hanno confirmed that this one works. done, thanks everyone |