Bug#1029243: jruby-maven-plugins: FTBFS: make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25

Lucas Nussbaum lucas at debian.org
Fri Jan 20 11:02:36 GMT 2023


Source: jruby-maven-plugins
Version: 1.1.5+ds1-2.1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230120 ftbfs-bookworm

Hi,

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


Relevant part (hopefully):
> make[1]: Entering directory '/<<PKGBUILDDIR>>'
> dh_auto_build -- install
> 	/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=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1/debian -Dmaven.repo.local=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1/debian/maven-repo --batch-mode install -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] JRuby Maven Mojos                                                  [pom]
> [INFO] Mojo Parent                                                        [pom]
> [INFO] Ruby Tools                                                         [jar]
> [INFO] JRuby Maven Mojo                                          [maven-plugin]
> [INFO] Gem Maven Mojo                                            [maven-plugin]
> [INFO] 
> [INFO] -----------------< de.saumya.mojo:jruby-maven-plugins >-----------------
> [INFO] Building JRuby Maven Mojos 1.1.5                                   [1/5]
> [INFO] --------------------------------[ pom ]---------------------------------
> [WARNING] The artifact org.apache.maven.plugins:maven-install-plugin:jar:2.4 has been relocated to org.apache.maven.plugins:maven-install-plugin:jar:3.1.0
> [INFO] 
> [INFO] --- maven-install-plugin:3.1.0:install (default-install) @ jruby-maven-plugins ---
> [INFO] Installing /<<PKGBUILDDIR>>/pom.xml to /<<PKGBUILDDIR>>/debian/maven-repo/de/saumya/mojo/jruby-maven-plugins/1.1.5/jruby-maven-plugins-1.1.5.pom
> [INFO] 
> [INFO] ---------------------< de.saumya.mojo:parent-mojo >---------------------
> [INFO] Building Mojo Parent 1.1.5                                         [2/5]
> [INFO] --------------------------------[ pom ]---------------------------------
> [INFO] 
> [INFO] --- maven-plugin-plugin:3.7.0:helpmojo (default) @ parent-mojo ---
> [INFO] Unsupported packaging type pom, execution skipped
> [INFO] 
> [INFO] >>> maven-source-plugin:3.2.1:jar (default) > generate-sources @ parent-mojo >>>
> [INFO] 
> [INFO] <<< maven-source-plugin:3.2.1:jar (default) < generate-sources @ parent-mojo <<<
> [INFO] 
> [INFO] 
> [INFO] --- maven-source-plugin:3.2.1:jar (default) @ parent-mojo ---
> [INFO] 
> [INFO] --- maven-install-plugin:3.1.0:install (default-install) @ parent-mojo ---
> [INFO] Installing /<<PKGBUILDDIR>>/parent-mojo/pom.xml to /<<PKGBUILDDIR>>/debian/maven-repo/de/saumya/mojo/parent-mojo/1.1.5/parent-mojo-1.1.5.pom
> [INFO] 
> [INFO] ---------------------< de.saumya.mojo:ruby-tools >----------------------
> [INFO] Building Ruby Tools 1.1.5                                          [3/5]
> [INFO] --------------------------------[ jar ]---------------------------------
> [WARNING] The artifact org.codehaus.plexus:plexus-component-annotations:jar:1.5.5 has been relocated to org.codehaus.plexus:plexus-component-annotations:jar:debian
> [WARNING] The artifact org.codehaus.plexus:plexus-container-default:jar:1.5.5 has been relocated to org.codehaus.plexus:plexus-container-default:jar:debian
> [INFO] 
> [INFO] --- maven-dependency-plugin:3.5.0:copy (copy jruby) @ ruby-tools ---
> [INFO] Configured Artifact: org.jruby:jruby-complete:debian:jar
> [INFO] Copying jruby-complete-debian.jar to /<<PKGBUILDDIR>>/ruby-tools/target/jruby-complete-debian.jar
> [INFO] 
> [INFO] --- maven-dependency-plugin:3.5.0:copy-dependencies (copy gems) @ ruby-tools ---
> [INFO] 
> [INFO] --- maven-resources-plugin:3.3.0:resources (default-resources) @ ruby-tools ---
> [INFO] Copying 18 resources
> [INFO] 
> [INFO] --- exec-maven-plugin:3.1.0:exec (install gems) @ ruby-tools ---
> Exception in thread "main" java.lang.NoClassDefFoundError: org/objectweb/asm/ClassVisitor
> 	at org.jruby.RubyInstanceConfig.<init>(RubyInstanceConfig.java:78)
> 	at org.jruby.Main.<init>(Main.java:108)
> 	at org.jruby.Main.main(Main.java:205)
> Caused by: java.lang.ClassNotFoundException: org.objectweb.asm.ClassVisitor
> 	at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
> 	at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
> 	at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:520)
> 	... 3 more
> [ERROR] Command execution failed.
> org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1)
>     at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404)
>     at org.apache.commons.exec.DefaultExecutor.execute (DefaultExecutor.java:166)
>     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:1000)
>     at org.codehaus.mojo.exec.ExecMojo.executeCommandLine (ExecMojo.java:947)
>     at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:471)
>     at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute2 (MojoExecutor.java:370)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.doExecute (MojoExecutor.java:351)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:171)
>     at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:163)
>     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:56)
>     at org.apache.maven.lifecycle.internal.LifecycleStarter.execute (LifecycleStarter.java:128)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:298)
>     at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192)
>     at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105)
>     at org.apache.maven.cli.MavenCli.execute (MavenCli.java:960)
>     at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:293)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:196)
>     at org.apache.maven.cli.MavenCli.main (MavenCli.java:185)
>     at org.debian.maven.Wrapper.main (Wrapper.java:89)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
>     at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
>     at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
>     at java.lang.reflect.Method.invoke (Method.java:568)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard (Launcher.java:322)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:235)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:407)
>     at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:348)
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary for JRuby Maven Mojos 1.1.5:
> [INFO] 
> [INFO] JRuby Maven Mojos .................................. SUCCESS [  0.095 s]
> [INFO] Mojo Parent ........................................ SUCCESS [  0.659 s]
> [INFO] Ruby Tools ......................................... FAILURE [  0.637 s]
> [INFO] JRuby Maven Mojo ................................... SKIPPED
> [INFO] Gem Maven Mojo ..................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time:  1.503 s
> [INFO] Finished at: 2023-01-20T03:51:33Z
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:3.1.0:exec (install gems) on project ruby-tools: Command execution failed. Process exited with an error: 1 (Exit value: 1) -> [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/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <args> -rf :ruby-tools
> 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=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1 -Dclassworlds.conf=/etc/maven/m2-debian.conf -Dproperties.file.manual=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1/debian/maven.properties org.codehaus.plexus.classworlds.launcher.Launcher -s/etc/maven/settings-debian.xml -Ddebian.dir=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1/debian -Dmaven.repo.local=/<<BUILDDIR>>/jruby-maven-plugins-1.1.5\+ds1/debian/maven-repo --batch-mode install -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> make[1]: *** [debian/rules:9: override_dh_auto_build] Error 25


The full build log is available from:
http://qa-logs.debian.net/2023/01/20/jruby-maven-plugins_1.1.5+ds1-2.1_unstable.log

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