Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 272054

Summary: Please make dev-java/jna use virtual/libffi
Product: Gentoo Linux Reporter: Samuli Suominen (RETIRED) <ssuominen>
Component: [OLD] JavaAssignee: Java team <java>
Status: RESOLVED FIXED    
Severity: normal CC: esigra
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 272046    
Bug Blocks:    

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