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

Re: New upstream version of python-csb



Assuming this problem is also happening independently of the --pristine-tar import issues. It looks to me like python setup.py clean is erroring out when there's nothing to clean.

many clean targets end up ignoring errors by adding a "-" at the start of the command. e.g. for the rules file from below you might try.

>         for py in python2.7 python2.6 python3.2; do \
>                 -$py -B setup.py clean -a; \
>         done

with that it should keep going even if there's nothing to clean. 


Diane


> $ git-buildpackage
> dh clean --with python2,python3
>    dh_testdir
>    debian/rules override_dh_auto_clean
> make[1]: Entering directory `/home/tillea/debian-maintain/alioth/debian-med_git/python-csb'
> set -e; \
>         for py in python2.7 python2.6 python3.2; do \
>                 $py -B setup.py clean -a; \
>         done
> running clean
> 'build/lib.linux-x86_64-2.7' does not exist -- can't clean it
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-2.7' does not exist -- can't clean it
> running clean
> 'build/lib.linux-x86_64-2.6' does not exist -- can't clean it
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-2.6' does not exist -- can't clean it
> running clean
> 'build/lib' does not exist -- can't clean it
> 'build/bdist.linux-x86_64' does not exist -- can't clean it
> 'build/scripts-3.2' does not exist -- can't clean it
> make[1]: Leaving directory `/home/tillea/debian-maintain/alioth/debian-med_git/python-csb'
>    dh_clean
> gbp:info: Orig tarball 'python-csb_1.1.1+dfsg.orig.tar.gz' not found at '../tarballs/'
> fatal: Path 'python-csb_1.1.1+dfsg.orig.tar.gz.delta' does not exist in 'refs/heads/pristine-tar'
> pristine-tar: git show refs/heads/pristine-tar:python-csb_1.1.1+dfsg.orig.tar.gz.delta failed
> gbp:error: Couldn't checkout "python-csb_1.1.1+dfsg.orig.tar.gz": /usr/bin/pristine-tar returned 128
> 
> 
> When I try to build the package.  (I'm using pristine-tar version 1.26 -
> just in case because I have learned that with older pristine-tar versions
> there could be some problems when imported with the latest version.)
> 
> Kind regards
> 
>        Andreas.
> 
> 
> [1] http://debian-med.alioth.debian.org/docs/policy.html#git-tips 
> 
> -- 
> http://fam-tille.de
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-med-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: [🔎] 20121220104321.GA11711@an3as.eu">http://lists.debian.org/[🔎] 20121220104321.GA11711@an3as.eu
> 

Attachment: pgpJ5HoT1H1qa.pgp
Description: PGP signature


Reply to: