Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#36163 - [jruby] library warning

Attached to Project: Community Packages
Opened by Leif Warner (pdxleif) - Monday, 15 July 2013, 22:01 GMT
Last edited by Balló György (City-busz) - Wednesday, 15 January 2014, 19:31 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Jan Alexander Steffens (heftig)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

On my box w/ jre7-openjdk-headless 7.u40_2.4.1-1 installed, $JAVA_HOME pointing to /usr/lib/jvm/java-7-openjdk, and /usr/bin/java a symlink to
/usr/lib/jvm/java-7-openjdk/jre/bin/java
running jruby anything (e.g. jruby -v) gives the following warning:
"OpenJDK 64-Bit Server VM warning: You have loaded library /opt/jruby/lib/native/arm-Linux/libjffi-1.2.so which might ha
It's highly recommended that you fix the library with 'execstack -c <libfile>', or link it with '-z noexecstack'."

I notice in the PKGBUILD it clears out directories for other architectures from /opt/jruby/lib/native/, but I still have arm-Linux/, i386-Linux/, include/, and x86_64-Linux/ in there (I'm on x86-64). I was thinking one think that could be done, would be not make the arch=(any), but rather 32 | 64 bit, and use information about the current arch to further prune jruby/lib/native/ ? Or is this something maybe best left to the end-user - they can prune those extra native libs after they install the package to get rid of that warning?
This task depends upon

Closed by  Balló György (City-busz)
Wednesday, 15 January 2014, 19:31 GMT
Reason for closing:  Won't implement
Comment by Jan Alexander Steffens (heftig) - Sunday, 21 July 2013, 16:11 GMT
It's just a warning. The proper x86_64 libjffi does get loaded.

Loading...