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
Ipmiview: 2.11.0 -> 2.12.0 #26337
Ipmiview: 2.11.0 -> 2.12.0 #26337
Conversation
@johnramsden, thanks for your PR! By analyzing the history of the files in this pull request, we identified @domenkozar and @dezgeg to be potential reviewers. |
You can use |
@Mic92 I Just get it failing to run at all with strace.
|
url = "ftp://ftp.supermicro.com/utility/IPMIView/Linux/IPMIView_V2.11.0_bundleJRE_Linux_x64_${version}.tar.gz"; | ||
sha256 = "1rv9j0id7i2ipm25n60bpfdm1gj44xg2aj8rnx4s6id3ln90q121"; | ||
}; | ||
src = pkgs.fetchurl { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pkgs is wrong here.
The wrapper was bogus. Please try again. |
OK, wrapper let me run strace. Thanks @Mic92 I'm looking through the output now. |
So it's looking for iKVM.jar, where should I put it? I tried wrapping it but it didn't work. I tried this:
and this:
|
The problem is not |
echo "$out/jre/bin/java -jar $out/IPMIView20.jar" > $out/bin/IPMIView | ||
chmod +x $out/bin/IPMIView | ||
makeWrapper $out/jre/bin/java $out/bin/IPMIView \ | ||
--prefix PATH : "$out/jre/bin" \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try again, with this in place.
Well, that helped, Now at least the error is gone but when I click the button to launch the KVM console nothing happens.
|
I have no motherboard to debug this further. You could check the network traffic. |
I suspect that the strace output of:
is already correct. A jar file usually already contains all classes needed. |
OK, thanks for your help. |
I guess if you're happy with it this could be committed, could it not? With the commit it at least works other than the KVM console. |
For the record: I never got the KVM console to work inside the Nix package. It has to do with library loading, something among |
Fixed in 41740ec thanks
|
Motivation for this change
Update version to latest. Old version no longer exists.
Things done
(nix.useSandbox on NixOS,
or option
build-use-sandbox
innix.conf
on non-NixOS)
nix-shell -p nox --run "nox-review wip"
./result/bin/
)The package does build now after bumping the version, however when using the program and attempting to launch a console with ipmi I get the error
I attempted to fix it and looked around but was unable to find the cause of the error. It seems that it's trying to launch the wrong "java". I don't know if this error existed before because I was never able to use the previous version.