Multiarch support for mock
seth vidal
skvidal at linux.duke.edu
Tue May 16 18:26:54 UTC 2006
On Tue, 2006-05-16 at 11:08 -0500, Michael_E_Brown at Dell.com wrote:
> > -----Original Message-----
> > From: fedora-buildsys-list-bounces at redhat.com
> > [mailto:fedora-buildsys-list-bounces at redhat.com] On Behalf Of
> > seth vidal
> > On Tue, 2006-05-16 at 11:33 +0200, Florian La Roche wrote:
> > > 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".
> > >
> > >
> >
> > So you're saying that in order to build 64bit packages we
> > REQUIRE glibc*.i686?
> >
> > Are you serious? So there's no way to build x86_64 w/o i386
> > first being built?
>
> Wouldn't a "BuildRequires: glibc.i686" work ok? Or am I missing
> something?
it would work to pull in the package in mock - b/c it would be passed
directly to yum which understands that string. However, it won't work
otherwise b/c rpm doesn't know about archs in Requires or BuildRequires.
-sv
More information about the buildsys
mailing list