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 1213420 - x86-64 is not the only one 64-bit architecture in Fedora
Summary: x86-64 is not the only one 64-bit architecture in Fedora
Alias: None
Product: Fedora
Classification: Fedora
Component: bro
Version: rawhide
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Fabian Affolter
QA Contact: Fedora Extras Quality Assurance
Depends On:
Blocks: ARM64, F-ExcludeArch-aarch64 F-ExcludeArch-ppc64le, PPC64LETracker
TreeView+ depends on / blocked
Reported: 2015-04-20 14:10 UTC by Marcin Juszkiewicz
Modified: 2015-06-21 23:26 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2015-06-21 23:26:08 UTC
Type: Bug

Attachments (Terms of Use)
spec changes (1.34 KB, application/mbox)
2015-04-20 14:10 UTC, Marcin Juszkiewicz
no flags Details

Description Marcin Juszkiewicz 2015-04-20 14:10:11 UTC
Created attachment 1016392 [details]
spec changes

Description of problem:

%if %{_arch} == "x86_64"
mkdir -p %{buildroot}%{_libdir}
mv %{buildroot}/usr/lib/libbinpac.a %{buildroot}%{_libdir}/libbinpac.a

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. do a build on aarch64 (arm-koji), ppc64 (ppc-koji) or s390x (s390-koji)

Actual results:

RPM build errors:
error: File not found: /builddir/build/BUILDROOT/bro-2.3-1.fc22.ppc64/usr/lib64/libbinpac.a
    File not found: /builddir/build/BUILDROOT/bro-2.3-1.fc22.ppc64/usr/lib64/libbinpac.a
Child return code was: 1

Expected results:

Package builds

Additional info:

Comment 1 Marcin Juszkiewicz 2015-04-20 14:29:44 UTC
After discussion on irc I think that this check would be even better:

%if 0%{?_lib} != 'lib'

So if Fedora one day decide to add libwhatever then it will still work.

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