Bug 1286804 - Remove %{?_isa} from BuildRequires
Remove %{?_isa} from BuildRequires
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: rpm (Show other bugs)
23
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: packaging-team-maint
Fedora Extras Quality Assurance
:
Depends On:
Blocks: 1286805 1287557
  Show dependency treegraph
 
Reported: 2015-11-30 13:57 EST by Pavol Babinčák
Modified: 2015-12-11 10:09 EST (History)
6 users (show)

See Also:
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 10:09:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
grep _isa Fedora/*/*.spec | grep "BuildRequires" > BuildRequires_isa.txt (6.81 KB, text/plain)
2015-12-11 10:03 EST, Florian Festi
no flags Details

  None (edit)
Description Pavol Babinčák 2015-11-30 13:57:32 EST
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 10:03 EST
Created attachment 1104721 [details]
grep _isa Fedora/*/*.spec | grep "BuildRequires" > BuildRequires_isa.txt
Comment 2 Florian Festi 2015-12-11 10:09:40 EST
Sorry, I can't find those in the rpm spec file. May be there is something wrong with some of the BuildRequires.

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