Your message dated Wed, 01 May 2013 10:17:41 +0000
with message-id <e1uxu6x-0006bm...@franck.debian.org>
and subject line Bug#706419: fixed in cofoja 1.0~r139-2
has caused the Debian Bug report #706419,
regarding cofoja: fails to build with OpenJDK 7
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.)


-- 
706419: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=706419
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: cofoja
Version: 1.0~r139-1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu ubuntu-patch saucy

cofoja fails to build with OpenJDK 7, because the "unmappable character"
diagnostics that were warnings in OpenJDK 6 are now errors.  These start
with:

    [javac] 
/build/buildd/cofoja-1.0~r139/src/com/google/java/contract/AllowUnusedImport.java:30:
 error: unmappable character for encoding ASCII
    [javac]  * @author nhat.minh...@huoc.org (Nhat Minh L??)

This can be fixed by forcing the encoding, as in the following patch.  I
don't know if it's strictly necessary to touch all these javac
invocations, but figured it was better to be safe.

  * Force source file encoding to UTF-8.

diff -Nru cofoja-1.0~r139/debian/patches/encoding 
cofoja-1.0~r139/debian/patches/encoding
--- cofoja-1.0~r139/debian/patches/encoding     1970-01-01 01:00:00.000000000 
+0100
+++ cofoja-1.0~r139/debian/patches/encoding     2013-04-30 00:54:07.000000000 
+0100
@@ -0,0 +1,54 @@
+Description: Force encoding to UTF-8
+Author: Colin Watson <cjwat...@ubuntu.com>
+Forwarded: no
+Last-Update: 2013-04-30
+
+Index: b/build.xml
+===================================================================
+--- a/build.xml
++++ b/build.xml
+@@ -93,7 +93,7 @@
+       <mkdir dir="${obj.dir}/tmp@{stage}" />
+       <mkdir dir="${obj.dir}/stage@{stage}" />
+       <javac srcdir="${src.dir}" destdir="${obj.dir}/tmp@{stage}"
+-             debug="true" includeantruntime="false">
++             debug="true" includeantruntime="false" encoding="UTF-8">
+         <classpath refid="base.class.path" />
+         <compilerarg value="-processorpath" />
+         <compilerarg value="@{bootstrappath}:${asm.jar}" />
+@@ -148,7 +148,7 @@
+     <mkdir dir="${obj.dir}/bare" />
+     <javac srcdir="${src.dir}" destdir="${obj.dir}/bare"
+            debug="${debug}"
+-           includeantruntime="false">
++           includeantruntime="false" encoding="UTF-8">
+       <classpath refid="base.class.path" />
+     </javac>
+   </target>
+@@ -165,7 +165,7 @@
+     <requirejar property="bootstrap.jar" />
+     <mkdir dir="${obj.dir}/build" />
+     <javac srcdir="${build.dir}" destdir="${obj.dir}/build"
+-           debug="true" includeantruntime="false">
++           debug="true" includeantruntime="false" encoding="UTF-8">
+       <classpath>
+         <path refid="base.class.path" />
+         <pathelement path="${java.class.path}" />
+@@ -202,7 +202,7 @@
+     <requirejar property="junit.jar" />
+     <mkdir dir="${obj.dir}/test" />
+     <javac srcdir="${test.dir}" destdir="${obj.dir}/test"
+-           debug="true" includeantruntime="false">
++           debug="true" includeantruntime="false" encoding="UTF-8">
+       <classpath>
+         <path refid="test.class.path" />
+         <pathelement path="${obj.dir}/stage2" />
+@@ -216,7 +216,7 @@
+ 
+   <target name="buildtest2" depends="buildtest1,stage2">
+     <javac srcdir="${test.dir}" destdir="${obj.dir}/test"
+-           debug="true" includeantruntime="false">
++           debug="true" includeantruntime="false" encoding="UTF-8">
+       <classpath>
+         <path refid="test.class.path" />
+         <pathelement path="${obj.dir}/stage2" />
diff -Nru cofoja-1.0~r139/debian/patches/series 
cofoja-1.0~r139/debian/patches/series
--- cofoja-1.0~r139/debian/patches/series       2013-04-10 14:50:48.000000000 
+0100
+++ cofoja-1.0~r139/debian/patches/series       2013-04-30 00:51:48.000000000 
+0100
@@ -1 +1,2 @@
 remove_version_from_generated_jar
+encoding

Thanks,

-- 
Colin Watson                                       [cjwat...@ubuntu.com]

--- End Message ---
--- Begin Message ---
Source: cofoja
Source-Version: 1.0~r139-2

We believe that the bug you reported is fixed in the latest version of
cofoja, which is due to be installed in the Debian FTP archive.

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 706...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Olivier Sallou <osal...@debian.org> (supplier of updated cofoja 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: SHA256

Format: 1.8
Date: Wed, 01 May 2013 11:57:38 +0200
Source: cofoja
Binary: libcofoja-java
Architecture: source all
Version: 1.0~r139-2
Distribution: unstable
Urgency: low
Maintainer: Debian Java Maintainers 
<pkg-java-maintainers@lists.alioth.debian.org>
Changed-By: Olivier Sallou <osal...@debian.org>
Description: 
 libcofoja-java - Java framework for runtime checking
Closes: 706419 706422
Changes: 
 cofoja (1.0~r139-2) unstable; urgency=low
 .
   * debian/control : Fix VCS fields  (Closes: #706422)
   * Fix unmappable characters preventing JDK 7 build (Closes:  #706419)
       Thanks to Colin Watson <cjwat...@ubuntu.com>
Checksums-Sha1: 
 871b8ca5d7930f2af0dc4a4c321f7e03ecbff66d 2006 cofoja_1.0~r139-2.dsc
 16fdd1278f237dcd07b1d54cc34f012cfb8179e9 3770 cofoja_1.0~r139-2.debian.tar.gz
 3e986a8d4e0d26525a68616508006382c5114fb4 340782 
libcofoja-java_1.0~r139-2_all.deb
Checksums-Sha256: 
 48fe547c36573542cab56da2d2cdfac17df6f66ea1faa63699a841702d7e10d6 2006 
cofoja_1.0~r139-2.dsc
 029cb86523d271763eacbb058bdea7e2404af65c89d25a50760f0b04c50f1eb3 3770 
cofoja_1.0~r139-2.debian.tar.gz
 1f0916519cb615b34e5f6dfd3532a87692810587bfc51cab3996620d89216aa8 340782 
libcofoja-java_1.0~r139-2_all.deb
Files: 
 db7086eb755cffdac7a52ef157ad3998 2006 java optional cofoja_1.0~r139-2.dsc
 6955cc74be1d70253d347d6d8297bb48 3770 java optional 
cofoja_1.0~r139-2.debian.tar.gz
 6560a44bbd727270c2776e004d24fce0 340782 java optional 
libcofoja-java_1.0~r139-2_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQIcBAEBCAAGBQJRgOncAAoJEHjcaNsybYQ4f30P/2or7GAofJZiaHmPFGAsojQz
D9EnqMSss4/UmeiPx81TTENCxkSKHnHQ51TODL9ffJApn3kPp+PAvj+OTcoOmMsx
J6X6hC5KrkXi8jbLi2GuD4Uy9xMgkCFHC7Uam5MWIFjAoTYg45zb4K4Ccxvi+jVt
ldGGnT14Z77or4IEyxOMdxN2zvkH9R6vY0fV1E7Z2SKmSpc2asU39wGbZQcRvrbg
uuNzLzYDv2BkMxZ69GkhJ5XdfcfIUSjZm/e6kvNDpi51Yk4bz7JP2QRTy8CMt90X
OTBGJaxZ9F0kLdEf1jXZLEw1tNjLEvTIMRtm6SNoywrPmzgecj3LebzqQ9rwADgq
J+OnePR6++Zw0vqyAWZFdhDxGqd9dvD7um0WcxPQxQU5cMqAaNZ6vKDtike4FU89
yaLExKsw4ciQtxDbTtTJGsghtNxiTuW4pX6ayFKZtVsK/aEAUQhkbgohFS0Wb9jF
ax8hY0JHIO9TLNHEtFhcyDo5OplyELaDcfTvkYRsV66qEHifoxL9H9a/9bZb7Ue8
uL+8VLJFzoD742ocVRQsiblcj0EIan4has0ODMPYJZzcWw5ds/VVft9nhLqqAdKl
NCQMV/uGNOWjaomEzTAkIkQwclXiBPAawxC0iyQexCyzYabQuxHK1w5Ds3RHC3F5
5Z8T1POS1ir6ZNQsBbSE
=mhs6
-----END PGP SIGNATURE-----

--- End Message ---
__
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