Bug 1286804

Summary: Remove %{?_isa} from BuildRequires
Product: [Fedora] Fedora Reporter: Pavol Babinčák <pbabinca>
Component: rpmAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: ffesti, jzeleny, lkardos, novyjindrich, packaging-team-maint, pknirsch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1286805 1287557 (view as bug list) Environment:
Last Closed: 2015-12-11 15:09:40 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:
Embargoed:
Bug Depends On:    
Bug Blocks: 1286805, 1287557    
Attachments:
Description Flags
grep _isa Fedora/*/*.spec | grep "BuildRequires" > BuildRequires_isa.txt none

Description Pavol Babinčák 2015-11-30 18:57:32 UTC
Description of problem:
Rpm's spec file has %{?_isa} macros in BuildRequires. This breaks dependency resolving of compose for src architectures. And also breaks yum-builddep call to get build dependencies.

Version-Release number of selected component (if applicable):
rpm-4.13.0-0.rc1.7.fc23.x86_64

How reproducible:
Always

Steps to Reproduce:
1. $ sudo yum-builddep rpm

Actual results:
Yum-utils package has been deprecated, use dnf instead.
See 'man yum2dnf' for more information.


Enabling fedora-source repository
Enabling updates-source repository
Getting requirements for gdb-7.10-29.fc23.src
 --> zlib-devel-1.2.8-9.fc23.x86_64
 --> xz-devel-5.2.1-3.fc23.x86_64
 --> 4:texlive-collection-latexrecommended-svn33055.0-14.20140525_r34255.fc23.noarch
 --> texinfo-tex-6.0-1.fc23.x86_64
 --> texinfo-6.0-1.fc23.x86_64
 --> Already installed : rpm-libs-4.13.0-0.rc1.7.fc23.x86_64
 --> rpm-devel-4.13.0-0.rc1.7.fc23.x86_64
 --> readline-devel-6.3-6.fc23.x86_64
 --> python3-devel-3.4.3-5.fc23.x86_64
 --> ncurses-devel-5.9-21.20150214.fc23.x86_64
 --> libselinux-devel-2.4-4.fc23.x86_64
 --> libbabeltrace-devel-1.2.4-2.fc23.x86_64
 --> 5:guile-devel-2.0.11-6.fc23.x86_64
 --> gettext-0.19.6-1.fc23.x86_64
 --> flex-2.5.39-2.fc23.x86_64
 --> expat-devel-2.1.0-12.fc23.x86_64
 --> bison-3.0.4-3.fc23.x86_64
 --> perl-podlators-2.5.3-347.fc23.noarch
Getting requirements for gdb-7.10-23.fc23.src
 --> 4:texlive-collection-latexrecommended-svn33055.0-14.20140525_r34255.fc23.noarch
 --> texinfo-tex-6.0-1.fc23.x86_64
 --> texinfo-6.0-1.fc23.x86_64
 --> rpm-libs-4.13.0-0.rc1.7.fc23.i686
 --> gettext-0.19.6-1.fc23.x86_64
 --> flex-2.5.39-2.fc23.x86_64
 --> bison-3.0.4-3.fc23.x86_64
 --> perl-podlators-2.5.3-347.fc23.noarch
Error: No Package found for expat-devel(armv7hl-32)
Error: No Package found for guile-devel(armv7hl-32)
Error: No Package found for libbabeltrace-devel(armv7hl-32)
Error: No Package found for libselinux-devel(armv7hl-32)
Error: No Package found for ncurses-devel(armv7hl-32)
Error: No Package found for python3-devel(armv7hl-32)
Error: No Package found for readline-devel(armv7hl-32) >= 6.2-4
Error: No Package found for rpm-devel(armv7hl-32)
Error: No Package found for xz-devel(armv7hl-32)
Error: No Package found for zlib-devel(armv7hl-32)

Expected results:
Build requires found and installed.

Additional info:
This is explicitly forbidden in packaging guidelines: https://fedoraproject.org/wiki/Packaging:Guidelines#BuildRequires_and_.25.7B_isa.7D

Comment 1 Florian Festi 2015-12-11 15:03:55 UTC
Created attachment 1104721 [details]
grep _isa Fedora/*/*.spec | grep "BuildRequires" > BuildRequires_isa.txt

Comment 2 Florian Festi 2015-12-11 15:09:40 UTC
Sorry, I can't find those in the rpm spec file. May be there is something wrong with some of the BuildRequires.