Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 559298 - =dev-java/jffi-1.2.9: fails tests
Summary: =dev-java/jffi-1.2.9: fails tests
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-31 22:40 UTC by Patrice Clement
Modified: 2015-08-31 22:40 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrice Clement gentoo-dev 2015-08-31 22:40:57 UTC
Pretty much all tests fail with an UnsatisfiedLinkError exception. They're trying to look up libjffi-1.2.so in various locations. In vain:

    [junit] java.lang.UnsatisfiedLinkError: /usr/lib/libjffi-1.2.so (/usr/lib/liblibjffi-1.2.so.so: cannot open shared object file
...
    [junit] java.lang.UnsatisfiedLinkError: /opt/ibm-jdk-bin-1.6.0.9_p2/jre/lib/ppc64/libjffi-1.2.so (/opt/ibm-jdk-bin-1.6.0.9_p2/
jre/lib/ppc64/liblibjffi-1.2.so.so: cannot open shared object file: No such file or directory)

Actually the resulting .so is right there:
# find /var/tmp/portage/dev-java/jffi-1.2.8/work/jffi-1.2.8/ -type f -name \*.so                            
/var/tmp/portage/dev-java/jffi-1.2.8/work/jffi-1.2.8/build/libtest.so
/var/tmp/portage/dev-java/jffi-1.2.8/work/jffi-1.2.8/build/jni/libjffi-1.2.so

I'm not sure how we could go about having the tests pick up the correct location. EANT_EXTRA_ARGS? I've tried that too but it didn't work. Any hint?

Reproducible: Always