[Bug 680664] [NEW] Fix build failure and rebuild against xulrunner-2.0
Launchpad Bug Tracker
680664 at bugs.launchpad.net
Tue Nov 23 21:21:57 UTC 2010
You have been subscribed to a public bug by Chris Coulson (chrisccoulson):
icedtea-web should be rebuilt against xulrunner-2.0, and the binary
dependencies updated to depend on xulrunner-2.0 | firefox (hopefully
xulrunner will not be installed by default any more, and we don't want
firefox users to need to pull it in)
However, it currently fails to build in Natty, with the following
errors:
gcc -o /home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/pluginappletviewer -Xlinker -O1 -Xlinker -z -Xlinker defs -L/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/bootstrap/jdk1.6.0/lib/amd64 -Wl,-soname=lib.so -L /home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/bootstrap/jdk1.6.0/jre/lib/amd64/jli -Wl,-z -Wl,origin -Wl,--allow-shlib-undefined -Wl,-rpath -Wl,\$ORIGIN/../lib/amd64/jli -Wl,-rpath -Wl,\$ORIGIN/../jre/lib/amd64/jli -lpthread -lX11 -ljli -ldl -lc -lz /home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o /home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java_md.o /home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/splashscreen_stubs.o
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `LoadClass':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:1389: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:1402: undefined reference to `JLI_MemFree'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `InitializeJVM':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:1270: undefined reference to `JLI_MemFree'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `FreeKnownVMs':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:1987: undefined reference to `JLI_MemFree'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:1990: undefined reference to `JLI_MemFree'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `JavaMain':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:514: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:529: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:488: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `CheckJvmType':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:648: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `AddOption':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:845: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:847: undefined reference to `JLI_MemFree'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:841: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `SetClassPath':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:867: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `main':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:247: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `TranslateApplicationArgs':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:1469: undefined reference to `JLI_MemAlloc'
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/plugin/icedteanp/launcher/java.o: In function `AddApplicationOptions':
/home/chr1s/src/icedtea-web/icedtea-web-1.0~20101021/build/../launcher/java.c:1552: undefined reference to `JLI_MemAlloc'
.....
Attached patch rectifies this, by reversing the order of arguments
passed to gcc
** Affects: icedtea-web (Ubuntu)
Importance: Undecided
Status: Triaged
--
Fix build failure and rebuild against xulrunner-2.0
https://bugs.launchpad.net/bugs/680664
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is a direct subscriber.
More information about the Ubuntu-sponsors
mailing list