Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Multiarch support for mock: msg#00057

linux.redhat.fedora.buildsystem

Subject: RE: Multiarch support for mock

On Tue, 2006-05-16 at 11:08 -0500, Michael_E_Brown@xxxxxxxx wrote:
> > -----Original Message-----
> > From: fedora-buildsys-list-bounces@xxxxxxxxxx
> > [mailto:fedora-buildsys-list-bounces@xxxxxxxxxx] 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




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
user-groups.jax...    php.zend.framew...    os.solaris.open...    web.quixote.use...    java.openjdk.ho...    ietf.secmech/20...    gnu.glpk/2004-0...    recreation.cars...    network.smokepi...    linux.drivers.i...    cms.opencms.dev...    fonts.gfontview...    text.xml.soap.u...    voip.nist-sip/2...    debian.ports.hp...    xfree86.interna...    science.biology...    qnx.openqnx.dev...    mail.sylpheed.c...    busybox/bios/20...    emulators.kvm.s...    hardware.openco...    apple.fink.begi...    kde.german/2006...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation