FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 09-08-2011, 12:44 AM
Tony Breeds
 
Default yum-builddep ( Compiling 32bit on 64bit Fedora)

Hi All,
On a related but different note. How hard would it be to get
yum-builddep to take an --arch arg to that we can esily get the 32-bit
builddeps on a 64-bit system?

Yours Tony
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 09-08-2011, 07:37 AM
Panu Matilainen
 
Default yum-builddep ( Compiling 32bit on 64bit Fedora)

On 09/08/2011 03:44 AM, Tony Breeds wrote:
> Hi All,
> On a related but different note. How hard would it be to get
> yum-builddep to take an --arch arg to that we can esily get the 32-bit
> builddeps on a 64-bit system?

It's been recently implemented at upstream, see
https://bugzilla.redhat.com/show_bug.cgi?id=734983 for details.

Note that this is only possible when feeding spec-files to yum-builddep,
and even then it requires that spec BuildRequires are using %{_isa}
where relevant.

- Panu -

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 09-08-2011, 01:27 PM
Adam Jackson
 
Default yum-builddep ( Compiling 32bit on 64bit Fedora)

On Thu, 2011-09-08 at 10:44 +1000, Tony Breeds wrote:
> Hi All,
> On a related but different note. How hard would it be to get
> yum-builddep to take an --arch arg to that we can esily get the 32-bit
> builddeps on a 64-bit system?

Is 'setarch i686 yum-builddep foo' not enough?

- ajax
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 09-08-2011, 02:53 PM
Josh Stone
 
Default yum-builddep ( Compiling 32bit on 64bit Fedora)

On 09/08/2011 06:27 AM, Adam Jackson wrote:
> On Thu, 2011-09-08 at 10:44 +1000, Tony Breeds wrote:
>> Hi All,
>> On a related but different note. How hard would it be to get
>> yum-builddep to take an --arch arg to that we can esily get the 32-bit
>> builddeps on a 64-bit system?
>
> Is 'setarch i686 yum-builddep foo' not enough?

It seems rather nasty to wholly switch repo archs, when what you really
want are the multilibs as they exist in the x84_64 repo. For instance,
you need glibc-devel.i686, but pkgconfig.x86_64 will do just fine.

--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 09-09-2011, 05:09 AM
Tony Breeds
 
Default yum-builddep ( Compiling 32bit on 64bit Fedora)

On Thu, Sep 08, 2011 at 10:37:10AM +0300, Panu Matilainen wrote:
> On 09/08/2011 03:44 AM, Tony Breeds wrote:
> > Hi All,
> > On a related but different note. How hard would it be to get
> > yum-builddep to take an --arch arg to that we can esily get the 32-bit
> > builddeps on a 64-bit system?
>
> It's been recently implemented at upstream, see
> https://bugzilla.redhat.com/show_bug.cgi?id=734983 for details.
>
> Note that this is only possible when feeding spec-files to yum-builddep,
> and even then it requires that spec BuildRequires are using %{_isa}
> where relevant.

Thanks I'll test it out when it hits rawhide.

Yours Tony
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 
Old 09-09-2011, 05:10 AM
Tony Breeds
 
Default yum-builddep ( Compiling 32bit on 64bit Fedora)

On Thu, Sep 08, 2011 at 09:27:20AM -0400, Adam Jackson wrote:
> On Thu, 2011-09-08 at 10:44 +1000, Tony Breeds wrote:
> > Hi All,
> > On a related but different note. How hard would it be to get
> > yum-builddep to take an --arch arg to that we can esily get the 32-bit
> > builddeps on a 64-bit system?
>
> Is 'setarch i686 yum-builddep foo' not enough?

I swear when I tried that nothing sensible happend. However trying it again today
it seems to do the right thing for the 1 or 2 packages I care about.

Yours Tony
--
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel
 

Thread Tools




All times are GMT. The time now is 10:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org