Bug#967095: rome: FTBFS: [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:3.5.1:bundle (bundle) on project rome: Execution bundle of goal org.apache.felix:maven-bundle-plugin:3.5.1:bundle failed: Plugin org.apache.felix:maven-bundle-plugin:3.5.1 or one of its dependencies could not be resolved: 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:13:58 BST 2020


Source: rome
Version: 1.12.2-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
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_auto_configure
> 	mh_patchpoms -plibrome-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
> 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] rome-parent                                                        [pom]
> [INFO] rome-utils                                                         [jar]
> [INFO] rome                                                               [jar]
> [INFO] 
> [INFO] ---------------------< com.rometools:rome-parent >----------------------
> [INFO] Building rome-parent 1.12.2                                        [1/3]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] ----------------------< com.rometools:rome-utils >----------------------
> [INFO] Building rome-utils 1.12.2                                         [2/3]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ rome-utils ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 0 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ rome-utils ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 8 source files to /<<PKGBUILDDIR>>/rome-utils/target/classes
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ rome-utils ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ rome-utils ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ rome-utils ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ rome-utils ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/rome-utils/target/rome-utils-1.12.2.jar
> [INFO] 
> [INFO] -------------------------< com.rometools:rome >-------------------------
> [INFO] Building rome 1.12.2                                               [3/3]
> [INFO] --------------------------------[ jar ]---------------------------------
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ rome ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 1 resource
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:compile (default-compile) @ rome ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 119 source files to /<<PKGBUILDDIR>>/rome/target/classes
> [INFO] /<<PKGBUILDDIR>>/rome/src/main/java/com/rometools/rome/io/impl/PluginManager.java: Some input files use or override a deprecated API.
> [INFO] /<<PKGBUILDDIR>>/rome/src/main/java/com/rometools/rome/io/impl/PluginManager.java: Recompile with -Xlint:deprecation for details.
> [INFO] 
> [INFO] --- maven-resources-plugin:3.1.0:testResources (default-testResources) @ rome ---
> [INFO] Not copying test resources
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.8.1:testCompile (default-testCompile) @ rome ---
> [INFO] Not compiling test sources
> [INFO] 
> [INFO] --- maven-surefire-plugin:2.22.2:test (default-test) @ rome ---
> [INFO] Tests are skipped.
> [INFO] 
> [INFO] --- maven-jar-plugin:3.1.2:jar (default-jar) @ rome ---
> [INFO] Building jar: /<<PKGBUILDDIR>>/rome/target/rome-1.12.2.jar
> [INFO] 
> [INFO] --- maven-bundle-plugin:3.5.1:bundle (bundle) @ rome ---
> [WARNING] The POM for org.osgi:org.osgi.core:jar:debian is missing, no dependency information available
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for rome-parent 1.12.2:
> [INFO] 
> [INFO] rome-parent ........................................ SUCCESS [  0.004 s]
> [INFO] rome-utils ......................................... SUCCESS [  1.124 s]
> [INFO] rome ............................................... FAILURE [  1.436 s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  2.678 s
> [INFO] Finished at: 2020-08-03T22:10:29Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:3.5.1:bundle (bundle) on project rome: Execution bundle of goal org.apache.felix:maven-bundle-plugin:3.5.1:bundle failed: Plugin org.apache.felix:maven-bundle-plugin:3.5.1 or one of its dependencies could not be resolved: 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/PluginResolutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :rome
> 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/rome_1.12.2-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