httpunit version 1.7+dfsg-8 failed to build with openjdk-7

Bug #888940 reported by James Page on 2011-11-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
httpunit (Ubuntu)
Undecided
James Page

Bug Description

During a rebuild test on precise with default-jdk switched to openjdk-7, a build failure was detected for httpunit version 1.7+dfsg-8.

See attached log for full build failure details.

This log snippet might also be of interest:

 debian/rules build
dh --with javahelper --with jh_maven_repo_helper build
   dh_testdir
   dh_auto_configure
   jh_linkjars
   debian/rules override_dh_auto_build
make[1]: Entering directory `/«BUILDDIR»/httpunit-1.7+dfsg'
ant dist
Buildfile: /«BUILDDIR»/httpunit-1.7+dfsg/build.xml

check_jars_dir:

prepare_local_classpath:
     [echo] using local classpath

prepare_repository_classpath:

prepare:
    [mkdir] Created dir: /«BUILDDIR»/httpunit-1.7+dfsg/build

check_for_optional_packages:

compile-for-java2:

compile:
    [mkdir] Created dir: /«BUILDDIR»/httpunit-1.7+dfsg/build/classes
    [javac] /«BUILDDIR»/httpunit-1.7+dfsg/build.xml:136: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 195 source files to /«BUILDDIR»/httpunit-1.7+dfsg/build/classes
    [javac] /«BUILDDIR»/httpunit-1.7+dfsg/src/com/meterware/httpunit/HttpWebResponse.java:92: error: unmappable character for encoding ASCII
    [javac] // by Roger Lindsj?
    [javac] ^
    [javac] /«BUILDDIR»/httpunit-1.7+dfsg/src/com/meterware/servletunit/ServletUnitServletContext.java:119: error: unmappable character for encoding ASCII
    [javac] // by Timo Westk?mper
    [javac] ^
    [javac] 2 errors

BUILD FAILED
/«BUILDDIR»/httpunit-1.7+dfsg/build.xml:136: Compile failed; see the compiler error output for details.

Total time: 2 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«BUILDDIR»/httpunit-1.7+dfsg'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-1828

Finished
────────

E: Build failure (dpkg-buildpackage died)

Revision history for this message
James Page (james-page) wrote : Build log
tags: added: amd64 auto java7-ftbfs
James Page (james-page) on 2011-11-25
tags: added: encoding
James Page (james-page) on 2011-12-08
Changed in httpunit (Ubuntu):
status: New → In Progress
assignee: nobody → James Page (james-page)
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package httpunit - 1.7+dfsg-8ubuntu1

---------------
httpunit (1.7+dfsg-8ubuntu1) precise; urgency=low

  * Fix FTBFS with OpenJDK7 (LP: #888940):
    - d/ant.properties: Specify source/target as 1.5 for javac and
      javadoc ant tasks to ensure backwards compatibility and work
      around Java 7 encoding errors.
    - d/rules: Use ant.properties.
 -- James Page <email address hidden> Thu, 08 Dec 2011 13:40:11 +0000

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

Other bug subscribers

Bug attachments