An NMU diff for the upload to fix this bug is attached.

Thanks to Vladimir Petko and Tony Mancill on the [debian-java] mailing list for the fix

https://lists.debian.org/debian-java/2024/05/msg00001.html

--
Chris Knadle
chris.kna...@coredump.us
diff -Nru zeroc-ice-3.7.10/debian/changelog zeroc-ice-3.7.10/debian/changelog
--- zeroc-ice-3.7.10/debian/changelog	2024-04-10 10:48:17.000000000 -0400
+++ zeroc-ice-3.7.10/debian/changelog	2024-05-04 13:55:38.000000000 -0400
@@ -1,3 +1,15 @@
+zeroc-ice (3.7.10-2.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/rules:
+    - Add GRADLE_OPTS=-Xmx512M to fix FTBFS on armel due to Java heap space
+      memory error
+      Thanks to Vladimir Petko <vladimir.pe...@canonical.com> and
+      Tony Mancill <tmanc...@debian.org> for the fix
+    (Closes: #1069538)
+
+ -- Christopher Knadle <chris.kna...@coredump.us>  Sat, 04 May 2024 13:55:38 -0400
+
 zeroc-ice (3.7.10-2.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru zeroc-ice-3.7.10/debian/rules zeroc-ice-3.7.10/debian/rules
--- zeroc-ice-3.7.10/debian/rules	2024-04-10 10:25:18.000000000 -0400
+++ zeroc-ice-3.7.10/debian/rules	2024-05-04 13:55:38.000000000 -0400
@@ -19,7 +19,6 @@
 java_compat_level ?= 8
 
 export JAVA_HOME=/usr/lib/jvm/default-java/
-
 #
 # Use the system gradle unless it has been overridden by GRADLE
 # environment variable.
@@ -35,6 +34,10 @@
 			  -PiceBuilderClassPath=com.zeroc.gradle.ice-builder
 endif
 
+# GRADLE_OPTS memory setting to work around FTBFS on armel
+# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1069538
+export GRADLE_OPTS=-Xmx512M
+
 export GRADLEARGS	= --gradle-user-home $(CURDIR)/.gradle \
 			  --info \
 			  --console plain \

Reply via email to