Package: checkinstall
Version: 1.6.2-2
Severity: normal
Tags: patch

checkinstall generates debian/control files with empty fields.
dpkg accepts these packages OK, but apt and friends choke on them.  This means 
that although these packages can be installed manually, they cannot be added to 
a repository.
The <a href="http://www.debian.org/doc/debian-policy/ch-controlfields.html"; 
>spec</a> isn't clear if empty fields are allowed or not.


if line 2566 is changed from:
cat << EOF >> $BUILD_DIR/DEBIAN/control
to:
cat << EOF | sed "s/ $//" | egrep ": " >> $BUILD_DIR/DEBIAN/control
empty fields will be stripped

Alternatively, this bug could be refiled against apt-get to support empty 
fields.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

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

Versions of packages checkinstall depends on:
ii  dpkg-dev  1.16.1.2
ii  file      5.11-1
ii  libc6     2.13-27

ersions of packages checkinstall recommends:
ii  make  3.81-8.1

Versions of packages checkinstall suggests:
ii  gettext  0.18.1.1-5

-- no debconf information




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to