Bug 1239234 - openssl missdetects enginedir and/or libdir causing FTBFS on aarch64
Summary: openssl missdetects enginedir and/or libdir causing FTBFS on aarch64
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: openssl
Version: rawhide
Hardware: aarch64
OS: Unspecified
urgent
urgent
Target Milestone: ---
Assignee: Tomas Mraz
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64
TreeView+ depends on / blocked
 
Reported: 2015-07-04 19:36 UTC by Peter Robinson
Modified: 2015-07-07 08:22 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-07-07 08:22:13 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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

http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=295457

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 :)

http://arm.koji.fedoraproject.org/koji/taskinfo?taskID=3055755


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