On Mon, Feb 03, 2020 at 09:12:51PM +0100, Geert Stappers wrote: > On Mon, Feb 03, 2020 at 09:08:01PM +0100, Geert Stappers wrote: > > On Mon, Feb 03, 2020 at 09:02:04PM +0100, Nico Schlömer wrote: > > > On Mon, Feb 3, 2020 at 8:51 PM Geert Stappers wrote: > > > > On Mon, Feb 03, 2020 at 08:00:47PM +0100, Nico Schlömer wrote: > > > > ... > > > > > ``` > > > > > uscan: error: tar -t -a -f ../gmsh-4.5.2-source.tgz subprocess > > > > > returned exit status 2 > > > > > ``` > > > > ... > > > > > Any idea what could be the issue here? > > > > > > > > Make it possible that the "problem" can be reproduced. > > > > Share the URL of the git repository > > > > > > > > Make it possible that the "problem" can be reproduced. Share the URL of > > > > the git repository > > > > > > Clone from https://salsa.debian.org/science-team/gmsh and run > > > ``` > > > gbp import-orig --uscan > > > ``` > > > in the checkout. > > .... > gs0604@trancilo:~/src/salsa/gmsh > $ cd .. > gs0604@trancilo:~/src/salsa > $ rm -rf gmsh/ > gs0604@trancilo:~/src/salsa > $ gbp clone https://salsa.debian.org/science-team/gmsh > gbp:info: Cloning from 'https://salsa.debian.org/science-team/gmsh'
FWIW: `gbp clone` does also checkout of the branches it will be needing. > gs0604@trancilo:~/src/salsa > $ cd gmsh > gs0604@trancilo:~/src/salsa/gmsh > $ gbp import-orig --uscan > gbp:info: Launching uscan... > > gzip: stdin: unexpected end of file > tar: Onverwacht einde-van-bestand in archief > tar: Error is not recoverable: exiting now > uscan: error: tar -t -a -f ../gmsh-4.5.2-source.tgz subprocess returned > exit status 2 > gbp:error: Uscan failed - debug by running 'uscan --verbose' > gs0604@trancilo:~/src/salsa/gmsh > $ > Important / relevant output of `uscan --verbose` uscan info: Launch mk-origtargz with options0: --package gmsh --version 4.5.2 --repack-suffix +ds1 --compression default --directory .. --copyright-file debian/copyright ../gmsh-4.5.2-source.tgz gzip: stdin: unexpected end of file So error is indeed reproducable. Elsewhere in the `uscan --verbose` output was download URL. I did wget http://gmsh.info/src/gmsh-4.5.2-source.tgz Then a check on thoses .tgz ``` $ ls -l gmsh-4.5.2-source.tgz ../gmsh-4.5.2-source.tgz -rw-r--r-- 1 gs0604 gs0604 14841817 feb 3 21:10 ../gmsh-4.5.2-source.tgz -rw-r--r-- 1 gs0604 gs0604 14841960 jan 30 13:06 gmsh-4.5.2-source.tgz ``` Do note the difference in size. Tests with `mk-origtargz`: ``` gs0604@trancilo:~/src/salsa/gmsh $ mk-origtargz --package gmsh --version 4.5.2 --repack-suffix +ds1 --compression default --directory .. --copyright-file debian/copyright ../gmsh-4.5.2-source.tgz gzip: stdin: unexpected end of file tar: Onverwacht einde-van-bestand in archief tar: Error is not recoverable: exiting now mk-origtargz: error: tar -t -a -f ../gmsh-4.5.2-source.tgz subprocess returned exit status 2 gs0604@trancilo:~/src/salsa/gmsh $ mk-origtargz --package gmsh --version 4.5.2 --repack-suffix +ds1 --compression default --directory .. --copyright-file debian/copyright ./gmsh-4.5.2-source.tgz Successfully repacked gmsh-4.5.2-source.tgz as ../gmsh_4.5.2+ds1.orig.tar.xz, deleting 349 files from it. gs0604@trancilo:~/src/salsa/gmsh $ ``` So it is the `mk-origtargz` that yields the 'gzip: stdin: unexpected end of file', but only on the gmsh-4.5.2-source.tgz that uscan did download. I don't have an answer on the "why?" Neither an advice what to do with the encountered issue. Regards Geert Stappers -- Leven en laten leven