Bug#1057677: resteasy: ftbfs due to the missing dependency org.jboss.resteasy:resteasy-jaxrs:jar:3.6.2.Final

Vladimir Petko vpa1977 at gmail.com
Thu Dec 7 01:47:12 GMT 2023


Source: resteasy
Version: 3.6.2-2
Severity: important
Tags: ftbfs

Dear Maintainer,

The package fails to build from source due to the missing dependency. The
relevant part of the build log:
-------------

   jh_linkjars
   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 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...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.jboss.resteasy:resteasy-dependencies:pom:3.6.2.Final
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: com.github.tomakehurst:wiremock:jar -> duplicate declaration of
version debian @ line 506, column 16
[WARNING]
'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)'
must be unique: org.jboss.weld.se:weld-se-core:jar -> duplicate declaration of
version debian @ line 674, column 16
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.jboss.resteasy:resteasy-client:jar:3.6.2.Final
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must
be unique: javax.ws.rs:javax.ws.rs-api:jar -> duplicate declaration of version
debian @ line 66, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten
the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.
[WARNING]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] RESTEasy dependencies BOM                                          [pom]
[INFO] RESTEasy JAX-RS                                                    [pom]
[INFO] RESTEasy JAX-RS Implementation                                     [jar]
[INFO] RESTEasy JAX-RS Client                                             [jar]
[INFO] RESTEasy JAXB Provider                                             [jar]
[INFO] RESTEasy Jettison Provider                                         [jar]
[INFO] RESTEasy Jackson Provider                                          [jar]
[INFO] RESTEasy Atom Provider                                             [jar]
[INFO] RESTEasy YAML Provider                                             [jar]
[INFO] RESTEasy HTML Provider                                             [jar]
[INFO] RESTEasy Providers                                                 [pom]
[INFO]
[INFO] --------------< org.jboss.resteasy:resteasy-dependencies >--------------
[INFO] Building RESTEasy dependencies BOM 3.6.2.Final                    [1/11]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] ---------------< org.jboss.resteasy:resteasy-jaxrs-all >----------------
[INFO] Building RESTEasy JAX-RS 3.6.2.Final                              [2/11]
[INFO] --------------------------------[ pom ]---------------------------------
[INFO]
[INFO] --- maven-clean-plugin:3.2.0:clean (i18n cleanup) @ resteasy-jaxrs-all
---
[INFO]
[INFO] -----------------< org.jboss.resteasy:resteasy-jaxrs >------------------
[INFO] Building RESTEasy JAX-RS Implementation 3.6.2.Final               [3/11]
[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 artifact org.apache.maven.plugins:maven-jar-plugin:jar:2.4 has
been relocated to org.apache.maven.plugins:maven-jar-plugin:jar:3.3.0
[WARNING] The POM for javax.servlet:javax.servlet-api:jar:3.1 is missing, no
dependency information available
[WARNING] The artifact javax.ws.rs:javax.ws.rs-api:jar:debian has been
relocated to jakarta.ws.rs:jakarta.ws.rs-api:jar:debian
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for RESTEasy JAX-RS 3.6.2.Final:
[INFO]
[INFO] RESTEasy dependencies BOM .......................... SUCCESS [  0.001 s]
[INFO] RESTEasy JAX-RS .................................... SUCCESS [  0.033 s]
[INFO] RESTEasy JAX-RS Implementation ..................... FAILURE [  0.036 s]
[INFO] RESTEasy JAX-RS Client ............................. SKIPPED
[INFO] RESTEasy JAXB Provider ............................. SKIPPED
[INFO] RESTEasy Jettison Provider ......................... SKIPPED
[INFO] RESTEasy Jackson Provider .......................... SKIPPED
[INFO] RESTEasy Atom Provider ............................. SKIPPED
[INFO] RESTEasy YAML Provider ............................. SKIPPED
[INFO] RESTEasy HTML Provider ............................. SKIPPED
[INFO] RESTEasy Providers ................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.124 s
[INFO] Finished at: 2023-12-07T14:44:26+13:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project resteasy-jaxrs: Could not resolve
dependencies for project org.jboss.resteasy:resteasy-jaxrs:jar:3.6.2.Final:
Cannot access jboss (http://repository.jboss.org/nexus/content/groups/public/)
in offline mode and the artifact javax.servlet:javax.servlet-api:jar:3.1 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 :resteasy-jaxrs
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 package
-DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
-------------


-- System Information:
Debian Release: trixie/sid
  APT prefers mantic-updates
  APT policy: (500, 'mantic-updates'), (500, 'mantic-security'), (500, 'mantic')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.5.0-13-generic (SMP w/32 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled



More information about the pkg-java-maintainers mailing list