Debian Bug report logs - #686785
wsdl2c: fails to build with openjdk 7

version graph

Package: wsdl2c; Maintainer for wsdl2c is (unknown);

Reported by: Julian Taylor <jtaylor.debian@googlemail.com>

Date: Wed, 5 Sep 2012 18:24:01 UTC

Severity: serious

Tags: jessie, patch, sid

Found in version 0.1-1

Fixed in version 0.1-2

Done: Sebastian Ramacher <sramacher@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#686785; Package wsdl2c. (Wed, 05 Sep 2012 18:24:04 GMT) (full text, mbox, link).


Acknowledgement sent to Julian Taylor <jtaylor.debian@googlemail.com>:
New Bug report received and forwarded. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Wed, 05 Sep 2012 18:24:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Julian Taylor <jtaylor.debian@googlemail.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: wsdl2c: fails to build with openjdk 7
Date: Wed, 05 Sep 2012 20:22:06 +0200
[Message part 1 (text/plain, inline)]
Package: wsdl2c
Version: 0.1-1
Severity: normal

wsdl2c fails to build with openjdk-7
The issue appears as warning in openjdk-6 but is an error in 7.

Buildfile: /wsdl2c-0.1/build.xml

compile:
    [mkdir] Created dir: /wsdl2c-0.1/build
    [mkdir] Created dir: /wsdl2c-0.1/build/classes
    [javac] /wsdl2c-0.1/build.xml:9: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1665 source files to /wsdl2c-0.1/build/classes
    [javac] /wsdl2c-0.1/src/org/apache/axis2/transport/http/MultipartFormDataFormatter.java:49: error: unmappable character for encoding ASCII
    [javac]  * <name>Fr??jus</name>
    [javac]            ^
    [javac] /wsdl2c-0.1/src/org/apache/axis2/transport/http/MultipartFormDataFormatter.java:49: error: unmappable character for encoding ASCII
    [javac]  * <name>Fr??jus</name>
    [javac]             ^
    [javac] /wsdl2c-0.1/src/org/apache/axis2/transport/http/MultipartFormDataFormatter.java:72: error: unmappable character for encoding ASCII
    [javac]  * <name>Fr??jus</name>
    [javac]            ^
    [javac] /wsdl2c-0.1/src/org/apache/axis2/transport/http/MultipartFormDataFormatter.java:72: error: unmappable character for encoding ASCII
    [javac]  * <name>Fr??jus</name>
    [javac]             ^
    [javac] 4 errors

BUILD FAILED
/wsdl2c-0.1/build.xml:9: Compile failed; see the compiler error output for details.

see the failure in ubuntu quantal:
https://launchpadlibrarian.net/112010771/buildlog_ubuntu-quantal-i386.wsdl2c_0.1-1_FAILEDTOBUILD.txt.gz

a similar failure was recently fixed in the scilab package.


[signature.asc (application/pgp-signature, attachment)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#686785; Package wsdl2c. (Mon, 01 Oct 2012 10:42:05 GMT) (full text, mbox, link).


Acknowledgement sent to Colin Watson <cjwatson@ubuntu.com>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Mon, 01 Oct 2012 10:42:05 GMT) (full text, mbox, link).


Message #10 received at 686785@bugs.debian.org (full text, mbox, reply):

From: Colin Watson <cjwatson@ubuntu.com>
To: Julian Taylor <jtaylor.debian@googlemail.com>, 686785@bugs.debian.org
Subject: Re: Bug#686785: wsdl2c: fails to build with openjdk 7
Date: Mon, 1 Oct 2012 11:40:07 +0100
tags 686785 patch
user ubuntu-devel@lists.ubuntu.com
usertags 686785 origin-ubuntu ubuntu-patch quantal
thanks

On Wed, Sep 05, 2012 at 08:22:06PM +0200, Julian Taylor wrote:
> wsdl2c fails to build with openjdk-7
> The issue appears as warning in openjdk-6 but is an error in 7.
[...]
> a similar failure was recently fixed in the scilab package.

I applied much the same fix as in scilab.  This exposed a further set of
errors to the effect that javax.servlet was missing, so I added a
build-dependency on libservlet3.0-java too.

  * Force encoding to UTF-8 to fix build failure in
    src/org/apache/axis2/transport/http/MultipartFormDataFormatter.java
    (closes: #686785).
  * Build-depend on libservlet3.0-java.

diff -Nru wsdl2c-0.1/debian/control wsdl2c-0.1/debian/control
--- wsdl2c-0.1/debian/control	2012-06-23 05:42:15.000000000 +0100
+++ wsdl2c-0.1/debian/control	2012-10-01 11:30:50.000000000 +0100
@@ -17,7 +17,8 @@
                libgnumail-java,
                libhttpcore-java,
                libjaxen-java,
-               libwsdl4j-java
+               libwsdl4j-java,
+               libservlet3.0-java
 Standards-Version: 3.9.3
 Homepage: https://github.com/a13m/wsdl2c
 
diff -Nru wsdl2c-0.1/debian/patches/encoding.patch wsdl2c-0.1/debian/patches/encoding.patch
--- wsdl2c-0.1/debian/patches/encoding.patch	1970-01-01 01:00:00.000000000 +0100
+++ wsdl2c-0.1/debian/patches/encoding.patch	2012-10-01 11:24:07.000000000 +0100
@@ -0,0 +1,19 @@
+Description: Force encoding to UTF-8
+Author: Colin Watson <cjwatson@ubuntu.com>
+Bug-Debian: http://bugs.debian.org/686785
+Forwarded: no
+Last-Update: 2012-10-01
+
+Index: b/build.xml
+===================================================================
+--- a/build.xml
++++ b/build.xml
+@@ -6,7 +6,7 @@
+   <target name="compile">
+     <mkdir dir="${build.dir}"/>
+     <mkdir dir="${build.classes}"/>
+-    <javac srcdir="${src.dir}" destdir="${build.classes}">
++    <javac srcdir="${src.dir}" destdir="${build.classes}" encoding="UTF-8">
+       <include name="**/*.java"/>
+     </javac>
+     <copy todir="${build.classes}">
diff -Nru wsdl2c-0.1/debian/patches/series wsdl2c-0.1/debian/patches/series
--- wsdl2c-0.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ wsdl2c-0.1/debian/patches/series	2012-10-01 11:22:38.000000000 +0100
@@ -0,0 +1 @@
+encoding.patch

Thanks,

-- 
Colin Watson                                       [cjwatson@ubuntu.com]



Added tag(s) patch. Request was from Colin Watson <cjwatson@ubuntu.com> to control@bugs.debian.org. (Mon, 01 Oct 2012 10:42:07 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#686785; Package wsdl2c. (Wed, 03 Oct 2012 21:57:05 GMT) (full text, mbox, link).


Acknowledgement sent to Charles Plessy <plessy@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Wed, 03 Oct 2012 21:57:05 GMT) (full text, mbox, link).


Message #17 received at 686785@bugs.debian.org (full text, mbox, reply):

From: Charles Plessy <plessy@debian.org>
To: 686785@bugs.debian.org
Subject: Re: [pkg-eucalyptus-maintainers] Bug#686785: wsdl2c: fails to build with openjdk 7
Date: Thu, 4 Oct 2012 06:55:07 +0900
Hello everybody,

can someone push wsdl2c in either the Subversion of the Git
repository ?  Or shall I simply import the source package
currently in the archive ?

Have a nice day,

-- 
Charles



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#686785; Package wsdl2c. (Thu, 04 Oct 2012 20:09:05 GMT) (full text, mbox, link).


Acknowledgement sent to Brian Thomason <brian.thomason@eucalyptus.com>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Thu, 04 Oct 2012 20:09:05 GMT) (full text, mbox, link).


Message #22 received at 686785@bugs.debian.org (full text, mbox, reply):

From: Brian Thomason <brian.thomason@eucalyptus.com>
To: Charles Plessy <plessy@debian.org>, 686785@bugs.debian.org
Subject: Re: [pkg-eucalyptus-maintainers] Bug#686785: wsdl2c: fails to build with openjdk 7
Date: Thu, 4 Oct 2012 16:07:35 -0400
[Message part 1 (text/plain, inline)]
Hi Charles,

I'm on it,

thanks!

-Brian

On Wed, Oct 3, 2012 at 5:55 PM, Charles Plessy <plessy@debian.org> wrote:

> Hello everybody,
>
> can someone push wsdl2c in either the Subversion of the Git
> repository ?  Or shall I simply import the source package
> currently in the archive ?
>
> Have a nice day,
>
> --
> Charles
>
> _______________________________________________
> pkg-eucalyptus-maintainers mailing list
> pkg-eucalyptus-maintainers@lists.alioth.debian.org
>
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-eucalyptus-maintainers
>
[Message part 2 (text/html, inline)]

Severity set to 'serious' from 'normal' Request was from Matthias Klose <doko@debian.org> to control@bugs.debian.org. (Tue, 14 May 2013 16:21:31 GMT) (full text, mbox, link).


Information forwarded to debian-bugs-dist@lists.debian.org, Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>:
Bug#686785; Package wsdl2c. (Tue, 14 May 2013 16:25:26 GMT) (full text, mbox, link).


Acknowledgement sent to Markus Koschany <apo@gambaru.de>:
Extra info received and forwarded to list. Copy sent to Debian Eucalyptus Maintainers <pkg-eucalyptus-maintainers@lists.alioth.debian.org>. (Tue, 14 May 2013 16:25:26 GMT) (full text, mbox, link).


Message #29 received at 686785@bugs.debian.org (full text, mbox, reply):

From: Markus Koschany <apo@gambaru.de>
To: 676441@bugs.debian.org, 679365@bugs.debian.org, 678131@bugs.debian.org, 678380@bugs.debian.org, 683502@bugs.debian.org, 683512@bugs.debian.org, 683519@bugs.debian.org, 683522@bugs.debian.org, 683525@bugs.debian.org, 683537@bugs.debian.org, 683543@bugs.debian.org, 683550@bugs.debian.org, 684015@bugs.debian.org, 684018@bugs.debian.org, 684022@bugs.debian.org, 684154@bugs.debian.org, 684155@bugs.debian.org, 684162@bugs.debian.org, 684163@bugs.debian.org, 684165@bugs.debian.org, 684278@bugs.debian.org, 684289@bugs.debian.org, 684296@bugs.debian.org, 684305@bugs.debian.org, 684378@bugs.debian.org, 684384@bugs.debian.org, 684979@bugs.debian.org, 684980@bugs.debian.org, 686785@bugs.debian.org, 688127@bugs.debian.org, 688138@bugs.debian.org, 688208@bugs.debian.org
Subject: Transition package to use OpenJDK7 as default java implementation
Date: Tue, 14 May 2013 18:21:50 +0200
[Message part 1 (text/plain, inline)]
Control: severity -1 serious


Dear Maintainer,

OpenJDK6 support will be dropped from Debian. Hence the severity of this
bug is release critical now. Please transition your package to use
OpenJDK7 as the default java implementation for Jessie. In most cases a
patch has already been provided for the transition. Please feel free to
ask questions about this bug report or the transition in general on the
debian-java mailing list.

For the Debian Java Team

Markus Koschany

[signature.asc (application/pgp-signature, attachment)]

Reply sent to Sebastian Ramacher <sramacher@debian.org>:
You have taken responsibility. (Sat, 01 Jun 2013 12:21:05 GMT) (full text, mbox, link).


Notification sent to Julian Taylor <jtaylor.debian@googlemail.com>:
Bug acknowledged by developer. (Sat, 01 Jun 2013 12:21:05 GMT) (full text, mbox, link).


Message #34 received at 686785-done@bugs.debian.org (full text, mbox, reply):

From: Sebastian Ramacher <sramacher@debian.org>
To: Julian Taylor <jtaylor.debian@googlemail.com>, 686785-done@bugs.debian.org
Subject: Re: Bug#686785: wsdl2c: fails to build with openjdk 7
Date: Sat, 1 Jun 2013 14:17:53 +0200
[Message part 1 (text/plain, inline)]
Version: 0.1-2

The patch has been applied in 0.1-2 and wsdl2c builds fine.

wsdl2c (0.1-2) unstable; urgency=low

 * Added patch from Colin Watson to force utf-8 encoding which is required
   for proper compilation on openjdk7.

Regards
-- 
Sebastian Ramacher
[signature.asc (application/pgp-signature, inline)]

Added tag(s) sid and jessie. Request was from Holger Levsen <holger@layer-acht.org> to control@bugs.debian.org. (Mon, 03 Jun 2013 10:15:33 GMT) (full text, mbox, link).


Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Tue, 02 Jul 2013 07:48:08 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 13:52:13 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.