cobertura version 1.9.4.1+dfsg-2 failed to build with openjdk-7

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

Bug Description

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

See attached log for full build failure details.

This log snippet might also be of interest:

  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/JavaParser15.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/JavaParser15Constants.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/JavaParser15TokenManager.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/ParseException.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/Token.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/TokenMgrError.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/debug/JavaCharStream.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/debug/JavaParser15Debug.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/debug/JavaParser15DebugConstants.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/debug/JavaParser15DebugTokenManager.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/debug/ParseException.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/debug/Token.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/parser/java15/debug/TokenMgrError.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/javancss/test/JavancssTest.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/merge/Main.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/ComplexityCalculator.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/Main.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/html/HTMLReport.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/html/JavaToHtml.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/html/SourceFileDataBaseNameComparator.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/html/files/CopyFiles.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/xml/SummaryXMLReport.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/reporting/xml/XMLReport.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/ArchiveUtil.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/CommandLineBuilder.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/ConfigurationUtil.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/FileFinder.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/FileLocker.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/Header.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/IOUtil.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/RegexUtil.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/Source.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/util/StringUtil.java...
  [javadoc] Loading source file /«BUILDDIR»/cobertura-1.9.4.1+dfsg/src/net/sourceforge/cobertura/webapp/FlushCoberturaServlet.java...
  [javadoc] 6 errors

BUILD FAILED
/«BUILDDIR»/cobertura-1.9.4.1+dfsg/build.xml:329: Javadoc returned 1

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

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 cobertura (Ubuntu):
status: New → In Progress
assignee: nobody → James Page (james-page)
James Page (james-page) on 2011-12-08
Changed in cobertura (Ubuntu):
importance: Undecided → Medium
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cobertura - 1.9.4.1+dfsg-2ubuntu1

---------------
cobertura (1.9.4.1+dfsg-2ubuntu1) precise; urgency=low

  * Fix FTBFS with OpenJDK 7 (LP: #888927):
    - d/ant.properties: Set source/target to 1.5 for javac and javadoc
      ant tasks to ensure backwards compatibility and avoid Java 7
      encoding errors.
    - d/rules: Use ant.properties when building.
 -- James Page <email address hidden> Thu, 08 Dec 2011 10:07:27 +0000

Changed in cobertura (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