OSX - RVM 安装 jruby 安装在构建时失败

问题描述

我正在尝试使用 rvm 在 macbook pro 上安装 JRuby 1.7.13,因为它是我正在处理的任务的项目依赖项。我目前在 maven 构建任务上遇到构建失败的持续问题。我检查了 mvn.log 文件,但它失败了 01 DEZ Acom Mkt Place - 3/3 85,60 01 DEZ Magalu Com *Magazinel - 8/10 254,90 01 DEZ Amazon.Com.Br - 2/2 74,99 01 DEZ Casa dos Controles - 2/3 59,00 01 DEZ Pagamento em 01 DEZ 1.699,20 04 DEZ Amazonprimebr 9,90 06 DEZ Pagamento em 06 DEZ 701,30 07 DEZ Consilio Engenharia - 1/2 125,00 07 DEZ Crunchyroll 32,00 07 DEZ 99 *99* Pop 05dez 08h5 3,24 08 DEZ Amazon-Marketplace 35,99 08 DEZ Amazon.Com.Br 5,46 10 DEZ Folhadespaulo 1,90 11 DEZ Google Storage 6,99 11 DEZ Google Youtubepremium 12,50 12 DEZ Amazon-Marketplace 33,40 14 DEZ Extrafarma Mariz e Bar 17,89 14 DEZ Uberbr Uber * Pending 8,11 14 DEZ Ebanx *Spotify 8,50 15 DEZ Uberbr Uber * Pending 7,56 15 DEZ Uberbr Uber * Pending 11,77 15 DEZ Uberbr Uber * Pending 14,38 15 DEZ Uberbr Uber * Pending 11,27 15 DEZ Sosthenes & Sosthenes 44,00 16 DEZ Editora Vestseller - 1/2 53,55 18 DEZ Udemy.Com 24,90 26 DEZ Pagamento em 26 DEZ 100,00 。我已尝试设置 org.codehaus.mojo:exec-maven-plugin,但没有看到更详细的输出。我确认我已经安装了 ant,因为该命令似乎包含一个 ant 调用。在查看其他问题后,我并没有成功地确定此步骤失败的原因。

optflags='-e'

附加信息。如果我从下载的源目录手动运行 maven 并运行 [INFO] BUILD FAILED [INFO] /Users/rigobertoperez/.rvm/src/jruby-1.7.3/build.xml:649: The following error occurred while executing this line: [INFO] /Users/rigobertoperez/.rvm/src/jruby-1.7.3/build.xml:285: Compile failed; see the compiler error output for details. [INFO] [INFO] Total time: 1 second [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary for JRuby Shared 1.7.3: [INFO] [INFO] JRuby Shared ....................................... SUCCESS [ 0.222 s] [INFO] JRuby .............................................. FAILURE [ 1.808 s] [INFO] JRuby Stdlib ....................................... SKIPPED [INFO] JRuby Core ......................................... SKIPPED [INFO] JRuby Complete ..................................... SKIPPED [INFO] JRuby Distribution ................................. SKIPPED [INFO] JRuby Rake Plugin .................................. SKIPPED [INFO] JRuby Common ....................................... SKIPPED [INFO] docs ............................................... SKIPPED [INFO] JRuby Manual pages ................................. SKIPPED [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 2.231 s [INFO] Finished at: 2021-01-01T13:23:19-05:00 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1:exec (default) on project jruby: Result of /bin/sh -c cd /Users/rigobertoperez/.rvm/src/jruby-1.7.3/maven/jruby/../.. && ant jar-dist execution is: '1'. -> [Help 1] org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1:exec (default) on project jruby: Result of /bin/sh -c cd /Users/rigobertoperez/.rvm/src/jruby-1.7.3/maven/jruby/../.. && ant jar-dist execution is: '1'. at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:215) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) 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:305) 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:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: org.apache.maven.plugin.MojoExecutionException: Result of /bin/sh -c cd /Users/rigobertoperez/.rvm/src/jruby-1.7.3/maven/jruby/../.. && ant jar-dist execution is: '1'. at org.codehaus.mojo.exec.ExecMojo.execute (ExecMojo.java:260) at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo (DefaultBuildPluginManager.java:137) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:210) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:156) at org.apache.maven.lifecycle.internal.MojoExecutor.execute (MojoExecutor.java:148) 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:305) 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:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:498) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [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 :jruby jruby 本身编译但是它在 mvn clean compile 阶段失败。然而,它似乎可能是一个相关的问题,因为在这种情况下堆栈跟踪的顶部是:

JRuby Rake Plugin

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)

相关问答

依赖报错 idea导入项目后依赖报错,解决方案:https://blog....
错误1:代码生成器依赖和mybatis依赖冲突 启动项目时报错如下...
错误1:gradle项目控制台输出为乱码 # 解决方案:https://bl...
错误还原:在查询的过程中,传入的workType为0时,该条件不起...
报错如下,gcc版本太低 ^ server.c:5346:31: 错误:‘struct...