Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 752165 - dev-libs/libsecp256k1[java] fails to compile: error: jni support explicitly requested but headers/dependencies were not found. Enable ECDH and try again
Summary: dev-libs/libsecp256k1[java] fails to compile: error: jni support explicitly r...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Luke-Jr
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-01 21:44 UTC by Andrius Štikonas
Modified: 2020-11-02 10:00 UTC (History)
2 users (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 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