Package: src:libpgjava
Version: 42.2.4-1
Severity: serious
Tags: ftbfs

Dear maintainer:

I tried to build this package in buster but it failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep
   dh_update_autotools_config -i
   dh_autoreconf -i
   dh_auto_configure -i
        mh_patchpoms -plibpostgresql-jdbc-java --debian-build 
--keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_build -- package
        /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven 
-Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian 
-Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode package 
-DskipTests -Dnotimestamp=true -Dlocale=en_US
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by 
com.google.inject.internal.cglib.core.$ReflectUtils$1 
(file:/usr/share/maven/lib/guice.jar) to method 
java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int,java.security.ProtectionDomain)
WARNING: Please consider reporting this to the maintainers of 
com.google.inject.internal.cglib.core.$ReflectUtils$1
WARNING: Use --illegal-access=warn to enable warnings of further illegal 
reflective access operations

[... snipped ...]

[WARNING] ^
[WARNING] 
/<<PKGBUILDDIR>>/pgjdbc/target/gen-src/org/postgresql/sspi/NTDSAPIWrapper.java:11:
 error: package com.sun.jna.ptr does not exist
[WARNING] import com.sun.jna.ptr.IntByReference;
[WARNING] ^
[WARNING] 
/<<PKGBUILDDIR>>/pgjdbc/target/gen-src/org/postgresql/osgi/PGDataSourceFactory.java:17:
 error: package org.osgi.service.jdbc does not exist
[WARNING] import org.osgi.service.jdbc.DataSourceFactory;
[WARNING] ^
[WARNING] 
/<<PKGBUILDDIR>>/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:10:
 error: package org.osgi.framework does not exist
[WARNING] import org.osgi.framework.BundleActivator;
[WARNING] ^
[WARNING] 
/<<PKGBUILDDIR>>/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:11:
 error: package org.osgi.framework does not exist
[WARNING] import org.osgi.framework.BundleContext;
[WARNING] ^
[WARNING] 
/<<PKGBUILDDIR>>/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:12:
 error: package org.osgi.framework does not exist
[WARNING] import org.osgi.framework.ServiceRegistration;
[WARNING] ^
[WARNING] 
/<<PKGBUILDDIR>>/pgjdbc/target/gen-src/org/postgresql/osgi/PGBundleActivator.java:13:
 error: package org.osgi.service.jdbc does not exist
[WARNING] import org.osgi.service.jdbc.DataSourceFactory;
[WARNING] ^
[WARNING] javadoc: warning - You have not specified the version of HTML to use.
[WARNING] The default is currently HTML 4.01, but this will change to HTML5
[WARNING] in a future release. To suppress this warning, please specify the
[WARNING] version of HTML used in your documentation comments and to be
[WARNING] generated by this doclet, using the -html4 or -html5 options.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] PostgreSQL JDBC Driver - JDBC 4.2 .................. FAILURE [ 13.441 s]
[INFO] PostgreSQL JDBC Driver aggregate 42.2.4 ............ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 14.969 s
[INFO] Finished at: 2018-08-14T05:28:00Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-javadoc-plugin:3.0.1:javadoc (default-cli) on 
project postgresql: An error has occurred in Javadoc report generation: Project 
contains Javadoc Warnings -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp 
/usr/share/maven/boot/plexus-classworlds-2.x.jar -Dmaven.home=/usr/share/maven 
-Dmaven.multiModuleProjectDirectory=/<<PKGBUILDDIR>> 
-Dclassworlds.conf=/etc/maven/m2-debian.conf 
-Dproperties.file.manual=/<<PKGBUILDDIR>>/debian/maven.properties 
org.codehaus.plexus.classworlds.launcher.Launcher 
-s/etc/maven/settings-debian.xml -Ddebian.dir=/<<PKGBUILDDIR>>/debian 
-Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo --batch-mode 
javadoc:javadoc -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit 
code 1
make[1]: *** [debian/rules:8: override_dh_auto_build] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:4: build-indep] Error 2
dpkg-buildpackage: error: debian/rules build-indep subprocess returned exit 
status 2
--------------------------------------------------------------------------------

The build was made with "dpkg-buildpackage -A" in my autobuilder.
Most probably, it also fails here in reproducible builds:

https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/libpgjava.html

where you can get a full build log if you need it.

If this is really a bug in one of the build-depends, please use reassign and 
affects,
so that this is still visible in the BTS web page for this package.

Thanks.

Reply via email to