enigmail fails to compile: [...] c++ -fno-rtti -fno-handle-exceptions -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon64 -pipe -fPIC -Wno-return-type -w -fshort-wchar -pthread -pipe -DNDEBUG -DTRIMMED -O2 -fPIC -shared -Wl,-z,defs -Wl,-rpath,'$ORIGIN:$ORIGIN/..' -Wl,-h,libenigmime.so -o libenigmime.so nsEnigModule.o -Wl,-rpath,'$ORIGIN:$ORIGIN/..' -Wl,--whole-archive ../src/libenigmime_s.a ../ipc/src/libipc_s.a -Wl,--no-whole-archive -L../../../../dist/bin -L../../../../dist/lib -L../../../../dist/bin -lxpcom -lxpcom_core -L../../../../dist/lib -lxpcom_compat -Wl,-R/usr/lib64/nspr -L/usr/lib64/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,--version-script -Wl,../../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: nsEnigModule.o: relocation R_X86_64_PC32 against `NS_NewGenericModule2(nsModuleInfo const*, nsIModule**)' can not be used when making a shared object; recompile with -fPIC /usr/lib/gcc/x86_64-pc-linux-gnu/4.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value collect2: ld returned 1 exit status gmake[2]: *** [libenigmime.so] Error 1 gmake[2]: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-0.95.2-r1/work/mozilla/mailnews/extensions/enigmail/build' gmake[1]: *** [libs] Error 2 gmake[1]: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-0.95.2-r1/work/mozilla/mailnews/extensions/enigmail' make: *** [all] Error 2 make: Leaving directory `/var/tmp/portage/x11-plugins/enigmail-0.95.2-r1/work/mozilla/mailnews/extensions/enigmail' #### $ emerge --info #### Portage 2.1.3.3 (default-linux/amd64/2007.0, gcc-4.2.0, glibc-2.6-r0, 2.6.22-gentoo-r2 x86_64) ================================================================= System uname: 2.6.22-gentoo-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 3800+ Gentoo Base System release 1.12.10 Timestamp of tree: Sat, 04 Aug 2007 10:20:01 +0000 ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 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-r1 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="ccache distlocks fixpackages metadata-transfer notitles sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.mneisen.org/gentoo ftp://sunsite.informatik.rwth-aachen.de/pub/comp/Linux/gentoo http://gentoo.oregonstate.edu/ http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.ISO-8859-1" LC_ALL="de_DE" LINGUAS="de" MAKEOPTS="-j4" 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'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X a52 aac acl acpi aiglx alsa amd amd64 amr arts asf berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cli cpudetection cracklib crypt cups dga divx dmi dri dv dvd dvdr dvdread encode faad fam fame ffmpeg font-server foomaticdb fortran freetype ftp gcc gcj gif gimp glibc-omitfp gphoto2 gtk gtk2 hal iconv imlib imlib2 isdnlog jp2 jpeg jpeg2k kde kdeenablefinal kdepim kdm lcd libg++ lm_sensors logitech-mouse mad maildir midi mmx mmxext mozilla mp3 mpeg mpeg2 mplayer mudflap ncurses nls nodrm nomalloccheck nptl nptlonly nsplugin ntlm offensive ogg opengl openmp pam pam_chroot pam_console pam_timestamp pcre pdf perl pic png pppd python qt3 quicktime readline reflection rtc samba sasl scanner server session slang smime smp spell spl sse sse2 sse3 ssl subtitles symlink tcpd tetex threads tiff tordns transparent-proxy truetype truetype-fonts type1-fonts unicode usb vorbis wma wmp wxgtk1 wxwindows x11vnc xine xml xorg xv xvid xvmc zlib" ALSA_CARDS="via82xx" 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="evdev keyboard mouse vmmouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="ati radeon v4l vesa vga vmware" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY Reproducible: Always Steps to Reproduce: 1. emerge enigmail 2. 3.
Please search before reporting bugs. *** This bug has been marked as a duplicate of bug 186089 ***