Bug#967104: apache-directory-api: FTBFS: [ERROR] Failed to execute goal on project api-ldap-codec-core: Could not resolve dependencies for project org.apache.directory.api:api-ldap-codec-core:jar:1.0.0: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.osgi:org.osgi.core:jar:debian has not been downloaded from it before. -> [Help 1]
Lucas Nussbaum
lucas at debian.org
Tue Aug 4 08:11:17 BST 2020
Source: apache-directory-api
Version: 1.0.0-1
Severity: serious
Justification: FTBFS on amd64
Tags: bullseye sid ftbfs
Usertags: ftbfs-20200803 ftbfs-bullseye
Hi,
During a rebuild of all packages in sid, your package failed to build
on amd64.
Relevant part (hopefully):
> debian/rules build
> dh build --buildsystem=maven
> dh_update_autotools_config -O--buildsystem=maven
> dh_autoreconf -O--buildsystem=maven
> dh_auto_configure -O--buildsystem=maven
> mh_patchpoms -plibapache-directory-api-java --debian-build --keep-pom-version --maven-repo=/<<PKGBUILDDIR>>/debian/maven-repo
> dh_auto_build -O--buildsystem=maven
> /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
> WARNING: All illegal access operations will be denied 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 [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 1.0.0 [1/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] -----------------< org.apache.directory.api:api-i18n >------------------
> [INFO] Building Apache Directory LDAP API I18n 1.0.0 [2/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ api-i18n ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 2 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-i18n ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 1 source file to /<<PKGBUILDDIR>>/i18n/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ api-i18n ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-i18n ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ api-i18n ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ api-i18n ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/i18n/target/api-i18n-1.0.0.jar
> [INFO]
> [INFO] -----------------< org.apache.directory.api:api-util >------------------
> [INFO] Building Apache Directory LDAP API Utilities 1.0.0 [3/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ api-util ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-util ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 36 source files to /<<PKGBUILDDIR>>/util/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ api-util ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-util ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ api-util ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ api-util ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/util/target/api-util-1.0.0.jar
> [INFO]
> [INFO] --------------< org.apache.directory.api:api-asn1-parent >--------------
> [INFO] Building Apache Directory API ASN.1 Parent 1.0.0 [4/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] ---------------< org.apache.directory.api:api-asn1-api >----------------
> [INFO] Building Apache Directory API ASN.1 API 1.0.0 [5/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ api-asn1-api ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-asn1-api ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 8 source files to /<<PKGBUILDDIR>>/asn1/api/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ api-asn1-api ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-asn1-api ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ api-asn1-api ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ api-asn1-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/asn1/api/target/api-asn1-api-1.0.0.jar
> [INFO]
> [INFO] ---------------< org.apache.directory.api:api-asn1-ber >----------------
> [INFO] Building Apache Directory API ASN.1 BER 1.0.0 [6/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ api-asn1-ber ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 0 resource
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-asn1-ber ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 24 source files to /<<PKGBUILDDIR>>/asn1/ber/target/classes
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ api-asn1-ber ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-asn1-ber ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ api-asn1-ber ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ api-asn1-ber ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/asn1/ber/target/api-asn1-ber-1.0.0.jar
> [INFO]
> [INFO] --------------< org.apache.directory.api:api-ldap-parent >--------------
> [INFO] Building Apache Directory LDAP API Parent 1.0.0 [7/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] --------------< org.apache.directory.api:api-ldap-model >---------------
> [INFO] Building Apache Directory LDAP API Model 1.0.0 [8/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO]
> [INFO] --- maven-antrun-plugin:1.8:run (default) @ api-ldap-model ---
> [INFO] No Ant target defined - SKIPPED
> [INFO]
> [INFO] --- antlr-maven-plugin:2.2:generate (default) @ api-ldap-model ---
> [INFO] performing grammar generation [subtree-specification.g]
> ANTLR Parser Generator Version 2.7.7 (20190904) 1989-2005
>
> [INFO] performing grammar generation [distinguishedName.g]
> ANTLR Parser Generator Version 2.7.7 (20190904) 1989-2005
>
> [INFO] performing grammar generation [schema-extension.g]
> ANTLR Parser Generator Version 2.7.7 (20190904) 1989-2005
>
> [INFO] performing grammar generation [SubtreeSpecificationChecker.g]
> ANTLR Parser Generator Version 2.7.7 (20190904) 1989-2005
>
> [INFO] performing grammar generation [schema-value.g]
> ANTLR Parser Generator Version 2.7.7 (20190904) 1989-2005
> /<<PKGBUILDDIR>>/ldap/model/src/main/antlr/schema-value.g: warning:lexical nondeterminism between rules WHSP and DESCR_OR_QUIRKS_DESCR upon
> /<<PKGBUILDDIR>>/ldap/model/src/main/antlr/schema-value.g: k==1:'#'
> /<<PKGBUILDDIR>>/ldap/model/src/main/antlr/schema-value.g: k==2:<end-of-token>,'#','-','.','0'..';','_','a'..'z'
> /<<PKGBUILDDIR>>/ldap/model/src/main/antlr/schema-value.g: k==3:<end-of-token>,'#','-','.','0'..';','_','a'..'z'
>
> [INFO] performing grammar generation [schema.g]
> ANTLR Parser Generator Version 2.7.7 (20190904) 1989-2005
>
> [INFO] performing grammar generation [schema-qdstring.g]
> ANTLR Parser Generator Version 2.7.7 (20190904) 1989-2005
>
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ api-ldap-model ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/ldap/model/src/main/resources
> [INFO] Copying 7 resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-model ---
> [INFO] Changes detected - recompiling the module!
> [WARNING] File encoding has not been set, using platform encoding UTF-8, i.e. build is platform dependent!
> [INFO] Compiling 502 source files to /<<PKGBUILDDIR>>/ldap/model/target/classes
> [INFO] /<<PKGBUILDDIR>>/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractAbandonableRequest.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractAbandonableRequest.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Rdn.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/ldap/model/src/main/java/org/apache/directory/api/ldap/model/name/Rdn.java: Recompile with -Xlint:unchecked for details.
> [INFO]
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ api-ldap-model ---
> [INFO] Not copying test resources
> [INFO]
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-model ---
> [INFO] Not compiling test sources
> [INFO]
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ api-ldap-model ---
> [INFO] Tests are skipped.
> [INFO]
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ api-ldap-model ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/model/target/api-ldap-model-1.0.0.jar
> [INFO]
> [INFO] -----------< org.apache.directory.api:api-ldap-codec-parent >-----------
> [INFO] Building Apache Directory LDAP API Codec Parent 1.0.0 [9/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO]
> [INFO] ------------< org.apache.directory.api:api-ldap-codec-core >------------
> [INFO] Building Apache Directory LDAP API Codec Core 1.0.0 [10/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The POM for org.osgi:org.osgi.core:jar:debian is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Directory LDAP API 1.0.0:
> [INFO]
> [INFO] Apache Directory LDAP API .......................... SUCCESS [ 0.033 s]
> [INFO] Apache Directory LDAP API I18n ..................... SUCCESS [ 1.348 s]
> [INFO] Apache Directory LDAP API Utilities ................ SUCCESS [ 0.725 s]
> [INFO] Apache Directory API ASN.1 Parent .................. SUCCESS [ 0.003 s]
> [INFO] Apache Directory API ASN.1 API ..................... SUCCESS [ 0.146 s]
> [INFO] Apache Directory API ASN.1 BER ..................... SUCCESS [ 0.241 s]
> [INFO] Apache Directory LDAP API Parent ................... SUCCESS [ 0.001 s]
> [INFO] Apache Directory LDAP API Model .................... SUCCESS [ 6.921 s]
> [INFO] Apache Directory LDAP API Codec Parent ............. SUCCESS [ 0.003 s]
> [INFO] Apache Directory LDAP API Codec Core ............... FAILURE [ 0.008 s]
> [INFO] Apache Directory LDAP API Net Parent ............... SKIPPED
> [INFO] Apache Directory LDAP API Network MINA ............. SKIPPED
> [INFO] Apache Directory LDAP API Extras ................... 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: 9.696 s
> [INFO] Finished at: 2020-08-03T22:09:56Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal on project api-ldap-codec-core: Could not resolve dependencies for project org.apache.directory.api:api-ldap-codec-core:jar:1.0.0: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.osgi:org.osgi.core:jar:debian 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 :api-ldap-codec-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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make: *** [debian/rules:4: build] Error 25
The full build log is available from:
http://qa-logs.debian.net/2020/08/03/apache-directory-api_1.0.0-1_unstable.log
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!
About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.
More information about the pkg-java-maintainers
mailing list