Hi,
On Sat, Sep 07, 2019 at 02:21:36PM -0400, Taowa Munene-Tardif wrote:
> 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`.

you didn't send the full log but since git-pbuilder doesn't do this
itself i'd assume this should be filed against pbuilder.
 -- Guido

Reply via email to