Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 654614 - dev-python/pycryptopp-0.7.1 with dev-libs/crypto++-7.0.0 - opp/publickey/rsamodule.cpp:90:14: error: ‘CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, int> >::Verifier has no m
Summary: dev-python/pycryptopp-0.7.1 with dev-libs/crypto++-7.0.0 - opp/publickey/rsam...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: 663590
  Show dependency tree
 
Reported: 2018-05-02 13:21 UTC by Attila Tóth
Modified: 2018-10-01 17:00 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
api-change.patch (api-change_bb9665fc0b449167bb25a57b45829ca8.patch,2.35 KB, patch)
2018-05-02 13:26 UTC, Attila Tóth
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Attila Tóth 2018-05-02 13:21:32 UTC
x86_64-pc-linux-gnu-g++ -O2 -march=native -pipe -fPIC -DDISABLE_EMBEDDED_CRYPTOPP=1 -I/usr/include -I/usr/include/python2.7 -c src/pycryptopp/publickey/rsamodule.cpp -o /var/tmp/portage/dev-python/pycryptopp-0.7.1/work/pycryptopp-0.7.1.869544967005693312591928092448767568728501330214-python2_7/temp.linux-x86_64-2.7/src/pycryptopp/publickey/rsamodule.o -w
src/pycryptopp/publickey/rsamodule.cpp: In function ‘PyObject* VerifyingKey_serialize(VerifyingKey*, PyObject*)’:
src/pycryptopp/publickey/rsamodule.cpp:90:14: error: ‘CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, int> >::Verifier {aka class CryptoPP::PK_FinalTemplate<CryptoPP::TF_VerifierImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, int>, CryptoPP::RSA, CryptoPP::PSSR_MEM<false>, CryptoPP::SHA256> > >}’ has no member named ‘DEREncode’
     self->k->DEREncode(ss);
              ^~~~~~~~~
src/pycryptopp/publickey/rsamodule.cpp: In function ‘PyObject* SigningKey_serialize(SigningKey*, PyObject*)’:
src/pycryptopp/publickey/rsamodule.cpp:219:14: error: ‘CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, int> >::Signer {aka class CryptoPP::PK_FinalTemplate<CryptoPP::TF_SignerImpl<CryptoPP::TF_SignatureSchemeOptions<CryptoPP::TF_SS<CryptoPP::RSA, CryptoPP::PSS, CryptoPP::SHA256, int>, CryptoPP::RSA, CryptoPP::PSSR_MEM<false>, CryptoPP::SHA256> > >}’ has no member named ‘DEREncode’
     self->k->DEREncode(ss);
              ^~~~~~~~~
error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1
Comment 1 Attila Tóth 2018-05-02 13:23:17 UTC
Patch linked in the Arch comment works for me after minor modification to adapt it to gentoo:
https://gist.github.com/skydrome/bb9665fc0b449167bb25a57b45829ca8
Comment 2 Attila Tóth 2018-05-02 13:26:29 UTC
Created attachment 529350 [details, diff]
api-change.patch

Workaround taken from AUR until new version takes care of the API change.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2018-08-14 15:33:39 UTC
Hi,
Please apply the patch and resolve issue so we can stablize crypto++.
Thanks!
Comment 4 Alon Bar-Lev (RETIRED) gentoo-dev 2018-09-15 19:34:01 UTC
(In reply to Alon Bar-Lev from comment #3)
> Hi,
> Please apply the patch and resolve issue so we can stablize crypto++.
> Thanks!

ping?
Comment 5 Larry the Git Cow gentoo-dev 2018-10-01 17:00:11 UTC
The bug has been closed via the following commit(s):

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

commit 66ca2f7ff2c8a8f51193d5d75d7f1cc0b77e5a44
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2018-10-01 16:59:43 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2018-10-01 16:59:43 +0000

    dev-python/pycryptopp: fix building with crypto++-7+
    
    Closes: https://bugs.gentoo.org/654614
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
    Package-Manager: Portage-2.3.50, Repoman-2.3.11

 .../files/pycryptopp-0.7.1-abi-change.patch        | 55 ++++++++++++++++++++++
 ...opp-0.7.1.ebuild => pycryptopp-0.7.1-r1.ebuild} |  6 ++-
 2 files changed, 59 insertions(+), 2 deletions(-)