Package: libdebhelper-perl
Version: 13.11.1
Severity: normal

Dear Maintainer,

This bug report is motivated by the discussion around Bug#1025714 
(https://bugs.debian.org/1025714).  That bug was caused by the 
dh_octave_substvar script (from package dh-octave), which was calling 
the addsubstvar function (from library Dh_Lib) with a non-valid 
argument. This caused the creation of an invalid debian/*.substvars 
file, which triggered an error in dpkg-gencontrol and provoked an FTBFS.

In that case, the problem was caused by an extraneous leading newline in 
the deppackage argument of addsubstvar.

In the meanwhile, the issue in dh-octave has been fixed. However, Niels 
Thykier suggested that addsubstvar should catch and reject invalid 
arguments and I agree with his proposal.

Best,

Rafael Laboissière

 -- System Information:
 Debian Release: bullseye/sid
   APT prefers testing
   APT policy: (650, 'testing'), (600, 'unstable')
 Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-2-amd64 (SMP w/1 CPU thread)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), 
LANGUAGE=en_US.utf8
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

 Versions of packages libdebhelper-perl depends on:
 ii  perl  5.36.0-4

libdebhelper-perl recommends no packages.

libdebhelper-perl suggests no packages.

-- no debconf information

Reply via email to