Summary: | math/secp256k1: include module "recovery" | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | robert.ayrapetyan | ||||||
Component: | Individual Port(s) | Assignee: | Alex Dupre <ale> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | Flags: | bugzilla:
maintainer-feedback?
(ale) |
||||||
Priority: | --- | ||||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Created attachment 199501 [details]
upd version
A commit references this bug: Author: ale Date: Mon Nov 26 08:20:12 UTC 2018 New revision: 485928 URL: https://svnweb.freebsd.org/changeset/ports/485928 Log: Update to latest snapshot and include module "recovery". PR: 233456 Submitted by: robert.ayrapetyan@gmail.com Changes: head/math/secp256k1/Makefile head/math/secp256k1/distinfo head/math/secp256k1/pkg-plist |
Created attachment 199500 [details] Makefile diff for adding recovery module support When compiled without "--enable-module-recovery", import coincurve in python raises: Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/ara/devel/blockchain/venv/lib/python3.6/site-packages/coincurve/__init__.py", line 1, in <module> from coincurve.context import GLOBAL_CONTEXT, Context File "/ara/devel/blockchain/venv/lib/python3.6/site-packages/coincurve/context.py", line 4, in <module> from coincurve.flags import CONTEXT_ALL, CONTEXT_FLAGS File "/ara/devel/blockchain/venv/lib/python3.6/site-packages/coincurve/flags.py", line 1, in <module> from ._libsecp256k1 import lib ImportError: /ara/devel/blockchain/venv/lib/python3.6/site-packages/coincurve/_libsecp256k1.so: Undefined symbol "secp256k1_ecdsa_recoverable_signature_convert" Attached is a patch for a Makefile. Thanks.