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

Bug 752165

Summary: dev-libs/libsecp256k1[java] fails to compile: error: jni support explicitly requested but headers/dependencies were not found. Enable ECDH and try again
Product: Gentoo Linux Reporter: Andrius Štikonas <andrius>
Component: Current packagesAssignee: Luke-Jr <luke-jr+gentoobugs>
Status: UNCONFIRMED ---    
Severity: normal CC: jstein, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Andrius Štikonas 2020-11-01 21:44:43 UTC
dev-libs/libsecp256k1 fails to compile with JAVA use flag but works fine without it.

checking for javac... /usr/bin/javac
checking symlink for /usr/bin/javac... /usr/libexec/eselect-java/run-java-tool.bash
checking jni headers... none
configure: error: jni support explicitly requested but headers/dependencies were not found. Enable ECDH and try again.

I have dev-java/openjdk:8 as my system-vm.

Reproducible: Always
Comment 1 Luke-Jr 2020-11-02 03:05:52 UTC
Does it work if you enable ecdh?

Java support has been dropped upstream, so if not, maybe we should just remove it entirely here too...
Comment 2 Andrius Štikonas 2020-11-02 10:00:07 UTC
(In reply to Luke-Jr from comment #1)
> Does it work if you enable ecdh?
> 
> Java support has been dropped upstream, so if not, maybe we should just
> remove it entirely here too...

No, ecdh does not help.

[ebuild   R    ] dev-libs/libsecp256k1-0.1_pre20190401::gentoo  USE="asm ecdh experimental gmp java* recovery -endomorphism -test -test-openssl" 0 KiB