Required files from upstream tree: x11-plugins/enigmail/enigmail-0.95.2.ebuild x11-plugins/enigmail/files/0.95.0-replytolist.patch x11-plugins/enigmail/files/70_enigmail-fix.patch The ebuild changes are trivial with usr/portage/scripts/eapify, the attached patch only contains the additional change.
Created attachment 126584 [details, diff] enigmail-0.95.2.ebuild.patch
Created attachment 127033 [details, diff] enigmail-0.95.2-r1.ebuild.patch
Patch updated to x11-plugins/enigmail-0.95.2-r1
(In reply to comment #0) > Required files from upstream tree: > > x11-plugins/enigmail/enigmail-0.95.2.ebuild > x11-plugins/enigmail/files/0.95.0-replytolist.patch > x11-plugins/enigmail/files/70_enigmail-fix.patch > > The ebuild changes are trivial with usr/portage/scripts/eapify, the attached > patch only contains the additional change. > This don't work for me: x11-plugins/enigmail/enigmail-0.95.2.ebuild dont exist in portage tree and compile fails :o( any suggestion??
I have marked the enigmail-0.95.2.ebuild.patch obsolete, because it is removed from the upstream tree now. Please try enigmail-0.95.2-r1.
Darwin: this error perhaps? c++ -I/ufs/fabian/scratch/programs/gentoo/usr/include -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/ufs/fabian/scratch/programs/gentoo/usr/lib64/nspr -L/ufs/fabian/scratch/programs/gentoo/usr/lib64/nspr -lplds4 -lplc4 -lnspr4 -lpthread -ldl -Wl,--version-script -Wl,../../../../build/unix/gnu-ld-scripts/components-version-script -Wl,-Bsymbolic -ldl -lm /net/pegasus.ins.cwi.nl/export/scratch0/fabian/programs/gentoo/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.0/../../../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 /net/pegasus.ins.cwi.nl/export/scratch0/fabian/programs/gentoo/usr/x86_64-pc-linux-gnu/gcc-bin/4.2.0/../../../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
http://bugs.gentoo.org/show_bug.cgi?id=187353 switch back to 4.1.2 is the only solution for now it seems. Hopefully gcc-4.2.1 fixes this.
(In reply to comment #7) > http://bugs.gentoo.org/show_bug.cgi?id=187353 > > switch back to 4.1.2 is the only solution for now it seems. Hopefully > gcc-4.2.1 fixes this. > It doesn't.
(In reply to comment #8) > (In reply to comment #7) > > http://bugs.gentoo.org/show_bug.cgi?id=187353 > > > > switch back to 4.1.2 is the only solution for now it seems. Hopefully > > gcc-4.2.1 fixes this. > > > It doesn't. it doesn't as in "the only solution" or it doesn't as in "gcc-4.2.1 fixes this"?
(In reply to comment #9) > (In reply to comment #8) > > (In reply to comment #7) > > > http://bugs.gentoo.org/show_bug.cgi?id=187353 > > > > > > switch back to 4.1.2 is the only solution for now it seems. Hopefully > > > gcc-4.2.1 fixes this. > > > > > It doesn't. > > it doesn't as in "the only solution" > or > it doesn't as in "gcc-4.2.1 fixes this"? > gcc-4.2.1 doesn't fix that compiling problem for enigmail, unfortunately. It 'might' also be a problem with binutils.
(In reply to comment #4) > (In reply to comment #0) > > Required files from upstream tree: > > > > x11-plugins/enigmail/enigmail-0.95.2.ebuild > > x11-plugins/enigmail/files/0.95.0-replytolist.patch > > x11-plugins/enigmail/files/70_enigmail-fix.patch > > > > The ebuild changes are trivial with usr/portage/scripts/eapify, the attached > > patch only contains the additional change. > > > > > This don't work for me: > > x11-plugins/enigmail/enigmail-0.95.2.ebuild dont exist in portage tree and > compile fails :o( > > any suggestion?? > Finally i resolved compiling whit gcc-4.1.2 all O.K.
Created attachment 127337 [details, diff] enigmail-0.95.2-r1.64bit-fix.patch This patch fixes the build problems on a 64bit RHEL4 system using the prefix gcc-4.2.0. It's only a hack, but it works.
That indeed fixed it. I checked it in, thanks!