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

Bug#648755: lintian: arch-dep-package-has-big-usr-share is probably to eager.



Package: lintian
Version: 2.5.3
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Dear Lintian maintainers,

my package splix triggers the following lintian check:

I: printer-driver-splix: arch-dep-package-has-big-usr-share 2498kB 97%
N: 
N:    The package has a significant amount of architecture-independent data
N:    (over 4MB, or over 2MB and more than 50% of the package) in /usr/share
N:    but is an architecture-dependent package. This is wasteful of mirror
N:    space and bandwidth since it means distributing multiple copies of this
N:    data, one for each architecture.
N:    
N:    If the data in /usr/share is not architecture-independent, this is a
N:    Policy violation that should be fixed by moving the data elsewhere
N:    (usually /usr/lib).
N:    
N:    Refer to Debian Developer's Reference section 6.7.5
N:    (Architecture-independent data) for details.
N:    
N:    Severity: wishlist, Certainty: certain
N:    
N:    Check: huge-usr-share, Type: binary
N: 

while it is true that most of the package is architecture independent, it
also happens to be extremely compressible (ppd files).
The one and only binary package splix has weighs about 150K.
I don't think the overhead (both for human and archives) of splitting away
the an architecture independent part of the package is worth the little
saving in space.
The lintian check is probably simplistic in that it assumes that a relatively
big disk usage in the installed systems implies a big disk usage for the
archives.
Maybe lintian could also check the size of the binary-dependent package, and
not raise the warning if it is less than 2MB (or so).
One could say that extremely compressible data should also be compressed on
the installed system, and I am probably going to do that; but the lintian
check is not about that, and remains flawed.
Cheers,

Luca Niccoli

- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (995, 'unstable'), (991, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.0.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages lintian depends on:
ii  binutils                       2.21.90.20111025-1
ii  bzip2                          1.0.5-7           
ii  diffstat                       1.54-1            
ii  file                           5.09-2            
ii  gettext                        0.18.1.1-5        
ii  intltool-debian                0.35.0+20060710.1 
ii  libapt-pkg-perl                0.1.25            
ii  libclass-accessor-perl         0.34-1            
ii  libdpkg-perl                   1.16.1.1          
ii  libemail-valid-perl            0.185-1           
ii  libipc-run-perl                0.90-1            
ii  libparse-debianchangelog-perl  1.2.0-1           
ii  libtimedate-perl               1.2000-1          
ii  liburi-perl                    1.59-1            
ii  locales                        2.13-21           
ii  man-db                         2.6.0.2-2         
ii  patchutils                     0.3.2-1           
ii  perl [libdigest-sha-perl]      5.12.4-6          
ii  unzip                          6.0-5             

lintian recommends no packages.

Versions of packages lintian suggests:
ii  binutils-multiarch     2.21.90.20111025-1   
ii  dpkg-dev               1.16.1.1             
ii  libhtml-parser-perl    3.69-1               
ii  libtext-template-perl  <none>               
ii  man-db                 2.6.0.2-2            
ii  xz-utils               5.1.1alpha+20110809-3

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk7BaaYACgkQ+AQB36CPPlroOACgr9E5EzyFFkmytBZ3bTWtjtjb
dWQAoJaQ17u+pCHUwPYVlcS9+If19PLs
=N0ZT
-----END PGP SIGNATURE-----



Reply to: