Bug#764865: mk-origtargz: cannot repack Microsoft OOXML files although they are zipped
Markus Koschany
apo at gambaru.de
Sat Oct 11 17:28:42 UTC 2014
Package: devscripts
Version: 2.14.8
Severity: normal
Hi,
I am in the process of packaging jchart2d, a Java library and I need
to repack the source tarball. When I download the source tarball,
uscan / mk-origtargz fails with the following error message:
Command:
uscan --verbose --repack --compression xz --force-download
Error:
jchart2d-eclipse-project-3.2.2.zip does not look like a tar archive or
a zip file. at /usr/bin/mk-origtargz line 326
The file can be downloaded from
http://sourceforge.net/projects/jchart2d/files/jchart2d/sources/jchart2d-eclipse-project-3.2.2.zip/download
Now the file utility tells me that jchart2d-eclipse-project-3.2.2.zip is a Microsoft OOXML
file and that is probably the reason why mk-origtargz refuses to
repack the tarball. However this format is zipped and unzip is able to unpack
it perfectly.
I know that upstream should use a sane compression format but I would
already be happy if there were a uscan or mk-origtargz option to
override this behaviour and tell them to ignore the confusing
Microsoft OOXML format and treating it as a zip file.
Thanks
Markus
-- Package-specific info:
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages devscripts depends on:
ii dpkg-dev 1.17.16
ii libc6 2.19-11
ii perl 5.20.1-1
ii python3 3.4.2-1
pn python3:any <none>
Versions of packages devscripts recommends:
ii at 3.1.16-1
ii curl 7.38.0-2
ii dctrl-tools 2.23
ii debian-keyring 2014.08.31
ii dput 0.9.6.4
ii equivs 2.0.9
ii fakeroot 1.20.2-1
ii file 1:5.19-2
ii gnupg 1.4.18-4
ii libdistro-info-perl 0.13
ii libencode-locale-perl 1.03-1
ii libjson-perl 2.61-1
ii liblwp-protocol-https-perl 6.06-2
pn libparse-debcontrol-perl <none>
pn libsoap-lite-perl <none>
ii liburi-perl 1.64-1
ii libwww-perl 6.08-1
ii lintian 2.5.28
ii man-db 2.7.0.2-2
ii patch 2.7.1-6
ii patchutils 0.3.3-1
ii python3-debian 0.1.24
ii python3-magic 1:5.19-2
ii sensible-utils 0.0.9
ii strace 4.9-2
ii unzip 6.0-12
ii wdiff 1.2.2-1
ii wget 1.15-1+b1
ii xz-utils 5.1.1alpha+20120614-2
Versions of packages devscripts suggests:
ii build-essential 11.7
pn cvs-buildpackage <none>
pn devscripts-el <none>
pn gnuplot <none>
ii gpgv 1.4.18-4
ii heirloom-mailx [mailx] 12.5-3
ii libauthen-sasl-perl 2.1600-1
pn libfile-desktopentry-perl <none>
ii libnet-smtp-ssl-perl 1.01-3
pn libterm-size-perl <none>
ii libtimedate-perl 2.3000-2
pn libyaml-syck-perl <none>
pn mutt <none>
ii openssh-client [ssh-client] 1:6.7p1-2
ii svn-buildpackage 0.8.5
pn w3m <none>
-- no debconf information
More information about the devscripts-devel
mailing list