Bug#1057557: emacs-helm-ag: FTBFS: FAILED visited-buffers
Package: src:emacs-helm-ag
Version: 0.59-2
Severity: serious
Tags: ftbfs
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules build
dh build --with elpa
dh_update_autotools_config
dh_autoreconf
dh_auto_configure
dh_elpa_test
emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L . -L test --eval "(setq comp-enable-subr-trampolines nil)" -l test/test-util.el --eval \(ert-run-tests-batch-and-exit\)
Running 20 tests (2023-12-05 16:23:46+0000, selector ‘t’)
passed 1/20 construct-command (0.000118 sec)
passed 2/20 construct-command-this-file (0.000080 sec)
passed 3/20 construct-command-with-ignore-patterns (0.000087 sec)
passed 4/20 construct-command-with-options (0.000076 sec)
passed 5/20 construct-command-with-options-in-input (0.000149 sec)
passed 6/20 construct-do-ag-command (0.000217 sec)
passed 7/20 construct-do-ag-command-with-extra-option (0.000087 sec)
passed 8/20 emacs-lisp-regexp-to-pcre (0.000123 sec)
passed 9/20 join-pattern (0.000173 sec)
passed 10/20 judge-ignore-case (0.000076 sec)
passed 11/20 parse-query (0.000150 sec)
passed 12/20 pcre-to-emacs-lisp-regexp (0.000145 sec)
passed 13/20 search-this-file-p (0.000118 sec)
passed 14/20 set-command-features (0.000125 sec)
passed 15/20 split-string (0.000143 sec)
passed 16/20 transform-for-files (0.000077 sec)
passed 17/20 transform-for-this-file (0.000063 sec)
passed 18/20 validate-regexp-with-invalid-regexp (0.000067 sec)
passed 19/20 validate-regexp-with-valid-regexp (0.000054 sec)
Test visited-buffers backtrace:
signal(wrong-type-argument ((lambda (&optional arg371) (let ((f #'bu
comp--native-compile((lambda (&optional arg371) (let ((f #'buffer-fi
comp-trampoline-compile(buffer-file-name)
comp-subr-trampoline-install(buffer-file-name)
fset(buffer-file-name (lambda (b) b))
(progn (fset 'buffer-name vnew) (fset 'buffer-file-name vnew) (fset
(unwind-protect (progn (fset 'buffer-name vnew) (fset 'buffer-file-n
(let* ((vnew #'(lambda nil '("aa.txt" "bb.md" "cc.el"))) (vnew #'(la
(lambda nil (let* ((vnew #'(lambda nil '("aa.txt" "bb.md" "cc.el")))
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name visited-buffers :documentation "Remov
ert-run-or-rerun-test(#s(ert--stats :selector t :tests ... :test-map
ert-run-tests(t #f(compiled-function (event-type &rest event-args) #
ert-run-tests-batch(nil)
ert-run-tests-batch-and-exit()
command-line-1(("-l" "package" "--eval" "(add-to-list 'package-direc
command-line()
normal-top-level()
Test visited-buffers condition:
(wrong-type-argument
(lambda
(&optional arg371)
(let
((f ...))
(funcall f arg371)))
stringp nil)
FAILED 20/20 visited-buffers (0.384954 sec) at test/test-util.el:287
Ran 20 tests, 19 results as expected, 1 unexpected (2023-12-05 16:23:46+0000, 0.429702 sec)
1 unexpected results:
FAILED visited-buffers
dh_elpa_test: error: emacs -batch -Q -l package --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa\")" --eval "(add-to-list 'package-directory-list \"/usr/share/emacs/site-lisp/elpa-src\")" -f package-initialize -L . -L test --eval "(setq comp-enable-subr-trampolines nil)" -l test/test-util.el --eval \(ert-run-tests-batch-and-exit\) returned exit code 1
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202312/
About the archive rebuild: The build was made using virtual machines
from AWS, with enough memory, enough disk, and either one or two
CPUs, using a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.
Thanks.
Reply to: