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

Bug 1239234

Summary: openssl missdetects enginedir and/or libdir causing FTBFS on aarch64
Product: [Fedora] Fedora Reporter: Peter Robinson <pbrobinson>
Component: opensslAssignee: Tomas Mraz <tmraz>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: rawhideCC: tmraz
Target Milestone: ---   
Target Release: ---   
Hardware: aarch64   
OS: Unspecified   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-07-07 08:22:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On:    
Bug Blocks: 922257    

Description Peter Robinson 2015-07-04 19:36:14 UTC
Basically it looks like for some reason on aarch64 the openssl-1.0.2a-enginesdir.patch causes issues with $enginesdir causing the following ling in the patch to be exectured and /lib/engines is wrong on 64 bit:

+$enginesdir="$prefix/lib/engines" if $enginesdir eq "";

Causing the follwoing to happen:

SSL.3 => ssl.3
created directory `/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/usr/lib'
created directory `/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/usr/lib/engines'
created directory `/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/usr/lib/pkgconfig'
created directory `/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/usr/include/openssl'
created directory `/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/etc/pki/tls/misc'
created directory `/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/etc/pki/tls/certs'
created directory `/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/etc/pki/tls/private'
making install in crypto...

and eventually:

SSL.3 => ssl.3
+ mv /builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/usr/lib64/engines /builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/usr/lib64/openssl
mv: cannot stat '/builddir/build/BUILDROOT/openssl-1.0.2c-1.fc23.aarch64/usr/lib64/engines': No such file or directory

Comment 1 Tomas Mraz 2015-07-07 08:13:39 UTC
Please try to build openssl-1.0.2c-3.fc23

Comment 2 Peter Robinson 2015-07-07 08:22:13 UTC
(In reply to Tomas Mraz from comment #1)
> Please try to build openssl-1.0.2c-3.fc23

Already done, I might have been watching closely for this one ;-) thanks a lot for the quick fix :)