Bug#1086254: apache-directory-api: FTBFS: [ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-surefire-report-plugin'

Santiago Vila sanvila at debian.org
Tue Oct 29 18:24:26 GMT 2024


Package: src:apache-directory-api
Version: 2.1.2-1
Severity: serious
Tags: ftbfs

Dear maintainer:

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

--------------------------------------------------------------------------------
[...]
  debian/rules build
dh build
    dh_update_autotools_config
    dh_autoreconf
    dh_auto_configure
	mh_patchpoms -plibapache-directory-api-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
    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...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] Apache Directory LDAP API                                          [pom]
[INFO] Apache Directory LDAP API I18n                                     [jar]
[INFO] Apache Directory LDAP API Utilities                                [jar]
[INFO] Apache Directory API ASN.1 Parent                                  [pom]
[INFO] Apache Directory API ASN.1 API                                     [jar]
[INFO] Apache Directory API ASN.1 BER                                     [jar]
[INFO] Apache Directory LDAP API Parent                                   [pom]
[INFO] Apache Directory LDAP API Model                                    [jar]
[INFO] Apache Directory LDAP API Codec Parent                             [pom]
[INFO] Apache Directory LDAP API Codec Core                               [jar]
[INFO] Apache Directory LDAP API Net Parent                               [pom]
[INFO] Apache Directory LDAP API Network MINA                             [jar]
[INFO] Apache Directory LDAP API Extras Parent                            [pom]
[INFO] Apache Directory LDAP API Extras Codec API                         [jar]
[INFO] Apache Directory LDAP API Extras Codec                             [jar]
[INFO] Apache Directory LDAP API Codec Standalone                         [jar]
[INFO] Apache Directory LDAP API DSML Parent                              [pom]
[INFO] Apache Directory LDAP API DSML Parser                              [jar]
[INFO] Apache Directory LDAP API Extras ACI                               [jar]
[INFO] Apache Directory LDAP API Schema Parent                            [pom]
[INFO] Apache Directory LDAP API Schema Data                              [jar]
[INFO] Apache Directory LDAP API Client Parent                            [pom]
[INFO] Apache Directory LDAP API Client API                               [jar]
[INFO] Apache Directory LDAP API DSML Engine                              [jar]
[INFO] Apache Directory LDAP API Extras Util                              [jar]
[INFO] Apache Directory LDAP API Extras Stored Procedures                 [jar]
[INFO] Apache Directory LDAP API Extras Trigger                           [jar]
[INFO] Apache Directory LDAP API Schema Converter                         [jar]
[INFO] Apache Directory API All                                           [jar]
[INFO]
[INFO] ----------------< org.apache.directory.api:api-parent >-----------------
[INFO] Building Apache Directory LDAP API 2.1.2                          [1/29]
[INFO]   from pom.xml
[INFO] --------------------------------[ pom ]---------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Directory LDAP API 2.1.2:
[INFO]
[INFO] Apache Directory LDAP API .......................... FAILURE [  0.005 s]
[INFO] Apache Directory LDAP API I18n ..................... SKIPPED
[INFO] Apache Directory LDAP API Utilities ................ SKIPPED
[INFO] Apache Directory API ASN.1 Parent .................. SKIPPED
[INFO] Apache Directory API ASN.1 API ..................... SKIPPED
[INFO] Apache Directory API ASN.1 BER ..................... SKIPPED
[INFO] Apache Directory LDAP API Parent ................... SKIPPED
[INFO] Apache Directory LDAP API Model .................... SKIPPED
[INFO] Apache Directory LDAP API Codec Parent ............. SKIPPED
[INFO] Apache Directory LDAP API Codec Core ............... SKIPPED
[INFO] Apache Directory LDAP API Net Parent ............... SKIPPED
[INFO] Apache Directory LDAP API Network MINA ............. SKIPPED
[INFO] Apache Directory LDAP API Extras Parent ............ SKIPPED
[INFO] Apache Directory LDAP API Extras Codec API ......... SKIPPED
[INFO] Apache Directory LDAP API Extras Codec ............. SKIPPED
[INFO] Apache Directory LDAP API Codec Standalone ......... SKIPPED
[INFO] Apache Directory LDAP API DSML Parent .............. SKIPPED
[INFO] Apache Directory LDAP API DSML Parser .............. SKIPPED
[INFO] Apache Directory LDAP API Extras ACI ............... SKIPPED
[INFO] Apache Directory LDAP API Schema Parent ............ SKIPPED
[INFO] Apache Directory LDAP API Schema Data .............. SKIPPED
[INFO] Apache Directory LDAP API Client Parent ............ SKIPPED
[INFO] Apache Directory LDAP API Client API ............... SKIPPED
[INFO] Apache Directory LDAP API DSML Engine .............. SKIPPED
[INFO] Apache Directory LDAP API Extras Util .............. SKIPPED
[INFO] Apache Directory LDAP API Extras Stored Procedures . SKIPPED
[INFO] Apache Directory LDAP API Extras Trigger ........... SKIPPED
[INFO] Apache Directory LDAP API Schema Converter ......... SKIPPED
[INFO] Apache Directory API All ........................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  0.338 s
[INFO] Finished at: 2024-10-29T07:53:41Z
[INFO] ------------------------------------------------------------------------
[ERROR] Error resolving version for plugin 'org.apache.maven.plugins:maven-surefire-report-plugin' from the repositories [local (/<<PKGBUILDDIR>>/debian/maven-repo), central (https://repo.maven.apache.org/maven2)]: Plugin not found in any plugin repository -> [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/PluginVersionResolutionException
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
--------------------------------------------------------------------------------

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/202410/

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.



More information about the pkg-java-maintainers mailing list