Bug 170614 - missing buildrequirement for 32bit glibc-devel
missing buildrequirement for 32bit glibc-devel
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: memtest86+ (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Warren Togami
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-10-13 09:02 EDT by Karsten Hopp
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-10-16 13:20:42 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
log of failed build (1.33 KB, text/plain)
2005-10-13 09:02 EDT, Karsten Hopp
no flags Details

  None (edit)
Description Karsten Hopp 2005-10-13 09:02:57 EDT
Description of problem:
missing a buildrequirement for 32bit glibc-devel:
gcc -c -m32 -march=i486 -fPIC -Wall -g -O2 -fno-strict-aliasing reloc.c
In file included from /usr/include/features.h:340,
                 from /usr/include/string.h:26,
                 from reloc.c:4:
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h: No such file or directory
make: *** [reloc.o] Error 1
error: Bad exit status from /var/tmp/memtest86+-1.65-1.src.rpm/rpm-tmp.96357
(%build)


Version-Release number of selected component (if applicable):
memtest86+-1.65-1

How reproducible:
Always

Steps to Reproduce:
1.try to build package in a minimal environment (mock)
2.
3.
  

Additional info:
Comment 1 Karsten Hopp 2005-10-13 09:02:58 EDT
Created attachment 119897 [details]
log of failed build
Comment 2 Warren Togami 2005-10-13 17:07:50 EDT
glibc-devel >= 2.2.90-12 is needed by (installed) gcc-4.0.1-4.fc4.i386

http://fedoraproject.org/wiki/PackagingGuidelines
"There is no need to include the following packages or their dependencies as
BuildRequires because they would occur too often. These packages are considered
the minimum build environment."

Among the list is "gcc".  Install fedora-rpmdevtools to pull in all "assumed" deps.
Comment 3 Karsten Hopp 2005-10-14 08:41:10 EDT
You misunderstood...   
   
gcc pulls in the 64bit glibc-devel (on 64bit archs), but this bugreport is  
about needing the 32bit glibc-devel for /usr/include/gnu/stubs-32.h as well.   
Comment 4 Warren Togami 2005-10-14 15:05:01 EDT
Oh, multilib... hmm.  This is the result of the hack that jeremy added where the
32bit binary is built by the 64bit buildroot for no good reason.  AFAIK rpm has
no way of requiring a different arch of a given package name, although maybe it
would be appropriate to require the file directly.

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