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: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matt Whitlock
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2020-11-01 21:44 UTC by Andrius Štikonas
Modified: 2024-12-01 11:51 UTC (History)
3 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
Comment 3 Larry the Git Cow gentoo-dev 2024-12-01 11:51:42 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1748b232d03a33e9a4a2cbcbfa91f24117df1bb

commit b1748b232d03a33e9a4a2cbcbfa91f24117df1bb
Author:     Matt Whitlock <gentoo@mattwhitlock.name>
AuthorDate: 2024-11-07 12:42:31 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-12-01 11:49:24 +0000

    dev-libs/libsecp256k1: drop old
    
    Closes: https://bugs.gentoo.org/752165
    Signed-off-by: Matt Whitlock <gentoo@mattwhitlock.name>
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-libs/libsecp256k1/Manifest                     |  8 --
 .../files/0.3.0-fix-cross-compile.patch            | 99 ----------------------
 .../libsecp256k1-0.1_pre20190401.ebuild            | 72 ----------------
 .../libsecp256k1-0.1_pre20201028-r1.ebuild         | 72 ----------------
 dev-libs/libsecp256k1/libsecp256k1-0.3.0.ebuild    | 71 ----------------
 dev-libs/libsecp256k1/libsecp256k1-0.3.1.ebuild    | 71 ----------------
 dev-libs/libsecp256k1/libsecp256k1-0.3.2.ebuild    | 71 ----------------
 dev-libs/libsecp256k1/libsecp256k1-0.4.0.ebuild    | 72 ----------------
 dev-libs/libsecp256k1/libsecp256k1-0.4.1.ebuild    | 63 --------------
 dev-libs/libsecp256k1/libsecp256k1-0.5.0.ebuild    | 63 --------------
 dev-libs/libsecp256k1/metadata.xml                 |  2 -
 11 files changed, 664 deletions(-)