[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: zombie packages.



On Sun, Feb 24, 2008 at 4:41 PM, Mamoru Tasaka
<mtasaka ioa s u-tokyo ac jp> wrote:
>
>
>  The failure Dave saw can be reproduced by
>  $ export CVSROOT=:ext:<username>@cvs.fedora.redhat.com:/cvs/extras
>  $ export CVS_RSH=ssh
>  $ cvs co sarai-fonts
>  $ cd sarai-fonts/devel
>  $ make i386
>
>  In this case "make i386" does something like:
>  [tasaka1 localhost devel]$ LANG=C make i386
>  rpmbuild --define "_sourcedir /home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel" --define "_specdir /home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel" --define "_builddir /home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel" --define "_srcrpmdir /home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel" --define "_rpmdir /home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel" --define "dist .fc9" --define "fedora 9" --target i386 -ba sarai-fonts.spec 2>&1 | tee .build-1.0-3.fc9.log ; exit ${PIPESTATUS[0]}
>  Building target platforms: i386
>  Building for target i386
>  Executing(%prep): /bin/sh -e /home/tasaka1/rpmbuild/INSTROOT/rpm-tmp.10146
>  + umask 022
>  + cd /home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel
>  + LANG=C
>  + export LANG
>  + unset DISPLAY
>  + cp -p /home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel/COPYING .
>  cp: `/home/tasaka1/rpmbuild/fedora-specific/sarai-fonts/devel/COPYING' and `./COPYING' are the same file
>  error: Bad exit status from /home/tasaka1/rpmbuild/INSTROOT/rpm-tmp.10146 (%prep)
>
>  Here _sourcedir and _builddir is same. In this case the failure happens.
>  In short, %setup is missing. sarai-fonts spec file should be:
>
>  %prep
>  %setup -q -T -c
>  cp -p %{SOURCE1} .

Ah, I expected this to be erroneous, but ignored since mock build did
not complain. Thanks, will keep in mind hereon.

Btw, I see the problem is fixed by now.

_
Rahul.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]