Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 272054 - Please make dev-java/jna use virtual/libffi
Summary: Please make dev-java/jna use virtual/libffi
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL:
Whiteboard:
Keywords:
Depends on: 272046
Blocks:
  Show dependency tree
 
Reported: 2009-06-01 08:11 UTC by Samuli Suominen (RETIRED)
Modified: 2009-06-04 18:15 UTC (History)
1 user (show)

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 Samuli Suominen (RETIRED) gentoo-dev 2009-06-01 08:11:09 UTC
As summary says, it's at keywordreq state in bug 272046.

Depending on sys-devel/gcc[libffi] isn't a solution, because that gets broken when user does a gcc switch using gcc-config.
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2009-06-03 17:27:26 UTC
This package doesn't seem to respect users cflags, so appending multilib and flag-o-matic for

append-cflags $(pkg-config --cflags-only-I libffi)

had no effect

also the line in the ebuild should be something like this,

ln -snf /usr/$(get_libdir)/libffi.so build/native/libffi/.libs/libffi_convenience.a || die

don't know howto fix this for java pkg, please make it a priority because USE libffi in gcc is going to be package.use.mask'd.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2009-06-03 20:50:40 UTC
Done in 3.0.3-r1, let's see if there are no problems and then I'll remove the old revision.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-06-04 18:15:16 UTC
done