Building under mock (rawhide)

Dennis Gilmore dennis at ausil.us
Sat Jul 3 16:46:35 UTC 2010


On Saturday, July 03, 2010 08:14:57 am Paul wrote:
> Hi,
> 
> I'm trying to build under mock currently but am getting the following
> throwback (both as su and as me)
> 
> ERROR: Exception(rpmbuild/SRPMS/VirtualBox-OSE-3.2.6-1.src.rpm)
> Config(fedora-rawhide-x86_64) 0 minutes 36 seconds
> INFO: Results and/or logs in: /var/lib/mock/fedora-rawhide-x86_64/result
> ERROR: Command failed:
>  # /usr/bin/yum --installroot /var/lib/mock/fedora-rawhide-x86_64/root/
> groupinstall buildsys-build
> Error: Package: redhat-rpm-config-9.1.0-5.fc14.noarch (fedora)
>            Requires: rpm >= 4.6.0
> Error: Package: redhat-rpm-config-9.1.0-5.fc14.noarch (fedora)
>            Requires: /bin/bash
> Error: Package: redhat-rpm-config-9.1.0-5.fc14.noarch (fedora)
>            Requires: /bin/sh
> Error: Package: redhat-rpm-config-9.1.0-5.fc14.noarch (fedora)
>            Requires: perl(Getopt::Long)
> Error: Package: redhat-rpm-config-9.1.0-5.fc14.noarch (fedora)
>            Requires: mktemp
> Error: Package: redhat-rpm-config-9.1.0-5.fc14.noarch (fedora)
>            Requires: /usr/bin/perl
> 
> [paul at PB3 ~]$ rpm -qa rpm
> rpm-4.8.1-2.fc14.i686
> 
> [paul at PB3 ~]$ perl --version
> 
> This is perl 5, version 12, subversion 1 (v5.12.1) built for
> i386-linux-thread-multi
> 
> Is this something that needs to be put into BZ or is it known about and
> easy to fix?
> 
> TTFN
> 
> Paul
yo cant build 64 bit binaries on a 32 bit box.  you will need either a 64 bit 
box or to setup a qemu guest thats 64 bit.  not the qemu route will be slow as 
the cpu will be fully emulated

The error you get is because the host rpm has excluded the 
unistallable/runable 64 bit binarries so you end up with only installable 
noarch packages

Dennis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.fedoraproject.org/pipermail/devel/attachments/20100703/efadcc3d/attachment.bin 


More information about the devel mailing list