Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187353 - [PATCH] x11-plugins/enigmail/enigmail-0.95.2-r1: new ebuild
Summary: [PATCH] x11-plugins/enigmail/enigmail-0.95.2-r1: new ebuild
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo non-Linux Team
URL:
Whiteboard:
Keywords:
Depends on: 186089 187352
Blocks: 187878
  Show dependency tree
 
Reported: 2007-08-01 08:55 UTC by Stefan Hoelldampf
Modified: 2007-08-09 08:45 UTC (History)
0 users

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


Attachments
enigmail-0.95.2.ebuild.patch (enigmail-0.95.2.ebuild.patch,392 bytes, patch)
2007-08-01 08:56 UTC, Stefan Hoelldampf
Details | Diff
enigmail-0.95.2-r1.ebuild.patch (enigmail-0.95.2-r1.ebuild.patch,398 bytes, patch)
2007-08-06 06:39 UTC, Stefan Hoelldampf
Details | Diff
enigmail-0.95.2-r1.64bit-fix.patch (enigmail-0.95.2-r1.64bit-fix.patch,484 bytes, patch)
2007-08-09 06:54 UTC, Stefan Hoelldampf
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Hoelldampf 2007-08-01 08:55:28 UTC
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.
Comment 1 Stefan Hoelldampf 2007-08-01 08:56:03 UTC
Created attachment 126584 [details, diff]
enigmail-0.95.2.ebuild.patch
Comment 2 Stefan Hoelldampf 2007-08-06 06:39:39 UTC
Created attachment 127033 [details, diff]
enigmail-0.95.2-r1.ebuild.patch
Comment 3 Stefan Hoelldampf 2007-08-06 06:40:09 UTC
Patch updated to x11-plugins/enigmail-0.95.2-r1
Comment 4 Darwin 2007-08-08 07:23:55 UTC
(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??


Comment 5 Stefan Hoelldampf 2007-08-08 13:47:21 UTC
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.
Comment 6 Fabian Groffen gentoo-dev 2007-08-08 18:20:03 UTC
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
Comment 7 Fabian Groffen gentoo-dev 2007-08-08 18:25:22 UTC
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.
Comment 8 Bernd Steinhauser 2007-08-08 18:56:46 UTC
(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.
Comment 9 Fabian Groffen gentoo-dev 2007-08-08 18:58:21 UTC
(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"?
Comment 10 Bernd Steinhauser 2007-08-08 19:09:35 UTC
(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.
Comment 11 Darwin 2007-08-08 20:30:08 UTC
(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.
Comment 12 Stefan Hoelldampf 2007-08-09 06:54:31 UTC
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.
Comment 13 Fabian Groffen gentoo-dev 2007-08-09 08:45:19 UTC
That indeed fixed it.  I checked it in, thanks!