Multiarch support for mock

Florian La Roche laroche at redhat.com
Tue May 16 09:33:54 UTC 2006


On Tue, May 16, 2006 at 11:25:43AM +0200, Andreas Thienemann wrote:
> Hello,
> 
> I noticed some problems with mock, when building tools such as valgrind, 
> syslinux etc. on x86_64.
> 
> The default mock config says to exclude i386 and similar packages.
> 
> However, these programs depend on stubs-32.h from the i386 glibc-devel 
> package.
> The x86_64 glibc-devel only brings stubs-64.h, which makes the compilation 
> of these tools stop, because stubs-32.h could not be found.
> 
> What would be the correct way of fixing this?

You should still keep the 32bit glibc rpm packages.

I've had this running at some point with the following yum repo:
[devel-x86_64]
name=Fedora Core Development for x86_64
baseurl=file:/mnt/raid/fedora/development/x86_64
exclude=*-debuginfo-* [!g]*.i686 [!g]*.i386 g[!l]*.i386 glib.i386 glib2.i386


Not sure the above still works or if there are nicer ways now todo the
same within mock via other mechanisms. It should be something like
"exclude all *.i686/*.i386 packages, but still keep glibc*.i686 installed".


regards,

Florian La Roche




More information about the buildsys mailing list