Package: git-buildpackage
Version: 0.5.26
Severity: wishlist
Hello,
I tried to import a tarball with git-import-orig but it fails with a
uninformative error :
$ git import-orig --pristine-tar ../rss2email_2.71.orig.tar.gz
What is the upstream version? [2.71]
gbp:info: Importing '../rss2email_2.71.orig.tar.gz' to branch 'upstream'...
gbp:info: Source package is rss2email
gbp:info: Upstream version is 2.71
fatal: Could not switch to '../tmpdCS4lT/rss2email-2.71': Permission denied
gbp:error: git returned 128
gbp:error: Couldn't add files
gbp:error: Import of ../rss2email_2.71.orig.tar.gz failed
rm: cannot remove `../tmpdCS4lT/rss2email-2.71': Permission denied
gbp:error: rm returned 1
gbp:error: Couldn't remove "../tmpdCS4lT"
gbp:error: Removal of tmptree ../tmpdCS4lT failed.
The problem is that the permissions inside the tarball do not allow to cd into
the directory.
$ tar tzvf ../rss2email_2.71.orig.tar.gz
d--------- lsmith/None 0 2011-03-04 18:40 rss2email-2.71/
---------- lsmith/None 7300 2011-03-04 18:11 rss2email-2.71/CHANGELOG
---------- lsmith/None 3267 2010-11-12 19:34
rss2email-2.71/config.py.example
---------- lsmith/None 168065 2011-02-20 23:41 rss2email-2.71/feedparser.py
---------- lsmith/None 14847 2011-02-17 22:42 rss2email-2.71/html2text.py
---------- lsmith/None 43 2006-03-17 00:43 rss2email-2.71/r2e
---------- lsmith/None 58 2006-03-17 00:43 rss2email-2.71/r2e.bat
---------- lsmith/None 7208 2009-12-21 23:04 rss2email-2.71/readme.html
---------- lsmith/None 31352 2011-03-04 17:51 rss2email-2.71/rss2email.py
The tarball is a bit buggy (and I noticed upstream about it) but I
suggest that git-import-orig could either accept it (chmod()ing the
files before) or reject it with a clearer error message.
Thanks for maintaining this package !
-- System Information:
Debian Release: wheezy/sid
APT prefers testing
APT policy: (900, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.39-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages git-buildpackage depends on:
ii devscripts 2.11.0 scripts to make the life of a Debi
ii git [git-core] 1:1.7.5.4-1 fast, scalable, distributed revisi
ii git-core 1:1.7.5.4-1 fast, scalable, distributed revisi
ii python 2.6.7-2 interactive high-level object-orie
ii python-dateutil 1.4.1-4 powerful extensions to the standar
ii python-support 1.0.14 automated rebuilding support for P
Versions of packages git-buildpackage recommends:
ii cowbuilder 0.63 pbuilder running on cowdancer
ii pristine-tar 1.13 regenerate pristine tarballs
Versions of packages git-buildpackage suggests:
pn git-load-dirs <none> (no description available)
pn python-notify <none> (no description available)
-- no debconf information
--
Etienne Millon
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]