Source: emacs
Version: 1:30.1+1-5
Severity: normal
i tried to build the emacs package from git. It failed during its
internal testing (i was able to build with DEB_BUILD_OPTIONS=nocheck),
but i don't understand the failure. I'm including a transcript here,
but am happy to provide other information if it would be useful for
debugging.
--dkg
```
$ git clone
https://salsa.debian.org/rlb/deb-emacs.git
$ cd deb-emacs
$ git checkout pristine-tar
$ git checkout deb/emacs/d/sid/master
$ git log -n1
commit a971e1d025da05b8e8a8e8024a8354bc06159e3a (HEAD -> deb/emacs/d/sid/master, tag: deb/emacs/v/30.1+1-5, tag: deb/emacs/v/1%30.1+1-5, origin/deb/emacs/d/sid/master)
Author: Sean Whitton <
spwhitton@spwhitton.name>
Date: Sun Mar 30 13:26:53 2025 +0800
Update changelog for 1:30.1+1-5 upload
$ debuild -uc -us
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package emacs
dpkg-buildpackage: info: source version 1:30.1+1-5
dpkg-buildpackage: info: source distribution unstable
[…]
GEN src/xml-tests.log
make[5]: Leaving directory '/build/deb-emacs/debian/build-lucid/test'
make[4]: [Makefile:343: check-doit] Error 2 (ignored)
SUMMARY OF TEST RESULTS
-----------------------
Files examined: 518
Ran 7875 tests, 7649 results as expected, 2 unexpected, 224 skipped
2 files contained unexpected results:
lisp/uniquify-tests.log
lisp/progmodes/project-tests.log
make[4]: *** [Makefile:344: check-doit] Error 1
make[4]: Leaving directory '/build/deb-emacs/debian/build-lucid/test'
make[3]: *** [Makefile:310: check] Error 2
make[3]: Leaving directory '/build/deb-emacs/debian/build-lucid/test'
make[2]: *** [Makefile:1131: check] Error 2
make[2]: Leaving directory '/build/deb-emacs/debian/build-lucid'
make[1]: *** [debian/rules:366: override_dh_auto_test] Error 2
make[1]: Leaving directory '/build/deb-emacs'
make: *** [debian/rules:208: binary] Error 2
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2 debuild: fatal error at line 1185:
dpkg-buildpackage -us -uc -ui failed
29 $ cat debian/build-lucid/test/lisp/uniquify-tests.log
Running 7 tests (2025-05-20 15:51:03-0400, selector `(not (or (tag :expensive-test) (tag :unstable)))')
passed 1/7 uniquify-basic (0.072538 sec)
passed 2/7 uniquify-dirs (0.033888 sec)
Test uniquify-project-transform backtrace:
signal(ert-test-failed (((should (equal (mapcar #'buffer-name bufs)
ert-fail(((should (equal (mapcar #'buffer-name bufs) '("README<other
#f(compiled-function () #<bytecode 0x1ebc2bc09aac34f1>)()
#f(compiled-function () #<bytecode -0xc68b9e80fc2eef4>)()
handler-bind-1(#f(compiled-function () #<bytecode -0xc68b9e80fc2eef4
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name uniquify-project-transform :documenta
ert-run-or-rerun-test(#s(ert--stats :selector (not (or ... ...)) :te
ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
command-line-1(("-L" ":/build/deb-emacs/debian/b
command-line()
normal-top-level()
Test uniquify-project-transform condition:
(ert-test-failed
((should (equal (mapcar ... bufs) '("README<other>" "README<bar>")))
:form
(equal ("README<other>" "README<build-src>")
("README<other>" "README<bar>"))
:value nil :explanation
(list-elt 1
(arrays-of-different-length 17 11 "README<build-src>"
"README<bar>"
first-mismatch-at 8))))
FAILED 3/7 uniquify-project-transform (0.045087 sec) at ../../build-src/test/lisp/uniquify-tests.el:130
passed 4/7 uniquify-rename-to-dir (0.009329 sec)
passed 5/7 uniquify-separator-ignored (0.003704 sec)
passed 6/7 uniquify-separator-style-reverse (0.002837 sec)
passed 7/7 uniquify-space-prefix (0.008362 sec)
Ran 7 tests, 6 results as expected, 1 unexpected (2025-05-20 15:51:04-0400, 0.275987 sec)
1 unexpected results:
FAILED uniquify-project-transform
$ cat debian/build-lucid/test/lisp/progmodes/project-tests.log
Running 9 tests (2025-05-20 15:51:01-0400, selector `(not (or (tag :expensive-test) (tag :unstable)))')
passed 1/9 project-find-regexp (0.025871 sec)
passed 2/9 project-find-regexp-with-prefix (0.006800 sec)
passed 3/9 project-ignores (0.002859 sec)
passed 4/9 project-ignores-bug-50240 (0.002692 sec)
passed 5/9 project-vc-extra-root-markers-supports-wildcards (0.038886 sec)
passed 6/9 project-vc-nonexistent-directory-no-error (0.002895 sec)
passed 7/9 project-vc-recognizes-git (0.002583 sec)
Test project-vc-supports-project-in-different-dir backtrace:
signal(ert-test-failed (((should (equal '(".dir-locals.el" "foo") (m
ert-fail(((should (equal '(".dir-locals.el" "foo") (mapcar #'file-na
#f(compiled-function () #<bytecode -0x1cb0a9f5d618a549>)()
#f(compiled-function () #<bytecode -0x104072a86558980f>)()
handler-bind-1(#f(compiled-function () #<bytecode -0x104072a86558980
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name project-vc-supports-project-in-differ
ert-run-or-rerun-test(#s(ert--stats :selector (not ...) :tests [...
ert-run-tests((not (or (tag :expensive-test) (tag :unstable))) #f(co
ert-run-tests-batch((not (or (tag :expensive-test) (tag :unstable)))
ert-run-tests-batch-and-exit((not (or (tag :expensive-test) (tag :un
eval((ert-run-tests-batch-and-exit '(not (or (tag :expensive-test) (
command-line-1(("-L" ":/build/deb-emacs/debian/b
command-line()
normal-top-level()
Test project-vc-supports-project-in-different-dir condition:
(ert-test-failed
((should (equal '(".dir-locals.el" "foo") (mapcar ... ...))) :form
(equal (".dir-locals.el" "foo") nil) :value nil :explanation
(different-types (".dir-locals.el" "foo") nil)))
FAILED 8/9 project-vc-supports-project-in-different-dir (0.016808 sec) at ../../build-src/test/lisp/progmodes/project-tests.el:147
passed 9/9 project/quoted-directory (0.013182 sec)
Ran 9 tests, 8 results as expected, 1 unexpected (2025-05-20 15:51:02-0400, 0.194302 sec)
1 unexpected results:
FAILED project-vc-supports-project-in-different-dir
$
```
-- System Information:
Debian Release: 13.0
APT prefers testing-debug
APT policy: (500, 'testing-debug'), (500, 'testing'), (200, 'unstable-debug'), (200, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 6.12.22-amd64 (SMP w/20 CPU threads; PREEMPT)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.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
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)