Bug#844841: jruby-maven-plugins: FTBFS: [ERROR] /<<PKGBUILDDIR>>/ruby-tools/src/main/java/de/saumya/mojo/gems/spec/yaml/YamlGemSpecificationIO.java:[8, 26] cannot find symbol

Lucas Nussbaum lucas at debian.org
Sat Nov 19 06:24:39 UTC 2016


Source: jruby-maven-plugins
Version: 1.0.10.ds1-2
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20161118 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):
> 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:/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 install -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [INFO] Scanning for projects...
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Build Order:
> [INFO] 
> [INFO] JRuby Maven Mojos
> [INFO] Mojo Parent
> [INFO] Ruby Tools
> [INFO] JRuby Maven Mojo
> [INFO] Gem Maven Mojo
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JRuby Maven Mojos 1.0.10
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ jruby-maven-plugins ---
> [INFO] Installing /<<PKGBUILDDIR>>/pom.xml to /<<PKGBUILDDIR>>/debian/maven-repo/de/saumya/mojo/jruby-maven-plugins/1.0.10/jruby-maven-plugins-1.0.10.pom
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Mojo Parent 1.0.10
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- build-helper-maven-plugin:1.8:add-source (add-source) @ parent-mojo ---
> [INFO] Source directory: /<<PKGBUILDDIR>>/parent-mojo/target/sources added.
> [INFO] 
> [INFO] --- maven-plugin-plugin:3.3:helpmojo (default) @ parent-mojo ---
> [WARNING] Unsupported packaging type pom, execution skipped
> [INFO] 
> [INFO] --- maven-install-plugin:2.5.2:install (default-install) @ parent-mojo ---
> [INFO] Installing /<<PKGBUILDDIR>>/parent-mojo/pom.xml to /<<PKGBUILDDIR>>/debian/maven-repo/de/saumya/mojo/parent-mojo/1.0.10/parent-mojo-1.0.10.pom
> [INFO]                                                                         
> [INFO] ------------------------------------------------------------------------
> [INFO] Building Ruby Tools 1.0.10
> [INFO] ------------------------------------------------------------------------
> [INFO] 
> [INFO] --- maven-dependency-plugin:2.8: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:2.8:copy-dependencies (copy gems) @ ruby-tools ---
> [INFO] 
> [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ruby-tools ---
> [INFO] Using 'UTF-8' encoding to copy filtered resources.
> [INFO] Copying 20 resources
> [INFO] 
> [INFO] --- exec-maven-plugin:1.1.1:exec (install gems) @ ruby-tools ---
> [INFO] 
> [INFO] --- maven-compiler-plugin:3.2:compile (default-compile) @ ruby-tools ---
> [INFO] Changes detected - recompiling the module!
> [INFO] Compiling 45 source files to /<<PKGBUILDDIR>>/ruby-tools/target/classes
> [INFO] -------------------------------------------------------------
> [ERROR] COMPILATION ERROR : 
> [INFO] -------------------------------------------------------------
> [ERROR] /<<PKGBUILDDIR>>/ruby-tools/src/main/java/de/saumya/mojo/gems/spec/yaml/YamlGemSpecificationIO.java:[6,26] cannot find symbol
>   symbol:   class Dumper
>   location: package org.yaml.snakeyaml
> [ERROR] /<<PKGBUILDDIR>>/ruby-tools/src/main/java/de/saumya/mojo/gems/spec/yaml/YamlGemSpecificationIO.java:[8,26] cannot find symbol
>   symbol:   class Loader
>   location: package org.yaml.snakeyaml
> [INFO] 2 errors 
> [INFO] -------------------------------------------------------------
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO] 
> [INFO] JRuby Maven Mojos .................................. SUCCESS [  0.139 s]
> [INFO] Mojo Parent ........................................ SUCCESS [  0.515 s]
> [INFO] Ruby Tools ......................................... FAILURE [  3.502 s]
> [INFO] JRuby Maven Mojo ................................... SKIPPED
> [INFO] Gem Maven Mojo ..................................... SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.269 s
> [INFO] Finished at: 2016-11-18T23:44:58+00:00
> [INFO] Final Memory: 33M/1575M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.2:compile (default-compile) on project ruby-tools: Compilation failure: Compilation failure:
> [ERROR] /<<PKGBUILDDIR>>/ruby-tools/src/main/java/de/saumya/mojo/gems/spec/yaml/YamlGemSpecificationIO.java:[6,26] cannot find symbol
> [ERROR] symbol:   class Dumper
> [ERROR] location: package org.yaml.snakeyaml
> [ERROR] /<<PKGBUILDDIR>>/ruby-tools/src/main/java/de/saumya/mojo/gems/spec/yaml/YamlGemSpecificationIO.java:[8,26] cannot find symbol
> [ERROR] symbol:   class Loader
> [ERROR] location: package org.yaml.snakeyaml
> [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 <goals> -rf :ruby-tools
> 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 install -DskipTests -Dnotimestamp=true -Dlocale=en_US returned exit code 1
> debian/rules:9: recipe for target 'override_dh_auto_build' failed
> make[1]: *** [override_dh_auto_build] Error 1

The full build log is available from:
   http://aws-logs.debian.net/2016/11/18/jruby-maven-plugins_1.0.10.ds1-2_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