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: RESOLVED FIXED
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: PullRequest, TESTFAILURE
Depends on:
Blocks:
 
Reported: 2015-08-31 22:40 UTC by Patrice Clement
Modified: 2021-11-20 19:20 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
Comment 1 Larry the Git Cow gentoo-dev 2021-11-20 19:20:10 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5848c1320fa3ab46b06f3b987c9250c6368f5d54

commit 5848c1320fa3ab46b06f3b987c9250c6368f5d54
Author:     Volkmar W. Pogatzki <gentoo@pogatzki.net>
AuthorDate: 2021-11-12 10:34:49 +0000
Commit:     Miroslav Šulc <fordfrog@gentoo.org>
CommitDate: 2021-11-20 19:18:15 +0000

    dev-java/jffi: bump to 1.3.6
    
    Closes: https://bugs.gentoo.org/559298
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
    Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>

 dev-java/jffi/Manifest                           |  1 +
 dev-java/jffi/files/jffi-1.3.6-GNUmakefile.patch | 26 +++++++
 dev-java/jffi/jffi-1.3.6.ebuild                  | 96 ++++++++++++++++++++++++
 3 files changed, 123 insertions(+)