On Mon, 19 Aug 2013, Ondřej Surý wrote:

> But feel free to send a patch.

It is indeed a bug in javahelper that occurs when an architecture
has !GCJ_NATIVE_ARCHS but also !JAVA_BROKEN_ARCHS.

With the attached patch, which disables Java™ support on m68k,
all is well. I think we win, overall, by doing this, since the
amount of db-java users is very low, whereas the stability of
m68k builds of this core package goes up dramatically if Java™
is not needed/used.

But then, I’m no longer an m68k porter. Just my 0.02 €…

bye,
//mirabilos
-- 
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
diff -Nru db5.3-5.3.28/debian/changelog db5.3-5.3.28/debian/changelog
--- db5.3-5.3.28/debian/changelog       2013-10-28 09:20:08.000000000 +0100
+++ db5.3-5.3.28/debian/changelog       2014-03-20 10:42:11.000000000 +0100
@@ -1,3 +1,10 @@
+db5.3 (5.3.28-3~m68k.1) unreleased; urgency=low
+
+  * Add m68k to JAVA_BROKEN_ARCHS to work around #719842
+  * Drop Java™ stuff from Build-Depends for m68k, too
+
+ -- Thorsten Glaser <t...@mirbsd.de>  Thu, 20 Mar 2014 10:41:53 +0100
+
 db5.3 (5.3.28-3) unstable; urgency=low
 
   * Reduce duplicate static libraries in libdb5.3{++,-sql,-stl,-tcl}-dev
diff -Nru db5.3-5.3.28/debian/control db5.3-5.3.28/debian/control
--- db5.3-5.3.28/debian/control 2013-10-28 09:20:08.000000000 +0100
+++ db5.3-5.3.28/debian/control 2014-03-20 10:41:50.000000000 +0100
@@ -12,9 +12,9 @@
               autotools-dev (>= 20100122.1),
               tcl-dev,
               procps [!hurd-i386],
-              javahelper,
-              default-jdk,
-              gcj-native-helper
+              javahelper [!m68k],
+              default-jdk [!m68k],
+              gcj-native-helper [!m68k]
 Homepage: 
http://www.oracle.com/technology/software/products/berkeley-db/index.html
 Vcs-Browser: http://git.debian.org/?p=pkg-db/db5.3.git
 Vcs-Git: git://git.debian.org/pkg-db/db5.3.git
diff -Nru db5.3-5.3.28/debian/rules db5.3-5.3.28/debian/rules
--- db5.3-5.3.28/debian/rules   2013-10-28 09:20:08.000000000 +0100
+++ db5.3-5.3.28/debian/rules   2014-03-20 10:23:00.000000000 +0100
@@ -19,7 +19,7 @@
 -include /usr/share/gcj/debian_defaults
 -include /usr/share/javahelper/java-vars.mk
 
-JAVA_BROKEN_ARCHS =
+JAVA_BROKEN_ARCHS = m68k
 GCJ_BROKEN_ARCHS = 
 GCJ_NATIVE_ARCHS = $(filter-out $(GCJ_BROKEN_ARCHS), $(gcj_native_archs))
 
__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to