Bug#654264: libjdic-java: FTBFS on armhf, reproduced on amd64, "Error: JAVA_HOME is not defined correctly."

Miguel Landaeta miguel at miguel.cc
Mon Jan 2 18:00:46 UTC 2012

retitle 654264 libjdic-java: FTBFS: GECKO_SDK variable is wrong/outdated

On Mon, Jan 02, 2012 at 06:19:36PM +0200, Konstantinos Margaritis wrote:
> Package: libjdic-java
> Version: 0.9.5-7
> Severity: serious
> https://buildd.debian.org/status/package.php?p=libjdic-java&suite=sid
> The build failure was seen on armhf, but I have reproduced it on a sid
> amd64 system, hence the security raise to serious.

After setting a correct value for JAVA_HOME, this package still FTBFS.
GECKO_SDK=/usr/lib/xulrunner-devel-1.9.1 is probably wrong/outdated.

Relevant error messages:

     [exec] make[1]: Entering directory `/tmp/buildd/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
     [exec] rm -f MozEmbed.o Callback.o ../../../share/native/mozilla/Common.o ../../../share/native/mozilla/ProfileDirServiceProvider.o ../../../share/native/utils/Util.o ../../../share/native/utils/MsgServer.o mozembed-linux-gtk2 libmozembed-linux-gtk2.so Main.o
     [exec] rm -f *.so
     [exec] rm -f mozembed-*-gtk*
     [exec] make[1]: Leaving directory `/tmp/buildd/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
     [exec] make[1]: Entering directory `/tmp/buildd/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
     [exec] g++ -c MozEmbed.cpp -o MozEmbed.o -DMOZ_WIDGET_GTK2 -DXPCOM_GLUE_USE_NSPR -DXPCOM_GLUE -DMOZILLA_STRICT_API -I. -I../../../share/native/utils -I../../../share/native/mozilla  -DUSING_GECKO_SDK_1_7 -include /usr/lib/xulrunner-devel-1.9.1/include/mozilla-config.h -I/usr/lib/xulrunner-devel-1.9.1/include  -O2 -fPIC `pkg-config gtk+-2.0 --cflags`
     [exec] make[1]: Leaving directory `/tmp/buildd/libjdic-java-0.9.5/jdic/src/unix/native/mozilla'
     [exec] cc1plus: fatal error: /usr/lib/xulrunner-devel-1.9.1/include/mozilla-config.h: No such file or directory
     [exec] compilation terminated.
     [exec] make[1]: *** [MozEmbed.o] Error 1

/tmp/buildd/libjdic-java-0.9.5/jdic/build.xml:359: exec returned: 2

Total time: 3 seconds
make: *** [debian/stamp-binary-arch] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
E: Failed autobuilding of package
I: unmounting /var/cache/pbuilder/ccache filesystem
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
I: cleaning the build env 
I: removing directory /var/cache/pbuilder/build//26508 and its subdirectories

Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libjdic-java_0.9.5-8~miguel1_amd64.build.gz
Type: application/octet-stream
Size: 15056 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120102/02eaf12d/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-java-maintainers/attachments/20120102/02eaf12d/attachment-0001.pgp>

More information about the pkg-java-maintainers mailing list