Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Tony Breeds
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


Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Tony Breeds
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


Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Josh Stone
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


Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Adam Jackson
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


signature.asc
Description: This is a digitally signed message part
-- 
devel mailing list
devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/devel

Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Panu Matilainen
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


yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-07 Thread Tony Breeds
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