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

Bug 451348

Summary: dev-libs/beecrypt-4.2.1 - ./include/beecrypt/api.h:75:18: fatal error: jni.h: No such file or directory
Product: Gentoo Linux Reporter: Andreas Fink <finkandreas>
Component: [OLD] LibraryAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 383177    
Attachments: build.log
emerge --info

Description Andreas Fink 2013-01-11 06:44:07 UTC
Since almost 2 weeks I am unable to build beecrypt. I have no idea, what the actual problem is.
Attached is the build log and the emerge info.
My guess is that the directory where jni.h resides in (/usr/lib64/icedtea7/include) is not pushed as include directory.

Reproducible: Always
Comment 1 Andreas Fink 2013-01-11 06:44:43 UTC
Created attachment 335148 [details]
build.log
Comment 2 Andreas Fink 2013-01-11 06:45:49 UTC
Created attachment 335150 [details]
emerge --info
Comment 3 Pacho Ramos gentoo-dev 2013-01-11 19:17:06 UTC
Probably needs jdk:1.6

Also, this package is orphan, if you want to help with it, please look at:
http://my.opera.com/pacho/blog/2012/11/27/about-maintainer-needed
Comment 4 Andreas Fink 2013-01-17 22:04:56 UTC
Installing jdk:1.6 did not help...
However it is solved now. The following problem was there:
The configure script checks whether there is gcj. On my pc gcj could be found in the PATH. However this was from an old install of gcc, since I do not have gcj enabled anymore (I do not know, why it was not correctly uninstalled by portage???)...
Fallback if gcj is not found, is looking for the java jdk. After removing by hand the binary gcj everything works fine again.

From my side this bug can be closed, however I'm wondering why portage did not unmerge gcj when I rebuilt gcc without gcj useflag...
Comment 5 Pacho Ramos gentoo-dev 2013-01-17 22:07:52 UTC
Thanks for your investigation