Problem with *.zip archives

Andreas Tille tille at debian.org
Fri Mar 21 22:24:13 UTC 2014


Hi,

On Fri, Mar 21, 2014 at 10:42:35PM +0100, Joachim Breitner wrote:
> Did you check Mothur.1.33.3.tar.xz or mothur_1.33.3+dfsg.orig.tar.xz – a
> mistake I also did earlier today:

see below ...
 
> $ apt-get source mothur
> Paketlisten werden gelesen... Fertig
> Abhängigkeitsbaum wird aufgebaut.       
> Statusinformationen werden eingelesen.... Fertig
> HINWEIS: »mothur«-Paketierung wird betreut im »Svn«-Versionsverwaltungssystem auf:
> svn://anonscm.debian.org/debian-med/trunk/packages/mothur/trunk/
> Es müssen 918 kB an Quellarchiven heruntergeladen werden.
> Holen: 1 http://http.debian.net/debian/ sid/main mothur 1.33.0+dfsg-1 (dsc) [2.103 B]
> Holen: 2 http://http.debian.net/debian/ sid/main mothur 1.33.0+dfsg-1 (tar) [902 kB]
> Holen: 3 http://http.debian.net/debian/ sid/main mothur 1.33.0+dfsg-1 (diff) [13,9 kB]
> Es wurden 918 kB in 0 s geholt (1.095 kB/s).             
> dpkg-source: Information: mothur wird nach mothur-1.33.0+dfsg extrahiert
> dpkg-source: Information: mothur_1.33.0+dfsg.orig.tar.xz wird entpackt
> dpkg-source: Information: mothur_1.33.0+dfsg-1.debian.tar.xz wird entpackt
> dpkg-source: Information: makefile.patch wird angewandt
> dpkg-source: Information: no_lcurses.patch wird angewandt
> dpkg-source: Information: drop_sse_option.patch wird angewandt
> dpkg-source: Information: catchall_fix.patch wird angewandt
> dpkg-source: Information: build_without_tty.patch wird angewandt
> dpkg-source: Information: uchime_link_dynamically wird angewandt
> dpkg-source: Information: uchime_hardening.patch wird angewandt
> dpkg-source: Information: spelling.patch wird angewandt
> /tmp $ cd mothur-1.33.0+dfsg/
> /tmp/mothur-1.33.0+dfsg $ ~/build/devscripts/devscripts/scripts/uscan.pl --verbose --force-download --repack --repack-compression xz
> -- Scanning for watchfiles in .
> -- Found watchfile in ./debian
> -- In debian/watch, processing watchfile line:
>    opts=dversionmangle=s/(\+dfsg|[~\+]repack)// http://www.mothur.org/wiki/Download_mothur    /w/images/.*/.*/Mothur\.([\d\.]+)\.zip
> -- Found the following matching hrefs:
>      /w/images/6/65/Mothur.1.33.3.zip (1.33.3)
>      /w/images/9/99/Mothur.1.32.1.zip (1.32.1)
>      /w/images/b/bc/Mothur.1.31.2.zip (1.31.2)
>      /w/images/d/d3/Mothur.1.30.2.zip (1.30.2)
>      /w/images/a/a5/Mothur.1.29.2.zip (1.29.2)
>      /w/images/6/68/Mothur.1.28.0.zip (1.28.0)
>      /w/images/c/cb/Mothur.1.27.0.zip (1.27.0)
>      /w/images/2/20/Mothur.1.26.0.zip (1.26.0)
>      /w/images/7/7b/Mothur.1.25.1.zip (1.25.1)
>      /w/images/0/09/Mothur.1.24.1.zip (1.24.1)
>      /w/images/3/33/Mothur.1.23.1.zip (1.23.1)
>      /w/images/4/4b/Mothur.1.22.2.zip (1.22.2)
>      /w/images/6/64/Mothur.1.21.1.zip (1.21.1)
>      /w/images/4/42/Mothur.1.20.3.zip (1.20.3)
>      /w/images/0/08/Mothur.1.19.4.zip (1.19.4)
>      /w/images/9/96/Mothur.1.18.1.zip (1.18.1)
>      /w/images/9/9b/Mothur.1.17.3.zip (1.17.3)
>      /w/images/8/8c/Mothur.1.16.1.zip (1.16.1)
>      /w/images/a/a5/Mothur.1.15.0.zip (1.15.0)
>      /w/images/2/2d/Mothur.1.14.0.zip (1.14.0)
>      /w/images/0/05/Mothur.1.13.0.zip (1.13.0)
>      /w/images/4/4d/Mothur.1.12.3.zip (1.12.3)
>      /w/images/b/b9/Mothur.1.11.0.zip (1.11.0)
>      /w/images/6/64/Mothur.1.10.0.zip (1.10.0)
>      /w/images/e/e5/Mothur.1.9.0.zip (1.9.0)
>      /w/images/e/ea/Mothur.1.8.0.zip (1.8.0)
>      /w/images/e/e8/Mothur.1.6.0.zip (1.6.0)
>      /w/images/7/7a/Mothur.1.4.2.zip (1.4.2)
>      /w/images/f/f3/Mothur.1.3.0.zip (1.3.0)
>      /w/images/a/a9/Mothur.1.2.0.zip (1.2.0)
>      /w/images/3/33/Mothur.1.1.0.zip (1.1.0)
> Newest version on remote site is 1.33.3, local version is 1.33.0+dfsg
>  (mangled local version number 1.33.0)
>  => Forcing download as requested
> -- Downloading updated package Mothur.1.33.3.zip
> -- Repacking from zip to .tar.xz
> -- Successfully downloaded updated package Mothur.1.33.3.tar.xz
>     and removed 156 files from it in mothur_1.33.3+dfsg.orig.tar.xz
> -- Scan finished
> $ tar taf ../Mothur.1.33.3.tar.xz|wc -l
> 961
> $ tar taf ../mothur_1.33.3+dfsg.orig.tar.xz|wc -l
> 805

Hmmm, that's strange.  At my side the orig.tar.xz is a symlink to the
other file.  I'm using

    debian/rules get-orig-source

(which does the same as you above).  BTW, I personally see no point in
keeping a non-stripped archive - it is perfectly fine to have only the
result of the stripped download.

No idea how I can help you reproducing the behaviour at my side.

Kind regards

         Andreas.

-- 
http://fam-tille.de



More information about the devscripts-devel mailing list