Broken PHASE='-Pjruby_complete_jar_extended -Dinvoker.skip=true' #4223

Closed
etehtsea opened this Issue Oct 12, 2016 · 2 comments

Projects

None yet

4 participants

@etehtsea
Contributor
etehtsea commented Oct 12, 2016 edited

I couldn't figure out how to fix this.
Introduced in 1a7d10a, 7d22b20

$ mvn package -B --projects '!truffle' -Dinvoker.skip=false -Pjruby_complete_jar_extended -Dinvoker.skip=true

<..>
-------------------------------------------------------
 T E S T S
-------------------------------------------------------

Results :

Tests run: 0, Failures: 0, Errors: 0, Skipped: 0

[INFO]
[INFO] --- maven-antrun-plugin:1.7:run (jruby_complete_jar_jruby) @ jruby-tests ---
[INFO] Executing tasks

main:
     [exec] LoadError: library `java' could not be loaded: java.lang.NoClassDefFoundError: org/objectweb/asm/Opcodes
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby .............................................. SUCCESS [  0.167 s]
[INFO] JRuby Core ......................................... SUCCESS [ 17.564 s]
[INFO] JRuby Lib Setup .................................... SUCCESS [  3.270 s]
[INFO] JRuby Artifacts .................................... SUCCESS [  0.002 s]
[INFO] JRuby Complete ..................................... SUCCESS [ 10.099 s]
[INFO] JRuby Integration Tests ............................ FAILURE [  3.765 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 39.110 s
[INFO] Finished at: 2016-10-12T13:42:13+06:00
[INFO] Final Memory: 102M/1031M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-antrun-plugin:1.7:run (jruby_complete_jar_jruby) on project jruby-tests: An Ant BuildException has occured: exec returned: 1
[ERROR] around Ant part ...<exec failonerror="true" dir="/Users/kes/Projects/ruby/jruby/test/.." executable="java">... @ 4:91 in /Users/kes/Projects/ruby/jruby/test/target/antrun/build-main.xml
[ERROR] -> [Help 1]
<..>
@headius
Member
headius commented Oct 12, 2016

Yeah I'm not sure what is up either. Something wrong with how we shade the various dependencies in but it isn't clear to me what we are doing wrong. Only affects this one!

@mkristian
Member

I think something is missing here: https://github.com/jruby/jruby/blob/1a7d10a502fbce7cae7b391e95fd40e0b381896a/core/pom.rb#L286

at least it would be the first trial to add 'me.qmx.jitescript:jitescript'

@mkristian mkristian closed this in ee0b9b1 Oct 13, 2016
@enebo enebo added this to the JRuby 9.1.6.0 milestone Nov 9, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment