Bug#871326: freehep-graphics2d: FTBFS: =?UTF-8?Q?[=1B[1; 31mERROR=1B[m]?= Failed to execute goal org.freehep:freehep-chartableconverter-plugin:2.0:generate ?=(Expert)=?UTF-8?Q? on project freehep-graphics2d: =?UTF-8?Q?=1B[1; 31mExecution?= Expert of goal org.freehep:freehep-chartableconverter-plugin:2.0:generate failed: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'org.freehep:freehep-chartableconverter-plugin:2.0': java.util.NoSuchElementException

Lucas Nussbaum lucas at debian.org
Mon Aug 7 15:50:50 UTC 2017


Source: freehep-graphics2d
Version: 2.1.1-5
Severity: serious
Tags: buster sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170807 qa-ftbfs
Justification: FTBFS on amd64

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_auto_configure -O--buildsystem=maven
> 	mh_patchpoms -plibfreehep-graphics2d-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:/usr/lib/jvm/default-java/lib/tools.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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] 
> [INFO] ------------------------------------------------------------------------
> [INFO] Building FreeHEP Graphics2D 2.1.1
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- freehep-chartableconverter-plugin:2.0:generate (Expert) @ freehep-graphics2d ---
> [WARNING] The POM for org.codehaus.plexus:plexus-compiler-api:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [WARNING] ClassRealm[plugin>org.freehep:freehep-chartableconverter-plugin:2.0, parent: sun.misc.Launcher$AppClassLoader at 74a14482]
> com.google.inject.CreationException: Unable to create injector, see the following errors:
> 
> 1) Scope org.apache.maven.execution.scope.internal.MojoExecutionScope at 7a3793c7 is already bound to org.apache.maven.execution.scope.MojoExecutionScoped at org.apache.maven.execution.scope.internal.MojoExecutionScopeModule.configure(MojoExecutionScopeModule.java:49) (via modules: org.eclipse.sisu.wire.WireModule -> org.apache.maven.execution.scope.internal.MojoExecutionScopeModule).
>  Cannot bind org.apache.maven.execution.scope.internal.MojoExecutionScope at 60cf80e7.
>   at ClassRealm[plugin>org.freehep:freehep-chartableconverter-plugin:2.0, parent: sun.misc.Launcher$AppClassLoader at 74a14482] (via modules: org.eclipse.sisu.wire.WireModule -> org.eclipse.sisu.plexus.PlexusBindingModule -> org.apache.maven.execution.scope.internal.MojoExecutionScopeCoreModule)
> 
> 1 error
>     at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist (Errors.java:466)
>     at com.google.inject.internal.InternalInjectorCreator.initializeStatically (InternalInjectorCreator.java:155)
>     at com.google.inject.internal.InternalInjectorCreator.build (InternalInjectorCreator.java:107)
>     at com.google.inject.Guice.createInjector (Guice.java:99)
>     at com.google.inject.Guice.createInjector (Guice.java:73)
>     at com.google.inject.Guice.createInjector (Guice.java:62)
>     at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector (DefaultPlexusContainer.java:481)
>     at org.codehaus.plexus.DefaultPlexusContainer.discoverComponents (DefaultPlexusContainer.java:460)
>     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.discoverPluginComponents (DefaultMavenPluginManager.java:435)
>     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.createPluginRealm (DefaultMavenPluginManager.java:414)
>     at org.apache.maven.plugin.internal.DefaultMavenPluginManager.setupPluginRealm (DefaultMavenPluginManager.java:374)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.getPluginRealm (DefaultBuildPluginManager.java:231)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:102)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:208)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:154)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:146)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:117)
>     at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject (LifecycleModuleBuilder.java:81)
>     at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build (SingleThreadedBuilder.java:51)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:309)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:194)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:107)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:993)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:345)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:191)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:180)
>     at org.debian.maven.Wrapper.main (Wrapper.java:89)
>     at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62)
>     at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:498)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard (Launcher.java:330)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:238)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:415)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:356)
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 0.331 s
> [INFO] Finished at: 2017-08-07T13:08:07Z
> [INFO] Final Memory: 19M/966M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.freehep:freehep-chartableconverter-plugin:2.0:generate (Expert) on project freehep-graphics2d: Execution Expert of goal org.freehep:freehep-chartableconverter-plugin:2.0:generate failed: Unable to load the mojo 'generate' (or one of its required components) from the plugin 'org.freehep:freehep-chartableconverter-plugin:2.0': java.util.NoSuchElementException
> [ERROR]       role: org.apache.maven.plugin.Mojo
> [ERROR]   roleHint: org.freehep:freehep-chartableconverter-plugin:2.0:generate
> [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/PluginContainerException
> dh_auto_build: /usr/lib/jvm/default-java/bin/java -noverify -cp /usr/share/maven/boot/plexus-classworlds-2.x.jar:/usr/lib/jvm/default-java/lib/tools.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 package -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:10: recipe for target 'build' failed
> make: *** [build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2017/08/07/freehep-graphics2d_2.1.1-5_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