Your message dated Sun, 09 Oct 2011 22:33:31 +0000
with message-id <e1rd1w3-0004we...@franck.debian.org>
and subject line Bug#644585: fixed in jcc 2.11-2
has caused the Debian Bug report #644585,
regarding jcc: FTBFS: Java JDK directory '/usr/lib/jvm/java-6-openjdk-arm' does
not exist.
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
644585: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=644585
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: jcc
Version: 2.11-1
Severity: serious
Justification: fails to build from source
Tags: patch
Hi,
jcc FTBFS on armel, powerpc and sh4.
arm:
https://buildd.debian.org/status/fetch.php?pkg=jcc&arch=armel&ver=2.11-1&stamp=1317199830
powerpc:
https://buildd.debian.org/status/fetch.php?pkg=jcc&arch=powerpc&ver=2.11-1&stamp=1317210139
sh4:
http://buildd.debian-ports.org/status/fetch.php?pkg=jcc&arch=sh4&ver=2.11-1&stamp=1317472448
-----
dh_auto_clean
Traceback (most recent call last):
File "setup.py", line 80, in <module>
''' %(JDK[platform]))
RuntimeError:
Java JDK directory '/usr/lib/jvm/java-6-openjdk-arm' does not exist.
Please set the environment variable JCC_JDK to the correct location before
running setup.py.
dh_auto_clean: python2.6 setup.py clean -a returned exit code 1
make[1]: *** [override_dh_auto_clean] Error 1
make[1]: Leaving directory `/build/buildd-jcc_2.11-1-armel-mRvF7d/jcc-2.11'
make: *** [clean] Error 2
-----
In most cases, DEB_BUILD_ARCH_CPU is the same as JAVAARCH.
However, it is different with these CPU's.
For exapmple, when $DEB_BUILD_ARCH_CPU is armel, we need set "arm" to
$JAVAARCH .
And openjdk was installed to
/usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH_CPU)/jre/lib/$(JAVAARCH).
I made patch which revise this problem. I tested on sh4 only.
Could you check this patch?
Best regards,
Nobuhiro
--
Nobuhiro Iwamatsu
iwamatsu at {nigauri.org / debian.org}
GPG ID: 40AD1FA6
diff -Nru jcc-2.11/debian/rules jcc-2.11/debian/rules
--- jcc-2.11/debian/rules 2011-09-28 06:52:49.000000000 +0000
+++ jcc-2.11/debian/rules 2011-10-07 07:00:53.000000000 +0000
@@ -18,9 +18,9 @@
endif
export JCC_ARGSEP=;
-export JCC_LFLAGS := -L/usr/lib/jvm/java-6-openjdk-$(JAVAARCH)/jre/lib/$(JAVAARCH);-L/usr/lib/jvm/java-6-openjdk-$(JAVAARCH)/jre/lib/$(JAVAARCH)/server;-Wl,-rpath=/usr/lib/jvm/java-6-openjdk-$(JAVAARCH)/jre/lib/$(JAVAARCH):/usr/lib/jvm/java-6-openjdk-$(JAVAARCH)/jre/lib/$(JAVAARCH)/server;-ljava
+export JCC_LFLAGS := -L/usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH_CPU)/jre/lib/$(JAVAARCH);-L/usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH_CPU)/jre/lib/$(JAVAARCH)/server;-Wl,-rpath=/usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH_CPU)/jre/lib/$(JAVAARCH):/usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH_CPU)/jre/lib/$(JAVAARCH)/server;-ljava
export JCC_CFLAGS := -fdollars-in-identifiers
-export JCC_JDK := /usr/lib/jvm/java-6-openjdk-$(JAVAARCH)
+export JCC_JDK := /usr/lib/jvm/java-6-openjdk-$(DEB_BUILD_ARCH_CPU)
# For shared mode we need patch http://bugs.python.org/setuptools/issue43 for setuptools to be applied
export NO_SHARED=1
--- End Message ---
--- Begin Message ---
Source: jcc
Source-Version: 2.11-2
We believe that the bug you reported is fixed in the latest version of
jcc, which is due to be installed in the Debian FTP archive:
jcc_2.11-2.debian.tar.gz
to main/j/jcc/jcc_2.11-2.debian.tar.gz
jcc_2.11-2.dsc
to main/j/jcc/jcc_2.11-2.dsc
jcc_2.11-2_amd64.deb
to main/j/jcc/jcc_2.11-2_amd64.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 644...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ludovico Cavedon <cave...@debian.org> (supplier of updated jcc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Sun, 09 Oct 2011 14:50:26 -0700
Source: jcc
Binary: jcc
Architecture: source amd64
Version: 2.11-2
Distribution: unstable
Urgency: low
Maintainer: Ludovico Cavedon <cave...@debian.org>
Changed-By: Ludovico Cavedon <cave...@debian.org>
Description:
jcc - code generator producing a Python extension from Java classes
Closes: 644585
Changes:
jcc (2.11-2) unstable; urgency=low
.
* Fix arch-dependent paths in rules file (thanks to Nobuhiro Iwamatsu,
Closes: #644585).
Checksums-Sha1:
ddf4e0859993952d59a9ed9ea94adb4f9acf3502 1849 jcc_2.11-2.dsc
7bd1f15108f154f040372277df89f12244af8bc0 4648 jcc_2.11-2.debian.tar.gz
6f151d82050439466851c1f89e3da563446c41b2 358656 jcc_2.11-2_amd64.deb
Checksums-Sha256:
9c48910a25d231354939fe2a88f618a776e53dca06e746ca406a9e459241afbf 1849
jcc_2.11-2.dsc
91559e326fc586b93d9742798821747a4bd55d282aadef38dd4e287829ea5363 4648
jcc_2.11-2.debian.tar.gz
33ebb86775eea78753b480d6acfaa1de48c05e67e14c5b9d9e5db1db434cf2be 358656
jcc_2.11-2_amd64.deb
Files:
f622aa7ef943eb00a9c40a8e9a45a49f 1849 python extra jcc_2.11-2.dsc
e9fc269d52d7c4a115f6dea3844baa84 4648 python extra jcc_2.11-2.debian.tar.gz
d8d6c2f823224b55f408a1e804cb4a70 358656 python extra jcc_2.11-2_amd64.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCgAGBQJOkh3RAAoJEBPAtWZ6OLCwl9AP/jk6rulAPQLt1j66LLSmDqjj
rZzFYYbnmaqG5h6xQDQdjtPqNf4cN3f/rX4zyqHMfLSU8CxytNPJGZGBZt2T88KP
VV6MA86Wkku3+WJNmKAX8DOLSSN4PJQ461btyS1IF4wddJhCG3hZdoLUV57hyPiv
zjjJBdaeaA9IrPGsRSrXkUnOTUaDpmHqA/Kx0yPD9uhe2+r3SiDFm94cy/hrUNvr
dKfFVDQfaYbnkBB795hLeEI2ByXeAVptUCuQUBTNkoyiaWJKRgsTDJjTUmEUMZjw
FtdbRD9RJayYNiaiJIIVXqs6LcvOxISSi7BygWLdO/UXg0O3ryc2QF2w7yPLst65
W9Km0pg6nC7Lt/PiZhNMSQb9AsEbu2yVUckm8Q9qhBvt/W/22azwM0bgIJriKXD1
7BllXU7K80GueIKaH7GjV1wO2vUQOGhcQlyU89zhz3WGsWQHoQlK/Kmb91Aoo9Y3
bXRTYiL9vxKWHUFIin1Q46NpgpMaQukaJuS8W/R//GrjLMYhoSq54tsST4aV+yO6
JwL8HwX4ItSAERy/MwhueSsXdvTeoIkvXxThhxJpYghqIC/GH3W6zpPU3in0vLlG
1hrxmD+igL9ncAIYw018pxl5iUi3vr3O7o4KiVYSNQTSJIlqZDcyhlVxbA5wr+l7
JoVsbnHu1gGSmJQ8U6A2
=xuL1
-----END PGP SIGNATURE-----
--- End Message ---