| Summary: | dev-util/nsis-2.46 fail to build | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Bertrand Jacquin <bertrand> |
| Component: | Current packages | Assignee: | Alin Năstac (RETIRED) <mrness> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | normal | CC: | audvare, cedk |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
dev-util:nsis-2.46:20110711-090059.log
modified nsis-2.46.ebuild patch for nsis-2.46.ebuild 20110726-202810.log |
||
|
Description
Bertrand Jacquin
2011-07-11 09:03:27 UTC
Created attachment 279723 [details]
dev-util:nsis-2.46:20110711-090059.log
problem is in scons - it works like a make and has to be executed from directory containing SConstruct file I modified nsis-2.46.ebuild file (see attachments) to change working directory before calling scons and to go back when job is done Created attachment 281067 [details]
modified nsis-2.46.ebuild
P.S. ebuild /usr/portage/dev-util/nsis/nsis-2.46.ebuild digest command is needed to regenerate manifest file for modified ebuild Created attachment 281071 [details, diff]
patch for nsis-2.46.ebuild
patch -p1 nsis-2.46.ebuild nsis-2.46.ebuild.patch
Created attachment 281077 [details]
20110726-202810.log
I still get undefined reference to `___gxx_personality_sj0'
Creating library file: build/release/NSISdl/libNSISdl.a
build/release/NSISdl/connection.o:connection.cpp:(.text+0x12): undefined reference to `___gxx_personality_sj0'
build/release/NSISdl/connection.o:connection.cpp:(.text+0xb5): undefined reference to `operator new[](unsigned int)'
build/release/NSISdl/connection.o:connection.cpp:(.text+0xc6): undefined reference to `operator new[](unsigned int)'
build/release/NSISdl/connection.o:connection.cpp:(.text+0x194): undefined reference to `operator delete[](void*)'
build/release/NSISdl/connection.o:connection.cpp:(.text+0x1a3): undefined reference to `operator delete[](void*)'
build continue as the return of 'cd -' is '0' so no || die "scons failed" apply there.
So installation have missing files :
<<< obj /usr/share/nsis/Plugins/VPatch.dll
<<< obj /usr/share/nsis/Plugins/UserInfo.dll
....
my build failed because of scons not beeing executed from work directory, no problems with references. But I used mingw32 not i686-pc-mingw32. Maybe try crossdev i686pc-mingw32 and emerge nsis again? I'll check i686-pc-mingw32 on my machine. (In reply to comment #7) > Maybe try crossdev i686pc-mingw32 and emerge nsis again? I ment crossdev mingw32 Was having the same build issue with undefined references to ___gxx_personality*. The patch worked for me. Hope it makes into the tree soon. I use i686-pc-mingw32 with crossdev. the fix works for me too thanks =) *** This bug has been marked as a duplicate of bug 384251 *** |