commons-csv version 0.1-SNAPSHOT+svn678580-2 failed to build with openjdk-7

Bug #888929 reported by James Page on 2011-11-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
commons-csv (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 commons-csv version 0.1-SNAPSHOT+svn678580-2.

See attached log for full build failure details.

This log snippet might also be of interest:

init:
    [mkdir] Created dir: /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/target/lib

compile:
    [mkdir] Created dir: /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/target/classes
    [javac] /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/debian/build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 10 source files to /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/target/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.4
    [javac] /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/src/java/org/apache/commons/csv/CharBuffer.java:27: warning: unmappable character for encoding ASCII
    [javac] * @author Ortwin Gl???ck
    [javac] ^
    [javac] /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/src/java/org/apache/commons/csv/CharBuffer.java:27: warning: unmappable character for encoding ASCII
    [javac] * @author Ortwin Gl???ck
    [javac] ^
    [javac] /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/src/java/org/apache/commons/csv/CharBuffer.java:27: warning: unmappable character for encoding ASCII
    [javac] * @author Ortwin Gl???ck
    [javac] ^
    [javac] 4 warnings
    [mkdir] Created dir: /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/target/classes/META-INF
     [copy] Copying 1 file to /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/target/classes/META-INF

compile:
    [javac] /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/debian/build.xml:47: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds

init:

junit-present:

compile-tests:
    [mkdir] Created dir: /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/target/test-classes
    [javac] /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/debian/build.xml:122: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 10 source files to /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/target/test-classes
    [javac] /«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/src/test/org/apache/commons/csv/CharBufferTest.java:25: error: unmappable character for encoding ASCII
    [javac] * @author Ortwin Gl?ck
    [javac] ^
    [javac] 1 error

BUILD FAILED
/«BUILDDIR»/commons-csv-0.1-SNAPSHOT+svn678580/debian/build.xml:122: Compile failed; see the compiler error output for details.

Total time: 3 seconds
make: *** [debian/stamp-ant-build] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20111110-0332

Finished
────────

E: Build failure (dpkg-buildpackage died)

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 commons-csv (Ubuntu):
status: New → In Progress
assignee: nobody → James Page (james-page)
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package commons-csv - 0.1-SNAPSHOT+svn678580-2ubuntu1

---------------
commons-csv (0.1-SNAPSHOT+svn678580-2ubuntu1) precise; urgency=low

  * Fix FTBFS with OpenJDK7 (LP: #888929):
    - 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.
 -- James Page <email address hidden> Thu, 08 Dec 2011 10:46:14 +0000

Changed in commons-csv (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