Your message dated Wed, 08 Jul 2026 09:49:06 +0000
with message-id <[email protected]>
and subject line Bug#1138884: fixed in dh-elpa 2.2.0
has caused the Debian Bug report #1138884,
regarding dh-elpa: simplify emacs-bundled addon handling
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1138884: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138884
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dh-elpa
Version: 2.1.9
Severity: important

Currently dh-elpa has special handling of addons that are built-in to
emacs so that instead of adding the addon to the Depends field, it adds
emacs-common instead to fulfill the requirement. This has been causing
issues that if an addon requires a version of the addon that is higher
than the one bundled in emacs, dh-elpa will not know. As an example:
recently a few packages start to require compat 31.0, while the current
Emacs 30.2 bundles compat of version 30.2.9999. As dh-elpa does not
handle the version, it still only provides emacs-common as part of
"${elpa:Depends}". The current work around is to manually add
"elpa-compat (>= 31.0)" to Depends of the addon package[1][2], which
would be error-prone if there is no test to catch this.

On the other hand, emacs-common generates breaks/replaces/provides for
all bundled addons with their elpa-* names since 1:30.1+1-7. Using
compat as an example, emacs-common will have the following:

,----
| Break: elpa-compat (<< 30.2.9999)
| Replaces: elpa-compat (<< 30.2.9999)
| Provides: elpa-compat (= 30.2.9999)
`----

With this info, dh-elpa does not really have to do any special handling
anymore, and just issuing the standard versioned elpa-compat as part of
`${elpa:Depends}', and apt should do the right thing. Consider the
following 2 cases:

* emacs-git-modes depends on "elpa-compat (>= 29.1.4.1)"; emacs-common
  30.2 provides a higher version of compat, so emacs-common can fulfill
  this dependency (you can also install elpa-compat 31.0.0.1 of course,
  which will also take precedence.)

* transient depends on "elpa-compat (>= 31.0)"; emacs-common 30.2 cannot
  fulfill this requirement, so elpa-compat 31.0.0.1 will be installed.

So it looks like after emacs 1:30.1+1-7, dh-elpa does not need to have
special handling of bundled addons anymore.

If this sounds good, I'll prepare an implementation.

(It would be good if dh-elpa has a unit/integration test for easier
verification, which I also planned to work on but didn't find time yet.)

[1] 
https://salsa.debian.org/emacsen-team/transient/-/blob/master/debian/control?ref_type=heads#L26
[2] 
https://salsa.debian.org/emacsen-team/with-editor/-/blob/master/debian/control?ref_type=heads#L22
 

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

Kernel: Linux 7.0.10+deb14-amd64 (SMP w/2 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages dh-elpa depends on:
ii  debhelper               13.31
ii  emacs                   1:30.2+1-3
ii  emacs-gtk [emacs]       1:30.2+1-3
ii  libarray-utils-perl     0.5-3
ii  libconfig-tiny-perl     2.30-1
ii  libdebian-source-perl   0.133
ii  libdpkg-perl            1.23.7
ii  libfile-find-rule-perl  0.35-1
ii  libtext-glob-perl       0.11-3
ii  perl                    5.40.1-7+b1

dh-elpa recommends no packages.

dh-elpa suggests no packages.

-- no debconf information

-- 
Regards,
Xiyue Deng

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: dh-elpa
Source-Version: 2.2.0
Done: Sean Whitton <[email protected]>

We believe that the bug you reported is fixed in the latest version of
dh-elpa, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (supplier of updated dh-elpa package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 08 Jul 2026 10:29:44 +0100
Source: dh-elpa
Architecture: source
Version: 2.2.0
Distribution: unstable
Urgency: medium
Maintainer: Debian Emacsen team <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 1104316 1138884
Changes:
 dh-elpa (2.2.0) unstable; urgency=medium
 .
   [ Xiyue Deng ]
   * Fix git version detection regexp (Closes: #1104316)
     - Thanks John Zaitseff <[email protected]> for reporting and
       proposing a fix!
 .
   [ Sean Whitton ]
   * Stop filtering package.el deps (Closes: #1138884).
     emacs-common now Provides all built-in packages, instead.
Checksums-Sha1:
 4a7ec12b394e1ef4ebb14ad455e184f0eb9b47b2 2078 dh-elpa_2.2.0.dsc
 219df3b3000a82f90c9f94c881a3dbc267851907 27948 dh-elpa_2.2.0.tar.xz
 886e22854286a1c02d2dfd60270c0c7666d1aa91 46740 dh-elpa_2.2.0.git.tar.xz
 15dbb4281a21118336f6f610749f1740d3c78a9e 17496 dh-elpa_2.2.0_source.buildinfo
Checksums-Sha256:
 750ea74a6f46246c8c15033d723449f4e35b5e234da6da966d6e3f7428321758 2078 
dh-elpa_2.2.0.dsc
 4d448416d1d3458b20fb9abcc194ae410e8f3910129194bd35126ce2b8fd5154 27948 
dh-elpa_2.2.0.tar.xz
 efd22883f3f5d84b02a4638f2b68bb84b282bc9d057d532ad22d7f826cc65000 46740 
dh-elpa_2.2.0.git.tar.xz
 c9775d73212f7c2b9e3a92e192456a7b9e734aa3e4f31ac0919f37f4b637f37d 17496 
dh-elpa_2.2.0_source.buildinfo
Files:
 90944ac3b268f9d5cba824182a3aa83d 2078 devel optional dh-elpa_2.2.0.dsc
 4585b115d2fdbb8278db8908af53869c 27948 devel optional dh-elpa_2.2.0.tar.xz
 2c8ab67f19da23e17f144433cc608203 46740 devel optional dh-elpa_2.2.0.git.tar.xz
 b60d0b50aed082ddba2808b227aa8e99 17496 devel optional 
dh-elpa_2.2.0_source.buildinfo
Git-Tag-Info: tag=e2bb5c2a666eb4107f848b663dcfa17d8bcaf95d 
fp=9b917007ae030e36e4fc248b695b7ae4bf066240
Git-Tag-Tagger: Sean Whitton <[email protected]>

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

iQIzBAEBCgAdFiEEN02M5NuW6cvUwJcqYG0ITkaDwHkFAmpOGScACgkQYG0ITkaD
wHkS8g/9HM1CccaeBdV57t6/O1IOPTYw/VyTfAW2yVShBwGhtyNKAAJoWWv69V/l
oZ8fzWbCMLZYSX06LYpycBTM9FjGgaJvptO8seohpwmTqyj3HkSrvEQZhhD38OTH
8VxBSshCPrAFBm6rH7iL1eb1wysLXNh0iH+POo29CaNA/bCiIz0B0/Twtv5+f+2J
0sgvYDUmmfDH7BSOAl/3pK7OmWYXX5aWoAi4xBC/VpLxvsLO6TRTapatEIz1e4WA
oVqAc5GdXTU9pJVJ+UzFjYsvO96DITdPkTLiTYH8giwhYxtPVDzdUh3fw7A69j4k
l50HOKBxc0b18kRY4lPoF5/YirqnEaJYYdujiCKnPgNyMqWZTNWauAwasjS7vj2C
giwfXxRkDO2B6mUjCOe1vST9GWxVw8PcnO4/NToTCbdDyodLMeQxT5bfFXxc6q6K
/OHyNXVUhJeiephvam2uQYwQE0bdfdlgf4GxnJFXw3AW5WjDznOoAFgzx6ZpRX53
J9zPJQGi7YdWrazCBCfspRX8fxcYwPBODvu/RINB/f/1MRJdAP6+cAyEu5H7Xshn
PVoFWgAKnqbDf1PmsurjFsGVz6yZX2OgAflZaRgYUvH9dbRzHMLE3bwY5x+yStRG
rEB0etiQQpOrsvA6Z5FzOnn7+tTUqWUqN0rskAVjcbB7ZtQKyoM=
=/xxB
-----END PGP SIGNATURE-----

Attachment: pgpG9M08cMWZK.pgp
Description: PGP signature


--- End Message ---

Reply via email to