🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #4236

Bug#1153483: dh_elpa_test: Crashes when source package has Description field

#4236
From: Xiyue Deng
Date: Thu, 12 Nov 2026 08:20
103 lines
5347 bytes
--=-=-=
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

Control: clone -1 -2
Control: reassign -2 libdebian-source-perl
Control: retitle -2 Debian::Control::Stanza::Source does not support "Descr=
iption" field
Control: block -1 -2

Hi Ben,

Ben Finney <bignose@debian.org> writes:

> Package: dh-elpa
> Version: 2.2.0
> Severity: important
>
> Dear Maintainer,
>
> When a package build invokes =E2=80=98dh_elpa_test=E2=80=99, if the packa=
ge's Source stanza
> (in the template source control file) has a =E2=80=9CDescription=E2=80=9D=
 field,
> =E2=80=98dh_elpa_test=E2=80=99 crashes with an error:
>
> =3D=3D=3D=3D=3D
> $ cat debian/control
> Source: inform-mode
> Maintainer: Ben Finney <bignose@debian.org>
> Section: editors
> Build-Depends:
>     dh-elpa,
>     debhelper-compat (=3D 14)
> Standards-Version: 4.7.4
> [=E2=80=A6]
> Description: Emacs major mode for editing Inform 6 source
>  =E2=80=98inform-mode=E2=80=99 is an Emacs major mode for editing source =
code in the
>  Inform 6 programming language.
> [=E2=80=A6]
> =3D=3D=3D=3D=3D
>
> =3D=3D=3D=3D=3D
> $ dh binary --with elpa
>    dh_update_autotools_config
>    dh_autoreconf
>    dh_elpa_test
> Invalid field given (Description) at /usr/share/perl5/Debian/Control.pm l=
ine 121.
> make: *** [debian/rules:18: binary] Error 255
> dpkg-buildpackage: error: debian/rules binary subprocess failed with exit=
 status 2
> =3D=3D=3D=3D=3D
>
> The Description field in the Source package control stanza is normal, as
> documented in the manual page =E2=80=98deb-src-control(5)=E2=80=99. This =
field, and any
> other valid field in the template source control file, should be handled
> correctly when running =E2=80=98dh_elpa_test=E2=80=99.
>
> --
>  \      =E2=80=9CIf you don't fail at least 90 percent of the time, you'r=
e not |
>   `\                                    aiming high enough.=E2=80=9D =E2=
=80=94Alan Kay |
> _o__)                                                                  |
> Ben Finney <bignose@debian.org>
>

This looks like a limitation in libdebian-source-perl, where
Debian::Control::Stanza::Source does not support "Description" field.
The corresponding Debian::Control::Stanza::Binary does support it
though, which may be borrowed as a fix.

I have cloned the bug and assigned to libdebian-source-perl package,
which is part of the dh-make-perl source package.

=2D-=20
Regards,
Xiyue Deng

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEiKQfd6o81mjI+LWALell7WOCXJMFAmr1dFATHG1hbnBoaXpA
ZGViaWFuLm9yZwAKCRAt6WXtY4Jck2HOD/0WHMqlqm2rm/8yUih+RQYRg9ZNk1mn
YalH5MQGaANRUX6/1zLl+wwrcRMo+k+M8x3emSGJjvQbUEJyQzOLJQLH2u0YnpNq
KJOrDosnFTrMkWeP6vvHBHdz0hP7LYK1b7ix2ciEVim4B3pS/rbZP4epvdP7vyGe
w7SR4E464PeOGJH3/5txJOY5z7n7HwOSSC4Tr9FtLm9kW+b4z+EM+NhZudD2PCXI
LMmtIIEak/h9vaJ/7QADBDD9MKkdc2LEXKaLk1R35NZs9PS7GRmGuZD5AjTrQIlF
8REUK/yf6R2BWwGmvh6UP9J98CFipSanGpG72tCJANShBQGiGd0pl7PyDgLHgtPu
kvy2gAjV0j+UYbA9/tb++9PRlL4GFu8l5MddQmqGkcJsnjBl12M5wXhNSwwH3P6j
zAKyuaNLtRfz4sfvPWUtaPZSylibeNv+qY7t+kR/HYPuEE0sp2c3eRFSlaWM3HXG
H//bITq6ENZ+CkuFGiMlT33C40V2MREA2XXnUdG4HX2F/0J6Yf4Scjv7QID+TQTR
EdXptq+llpZ5JZ1Au30l2wzH7lC+1d+BLKZXJaKOtWqkft7VycGjjDyUeodDixpE
E1SZqZmlw5w+VHpEqo3ZJFTXUGItXsXIVxufjL8UKH/1EPLjKE6OWvLjtj6t4ju1
RvufphSNNmGECg==
=pucc
-----END PGP SIGNATURE-----
--=-=-=--
Technical Details
Message-ID: <NYych-boq4-1@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
References: <NXpb3-aKqw-5@gated-at.bofh.it> <NXpb3-aKqw-5@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news-ams.pugleaf.net!srl.newsdeef.eu!news.mb-net.net!open-news-network.org!3.eu.feeder.erje.net!feeder.erje.net!fu-berlin.de!bofh.it!news.nic.it!robomod
From: Xiyue Deng <manphiz@debian.org>
Newsgroups: linux.debian.bugs.dist,linux.debian.maint.emacsen
Subject: Bug#1153483: dh_elpa_test: Crashes when source package has Description field
Date: Thu, 12 Nov 2026 09:20:01 +0100
Message-ID: <NYych-boq4-1@gated-at.bofh.it>
References: <NXpb3-aKqw-5@gated-at.bofh.it> <NXpb3-aKqw-5@gated-at.bofh.it>
X-Original-To: Ben Finney <bignose@debian.org>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Thu Nov 12 08:11:09 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.7
Reply-To: Xiyue Deng <manphiz@debian.org>, 1153483@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: debian-emacsen@lists.debian.org
X-Debian-Pr-Message: followup 1153483
X-Debian-Pr-Package: dh-elpa
X-Debian-Pr-Source: dh-elpa
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
	micalg=pgp-sha512; protocol="application/pgp-signature"
X-Debian-User: manphiz
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2002182
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 103
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1153483@bugs.debian.org
X-Original-Date: Thu, 12 Nov 2026 00:09:52 -0800
X-Original-Message-ID: <87se16eai7.fsf@debian-hx90.lan>
X-Original-References: <avFJ4_z2GQlIagzt@benfinney.id.au> <avFJ4_z2GQlIagzt@benfinney.id.au>