Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1423086

Summary: dmlite: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: dmliteAssignee: Ricardo Rocha <rocha.porto>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: a.alvarezayllon, adev88, andrea.manzi, jwakely, rocha.porto
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-18 20:01:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1423041, 1423334    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2017-02-17 02:43:54 UTC
Your package dmlite failed to build from source in current rawhide.

https://koji.fedoraproject.org/koji/taskinfo?taskID=17664699

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild

Comment 1 Fedora Release Engineering 2017-02-17 02:44:01 UTC
Created attachment 1251026 [details]
build.log

Comment 2 Fedora Release Engineering 2017-02-17 02:44:05 UTC
Created attachment 1251027 [details]
root.log

Comment 3 Fedora Release Engineering 2017-02-17 02:44:08 UTC
Created attachment 1251028 [details]
state.log

Comment 4 Jonathan Wakely 2017-02-17 11:19:31 UTC
Incompatible with OpenSSL 1.1.0

/builddir/build/BUILD/dmlite-0.8.5/src/utils/Checksums.cpp: In function 'std::__cxx11::string dmlite::checksums::md5(dmlite::IOHandler*, off_t, off_t)':
/builddir/build/BUILD/dmlite-0.8.5/src/utils/Checksums.cpp:154:14: error: aggregate 'EVP_MD_CTX ctx' has incomplete type and cannot be defined
   EVP_MD_CTX ctx;
              ^~~
make[2]: *** [src/CMakeFiles/dmlite.dir/build.make:642: src/CMakeFiles/dmlite.dir/utils/Checksums.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/builddir/build/BUILD/dmlite-0.8.5/src/utils/Security.cpp: In function 'std::__cxx11::string dmlite::getCertificateSubject(const string&)':
/builddir/build/BUILD/dmlite-0.8.5/src/utils/Security.cpp:594:36: error: invalid use of incomplete type 'X509 {aka struct x509_st}'
   std::string subject = certificate->name;
                                    ^~
In file included from /usr/include/openssl/crypto.h:31:0,
                 from /usr/include/openssl/bio.h:20,
                 from /builddir/build/BUILD/dmlite-0.8.5/src/utils/Security.cpp:15:
/usr/include/openssl/ossl_typ.h:119:16: note: forward declaration of 'X509 {aka struct x509_st}'
 typedef struct x509_st X509;
                ^~~~~~~

Comment 5 Andrea 2017-02-18 20:01:43 UTC
i have applied the needed changes for openssl 1.1.0, and the new build is fine

vhttps://koji.fedoraproject.org/koji/taskinfo?taskID=17937640