Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

do not install jruby-launcher on mvn -Pbootstrap for windows #1498

Closed
mkristian opened this Issue Feb 10, 2014 · 4 comments

Comments

Projects
None yet
4 participants
@mkristian
Copy link
Member

commented Feb 10, 2014

it looks like windows users do not have a C-compiler installed (at some users) and then the bootstrap fails.

it would a quite easy to NOT install the jruby-launcher during bootstrap when we are on a windows machine.

I guess that would make it easier for people to help fixing things on windows.

@scarcher2

This comment has been minimized.

Copy link

commented Feb 11, 2014

Would this be why I'm getting the following error when running mvn -Pbootstrap in windows?

[INFO] ------------------------------------------------------------------------
[INFO] Building JRuby Integration Tests 1.7.11-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-maven) @ jruby-tests ---
[INFO]
[INFO] --- gem-maven-plugin:1.0.0-rc2:initialize (default) @ jruby-tests ---
[WARNING] ERROR:  Loading command: install (LoadError)
[WARNING]       load error: jopenssl/load -- java.lang.NoClassDefFoundError: org/bouncycastle/asn1/DERBoolean
[WARNING] ERROR:  While executing gem ... (NoMethodError)
[WARNING]     undefined method `invoke_with_build_args' for nil:NilClass
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] JRuby ............................................. SUCCESS [0.429s]
[INFO] JRuby Core ........................................ SUCCESS [41.951s]
[INFO] JRuby Ext ......................................... SUCCESS [0.060s]
[INFO] JRuby OpenSSL ..................................... SUCCESS [3.183s]
[INFO] JRuby Readline .................................... SUCCESS [0.145s]
[INFO] JRuby Ripper ...................................... SUCCESS [0.405s]
[INFO] JRuby Integration Tests ........................... FAILURE [11.202s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 57.664s
[INFO] Finished at: Tue Feb 11 12:41:57 CST 2014
[INFO] Final Memory: 39M/612M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc2:initialize (default) on project jruby-tests: Execution de
fault of goal de.saumya.mojo:gem-maven-plugin:1.0.0-rc2:initialize failed: Java returned: 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/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :jruby-tests
@mkristian

This comment has been minimized.

Copy link
Member Author

commented Feb 11, 2014

nope, that is something else, i.e. the jruby from the build can not load the
bouncy-castle jars. sounds familiar to me :(

@ratnikov

This comment has been minimized.

Copy link
Contributor

commented Feb 18, 2014

Seems like jruby-launcher also prevents from building jruby-complete jar on windows as well.

+1 on removing its dependency.

@mkristian

This comment has been minimized.

Copy link
Member Author

commented Feb 19, 2014

just added by a profile bootstrap-no-launcher and mention it in BUILDING.md. also building jruby-complete or jruby-dist will not run integration-tests (one did try to install the jruby-launcher as well) per default.

@mkristian mkristian closed this Feb 19, 2014

@enebo enebo added this to the JRuby 1.7.11 milestone Feb 21, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.