uddi4j version 2.0.5-1build1 failed to build with openjdk-7 as default-jdk

Bug #1009480 reported by James Page
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uddi4j (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

During a rebuild test with default-jdk switched to openjdk-7 (as it is in quantal), a build failure was detected for uddi4j version 2.0.5-1build1.

See attached log for full build failure details.

https://wiki.ubuntu.com/JavaTeam/Java7Default contains more details of how to diagnose and resolve these types of issues.

This log snippet might also be of interest:

BUILD SUCCESSFUL
Total time: 0 seconds
rm -f debian/stamp-ant-build
 debian/rules build
test -x debian/rules
mkdir -p "."
jh_linkjars
jh_build -J
touch debian/jh_build_stamp
cd . && /usr/lib/jvm/default-java/bin/java -classpath /usr/share/ant/lib/ant.jar:/usr/share/ant/lib/ant-launcher.jar:/usr/share/java/axis.jar:/usr/share/java/jaxrpc.jar:/usr/lib/jvm/default-java/lib/tools.jar -Dant.home=/usr/share/ant org.apache.tools.ant.Main -Dcompile.debug=true -Dcompile.optimize=true -propertyfile /«PKGBUILDDIR»/debian/ant.properties dist
Buildfile: /«PKGBUILDDIR»/build.xml

init:
    [mkdir] Created dir: /«PKGBUILDDIR»/build
     [echo] UDDI4J build classpath = /«PKGBUILDDIR»/xerces.jar;:/«PKGBUILDDIR»/j2ee.jar:/«PKGBUILDDIR»/saaj.jar:/«PKGBUILDDIR»/soap.jar:/«PKGBUILDDIR»/axis.jar:/«PKGBUILDDIR»/hpsoap.jar
     [echo] SOAP transport support will be built for those transports.
     [echo] found in the classpath, indicating available = true below.
     [echo]
     [echo] Apache SOAP available = ${apache-soap.available}
     [echo] Apache Axis available = true
     [echo] HP SOAP available = ${hp-soap.available}

compile:
    [mkdir] Created dir: /«PKGBUILDDIR»/build/classes
    [javac] /«PKGBUILDDIR»/build.xml:157: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 106 source files to /«PKGBUILDDIR»/build/classes
    [javac] /«PKGBUILDDIR»/src/org/uddi4j/datatype/business/Contact.java:36: error: unmappable character for encoding ASCII
    [javac] * <p>Data: Can contain a contact?s name, address, phone, e-mail, and a description
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/org/uddi4j/datatype/tmodel/TModel.java:123: error: unmappable character for encoding ASCII
    [javac] * D-U-N-S? Number Identifier System [dnb-com:D-U-N-S]<BR>
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/org/uddi4j/datatype/tmodel/TModel.java:124: error: unmappable character for encoding ASCII
    [javac] * This tModel is used for the Dun & Bradstreet D-U-N-S? Number identifier.
    [javac] ^
    [javac] 3 errors

BUILD FAILED
/«PKGBUILDDIR»/build.xml:157: Compile failed; see the compiler error output for details.

Total time: 1 second
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120603-0522

Finished
────────

E: Build failure (dpkg-buildpackage died)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto ftbfs java7-ftbfs
tags: added: encoding
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package uddi4j - 2.0.5-1ubuntu1

---------------
uddi4j (2.0.5-1ubuntu1) quantal; urgency=low

  * Fix FTBFS with java 7 (LP: #1009480).
 -- Ilya Barygin <email address hidden> Sat, 16 Jun 2012 21:43:31 +0400

Changed in uddi4j (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.