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,
/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
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1.try to build package in a minimal environment (mock)
Created attachment 119897 [details]
log of failed build
glibc-devel >= 2.2.90-12 is needed by (installed) gcc-4.0.1-4.fc4.i386
"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.
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.
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.