Bug#867648: jruby-maven-plugins: FTBFS: RailsService.java:[26, 20] variable session might not have been initialized
Lucas Nussbaum
lucas at debian.org
Sat Jul 8 06:26:01 UTC 2017
Source: jruby-maven-plugins
Version: 1.1.5+ds1-1
Severity: serious
Tags: stretch sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20170707 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 '/<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1'
> 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=/<<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 install -DskipTests -Dnotimestamp=true -Dlocale=en_US
> [[1;34mINFO[m] Scanning for projects...
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Build Order:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] JRuby Maven Mojos
> [[1;34mINFO[m] Mojo Parent
> [[1;34mINFO[m] Ruby Tools
> [[1;34mINFO[m] JRuby Maven Mojo
> [[1;34mINFO[m] Gem Maven Mojo
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding JRuby Maven Mojos 1.1.5[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-install-plugin:2.5.2:install[m [1m(default-install)[m @ [36mjruby-maven-plugins[0;1m ---[m
> [[1;34mINFO[m] Installing /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/pom.xml to /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/debian/maven-repo/de/saumya/mojo/jruby-maven-plugins/1.1.5/jruby-maven-plugins-1.1.5.pom
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Mojo Parent 1.1.5[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-plugin-plugin:3.5:helpmojo[m [1m(default)[m @ [36mparent-mojo[0;1m ---[m
> [[1;33mWARNING[m] Unsupported packaging type pom, execution skipped
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m>>> [0;32mmaven-source-plugin:2.4:jar[m [1m(default)[0;1m > [0;1mgenerate-sources[m @ [36mparent-mojo[0;1m >>>[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m<<< [0;32mmaven-source-plugin:2.4:jar[m [1m(default)[0;1m < [0;1mgenerate-sources[m @ [36mparent-mojo[0;1m <<<[m
> [[1;34mINFO[m]
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-source-plugin:2.4:jar[m [1m(default)[m @ [36mparent-mojo[0;1m ---[m
> [[1;34mINFO[m] Skipping source per configuration.
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-install-plugin:2.5.2:install[m [1m(default-install)[m @ [36mparent-mojo[0;1m ---[m
> [[1;34mINFO[m] Installing /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/parent-mojo/pom.xml to /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/debian/maven-repo/de/saumya/mojo/parent-mojo/1.1.5/parent-mojo-1.1.5.pom
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mBuilding Ruby Tools 1.1.5[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-dependency-plugin:2.8:copy[m [1m(copy jruby)[m @ [36mruby-tools[0;1m ---[m
> [[1;34mINFO[m] Configured Artifact: org.jruby:jruby-complete:debian:jar
> [[1;34mINFO[m] Copying jruby-complete-debian.jar to /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/ruby-tools/target/jruby-complete-debian.jar
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-dependency-plugin:2.8:copy-dependencies[m [1m(copy gems)[m @ [36mruby-tools[0;1m ---[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-resources-plugin:2.6:resources[m [1m(default-resources)[m @ [36mruby-tools[0;1m ---[m
> [[1;34mINFO[m] Using 'UTF-8' encoding to copy filtered resources.
> [[1;34mINFO[m] Copying 18 resources
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mexec-maven-plugin:1.1.1:exec[m [1m(install gems)[m @ [36mruby-tools[0;1m ---[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] [1m--- [0;32mmaven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m @ [36mruby-tools[0;1m ---[m
> [[1;33mWARNING[m] 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
> [[1;33mWARNING[m] The POM for org.codehaus.plexus:plexus-compiler-javac:jar:2.x is invalid, transitive dependencies (if any) will not be available, enable debug logging for more details
> [[1;34mINFO[m] Changes detected - recompiling the module!
> [[1;34mINFO[m] Compiling 45 source files to /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/ruby-tools/target/classes
> Use of target 1.5 is no longer supported, switching to 1.7
> Use of source 1.5 is no longer supported, switching to 1.7
> [[1;34mINFO[m] /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/ruby-tools/src/main/java/de/saumya/mojo/ruby/gems/DefaultGemManager.java: /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/ruby-tools/src/main/java/de/saumya/mojo/ruby/gems/DefaultGemManager.java uses or overrides a deprecated API.
> [[1;34mINFO[m] /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/ruby-tools/src/main/java/de/saumya/mojo/ruby/gems/DefaultGemManager.java: Recompile with -Xlint:deprecation for details.
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;31mERROR[m] COMPILATION ERROR :
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;31mERROR[m] /<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/ruby-tools/src/main/java/de/saumya/mojo/ruby/rails/RailsService.java:[26,20] variable session might not have been initialized
> [[1;34mINFO[m] 1 error
> [[1;34mINFO[m] -------------------------------------------------------------
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1mReactor Summary:[m
> [[1;34mINFO[m]
> [[1;34mINFO[m] JRuby Maven Mojos .................................. [1;32mSUCCESS[m [ 0.130 s]
> [[1;34mINFO[m] Mojo Parent ........................................ [1;32mSUCCESS[m [ 0.449 s]
> [[1;34mINFO[m] Ruby Tools ......................................... [1;31mFAILURE[m [ 3.439 s]
> [[1;34mINFO[m] JRuby Maven Mojo ................................... [1;33mSKIPPED[m
> [[1;34mINFO[m] Gem Maven Mojo ..................................... [1;33mSKIPPED[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] [1;31mBUILD FAILURE[m
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;34mINFO[m] Total time: 4.122 s
> [[1;34mINFO[m] Finished at: 2017-07-07T20:26:34Z
> [[1;34mINFO[m] Final Memory: 29M/795M
> [[1;34mINFO[m] [1m------------------------------------------------------------------------[m
> [[1;31mERROR[m] Failed to execute goal [32morg.apache.maven.plugins:maven-compiler-plugin:3.6.1:compile[m [1m(default-compile)[m on project [36mruby-tools[m: [1;31mCompilation failure[m
> [[1;31mERROR[m] [1;31m/<<BUILDDIR>>/jruby-maven-plugins-1.1.5+ds1/ruby-tools/src/main/java/de/saumya/mojo/ruby/rails/RailsService.java:[26,20] variable session might not have been initialized[m
> [[1;31mERROR[m] [1;31m[m
> [[1;31mERROR[m] -> [1m[Help 1][m
> [[1;31mERROR[m]
> [[1;31mERROR[m] To see the full stack trace of the errors, re-run Maven with the [1m-e[m switch.
> [[1;31mERROR[m] Re-run Maven using the [1m-X[m switch to enable full debug logging.
> [[1;31mERROR[m]
> [[1;31mERROR[m] For more information about the errors and possible solutions, please read the following articles:
> [[1;31mERROR[m] [1m[Help 1][m http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
> [[1;31mERROR[m]
> [[1;31mERROR[m] After correcting the problems, you can resume the build with the command
> [[1;31mERROR[m] [1mmvn <goals> -rf :ruby-tools[m
> 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=/<<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 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/2017/07/07/jruby-maven-plugins_1.1.5+ds1-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