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

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
        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
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were 
deprecated in JDK 13 and will likely be removed in a future release.
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< org.postgresql:postgresql >----------------------
[INFO] Building PostgreSQL JDBC Driver - JDBC 4.2 42.7.3
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 
has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ 
postgresql ---
[INFO] Copying 7 resources from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ postgresql 
---
[INFO] Recompiling the module because of changed source code.
[INFO] Compiling 272 source files with javac [debug release 8] to target/classes
[WARNING] source value 8 is obsolete and will be removed in a future release
[WARNING] target value 8 is obsolete and will be removed in a future release
[WARNING] To suppress warnings about obsolete options, use -Xlint:-options.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/postgresql/jdbc/PgResultSet.java: 
Some input files use or override a deprecated API.
[INFO] /<<PKGBUILDDIR>>/src/main/java/org/postgresql/jdbc/PgResultSet.java: 
Recompile with -Xlint:deprecation for details.
[INFO] 
/<<PKGBUILDDIR>>/src/main/java/org/postgresql/translation/messages_ja.java: 
Some input files use unchecked or unsafe operations.
[INFO] 
/<<PKGBUILDDIR>>/src/main/java/org/postgresql/translation/messages_ja.java: 
Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ 
postgresql ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ 
postgresql ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ postgresql ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ postgresql ---
[INFO] Building jar: /<<PKGBUILDDIR>>/target/postgresql-42.7.3.jar
[INFO]
[INFO] --- maven-shade-plugin:3.6.0:shade (default) @ postgresql ---
[INFO] Including com.ongres.scram:client:jar:debian in the shaded jar.
[INFO] Including com.ongres.scram:common:jar:debian in the shaded jar.
[INFO] Including com.ongres.stringprep:saslprep:jar:debian in the shaded jar.
[INFO] Including com.ongres.stringprep:stringprep:jar:debian in the shaded jar.
[INFO] Minimizing jar org.postgresql:postgresql:jar:42.7.3
[INFO] Dependency-reduced POM written at: 
/<<PKGBUILDDIR>>/dependency-reduced-pom.xml
[WARNING] client-debian.jar, common-debian.jar, postgresql-42.7.3.jar, 
saslprep-debian.jar, stringprep-debian.jar define 1 overlapping resource:
[WARNING]   - META-INF/MANIFEST.MF
[WARNING] maven-shade-plugin has detected that some files are
[WARNING] present in two or more JARs. When this happens, only one
[WARNING] single version of the file is copied to the uber jar.
[WARNING] Usually this is not harmful and you can skip these warnings,
[WARNING] otherwise try to manually exclude artifacts based on
[WARNING] mvn dependency:tree -Ddetail=true and the above output.
[WARNING] See https://maven.apache.org/plugins/maven-shade-plugin/
[INFO] Minimized 488 -> 488 (100%)
[INFO] Replacing original artifact with shaded artifact.
[INFO] Replacing /<<PKGBUILDDIR>>/target/postgresql-42.7.3.jar with 
/<<PKGBUILDDIR>>/target/postgresql-42.7.3-shaded.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.784 s
[INFO] Finished at: 2024-11-23T12:40:01Z
[INFO] ------------------------------------------------------------------------
dh_auto_build -- javadoc:javadoc
        /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
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were 
deprecated in JDK 13 and will likely be removed in a future release.
[INFO] Scanning for projects...
[WARNING] The artifact org.apache.maven.plugins:maven-clean-plugin:jar:2.5 has 
been relocated to org.apache.maven.plugins:maven-clean-plugin:jar:3.2.0
[WARNING] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 
has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1
[WARNING] The artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 
has been relocated to org.apache.maven.plugins:maven-install-plugin:jar:3.1.1
[WARNING] The artifact org.apache.maven.plugins:maven-deploy-plugin:jar:2.7 has 
been relocated to org.apache.maven.plugins:maven-deploy-plugin:jar:3.1.3
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is 
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-site-plugin:3.3: Plugin 
org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could 
not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) 
in offline mode and the artifact 
org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from 
it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is 
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin 
org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded 
from it before.
[WARNING] The POM for 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no 
dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been 
downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin 
org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been 
downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin 
org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded 
from it before.
[INFO]
[INFO] ---------------------< org.postgresql:postgresql >----------------------
[INFO] Building PostgreSQL JDBC Driver - JDBC 4.2 42.7.3
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The POM for org.apache.maven.plugins:maven-site-plugin:jar:3.3 is 
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-site-plugin:3.3: Plugin 
org.apache.maven.plugins:maven-site-plugin:3.3 or one of its dependencies could 
not be resolved: Cannot access central (https://repo.maven.apache.org/maven2) 
in offline mode and the artifact 
org.apache.maven.plugins:maven-site-plugin:jar:3.3 has not been downloaded from 
it before.
[WARNING] The POM for org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 is 
missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-antrun-plugin:1.3: Plugin 
org.apache.maven.plugins:maven-antrun-plugin:1.3 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-antrun-plugin:jar:1.3 has not been downloaded 
from it before.
[WARNING] The POM for 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 is missing, no 
dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5: Plugin 
org.apache.maven.plugins:maven-assembly-plugin:2.2-beta-5 or one of its 
dependencies could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-assembly-plugin:jar:2.2-beta-5 has not been 
downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-dependency-plugin:2.8: Plugin 
org.apache.maven.plugins:maven-dependency-plugin:2.8 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-dependency-plugin:jar:2.8 has not been 
downloaded from it before.
[WARNING] The POM for org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 
is missing, no dependency information available
[WARNING] Failed to retrieve plugin descriptor for 
org.apache.maven.plugins:maven-release-plugin:2.5.3: Plugin 
org.apache.maven.plugins:maven-release-plugin:2.5.3 or one of its dependencies 
could not be resolved: Cannot access central 
(https://repo.maven.apache.org/maven2) in offline mode and the artifact 
org.apache.maven.plugins:maven-release-plugin:jar:2.5.3 has not been downloaded 
from it before.
[INFO]
[INFO] >>> maven-javadoc-plugin:3.10.1:javadoc (default-cli) > generate-sources @ 
postgresql >>>
[INFO]
[INFO] <<< maven-javadoc-plugin:3.10.1:javadoc (default-cli) < generate-sources @ 
postgresql <<<
[INFO]
[INFO]
[INFO] --- maven-javadoc-plugin:3.10.1:javadoc (default-cli) @ postgresql ---
[INFO] Adding the --ignore-source-errors option
[INFO] No previous run data found, generating javadoc.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.593 s
[INFO] Finished at: 2024-11-23T12:40:06Z
[INFO] ------------------------------------------------------------------------
# defang package-contains-ancient-file
touch README.md
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_auto_test
        /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 
test
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were 
deprecated in JDK 13 and will likely be removed in a future release.
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< org.postgresql:postgresql >----------------------
[INFO] Building PostgreSQL JDBC Driver - JDBC 4.2 42.7.3
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[WARNING] The artifact org.apache.maven.plugins:maven-resources-plugin:jar:2.6 
has been relocated to org.apache.maven.plugins:maven-resources-plugin:jar:3.3.1
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ 
postgresql ---
[INFO] Copying 7 resources from src/main/resources to target/classes
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:compile (default-compile) @ postgresql 
---
[INFO] Nothing to compile - all classes are up to date.
[INFO]
[INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ 
postgresql ---
[INFO] Not copying test resources
[INFO]
[INFO] --- maven-compiler-plugin:3.13.0:testCompile (default-testCompile) @ 
postgresql ---
[INFO] Not compiling test sources
[INFO]
[INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ postgresql ---
[INFO] Tests are skipped.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.487 s
[INFO] Finished at: 2024-11-23T12:40:08Z
[INFO] ------------------------------------------------------------------------
   create-stamp debian/debhelper-build-stamp
   dh_prep
   dh_auto_install
        /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 -Ddebian.dir=/<<PKGBUILDDIR>>/debian -Ddebian.package=libpostgresql-jdbc-java 
-Dmaven.repo.local=/<<PKGBUILDDIR>>/debian/maven-repo -Dinstall.to.usj=true org.debian.maven:debian-maven-plugin:2.6:install
OpenJDK 64-Bit Server VM warning: Options -Xverify:none and -noverify were 
deprecated in JDK 13 and will likely be removed in a future release.
[INFO] Scanning for projects...
[INFO]
[INFO] ---------------------< org.postgresql:postgresql >----------------------
[INFO] Building PostgreSQL JDBC Driver - JDBC 4.2 42.7.3
[INFO]   from pom.xml
[INFO] --------------------------------[ jar ]---------------------------------
[INFO]
[INFO] --- debian-maven-plugin:2.6:install (default-cli) @ postgresql ---
[INFO] Cleaning pom file: /<<PKGBUILDDIR>>/pom.xml.save with options:
[INFO]  --keep-pom-version --package=libpostgresql-jdbc-java 
--has-package-version
[INFO]  --rules=/<<PKGBUILDDIR>>/debian/maven.rules
[INFO]  --ignore-rules=/<<PKGBUILDDIR>>/debian/maven.ignoreRules
[INFO]  --published-rules=/<<PKGBUILDDIR>>/debian/maven.publishedRules
[INFO]  --no-parent
[INFO] Relocating postgresql:postgresql:debian
[INFO] Install jar for postgresql into /usr/share/java
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.301 s
[INFO] Finished at: 2024-11-23T12:40:09Z
[INFO] ------------------------------------------------------------------------
        mh_resolve_dependencies --non-interactive --offline --build 
-plibpostgresql-jdbc-java --javadoc --base-directory=/<<PKGBUILDDIR>> 
--non-explore
Analysing pom.xml...
Checking dependencies for documentation packages...
dpkg --search /usr/share/doc/libscram-java/api/index.html
dpkg failed to execute successfully
Offline mode. Give up looking for package containing 
/usr/share/doc/libscram-java/api/index.html
dpkg --search /usr/share/doc/libscram-java-doc/api/index.html
dpkg failed to execute successfully
Offline mode. Give up looking for package containing 
/usr/share/doc/libscram-java-doc/api/index.html
dpkg --search /usr/share/doc/libscram-java/apidocs/index.html
dpkg failed to execute successfully
Offline mode. Give up looking for package containing 
/usr/share/doc/libscram-java/apidocs/index.html
dpkg --search /usr/share/doc/libscram-java-doc/apidocs/index.html
dpkg failed to execute successfully
Offline mode. Give up looking for package containing 
/usr/share/doc/libscram-java-doc/apidocs/index.html
        bash -c "rm -f target/apidocs/*.sh target/apidocs/options"
        mh_unpatchpoms -plibpostgresql-jdbc-java
   dh_install
dh_install: warning: Cannot find (any matches for) "target/site/apidocs/*" 
(tried in ., debian/tmp)

dh_install: warning: libpostgresql-jdbc-java-doc missing files: 
target/site/apidocs/*
dh_install: error: missing files, aborting
make: *** [debian/rules:7: binary] Error 255
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202411/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

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