Bug 1383752 - dcmtk: FTBFS in Fedora Rawhide: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
Summary: dcmtk: FTBFS in Fedora Rawhide: invalid use of incomplete type 'EVP_PKEY {aka...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: dcmtk
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Igor Gnatenko
QA Contact: Fedora Extras Quality Assurance
URL: http://apps.fedoraproject.org/koschei...
Whiteboard:
: 1423325 (view as bug list)
Depends On:
Blocks: 1383740 F26FTBFS
TreeView+ depends on / blocked
 
Reported: 2016-10-11 16:53 UTC by Igor Gnatenko
Modified: 2018-01-10 02:04 UTC (History)
5 users (show)

Fixed In Version: dcmtk-3.6.2-1.fc27
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-01-10 02:04:32 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Igor Gnatenko 2016-10-11 16:53:37 UTC
Description of problem:
Package dcmtk fails to build from source in Fedora Rawhide.

Version-Release number of selected component (if applicable):
3.6.1-4.fc24

Steps to Reproduce:
koji build --scratch f26 dcmtk-3.6.1-4.fc24.src.rpm

Additional info:
This package is tracked by Koschei. See:
http://apps.fedoraproject.org/koschei/package/dcmtk


/builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc: In member function 'E_KeyType SiCertificate::getKeyType()':
/builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc:60:18: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
       switch(pkey->type)
                  ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from /builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc:37:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
/builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc: In member function 'SiAlgorithm* SiCertificate::createAlgorithmForPublicKey()':
/builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc:88:18: error: invalid use of incomplete type 'EVP_PKEY {aka struct evp_pkey_st}'
       switch(pkey->type)
                  ^~
In file included from /usr/include/openssl/evp.h:14:0,
                 from /builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc:37:
/usr/include/openssl/ossl_typ.h:93:16: note: forward declaration of 'EVP_PKEY {aka struct evp_pkey_st}'
 typedef struct evp_pkey_st EVP_PKEY;
                ^~~~~~~~~~~
/builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc: In member function 'OFCondition SiCertificate::loadCertificate(const char*, int)':
/builddir/build/BUILD/dcmtk-3.6.1_20140617/dcmsign/libsrc/sicert.cc:114:43: error: 'BIO_s_file_internal' was not declared in this scope
     BIO *in = BIO_new(BIO_s_file_internal());
                                           ^

Comment 1 Igor Gnatenko 2017-02-17 11:04:44 UTC
*** Bug 1423325 has been marked as a duplicate of this bug. ***

Comment 2 Fedora End Of Life 2017-02-28 10:25:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Jens Lody 2017-12-31 21:22:33 UTC
I opened a PR that should fix this (it builds fine on Rawhide) and also #1518760 and #1440439:

https://src.fedoraproject.org/rpms/dcmtk/pull-request/1

I need dcmtk as dependency of aeskulap.

Jens

Comment 4 Fedora Update System 2018-01-01 16:34:34 UTC
dcmtk-3.6.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0027585240

Comment 5 Fedora Update System 2018-01-02 00:42:39 UTC
dcmtk-3.6.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0027585240

Comment 6 Fedora Update System 2018-01-02 11:46:49 UTC
aeskulap-0.2.2-0.32.beta1.fc27 dcmtk-3.6.2-1.fc27 has been submitted as an update to Fedora 27. https://bodhi.fedoraproject.org/updates/FEDORA-2018-0027585240

Comment 7 Fedora Update System 2018-01-02 17:48:41 UTC
aeskulap-0.2.2-0.32.beta1.fc27, dcmtk-3.6.2-1.fc27 has been pushed to the Fedora 27 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-0027585240

Comment 8 Fedora Update System 2018-01-10 02:04:32 UTC
aeskulap-0.2.2-0.32.beta1.fc27, dcmtk-3.6.2-1.fc27 has been pushed to the Fedora 27 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.