[Debian-med-packaging] Bug#678562: libpal-java: FTBFS with Java7 as default-java

Miguel Landaeta miguel at miguel.cc
Fri Jun 22 18:21:12 UTC 2012


Package: libpal-java
Version: 1.5.1-1
Severity: normal
Tags: patch

libpal-java FTBFS with Java7 due to encoding issues.

Attached is a patch for that problem.

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (800, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x6E608B637D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche
-------------- next part --------------
diff -Nru libpal-java-1.5.1/debian/ant.properties libpal-java-1.5.1/debian/ant.properties
--- libpal-java-1.5.1/debian/ant.properties	1969-12-31 20:00:00.000000000 -0400
+++ libpal-java-1.5.1/debian/ant.properties	2012-06-22 11:12:07.000000000 -0430
@@ -0,0 +1,4 @@
+# Ensure that source and target are 1.5
+# For backwards compat on Java 7
+ant.build.javac.source=1.5
+ant.build.javac.target=1.5
diff -Nru libpal-java-1.5.1/debian/changelog libpal-java-1.5.1/debian/changelog
--- libpal-java-1.5.1/debian/changelog	2012-01-27 10:57:08.000000000 -0430
+++ libpal-java-1.5.1/debian/changelog	2012-06-22 13:47:09.000000000 -0430
@@ -1,3 +1,11 @@
+libpal-java (1.5.1-1.1) UNRELEASED; urgency=low
+
+  * Non-maintainer upload.
+  * Fix FTBFS with Java7 as default-java. (Closes: #XXXXXX).
+  * Bump Standards-Version to 3.9.3. No changes were required. 
+
+ -- Miguel Landaeta <miguel at miguel.cc>  Fri, 22 Jun 2012 10:43:14 -0430
+
 libpal-java (1.5.1-1) unstable; urgency=low
 
   * Initial Debian Upload (Closes: #657633)
diff -Nru libpal-java-1.5.1/debian/control libpal-java-1.5.1/debian/control
--- libpal-java-1.5.1/debian/control	2012-01-27 10:47:41.000000000 -0430
+++ libpal-java-1.5.1/debian/control	2012-06-22 11:26:22.000000000 -0430
@@ -5,7 +5,7 @@
 Uploaders: Andreas Tille <tille at debian.org>
 Build-Depends: debhelper (>= 8), javahelper (>=0.25)
 Build-Depends-Indep: default-jdk, ant
-Standards-Version: 3.9.2
+Standards-Version: 3.9.3
 Section: java
 Homepage: http://www.cebl.auckland.ac.nz/pal-project/
 Vcs-Browser: http://svn.debian.org/wsvn/debian-med/trunk/packages/libpal-java/trunk/
diff -Nru libpal-java-1.5.1/debian/rules libpal-java-1.5.1/debian/rules
--- libpal-java-1.5.1/debian/rules	2012-01-27 10:10:50.000000000 -0430
+++ libpal-java-1.5.1/debian/rules	2012-06-22 11:26:48.000000000 -0430
@@ -9,8 +9,8 @@
 	cd src; ant clean
 
 override_dh_auto_build:
-	ant -buildfile src/build.xml
-	ant -buildfile src/build.xml doc
+	ant -buildfile src/build.xml -propertyfile debian/ant.properties
+	ant -buildfile src/build.xml -propertyfile debian/ant.properties doc
 
 get-orig-source:
 	. debian/get-orig-source
-------------- 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/debian-med-packaging/attachments/20120622/45154119/attachment.pgp>


More information about the Debian-med-packaging mailing list