On Thu, 2008-02-21 at 15:30 -0700, Orion Poplawski wrote:
Doug Chapman wrote:
> 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=bui...
I see /usr/lib64 referenced everywhere above, but then /usr/lib for the
move? The files are in /usr/lib64/openser/perl/, that's why the *
doesn't expand.
Nice catch! Had not noticed that. I will look into a patch so the
package does the right thing on ia64.
- Doug