-
Notifications
You must be signed in to change notification settings - Fork 8
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
fail to install naether 0.15.7 with jruby 9.2.17.0 #36
Comments
The tests do not run when the gem is installed. The jar dependencies are
fetched as part of the gem install. Later today I will take a look at what
is ailing the install.
…On Tue, Apr 13, 2021, 05:59 JoostVanAverbeke ***@***.***> wrote:
Good afternoon,
I fail to gem install the latest version of naether, which is naether
0.15.7.
I am using jruby version 9.2.17.0.
To try to fix the issue, I have cloned the latest naether repo from github
(https://github.com/mguymon/naether)
I have tried to package the project via maven.
mvn package
But I get failing jUnit tests.
Failed tests:
systemPathDependency(com.tobedevoured.naether.SystemPathDependencyTest):
expected:<[ch.qos.logback:logback-classic:jar:0.9.29,
org.slf4j:slf4j-api:jar:1.6.1, pom:with-system-path:jar:2,
ch.qos.logback:logback-core:jar:0.9.29]> but
was:<[pom:with-system-path:jar:2]>
hasBrokenDep(com.tobedevoured.naether.SystemPathDependencyTest):
expected:<[ch.qos.logback:logback-classic:jar:0.9.29,
pom:with-broken-dep:jar:1, org.slf4j:slf4j-api:jar:1.6.1,
pom:with-system-path:jar:2, ch.qos.logback:logback-core:jar:0.9.29]> but
was:<[pom:with-broken-dep:jar:1, pom:with-system-path:jar:2]>
Is that the reason why I can't 'gem install naether'?
Underneath you'll find my maven and java details:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\maven\apache-maven-3.6.3\bin..
Java version: 1.8.0_265, vendor: AdoptOpenJDK, runtime: C:\Program
Files\AdoptOpenJDK\jdk-8.0.265.01-hotspot\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows".
You would help me a lot if you could fix this issue.
Thanks in advance anyway.
Joost
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#36>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAUBMZQ2SEQNZ5SFO3N4LTIQIXFANCNFSM423AM7WA>
.
|
I found an issue with RJB not working with newer JDK (15 and 16). I upgrade that deps from 1.4 => 1.6. This error appears different than the one you described though. I am able to pull down the repo and tests the Java and runs the tests on the Ruby and JRuby. I pushed the lastest to 0.15.8, can you try that and report and errors you see? |
Thanks already very much for the effort. C:\Users\joost>c:\jruby-9.2.17.0\bin\jruby -v When I execute a bundle install for the gem project lock_jar Installing naether 0.15.7 (java) with native extensions? current directory: Gem files will remain installed in ?[0m?[31mAn error occurred while installing naether (0.15.7), and Bundler cannot In Gemfile: Process finished with exit code 5 |
The naether 0.15.8 version didn't help. Fetching gem metadata from https://rubygems.org/......... Gem files will remain installed in An error occurred while installing naether (0.15.8), and Bundler cannot In Gemfile: Process finished with exit code 5 I even uninstalled the jruby 9.2.1.17 version and reinstalled that version again, but even that didn't help. |
I will try and test on windows. I had done everything on Linux so far. Naether uses a Rake task that runs as a native extensions to fetch all the jar dependencies. When the naether gem is installed, the task runs and downloads everything to a local directory. If something fails during that time, it simply is reported as the "Failed to build gem native extension". |
Good afternoon,
I fail to gem install the latest version of naether, which is naether 0.15.7.
I am using jruby version 9.2.17.0.
To try to fix the issue, I have cloned the latest naether repo from github (https://github.com/mguymon/naether)
I have tried to package the project via maven.
mvn package
But I get failing jUnit tests.
Failed tests: systemPathDependency(com.tobedevoured.naether.SystemPathDependencyTest): expected:<[ch.qos.logback:logback-classic:jar:0.9.29, org.slf4j:slf4j-api:jar:1.6.1, pom:with-system-path:jar:2, ch.qos.logback:logback-core:jar:0.9.29]> but was:<[pom:with-system-path:jar:2]>
hasBrokenDep(com.tobedevoured.naether.SystemPathDependencyTest): expected:<[ch.qos.logback:logback-classic:jar:0.9.29, pom:with-broken-dep:jar:1, org.slf4j:slf4j-api:jar:1.6.1, pom:with-system-path:jar:2, ch.qos.logback:logback-core:jar:0.9.29]> but was:<[pom:with-broken-dep:jar:1, pom:with-system-path:jar:2]>
Is that the reason why I can't 'gem install naether'?
Underneath you'll find my maven and java details:
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\maven\apache-maven-3.6.3\bin..
Java version: 1.8.0_265, vendor: AdoptOpenJDK, runtime: C:\Program Files\AdoptOpenJDK\jdk-8.0.265.01-hotspot\jre
Default locale: en_GB, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows".
You would help me a lot if you could fix this issue.
Thanks in advance anyway.
Joost
The text was updated successfully, but these errors were encountered: