Public bug reported: During a rebuild test with default-jdk switched to openjdk-7 (as it is in quantal), a build failure was detected for postgis version 1.5.3-2build1.
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: /usr/bin/make -C java/jdbc clean make[1]: Entering directory `/«PKGBUILDDIR»/java/jdbc' echo cleaning... cleaning... rm -rvf ./bin bin stubbin postgis.jar postgis_debug.jar \ compile stubcompile jtscompile jtsbin/ postgis_jts.jar \ javadoc-build postgis-jdbc-javadoc.zip \ test.log \ postgis_1.5.3.jar \ postgis_debug_1.5.3.jar \ postgis_jts_1.5.3.jar make[1]: Leaving directory `/«PKGBUILDDIR»/java/jdbc' DEBUGJAR=postgis_debug.fastjar JAR=fastjar JAVAC=javac /usr/bin/make -C java/jdbc jar make[1]: Entering directory `/«PKGBUILDDIR»/java/jdbc' mkdir -p ./stubbin/ javac -d ./stubbin/ stubs/org/postgresql/*.java touch stubcompile mkdir -p ./bin mkdir -p ./bin/org/postgis cp ../../Version.config ./bin/org/postgis/version.properties javac -classpath "./stubbin/:/usr/share/java/postgresql.jar:./src" -d ./bin ./src/org/postgis/*.java ./src/org/postgis/*/*.java ./src/examples/*.java ./src/org/postgis/DriverWrapper.java:72: error: getParentLogger() in org.postgresql.Driver cannot implement getParentLogger() in java.sql.Driver public class DriverWrapper extends Driver { ^ overridden method does not throw SQLException ./src/org/postgis/DriverWrapperAutoprobe.java:54: error: getParentLogger() in org.postgresql.Driver cannot implement getParentLogger() in java.sql.Driver public class DriverWrapperAutoprobe extends DriverWrapper { ^ overridden method does not throw SQLException ./src/org/postgis/DriverWrapperLW.java:49: error: getParentLogger() in org.postgresql.Driver cannot implement getParentLogger() in java.sql.Driver public class DriverWrapperLW extends DriverWrapper { ^ overridden method does not throw SQLException ./src/org/postgis/java2d/Java2DWrapper.java:50: error: getParentLogger() in org.postgresql.Driver cannot implement getParentLogger() in java.sql.Driver public class Java2DWrapper extends Driver { ^ overridden method does not throw SQLException Note: ./src/examples/TestJava2d.java uses unchecked or unsafe operations. Note: Recompile with -Xlint:unchecked for details. 4 errors make[1]: *** [compile] Error 1 make[1]: Leaving directory `/«PKGBUILDDIR»/java/jdbc' make: *** [install-indep] Error 2 dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2 ──────────────────────────────────────────────────────────────────────────────── Build finished at 20120603-0036 Finished ──────── E: Build failure (dpkg-buildpackage died) ** Affects: postgis (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 auto ftbfs java7-ftbfs -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1009475 Title: postgis version 1.5.3-2build1 failed to build with openjdk-7 as default-jdk To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/postgis/+bug/1009475/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
