[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#725492: linux-source: deb file contains data.tar.gz instead of data.tar



Control: tag -1 moreinfo

On Sun, 2013-10-06 at 16:27 +0200, Aurelien Jarno wrote:
> Package: linux-source-3.10
> Version: 3.10.11-1
> Severity: important
> 
> linux-source-3.10_3.10.11-1_all.deb contains a data.tar.gz file, but
> this file should also be named data.tar as it is not compressed:
> |  $ file data.tar.gz 
> |  data.tar.gz: POSIX tar archive (GNU)
>
> This causes gunzip to fails:
> | $ gunzip data.tar.gz 
> |
> | gzip: data.tar.gz: not in gzip format

This package contains a single large xz-compressed tarball and a few
smaller xz-compressed files.  So it's a waste of time to compress the
package.

I wanted to use -Znone which would result in an uncompressed data.tar,
but lintian says this is not allowed:

E: foo: malformed-deb-archive third (official) member data.tar not data.tar.(gz|bz2|xz)

I asked on #debian-ftp a while back and was advised to use -Zgzip -z0
which is accepted but has the problem you're reporting.  (The dpkg
documentation now says this is equivalent to -Znone, but obviously
that's not quite true!)

> Which breaks at least apt-ftparchive, and probably more tools:
> | E: Sub-process gzip received signal 2.
> | E: Errors apply to file '/srv/mini-dak/ftp/debian/pool/main/l/linux/linux-source-3.10_3.10.11-1_all.deb'

I thought dak was still using apt-ftparchive but perhaps not.

Anyway, dak and dpkg are happy with this package and that's the most
important thing.  Once the dpkg maintainers and FTP team and
lintian/policy agree with each other on the correct way to make an
uncompressed package, I'll be happy to make any necessary changes.

Ben.

-- 
Ben Hutchings
Who are all these weirdos? - David Bowie, reading IRC for the first time

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: