Bug#1028663: libhibernate3-java: FTBFS: [ERROR] Failed to execute goal on project hibernate-core: Could not resolve dependencies for project org.hibernate:hibernate-core:jar:3.6.10.Final: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact log4j:log4j:jar:1.2.x has not been downloaded from it before. -> [Help 1]

Lucas Nussbaum lucas at debian.org
Sat Jan 14 12:47:20 GMT 2023


Source: libhibernate3-java
Version: 3.6.10.Final-11
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230113 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> rm -Rf debian/maven-repo/org/hibernate/hibernate
> rm -Rf debian/maven-repo/org/hibernate/hibernate-parent
> rm -Rf debian/maven-repo/org/hibernate/hibernate-core
> rm -Rf debian/maven-repo/org/hibernate/hibernate-ehcache
> rm -Rf debian/maven-repo/org/hibernate/hibernate-oscache
> rm -Rf debian/maven-repo/org/hibernate/hibernate-jbosscache
> rm -Rf debian/maven-repo/org/hibernate/hibernate-swarmcache
> rm -Rf debian/maven-repo/org/hibernate/hibernate-proxool
> rm -Rf debian/maven-repo/org/hibernate/hibernate-testing
> rm -Rf debian/maven-repo/org/hibernate/hibernate-testsuite
> rm -Rf debian/maven-repo/org/hibernate/hibernate-c3p0
> rm -Rf debian/maven-repo/org/hibernate/hibernate-entitymanager
> rm -Rf debian/maven-repo/org/hibernate/hibernate-envers
> rm -Rf debian/maven-repo/org/hibernate/hibernate-jdbc3-testing
> rm -Rf debian/maven-repo/org/hibernate/hibernate-jdbc4-testing
> rm -Rf debian/maven-repo/org/hibernate/hibernate-infinispan
> dh_auto_build -- --file project/pom.xml 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 --file project/pom.xml 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] Reactor Build Order:
> [INFO] 
> [INFO] Hibernate Core Parent POM                                          [pom]
> [INFO] Hibernate Core                                                     [jar]
> [INFO] Hibernate Testing                                                  [jar]
> [INFO] Hibernate Testsuite                                                [jar]
> [INFO] Hibernate Ehcache Integration                                      [jar]
> [INFO] Hibernate OSCache Integration                                      [jar]
> [INFO] Hibernate SwarmCache Integration                                   [jar]
> [INFO] Hibernate C3P0 ConnectionProvider                                  [jar]
> [INFO] Hibernate Proxool ConnectionProvider                               [jar]
> [INFO] Hibernate JDBC3-JdbcSupport Testing                                [jar]
> [INFO] Hibernate Entity Manager                                           [jar]
> [INFO] Hibernate JDBC4-JdbcSupport Testing                                [jar]
> [INFO] Hibernate Core Aggregator                                          [pom]
> [INFO] 
> [INFO] -------------------< org.hibernate:hibernate-parent >-------------------
> [INFO] Building Hibernate Core Parent POM 3.6.10.Final                   [1/13]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --------------------< org.hibernate:hibernate-core >--------------------
> [INFO] Building Hibernate Core 3.6.10.Final                              [2/13]
> [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.0
> [WARNING] The POM for log4j:log4j:jar:1.2.x is missing, no dependency information available
> [WARNING] The artifact dom4j:dom4j:jar:debian has been relocated to org.dom4j:dom4j:jar:debian
> [WARNING] The artifact javassist:javassist:jar:debian has been relocated to org.javassist:javassist:jar:debian
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Hibernate Core Aggregator 3.6.10.Final:
> [INFO] 
> [INFO] Hibernate Core Parent POM .......................... SUCCESS [  0.001 s]
> [INFO] Hibernate Core ..................................... FAILURE [  0.102 s]
> [INFO] Hibernate Testing .................................. SKIPPED
> [INFO] Hibernate Testsuite ................................ SKIPPED
> [INFO] Hibernate Ehcache Integration ...................... SKIPPED
> [INFO] Hibernate OSCache Integration ...................... SKIPPED
> [INFO] Hibernate SwarmCache Integration ................... SKIPPED
> [INFO] Hibernate C3P0 ConnectionProvider .................. SKIPPED
> [INFO] Hibernate Proxool ConnectionProvider ............... SKIPPED
> [INFO] Hibernate JDBC3-JdbcSupport Testing ................ SKIPPED
> [INFO] Hibernate Entity Manager ........................... SKIPPED
> [INFO] Hibernate JDBC4-JdbcSupport Testing ................ SKIPPED
> [INFO] Hibernate Core Aggregator .......................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  0.330 s
> [INFO] Finished at: 2023-01-13T20:23:33Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project hibernate-core: Could not resolve dependencies for project org.hibernate:hibernate-core:jar:3.6.10.Final: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact log4j:log4j:jar:1.2.x has not been downloaded from it before. -> [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/DependencyResolutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :hibernate-core
> dh_auto_build: error: /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 --file project/pom.xml package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make[1]: *** [debian/rules:23: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/01/13/libhibernate3-java_3.6.10.Final-11_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230113;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230113&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please mark it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the pkg-java-maintainers mailing list