Package Details: python-coincurve 13.0.0-1

Git Clone URL: (read-only, click to copy)
Package Base: python-coincurve
Description: Cross-platform Python CFFI bindings for libsecp256k1
Upstream URL:
Licenses: GPL
Submitter: redfish
Maintainer: redfish
Last Packager: redfish
Votes: 0
Popularity: 0.000000
First Submitted: 2019-03-30 01:18
Last Updated: 2019-12-13 04:32

Latest Comments

sehraf commented on 2019-12-17 07:58

Thanks! That totally did the trick! Removing libsecp256k1 temporarily and python-coincurve builds fine.

Thank you for looking into this.

mborder commented on 2019-12-17 06:44

I've been debugging this package for a good hour now.

Upstream checks for the lib secp256k1 in a way that can return false positives, basically they only check for the library, not for the feature ecdh which is experimental. Now because ecdh is experimental, it's not included in the package libsecp256k1, and if you have that (or anything else providing it without ecdh) then the build will fail like in sehraf's case. Removing anything providing secp256k1 fixes the issue, however you may need to delete the cached build folder for this, I ended up with an odd error fixed by doing that after discovering the false library version issue.

Also I've filed an issue with upstream.

sehraf commented on 2019-12-13 16:25

Still the same :(

build/temp.linux-x86_64-3.8/_libsecp256k1.c:493:10: fatal error: secp256k1_ecdh.h: No such file or directory
  493 | #include <secp256k1_ecdh.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.

redfish commented on 2019-12-13 04:33

@sehraf: appears to be fixed in 13.0.0.

sehraf commented on 2019-07-21 20:53

Build fails due to missing secp256k1_ecdh.h

build/temp.linux-x86_64-3.7/_libsecp256k1.c:493:10: fatal error: secp256k1_ecdh.h: No such file or directory
  493 | #include <secp256k1_ecdh.h>
      |          ^~~~~~~~~~~~~~~~~~
compilation terminated.