Red Hat Bugzilla – Bug 242661
Xen requires glibc-devel.i386 on x86_64
Last modified: 2013-01-09 23:20:11 EST
Xen currently fails to build in x86_64 mock with the following failure:
"No Package Found for /usr/include/gnu/stubs-32.h"
which in turn is caused by the "*-devel.i?86" exclude in mock's yum config.
Xen requires glibc-devel.i386 even on x86_84 because it needs to build the 32
bit BIOS firmware for HVM.
Clark: it's perfectly valid for x86_64 xen to want to build against 32 bit
glibc, IMHO ... that's why I logged this against mock
What's the background on these excludes?
You don't want all i386 stuff winding up in the buildroot. Not sure why this
wasn't caught before, but glibc-devel should be the only package allowed into
the buildroot from the secondary arch.
Sorry for the confusion. I thought it as a mis-assignment for glibc and didn't
actually see that it was a mock bug.
mock-0.7.1-1.fc7 has been pushed to the Fedora 7 testing repository. If problems still persist, please make note of it in this bug report.
mock-0.7.1-1.fc7 has been pushed to the Fedora 7 stable repository. If problems still persist, please make note of it in this bug report.
0.7.1-1 doesn't actually fix this. 0.7.2 is coming that will.
It looks like this was fixed long ago. Can we close this out?
Can't confirm that it works now, but looking at the excludes, it should be fine:
# grub/syslinux on x86_64 need glibc-devel.i386 which pulls in glibc.i386, need to
# exclude all .i?86 packages except these.
exclude=[A-Za-fh-z]*.i?86 g[A-Za-km-z]*.i?86 gl[A-Za-hj-z]*.i?86