mock build failing sometimes

Manuel Wolfshant wolfy at nobugconsulting.ro
Tue Aug 7 23:08:40 UTC 2007


On 08/07/2007 11:51 PM, Orion Poplawski wrote:
> Manuel Wolfshant wrote:
>> Hi
>>
>>    I am trying to build in mock a new package I've created. Build 
>> succeeds for x86_64 but fails for i386, despite there is almost no 
>> config difference. The logs of the failed builds ends always with:
>>
>
> Try wiping out your root cache in /var/lib/mock/root-cache and 
> starting over.
Tried that before posting, several times. Reinstalled mock, updated to 
latest version available in updates (the machine is running F7/x86_64 
with all available updates installed, reverted my config to the default 
one, used standard mirrors instead of a specific baseurl, nothing works. 
I am facing the same problem each time: mock build for devel/i386 and 
F-7/i386 fail. Anything else I've tried (all x86_64 builds, FC6/i386) 
works.

[root at wolfy64 ~]# rpm -q yum
yum-3.2.1-1.fc7.noarch
[root at wolfy64 ~]# rpm -q mock
mock-0.7.4-1.fc7.x86_64
[wolfy at wolfy64 ~]$ rpm -qa rpm\*
rpmlint-0.80-2.fc7.noarch
rpm-libs-4.4.2-46.fc7.x86_64
rpm-python-4.4.2-46.fc7.x86_64
rpmdevtools-5.4-1.fc7.noarch
rpm-4.4.2-46.fc7.x86_64
rpm-libs-4.4.2-46.fc7.i386
rpm-build-4.4.2-46.fc7.x86_64
[root at wolfy64 ~]# uname -a
Linux wolfy64 2.6.22.1-41.fc7 #1 SMP Fri Jul 27 18:21:43 EDT 2007 x86_64 
x86_64 x86_64 GNU/Linux

Result from 5 minutes ago:
[wolfy at wolfy64 ~]$ sudo yum update
Password:
Loading "skip-broken" plugin
Loading "installonlyn" plugin
Setting up Update Process
No Packages marked for Update/Obsoletion

[wolfy at wolfy64 ~]$  mock --autocache --rebuildcache -r fedora-devel-i386 
init
init
clean
prep
This may take a while
create cache
ending
done
Finished initializing root
[wolfy at wolfy64 ~]$  mock -r fedora-devel-i386 
/home/wolfy/rpm/SRPMS/xorg-x11-avivo-1.0-2.fc7.src.rpm
init
clean
prep
This may take a while
unpack cache
setup
error: Macro % has illegal name (%define)
error: cannot write to %sourcedir /usr/src/redhat/SOURCES

Error installing srpm: xorg-x11-avivo-1.0-2.fc7.src.rpm
ending
done




More information about the devel mailing list