Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 403577 - dev-java/jna-3.4.0 : add dev-util/pkgconfig in DEPEND
Summary: dev-java/jna-3.4.0 : add dev-util/pkgconfig in DEPEND
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:
Depends on:
Blocks: autodep
  Show dependency tree
 
Reported: 2012-02-14 13:38 UTC by bay
Modified: 2012-03-22 13:29 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 bay 2012-02-14 13:38:29 UTC
Package dev-java/jna-3.4.0 cannot be compiled without dev-util/pkgconfig.

The error is:
native:
     [exec] gcc -m64 -march=core2 -mtune=generic -O2 -pipe -Wall -Wno-unused -Wno-parentheses -fPIC  -O2 -fno-omit-frame-pointer -fno-strict-aliasing   -D_REENTRANT -DHAVE_PROTECTION -I"/opt/sun-jdk-1.6.0.30/jre/../include" -I"/opt/sun-jdk-1.6.0.30/jre/../include/linux" -I"/var/tmp/portage/dev-java/jna-3.4.0/work/twall-jna-3e5b84f/build-d64/native" -I/include -DJNA_JNI_VERSION='"3.4.0"' -DCHECKSUM='"4c69bcf40b30785215211b5a5dad211e"'  -c dispatch.c -o /var/tmp/portage/dev-java/jna-3.4.0/work/twall-jna-3e5b84f/build-d64/native/dispatch.o
     [exec] In file included from dispatch.c:86:0:
     [exec] dispatch.h:16:17: fatal error: ffi.h: No such file or directory
     [exec] compilation terminated.
     [exec] make: *** [/var/tmp/portage/dev-java/jna-3.4.0/work/twall-jna-3e5b84f/build-d64/native/dispatch.o] Error 1

Steps to reproduce:
1) emerge -C dev-util/pkgconfig
2) emerge dev-java/jna

Please add dev-util/pkgconfig as a buildtime dependency of dev-java/jna-3.4.0
Comment 1 Ralph Sennhauser (RETIRED) gentoo-dev 2012-03-22 13:29:35 UTC
Fixed, thanks for the report.