libbtm-java version 2.1.2-1ubuntu2 failed to build with openjdk-7 as default-jdk

Bug #1009488 reported by James Page
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
libbtm-java (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 libbtm-java version 2.1.2-1ubuntu2.

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:

Total time: 0 seconds
   debian/rules override_dh_clean
make[1]: Entering directory `/«PKGBUILDDIR»'
dh_clean
rm -rf /«PKGBUILDDIR»/debian/.mh
rm -rf target/*
rm -f TESTS-TestSuites.xml
rm -f src/bitronix/tm/Version.java
make[1]: Leaving directory `/«PKGBUILDDIR»'
 debian/rules build
dh build
   dh_testdir
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory `/«PKGBUILDDIR»'
CLASSPATH=/usr/share/java/slf4j-api.jar:/usr/share/java/geronimo-jms-1.1-spec-1.1.jar:/usr/share/java/geronimo-jta-1.0.1b-spec.jar:/usr/share/java/mockito-core.jar ant -Djar.version=2.1.2
Buildfile: /«PKGBUILDDIR»/build.xml

clean:

build:
    [mkdir] Created dir: /«PKGBUILDDIR»/dist/classes
    [javac] /«PKGBUILDDIR»/build.xml:45: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 133 source files to /«PKGBUILDDIR»/dist/classes
    [javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
    [javac] /«PKGBUILDDIR»/src/bitronix/tm/resource/jdbc/PoolingDataSource.java:48: error: PoolingDataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class PoolingDataSource extends ResourceBean implements DataSource, XAResourceProducer, PoolingDataSourceMBean {
    [javac] ^
    [javac] /«PKGBUILDDIR»/src/bitronix/tm/resource/jdbc/lrc/LrcXADataSource.java:37: error: LrcXADataSource is not abstract and does not override abstract method getParentLogger() in CommonDataSource
    [javac] public class LrcXADataSource implements XADataSource {
    [javac] ^
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 2 errors
    [javac] 1 warning

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

Total time: 4 seconds
make[1]: *** [override_dh_auto_build] Error 1
make[1]: Leaving directory `/«PKGBUILDDIR»'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
────────────────────────────────────────────────────────────────────────────────
Build finished at 20120606-1052

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
Revision history for this message
Logan Rosen (logan) wrote :

I tried updating the packaging to the new 2.1.3 upstream version locally and then building, but I got the same exact errors, so this isn't something that can simply be resolved via a packaging update for the new upstream version.

Changed in libbtm-java (Ubuntu):
status: New → Confirmed
Revision history for this message
Artur Rona (ari-tczew) wrote :

There is 2.1.4-1 available in Debian unstable. However, there is still FTBFS.

Revision history for this message
Artur Rona (ari-tczew) wrote :

err, I tried to build locally non-Delta package from Debian and it builds fine! So the problem is related to our change in debian/rules. Do we want to keep this one or drop and sync clearly from unstable?

Revision history for this message
Logan Rosen (logan) wrote :

This bug was fixed in the package libbtm-java - 2.1.4-1

---------------
libbtm-java (2.1.4-1) unstable; urgency=low

  * Team upload.
  * New upstream release.
  * Add and freshen patch for FTBFS with JDK 7. (Closes: #706702)
    - Thanks to Shuxiong Ye
  * Add fix-jms-proper-usage-mock-test.patch to address FTBFS test failure.
  * Bump Standards-Version to 3.9.5.
  * Bump debian/compat and debhelper dependency to 9.
  * Update Vcs fields to canonical URLs.

 -- tony mancill <email address hidden> Mon, 18 Nov 2013 06:35:15 +0000

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

Other bug subscribers

Remote bug watches

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