Bug#1026726: apache-directory-api: FTBFS: [ERROR] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java:[4018, 22] cannot find symbol

Lucas Nussbaum lucas at debian.org
Tue Dec 20 17:32:07 GMT 2022


Source: apache-directory-api
Version: 1.0.0-2
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20221220 ftbfs-bookworm

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                                   [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 ]---------------------------------
> [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-compiler-plugin:jar:3.1 has been relocated to org.apache.maven.plugins:maven-compiler-plugin:jar:3.8.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.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.3.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.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-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.3.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.3.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.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-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.3.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.3.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.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-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.3.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.3.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.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-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]
> WARNING: A terminally deprecated method in java.lang.System has been called
> WARNING: System::setSecurityManager has been called by org.codehaus.mojo.antlr.AbstractAntlrMojo (file:/<<PKGBUILDDIR>>/debian/maven-repo/org/codehaus/mojo/antlr-maven-plugin/2.2/antlr-maven-plugin-2.2.jar)
> WARNING: Please consider reporting this to the maintainers of org.codehaus.mojo.antlr.AbstractAntlrMojo
> WARNING: System::setSecurityManager will be removed in a future release
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] performing grammar generation [schema-qdstring.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] performing grammar generation [distinguishedName.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] performing grammar generation [SubtreeSpecificationChecker.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] performing grammar generation [schema.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] performing grammar generation [schema-value.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   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-extension.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.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: /<<PKGBUILDDIR>>/ldap/model/src/main/java/org/apache/directory/api/ldap/model/message/AbstractAbandonableRequest.java uses or overrides 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/target/generated-sources/antlr/org/apache/directory/api/ldap/model/subtree/AntlrSubtreeSpecificationCheckerLexer.java: Some input files use or override a deprecated API that is marked for removal.
> [INFO] /<<PKGBUILDDIR>>/ldap/model/target/generated-sources/antlr/org/apache/directory/api/ldap/model/subtree/AntlrSubtreeSpecificationCheckerLexer.java: Recompile with -Xlint:removal 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.3.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.3:test (default-test) @ api-ldap-model ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0: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 artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.8:run (default) @ api-ldap-codec-core ---
> [INFO] No Ant target defined - SKIPPED
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-codec-core ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/ldap/codec/core/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-codec-core ---
> [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 192 source files to /<<PKGBUILDDIR>>/ldap/codec/core/target/classes
> [INFO] /<<PKGBUILDDIR>>/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/LdapApiServiceFactory.java: /<<PKGBUILDDIR>>/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/LdapApiServiceFactory.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/ldap/codec/core/src/main/java/org/apache/directory/api/ldap/codec/api/LdapApiServiceFactory.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-ldap-codec-core ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-codec-core ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-ldap-codec-core ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-ldap-codec-core ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/codec/core/target/api-ldap-codec-core-1.0.0.jar
> [INFO] 
> [INFO] ------------< org.apache.directory.api:api-ldap-net-parent >------------
> [INFO] Building Apache Directory LDAP API Net Parent 1.0.0              [11/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] -------------< org.apache.directory.api:api-ldap-net-mina >-------------
> [INFO] Building Apache Directory LDAP API Network MINA 1.0.0            [12/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-net-mina ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/ldap/net/mina/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-net-mina ---
> [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 4 source files to /<<PKGBUILDDIR>>/ldap/net/mina/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-ldap-net-mina ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-net-mina ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-ldap-net-mina ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-ldap-net-mina ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/net/mina/target/api-ldap-net-mina-1.0.0.jar
> [INFO] 
> [INFO] ----------< org.apache.directory.api:api-ldap-extras-parent >-----------
> [INFO] Building Apache Directory LDAP API Extras 1.0.0                  [13/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] ---------< org.apache.directory.api:api-ldap-extras-codec-api >---------
> [INFO] Building Apache Directory LDAP API Extras Codec API 1.0.0        [14/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-extras-codec-api ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/ldap/extras/codec-api/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-extras-codec-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 62 source files to /<<PKGBUILDDIR>>/ldap/extras/codec-api/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-ldap-extras-codec-api ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-extras-codec-api ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-ldap-extras-codec-api ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-ldap-extras-codec-api ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/extras/codec-api/target/api-ldap-extras-codec-api-1.0.0.jar
> [INFO] 
> [INFO] -----------< org.apache.directory.api:api-ldap-extras-codec >-----------
> [INFO] Building Apache Directory LDAP API Extras Codec 1.0.0            [15/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.osgi:org.osgi.core:jar:debian has been relocated to org.osgi:osgi.core:jar:debian
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-extras-codec ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/ldap/extras/codec/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-extras-codec ---
> [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 124 source files to /<<PKGBUILDDIR>>/ldap/extras/codec/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-ldap-extras-codec ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-extras-codec ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-ldap-extras-codec ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-ldap-extras-codec ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/extras/codec/target/api-ldap-extras-codec-1.0.0.jar
> [INFO] 
> [INFO] ---------< org.apache.directory.api:api-ldap-codec-standalone >---------
> [INFO] Building Apache Directory LDAP API Codec Standalone 1.0.0        [16/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-codec-standalone ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/ldap/codec/standalone/src/main/resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-codec-standalone ---
> [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 2 source files to /<<PKGBUILDDIR>>/ldap/codec/standalone/target/classes
> [INFO] /<<PKGBUILDDIR>>/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java: /<<PKGBUILDDIR>>/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/ldap/codec/standalone/src/main/java/org/apache/directory/api/ldap/codec/standalone/StandaloneLdapApiService.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-ldap-codec-standalone ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-codec-standalone ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-ldap-codec-standalone ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-ldap-codec-standalone ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/codec/standalone/target/api-ldap-codec-standalone-1.0.0.jar
> [INFO] 
> [INFO] --------------< org.apache.directory.api:api-dsml-parent >--------------
> [INFO] Building Apache Directory LDAP API DSML Parent 1.0.0             [17/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --------------< org.apache.directory.api:api-dsml-parser >--------------
> [INFO] Building Apache Directory LDAP API DSML Parser 1.0.0             [18/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-dsml-parser ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-dsml-parser ---
> [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 57 source files to /<<PKGBUILDDIR>>/dsml/parser/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-dsml-parser ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-dsml-parser ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-dsml-parser ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-dsml-parser ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/dsml/parser/target/api-dsml-parser-1.0.0.jar
> [INFO] 
> [INFO] ------------< org.apache.directory.api:api-ldap-extras-aci >------------
> [INFO] Building Apache Directory LDAP API Extras ACI 1.0.0              [19/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- antlr-maven-plugin:2.2:generate (default) @ api-ldap-extras-aci ---
> [INFO] performing grammar generation [ACIItem.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] performing grammar generation [ACIItemChecker.g]
> ANTLR Parser Generator   Version 2.7.7 (20210821)   1989-2005
> 
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-extras-aci ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] skip non existing resourceDirectory /<<PKGBUILDDIR>>/ldap/extras/aci/src/main/resources
> [INFO] Copying 2 resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-extras-aci ---
> [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 39 source files to /<<PKGBUILDDIR>>/ldap/extras/aci/target/classes
> [INFO] /<<PKGBUILDDIR>>/ldap/extras/aci/target/generated-sources/antlr/org/apache/directory/api/ldap/aci/AntlrACIItemLexer.java: Some input files use or override a deprecated API that is marked for removal.
> [INFO] /<<PKGBUILDDIR>>/ldap/extras/aci/target/generated-sources/antlr/org/apache/directory/api/ldap/aci/AntlrACIItemLexer.java: Recompile with -Xlint:removal for details.
> [INFO] /<<PKGBUILDDIR>>/ldap/extras/aci/target/generated-sources/antlr/org/apache/directory/api/ldap/aci/AntlrACIItemLexer.java: Some input files use unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/ldap/extras/aci/target/generated-sources/antlr/org/apache/directory/api/ldap/aci/AntlrACIItemLexer.java: Recompile with -Xlint:unchecked for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-ldap-extras-aci ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-extras-aci ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-ldap-extras-aci ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-ldap-extras-aci ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/extras/aci/target/api-ldap-extras-aci-1.0.0.jar
> [INFO] 
> [INFO] ----------< org.apache.directory.api:api-ldap-schema-parent >-----------
> [INFO] Building Apache Directory LDAP API Schema Parent 1.0.0           [20/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] -----------< org.apache.directory.api:api-ldap-schema-data >------------
> [INFO] Building Apache Directory LDAP API Schema Data 1.0.0             [21/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-antrun-plugin:1.8:run (default) @ api-ldap-schema-data ---
> [INFO] Executing tasks
> 
> main:
> [INFO] Executed tasks
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-schema-data ---
> [WARNING] Using platform encoding (UTF-8 actually) to copy filtered resources, i.e. build is platform dependent!
> [INFO] Copying 1313 resources
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ api-ldap-schema-data ---
> [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 11 source files to /<<PKGBUILDDIR>>/ldap/schema/data/target/classes
> [INFO] /<<PKGBUILDDIR>>/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/loader/SchemaEntityFactory.java: /<<PKGBUILDDIR>>/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/loader/SchemaEntityFactory.java uses or overrides a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/loader/SchemaEntityFactory.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/loader/SchemaEntityFactory.java: /<<PKGBUILDDIR>>/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/loader/SchemaEntityFactory.java uses or overrides a deprecated API that is marked for removal.
> [INFO] /<<PKGBUILDDIR>>/ldap/schema/data/src/main/java/org/apache/directory/api/ldap/schema/loader/SchemaEntityFactory.java: Recompile with -Xlint:removal for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:testResources (default-testResources) @ api-ldap-schema-data ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ api-ldap-schema-data ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.3:test (default-test) @ api-ldap-schema-data ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.3.0:jar (default-jar) @ api-ldap-schema-data ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/ldap/schema/data/target/api-ldap-schema-data-1.0.0.jar
> [INFO] 
> [INFO] ----------< org.apache.directory.api:api-ldap-client-parent >-----------
> [INFO] Building Apache Directory LDAP API Client Parent 1.0.0           [22/29]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] ------------< org.apache.directory.api:api-ldap-client-api >------------
> [INFO] Building Apache Directory LDAP API Client API 1.0.0              [23/29]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ api-ldap-client-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-ldap-client-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 69 source files to /<<PKGBUILDDIR>>/ldap/client/api/target/classes
> [INFO] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionWrapper.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapConnectionWrapper.java: Recompile with -Xlint:deprecation for details.
> [INFO] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdifAnonymizer.java: /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdifAnonymizer.java uses unchecked or unsafe operations.
> [INFO] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdifAnonymizer.java: Recompile with -Xlint:unchecked for details.
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java:[4017,35] constructor SslFilter in class org.apache.mina.filter.ssl.SslFilter cannot be applied to given types;
>   required: javax.net.ssl.SSLContext
>   found:    javax.net.ssl.SSLContext,boolean
>   reason: actual and formal argument lists differ in length
> [ERROR] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java:[4018,22] cannot find symbol
>   symbol:   method setUseClientMode(boolean)
>   location: variable sslFilter of type org.apache.mina.filter.ssl.SslFilter
> [INFO] 2 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Directory LDAP API 1.0.0:
> [INFO] 
> [INFO] Apache Directory LDAP API .......................... SUCCESS [  0.028 s]
> [INFO] Apache Directory LDAP API I18n ..................... SUCCESS [  1.912 s]
> [INFO] Apache Directory LDAP API Utilities ................ SUCCESS [  1.025 s]
> [INFO] Apache Directory API ASN.1 Parent .................. SUCCESS [  0.001 s]
> [INFO] Apache Directory API ASN.1 API ..................... SUCCESS [  0.160 s]
> [INFO] Apache Directory API ASN.1 BER ..................... SUCCESS [  0.237 s]
> [INFO] Apache Directory LDAP API Parent ................... SUCCESS [  0.001 s]
> [INFO] Apache Directory LDAP API Model .................... SUCCESS [  7.927 s]
> [INFO] Apache Directory LDAP API Codec Parent ............. SUCCESS [  0.000 s]
> [INFO] Apache Directory LDAP API Codec Core ............... SUCCESS [  0.787 s]
> [INFO] Apache Directory LDAP API Net Parent ............... SUCCESS [  0.001 s]
> [INFO] Apache Directory LDAP API Network MINA ............. SUCCESS [  0.112 s]
> [INFO] Apache Directory LDAP API Extras ................... SUCCESS [  0.000 s]
> [INFO] Apache Directory LDAP API Extras Codec API ......... SUCCESS [  0.301 s]
> [INFO] Apache Directory LDAP API Extras Codec ............. SUCCESS [  0.608 s]
> [INFO] Apache Directory LDAP API Codec Standalone ......... SUCCESS [  0.105 s]
> [INFO] Apache Directory LDAP API DSML Parent .............. SUCCESS [  0.000 s]
> [INFO] Apache Directory LDAP API DSML Parser .............. SUCCESS [  0.552 s]
> [INFO] Apache Directory LDAP API Extras ACI ............... SUCCESS [  0.616 s]
> [INFO] Apache Directory LDAP API Schema Parent ............ SUCCESS [  0.001 s]
> [INFO] Apache Directory LDAP API Schema Data .............. SUCCESS [  0.789 s]
> [INFO] Apache Directory LDAP API Client Parent ............ SUCCESS [  0.000 s]
> [INFO] Apache Directory LDAP API Client API ............... FAILURE [  0.429 s]
> [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:  15.852 s
> [INFO] Finished at: 2022-12-20T09:53:17Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:compile (default-compile) on project api-ldap-client-api: Compilation failure: Compilation failure: 
> [ERROR] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java:[4017,35] constructor SslFilter in class org.apache.mina.filter.ssl.SslFilter cannot be applied to given types;
> [ERROR]   required: javax.net.ssl.SSLContext
> [ERROR]   found:    javax.net.ssl.SSLContext,boolean
> [ERROR]   reason: actual and formal argument lists differ in length
> [ERROR] /<<PKGBUILDDIR>>/ldap/client/api/src/main/java/org/apache/directory/ldap/client/api/LdapNetworkConnection.java:[4018,22] cannot find symbol
> [ERROR]   symbol:   method setUseClientMode(boolean)
> [ERROR]   location: variable sslFilter of type org.apache.mina.filter.ssl.SslFilter
> [ERROR] -> [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/MojoFailureException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :api-ldap-client-api
> 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/2022/12/20/apache-directory-api_1.0.0-2_unstable.log

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