odd build failures under koji/mock

Doug Chapman doug.chapman at hp.com
Thu Feb 21 22:10:16 UTC 2008


We have a koji server set up for ia64 where I have been running rawhide
builds through.  I am seeing something that I imagine is a regression in
rpmbuild????  that is likely to be seen on the main koji server as well.

Take for example this failed build of openser-1.3.0-8.fc9.src.rpm:

On our ia64 koji server it failed with:

+ mv '/var/tmp/openser-1.3.0-8.fc9-root-mockbuild//usr/lib/openser/perl/*' /var/tmp/openser-1.3.0-8.fc9-root-mockbuild//usr/lib/perl5/vendor_perl/5.8.8/
mv: cannot stat `/var/tmp/openser-1.3.0-8.fc9-root-mockbuild//usr/lib/openser/perl/*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.7626 (%install)


The line in the specfile that triggered this is:

mv $RPM_BUILD_ROOT/%{_libdir}/openser/perl/*


somehow it appears it took the * path as literal.

Looking at the main koji server at a build of the same package it
expanded the * properly:

+ mv /var/tmp/openser-1.3.0-8.fc9-root-mockbuild//usr/lib64/openser/perl/OpenSER /var/tmp/openser-1.3.0-8.fc9-root-mockbuild//usr/lib64/openser/perl/OpenSER.pm /var/tmp/openser-1.3.0-8.fc9-root-mockbuild//usr/lib/perl5/vendor_perl/5.8.8/

My only guess is this is a bug in rpmbuild which was introduced after
openser was built on the main koji server (Feb 9th).

I have several other packages failing in a similar manner, all fail to
expand * properly.

any ideas?

The full build log of the failure can be seen at:
http://ia64.koji.fedoraproject.org/koji/getfile?taskID=14457&name=build.log


- Doug





More information about the Fedora-buildsys-list mailing list