|
||||||||
|
This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators. For more information on JIRA, see: http://www.atlassian.com/software/jira |
||||||||
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

FWIW, I found the following discussion that appears to indicate this native lib is missing from the version of jna included in jenkins:
http://stackoverflow.com/questions/14635999/jna-native-support-com-sun-jna-linux-arm-libjnidispatch-so-not-found-in-resou
I checked on my Pi, and found the following jna jars:
/var/cache/jenkins/war/WEB-INF/lib/jna-3.3.0-jenkins-3.jar
/var/lib/jenkins/plugins/pam-auth/WEB-INF/lib/jna-3.4.0.jar
I verified the v3.3.0 jna jar does not include a linux-arm lib.
I also verified the v3.4.0 jna jar does include a linux-arm lib: (found here: com/sun/jna/linux-arm/libjnidispatch.so)
It seems a workaround might be to install libjnidispatch.so manually (not sure how to do that).
And a fix for Jenkins might be to upgrade the version of jna used (say to 3.4.0+) (not sure how best to do that either).
...more info:
I tried copying the jna v3.4.0 jar in place of the 3.3.0 version (and removed the v3.3.0 version), restarted Jenkins, and still get the same error. I then checked the 3.4.0 version found it does include linux-arm/libjnidispatch.so, but for some reason, it is not working.
Next, replaced v3.3.0 with v4.1.0 (the latest release). => Joy! I can now invoke safeRestart via the web browser without errors.
Any pointers on how I can go about submitting a patch to update the jna version used by Jenkins to v4.1.0?