Package: git-buildpackage
Version: 0.8.12.2

On importing a file ending in .tar.gz that is actually just a badly-named 
tar, gbp import-orig believes it's a .tar.gz (as tar doesn't mind the
archive being misnamed) and treats it as one. When git-pbuilder then
goes to extract it later, it uses gunzip and fails as gunzip can't
unzip a .tar.

To reproduce:
- create an archive using `tar -cf [name].orig.tar.gz [something]`
- import it using gbp import-orig
- run `gbp buildpackage --git-pbuilder`

It will fail with:

```
dpkg-source: info: building yubioath-desktop using existing 
./yubioath-desktop_4.3.4.orig.tar.gz

gzip: stdin: not in gzip format
tar: This does not look like a tar archive
```
despite being able to run `tar xf yubioath-desktop_4.3.4.orig.tar.gz`.

-- 
   ,''`.      Taowa Munene-Tardif
  : :'  :     taowa@deb{ian,conf}.org
  `. `'`      taowa.ca
    `-        Montréal

Reply via email to