nvazquez commented on pull request #5909:
URL: https://github.com/apache/cloudstack/pull/5909#issuecomment-1058762970
Thanks @GutoVeronezi, just a comment for future reference: as explained in
the PR description we can fix the packaging issue on CentOS7 only by upgrading
GCC to version 9.3:
````
[ERROR] Tests run: 23, Failures: 0, Errors: 23, Skipped: 0, Time elapsed:
5.135 s <<< FAILURE! - in
org.apache.cloudstack.utils.jsinterpreter.JsInterpreterTest
[ERROR]
injectNullVariableTestInjectNullVariableResultTrue(org.apache.cloudstack.utils.jsinterpreter.JsInterpreterTest)
Time elapsed: 0.001 s <<< ERROR!
com.cloud.utils.exception.CloudRuntimeException: Unable to instantiate JS
interpreter [V8] due to [java.lang.IllegalStateException: J2V8 native library
not loaded]
at
org.apache.cloudstack.utils.jsinterpreter.JsInterpreterTest.<init>(JsInterpreterTest.java:53)
Caused by: java.util.concurrent.ExecutionException:
java.lang.IllegalStateException: J2V8 native library not loaded
at
org.apache.cloudstack.utils.jsinterpreter.JsInterpreterTest.<init>(JsInterpreterTest.java:53)
Caused by: java.lang.IllegalStateException: J2V8 native library not loaded
Caused by: java.lang.UnsatisfiedLinkError:
Could not load J2V8 library. Reasons:
no libj2v8_linux_x86_64.so in java.library.path:
[/usr/java/packages/lib, /usr/lib64, /lib64, /lib, /usr/lib]
no j2v8_linux_x86_64 in java.library.path: [/usr/java/packages/lib,
/usr/lib64, /lib64, /lib, /usr/lib]
/root/libj2v8_linux_x86_64.so: /lib64/libstdc++.so.6: version
`CXXABI_1.3.8' not found (required by /root/libj2v8_linux_x86_64.so)
````
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]