Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 656736 - dev-libs/pkcs11-helper with >=dev-libs/libressl-2.6.4 - pkcs11h-openssl.c:100:1: error: static declaration of 'RSA_meth_dup' follows non-static declaration
Summary: dev-libs/pkcs11-helper with >=dev-libs/libressl-2.6.4 - pkcs11h-openssl.c:100...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Crypto team [DISABLED]
URL:
Whiteboard:
Keywords:
: 657726 (view as bug list)
Depends on:
Blocks: libressl-support
  Show dependency tree
 
Reported: 2018-05-28 09:42 UTC by fkater
Modified: 2018-06-15 15:48 UTC (History)
2 users (show)

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


Attachments
build log (1527677503-install-dev-libs_pkcs11-helper-1.21-r1:0::gentoo.out,29.36 KB, application/octet-stream)
2018-05-30 10:56 UTC, fkater
Details
build log (1528101977-install-dev-libs_pkcs11-helper-1.23:0::gentoo.out,29.86 KB, application/octet-stream)
2018-06-04 08:58 UTC, fkater
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fkater 2018-05-28 09:42:30 UTC
I had do upgrade to libressl-2.7.3 (unstable).

Building pkcs11-helper fails:

pkcs11h-openssl.c:100:1: error: static declaration of 'RSA_meth_dup' follows non-static declaration
In file included from /usr/include/openssl/x509.h:96,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:70,
                 from pkcs11h-openssl.c:56:
/usr/include/openssl/rsa.h:435:13: note: previous declaration of 'RSA_meth_dup' was here                                                                        pkcs11h-openssl.c:117:1: error: static declaration of 'RSA_meth_free' follows non-static declaration
In file included from /usr/include/openssl/x509.h:96,
                 from ../include/pkcs11-helper-1.0/pkcs11h-openssl.h:70,
                 from pkcs11h-openssl.c:56:
[...]

FYI: This package is triggered by veracrypt. As a workaround, veracrypt can
be installed forcefully without pkcs11-helper.

There seem to be similar issues with openssl as of bugs.gentoo.org.





Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2018-05-30 10:41:42 UTC
Please attach the entire build log to this bug report.
Comment 2 fkater 2018-05-30 10:56:49 UTC
Created attachment 534048 [details]
build log

Paludis build log attached. Sorry for the color esc sequences.

This build is with gcc-7.3, jobs=1, lto off. gcc-8.1 does not work neither.
Comment 3 Alon Bar-Lev (RETIRED) gentoo-dev 2018-06-02 19:15:14 UTC
Please try with pkcs11-helper-1.23
Comment 4 fkater 2018-06-04 08:58:04 UTC
Created attachment 534732 [details]
build log

Same issue for pkcs11-helper-1.23
Comment 5 Alon Bar-Lev (RETIRED) gentoo-dev 2018-06-15 06:14:09 UTC
*** Bug 657726 has been marked as a duplicate of this bug. ***
Comment 6 Alon Bar-Lev (RETIRED) gentoo-dev 2018-06-15 15:48:45 UTC
Resolved in pkcs11-helper-1.24