Bug#1078382: apache-directory-api: FTBFS: make: *** [debian/rules:4: build] Error 25

Lucas Nussbaum lucas at debian.org
Sat Aug 10 06:59:17 BST 2024


Source: apache-directory-api
Version: 2.1.2-1
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20240809 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>  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] -----------------< org.apache.directory.api:api-i18n >------------------
> [INFO] Building Apache Directory LDAP API I18n 2.1.2                     [2/29]
> [INFO]   from i18n/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
> [WARNING] The artifact org.apache.maven.plugins:maven-compiler-plugin:jar:3.1 has been relocated to org.apache.maven.plugins:maven-compiler-plugin:jar:3.10.1
> [WARNING] The artifact org.apache.maven.plugins:maven-surefire-plugin:jar:2.12.4 has been relocated to org.apache.maven.plugins:maven-surefire-plugin:jar:2.22.3
> [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
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.1: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.10.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.3.1:testResources (default-testResources) @ api-i18n ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ api-i18n ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-i18n ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-i18n ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/i18n/target/api-i18n-2.1.2.jar
> [INFO] 
> [INFO] -----------------< org.apache.directory.api:api-util >------------------
> [INFO] Building Apache Directory LDAP API Utilities 2.1.2                [3/29]
> [INFO]   from util/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.hamcrest:hamcrest-library:jar:debian has been relocated to org.hamcrest:hamcrest:jar:debian
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-util ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/util/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.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 38 source files to /<<PKGBUILDDIR>>/util/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-util ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ api-util ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-util ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-util ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/util/target/api-util-2.1.2.jar
> [INFO] 
> [INFO] --------------< org.apache.directory.api:api-asn1-parent >--------------
> [INFO] Building Apache Directory API ASN.1 Parent 2.1.2                  [4/29]
> [INFO]   from asn1/pom.xml
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] ---------------< org.apache.directory.api:api-asn1-api >----------------
> [INFO] Building Apache Directory API ASN.1 API 2.1.2                     [5/29]
> [INFO]   from asn1/api/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-asn1-api ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/asn1/api/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.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 10 source files to /<<PKGBUILDDIR>>/asn1/api/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.1:testResources (default-testResources) @ api-asn1-api ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ api-asn1-api ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-asn1-api ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-asn1-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/asn1/api/target/api-asn1-api-2.1.2.jar
> [INFO] 
> [INFO] ---------------< org.apache.directory.api:api-asn1-ber >----------------
> [INFO] Building Apache Directory API ASN.1 BER 2.1.2                     [6/29]
> [INFO]   from asn1/ber/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.1:resources (default-resources) @ api-asn1-ber ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/asn1/ber/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.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.3.1:testResources (default-testResources) @ api-asn1-ber ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.10.1:testCompile (default-testCompile) @ api-asn1-ber ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-asn1-ber ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-asn1-ber ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/asn1/ber/target/api-asn1-ber-2.1.2.jar
> [INFO] 
> [INFO] --------------< org.apache.directory.api:api-ldap-parent >--------------
> [INFO] Building Apache Directory LDAP API Parent 2.1.2                   [7/29]
> [INFO]   from ldap/pom.xml
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --------------< org.apache.directory.api:api-ldap-model >---------------
> [INFO] Building Apache Directory LDAP API Model 2.1.2                    [8/29]
> [INFO]   from ldap/model/pom.xml
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.hamcrest:hamcrest-library:jar:debian has been relocated to org.hamcrest:hamcrest:jar:debian
> [INFO] 
> [INFO] --- maven-antrun-plugin:3.1.0: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 [SubtreeSpecificationChecker.g]
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Directory LDAP API 2.1.2:
> [INFO] 
> [INFO] Apache Directory LDAP API .......................... SUCCESS [  0.039 s]
> [INFO] Apache Directory LDAP API I18n ..................... SUCCESS [  2.109 s]
> [INFO] Apache Directory LDAP API Utilities ................ SUCCESS [  1.113 s]
> [INFO] Apache Directory API ASN.1 Parent .................. SUCCESS [  0.001 s]
> [INFO] Apache Directory API ASN.1 API ..................... SUCCESS [  0.266 s]
> [INFO] Apache Directory API ASN.1 BER ..................... SUCCESS [  0.315 s]
> [INFO] Apache Directory LDAP API Parent ................... SUCCESS [  0.002 s]
> [INFO] Apache Directory LDAP API Model .................... FAILURE [  0.312 s]
> [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:  4.456 s
> [INFO] Finished at: 2024-08-09T18:25:29Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:antlr-maven-plugin:2.2:generate (default) on project api-ldap-model: Execution default of goal org.codehaus.mojo:antlr-maven-plugin:2.2:generate failed: The Security Manager is deprecated and will be removed in a future release -> [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/PluginExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :api-ldap-model
> 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/2024/08/09/apache-directory-api_2.1.2-1_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20240809;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20240809&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