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

Bug#228125: Silently discards line resulting from substitution with garbled substvars



Package: dpkg-dev
Version: 1.10.18
Severity: important

I was working on updating gnumeric's packaging and decided to use the new
dh_gconf helper. That helper generates the misc:Depends substvar, so I had a
line
	Depends: ${shlibs:Depends}, gsfonts, ${misc:Depends}
in debian/control. The debhelper version I was using (4.1.84) had a broken
dh_gconf (currently being fixed), resulting in an incorrect
debian/gnumeric.substvars file with the following contents:
	shlibs:Depends=libart-2.0-2 (>= 2.3.8), libatk1.0-0 (>= 1.4.1), libaudiofile0 (>= 0.2.3-4), libbonobo2-0 (>= 2.4.2.0), libbonoboui2-0 (>= 2.4.2), libbz2-1.0, libc6 (>= 2.3.2.ds1-4), libesd0 (>= 0.2.29-1) | libesd-alsa0 (>= 0.2.29-1), libfontconfig1 (>= 2.2.1), libfreetype6 (>= 2.1.5-1), libgconf2-4 (>= 2.4.0.1), libgcrypt1 (>> 1.1.11-0), libglade2-0 (>= 2.0.0), libglib2.0-0 (>= 2.2.3), libgnome2-0 (>= 2.4.0), libgnomecanvas2-0 (>= 2.4.0), libgnomeprint2.2-0 (>= 2.4.2), libgnomeprintui2.2-0 (>= 2.4.2), libgnomeui-0 (>= 2.4.0.1-2), libgnomevfs2-0 (>= 2.4.1), libgnomevfs2-common (>= 2.4.1), libgnutls7 (>= 0.8.12-1), libgsf-1 (>= 1.8.2), libgtk2.0-0 (>= 2.2.1), libjpeg62, liborbit2 (>= 1:2.8.0), libpango1.0-0 (>= 1.2.1), libpopt0 (>= 1.7), libtasn1-0 (>= 0.1.1-2), libxml2 (>= 2.6.3), xlibs (>> 4.1.0), zlib1g (>= 1:1.2.1)
	misc:Depends=gconf2 >= 2.4.0
(Note the lack of parentheses in the misc:Depends line).
Running
	dpkg-gencontrol -pgnumeric -ldebian/changelog -isp -Tdebian/gnumeric.substvars -Pdebian/gnumeric -VUpstream-Version=1.2.4
resulted in a debian/gnumeric/DEBIAN/control that had no Depends: line (it
was fine otherwise), with no warnings or errors whatsoever. I would have
expected dpkg-gencontrol to barf loudly, or at the very least produce a
warning message that the Depends: information was corrupt and being
discarded.

Ray

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux zensunni 2.4.25-pre5-evms1.2.1 #1 SMP Fri Jan 16 07:59:50 CET 2004 i686
Locale: LANG=C, LC_CTYPE=en_US.ISO8859-1

Versions of packages dpkg-dev depends on:
ii  binutils                   2.14.90.0.7-3 The GNU assembler, linker and bina
ii  cpio                       2.5-1.1       GNU cpio -- a program to manage ar
ii  make                       3.80-4        The GNU version of the "make" util
ii  patch                      2.5.9-1       Apply a diff file to an original
ii  perl [perl5]               5.8.2-2       Larry Wall's Practical Extraction 
ii  perl-modules               5.8.2-2       Core Perl modules.

-- no debconf information
-- 
Obsig: developing a new sig



Reply to: