[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RFH: libgcj.spec not found (even though it's present and package uses dh_nativejava debhelper)



Hi Matthias,

sorry to bother again, but ia64 and sparc (and probably others which
are not yet built) build end with:

dh_nativejava
	find /build/buildd-db_5.1.25-5-ia64-kTmiT3/db-5.1.25 -type f ! -type
l > /tmp/fileo0dMJD
	aot-compile -L /usr/lib/gcj -c -fsource-filename=/tmp/fileo0dMJD
debian/libdb5.1-java debian/libdb5.1-java-gcj/usr/lib/gcj
/usr/lib/gcc/aotcompile.py:19: DeprecationWarning: the md5 module is
deprecated; use hashlib instead
  import md5
make[2]: Entering directory
`/build/buildd-db_5.1.25-5-ia64-kTmiT3/db-5.1.25/debian/libdb5.1-java-gcj/usr/lib/gcj'
/usr/bin/gcj -c -fsource-filename=/tmp/fileo0dMJD -g -O2 -fPIC
-findirect-dispatch -fjni libdb5.1-java-5.1.25.jar.1.jar -o
libdb5.1-java-5.1.25.jar.1.o
/usr/bin/gcj -c -fsource-filename=/tmp/fileo0dMJD -g -O2 -fPIC
-findirect-dispatch -fjni libdb5.1-java-5.1.25.jar.2.jar -o
libdb5.1-java-5.1.25.jar.2.o
gcj: libgcj.spec: No such file or directory
make[2]: *** [libdb5.1-java-5.1.25.jar.1.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcj: libgcj.spec: No such file or directory
make[2]: *** [libdb5.1-java-5.1.25.jar.2.o] Error 1
make[2]: Leaving directory
`/build/buildd-db_5.1.25-5-ia64-kTmiT3/db-5.1.25/debian/libdb5.1-java-gcj/usr/lib/gcj'
aot-compile: error: /usr/bin/make exited with code 2
dh_nativejava: aot-compile -L /usr/lib/gcj -c
-fsource-filename=/tmp/fileo0dMJD debian/libdb5.1-java
debian/libdb5.1-java-gcj/usr/lib/gcj returned exit code 1
make[1]: *** [override_dh_install] Error 9
make[1]: Leaving directory `/build/buildd-db_5.1.25-5-ia64-kTmiT3/db-5.1.25'
make: *** [binary-arch] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-arch gave error
exit status 2

Full build-log:
https://buildd.debian.org/status/fetch.php?pkg=db&arch=ia64&ver=5.1.25-5&stamp=1303323545

Full debian/rules can be found at:
http://git.debian.org/?p=pkg-db/db.git;a=blob;f=debian/rules

Again this is something which was changed between some releases.

I am not filling a bug this time, but help would be appreciated.

O.
-- 
Ondřej Surý <ondrej@sury.org>


Reply to: