Public bug reported:

This has been reported in Debian [1].

The compat-el (bin:elpa-compat) package provides a forward-compatibility
library for (GNU) Emacs Lisp. A recent change in emacs (emacs-common)
adds breaks/replaces for built-in packages which includes elpa-compat:

$ apt depends emacs-common | grep "elpa-compat"
  Breaks: elpa-compat (<< 30.2.9999)
  Replaces: elpa-compat (<< 30.2.9999)

The current elpa-compat version is 30.1, so emacs breaks elpa-compat.
Though elpa-compat depends on dh-elpa-helper, it Test-Depends on dh-elpa
too.

So, during the compat-el autopkgtest, both elpa-compat (30.1) and dh-
elpa->emacs-nox->emacs-common are to be installed. As a consequence,
during the test-bed setup the solver does this [2]:

 95s The following additional packages will be installed:
 95s   dh-elpa-helper
 95s Recommended packages:
 95s   emacs
 95s The following packages will be REMOVED:
 95s   dh-elpa emacs-bin-common emacs-common emacs-el emacs-nox
 95s The following NEW packages will be installed:
 95s   dh-elpa-helper elpa-compat

The removal of emacs-common -> emacs-nox -> dh-elpa means dh_elpa_test
is lost and so we have:

96s bash: line 1: dh_elpa_test: command not found
97s autopkgtest [07:53:39]: test dh-elpa-test-autopkgtest: 
-----------------------]
97s dh-elpa-test-autopkgtest FAIL non-zero exit status 127


Currently, emacs is at 30.1 and expects compat-el to be at 30.2 or above. This 
makes sense because compat-el is a forward compatibility library. The Debian 
maintainer also mentions "This is working as intended"[3].

While compat-el indirectly depends on emacs, can such a relationship be
used by britney to make sure compat-el autopkgtests come out clean while
emacs is migrating?

For now, maybe the compat-el failures should be ignore through a hint,
letting dh-elpa migrate.


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111856
[2] 
https://objectstorage.prodstack5.canonical.com/swift/v1/AUTH_0f9aae918d5b4744bf7b827671c86842/autopkgtest-resolute/resolute/amd64/c/compat-el/20260117_075355_e3403@/log.gz
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111856#10

** Affects: compat-el (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: update-excuse

** Tags added: update-excuse

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2139036

Title:
  compat-el: autopkgtest regression: dh_elpa_test: command not found

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/compat-el/+bug/2139036/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to