Your message dated Thu, 07 Dec 2023 23:06:30 +0000 with message-id <[email protected]> and subject line Bug#1057559: fixed in emacs-wgrep 3.0.0-2 has caused the Debian Bug report #1057559, regarding emacs-wgrep: FTBFS: Error: error ("Test ‘wgrep-normal’ redefined") 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.) -- 1057559: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1057559 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: src:emacs-wgrep Version: 3.0.0-1 Severity: serious Tags: ftbfs Dear maintainer: During a rebuild of all packages in unstable, your package failed to build: -------------------------------------------------------------------------------- [...] debian/rules binary dh binary --with elpa dh_update_autotools_config dh_autoreconf dh_auto_configure debian/rules override_dh_auto_build make[1]: Entering directory '/<<PKGBUILDDIR>>' Ignoring upstream Makefile and building/installing with dh-elpa. make[1]: Leaving directory '/<<PKGBUILDDIR>>' 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 wgrep-subtest.el -l wgrep-test.el --eval \(ert-run-tests-batch-and-exit\) Error: error ("Test ‘wgrep-normal’ redefined") mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode -0xc0275021451797c>)) debug-early-backtrace() debug-early(error (error "Test ‘wgrep-normal’ redefined")) error("Test `%s' redefined" wgrep-normal) ert-set-test(wgrep-normal #s(ert-test :name wgrep-normal :documentation nil :body (lambda nil (let ((wgrep-change-readonly-file nil) (wgrep-auto-save-buffer nil)) (progn (wgrep-test-fixture "HOGE\nFOO\nBAZ\n" #'(lambda (file) (wgrep-test--grep (concat "grep -nH -e FOO -C 1 " file)) (wgrep-change-to-wgrep-mode) (goto-char (point-min)) (let* ((fn-122 #'re-search-forward) (args-123 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list "^grep" nil t)) (error (progn (setq fn-122 #'signal) (list (car err) (cdr err))))))) (let ((value-124 'ert-form-evaluation-aborted-125)) (let (form-description-126) (if (unwind-protect (setq value-124 (apply fn-122 args-123)) (setq form-description-126 (nconc (list '(should (re-search-forward "^grep" nil t))) (list :form (cons fn-122 args-123)) (if (eql value-124 'ert-form-evaluation-aborted-125) nil (list :value value-124)) (if (eql value-124 'ert-form-evaluation-aborted-125) nil (let* ((-explainer- (and t (ert--get-explainer 're-search-forward)))) (if -explainer- (list :explanation (apply -explainer- args-123)) nil))))) (ert--signal-should-execution form-description-126)) nil (ert-fail form-description-126))) value-124)) (let* ((fn-127 #'delete-char) (args-128 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list 1)) (error (progn (setq fn-127 #'signal) (list (car err) (cdr err))))))) (let ((value-129 'ert-form-evaluation-aborted-130)) (let (form-description-131) (let ((errorp132 nil) (form-description-fn-133 #'(lambda nil form-description-131))) (condition-case -condition- (unwind-protect (setq value-129 (apply fn-127 args-128)) (setq form-description-131 (nconc (list '(should-error (delete-char 1) :type 'text-read-only)) (list :form (cons fn-127 args-128)) (if (eql value-129 'ert-form-evaluation-aborted-130) nil (list :value value-129)) (if (eql value-129 'ert-form-evaluation-aborted-130) nil (let* ((-explainer- (and t (ert--get-explainer 'delete-char)))) (if -explainer- (list :explanation (apply -explainer- args-128)) nil))))) (ert--signal-should-execution form-description-131)) (error (setq errorp132 t) (ert--should-error-handle-error form-description-fn-133 -condition- 'text-read-only nil) (setq value-129 -condition-))) (if errorp132 nil (ert-fail (append (funcall form-description-fn-133) (list :fail-reason "did not signal an error")))))) value-129)) (let* ((fn-134 #'re-search-forward) (args-135 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list "HOGE" nil t)) (error (progn (setq fn-134 #'signal) (list (car err) (cdr err))))))) (let ((value-136 'ert-form-evaluation-aborted-137)) (let (form-description-138) (if (unwind-protect (setq value-136 (apply fn-134 args-135)) (setq form-description-138 (nconc (list '(should (re-search-forward "HOGE" nil t))) (list :form (cons fn-134 args-135)) (if (eql value-136 'ert-form-evaluation-aborted-137) nil (list :value value-136)) (if (eql value-136 'ert-form-evaluation-aborted-137) nil (let* ((-explainer- (and t (ert--get-explainer 're-search-forward)))) (if -explainer- (list :explanation (apply -explainer- args-135)) nil))))) (ert--signal-should-execution form-description-138)) nil (ert-fail form-description-138))) value-136)) (wgrep-mark-deletion) (let* ((fn-139 #'re-search-forward) (args-140 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list "FOO" nil t)) (error (progn (setq fn-139 #'signal) (list (car err) (cdr err))))))) (let ((value-141 'ert-form-evaluation-aborted-142)) (let (form-description-143) (if (unwind-protect (setq value-141 (apply fn-139 args-140)) (setq form-description-143 (nconc (list '(should (re-search-forward "FOO" nil t))) (list :form (cons fn-139 args-140)) (if (eql value-141 'ert-form-evaluation-aborted-142) nil (list :value value-141)Test ‘wgrep-normal’ redefined ) (if (eql value-141 'ert-form-evaluation-aborted-142) nil (let* ((-explainer- (and t (ert--get-explainer 're-search-forward)))) (if -explainer- (list :explanation (apply -explainer- args-140)) nil))))) (ert--signal-should-execution form-description-143)) nil (ert-fail form-description-143))) value-141)) (replace-match "FOO2") (goto-char (point-max)) (let* ((fn-144 #'delete-char) (args-145 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list -1)) (error (progn (setq fn-144 #'signal) (list (car err) (cdr err))))))) (let ((value-146 'ert-form-evaluation-aborted-147)) (let (form-description-148) (let ((errorp149 nil) (form-description-fn-150 #'(lambda nil form-description-148))) (condition-case -condition- (unwind-protect (setq value-146 (apply fn-144 args-145)) (setq form-description-148 (nconc (list '(should-error (delete-char -1) :type 'text-read-only)) (list :form (cons fn-144 args-145)) (if (eql value-146 'ert-form-evaluation-aborted-147) nil (list :value value-146)) (if (eql value-146 'ert-form-evaluation-aborted-147) nil (let* ((-explainer- (and t (ert--get-explainer 'delete-char)))) (if -explainer- (list :explanation (apply -explainer- args-145)) nil))))) (ert--signal-should-execution form-description-148)) (error (setq errorp149 t) (ert--should-error-handle-error form-description-fn-150 -condition- 'text-read-only nil) (setq value-146 -condition-))) (if errorp149 nil (ert-fail (append (funcall form-description-fn-150) (list :fail-reason "did not signal an error")))))) value-146)) (wgrep-finish-edit) (wgrep-save-all-buffers) (let* ((fn-151 #'equal) (args-152 (condition-case err (let ((signal-hook-function #'ert--should-signal-hook)) (list "FOO2\nBAZ\n" (wgrep-test--get-contents file))) (error (progn (setq fn-151 #'signal) (list (car err) (cdr err))))))) (let ((value-153 'ert-form-evaluation-aborted-154)) (let (form-description-155) (if (unwind-protect (setq value-153 (apply fn-151 args-152)) (setq form-description-155 (nconc (list '(should (equal "FOO2\nBAZ\n" (wgrep-test--get-contents file)))) (list :form (cons fn-151 args-152)) (if (eql value-153 'ert-form-evaluation-aborted-154) nil (list :value value-153)) (if (eql value-153 'ert-form-evaluation-aborted-154) nil (let* ((-explainer- (and t (ert--get-explainer 'equal)))) (if -explainer- (list :explanation (apply -explainer- args-152)) nil))))) (ert--signal-should-execution form-description-155)) nil (ert-fail form-description-155))) value-153))))))) :most-recent-result nil :expected-result-type :passed :tags (wgrep) :file-name "/<<PKGBUILDDIR>>/wgrep-test.el")) load-with-code-conversion("/<<PKGBUILDDIR>>/wgrep-test.el" "/<<PKGBUILDDIR>>/wgrep-test.el" nil t) command-line-1(("-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" "wgrep-subtest.el" "-l" "wgrep-test.el" "--eval" "(ert-run-tests-batch-and-exit)")) command-line() normal-top-level() 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 wgrep-subtest.el -l wgrep-test.el --eval \(ert-run-tests-batch-and-exit\) returned exit code 255 make: *** [debian/rules:4: binary] Error 25 dpkg-buildpackage: error: debian/rules binary 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.
--- End Message ---
--- Begin Message ---Source: emacs-wgrep Source-Version: 3.0.0-2 Done: Xiyue Deng <[email protected]> We believe that the bug you reported is fixed in the latest version of emacs-wgrep, 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. Xiyue Deng <[email protected]> (supplier of updated emacs-wgrep 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, 06 Dec 2023 17:09:52 -0800 Source: emacs-wgrep Architecture: source Version: 3.0.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Emacsen team <[email protected]> Changed-By: Xiyue Deng <[email protected]> Closes: 1057559 Changes: emacs-wgrep (3.0.0-2) unstable; urgency=medium . * Team upload. * Add patch to move common test utility to a separate module to avoid double loading existing ert-deftests. (Closes: #1057559) * Add Upstream-Contact to d/copyright. Checksums-Sha1: 6717ada5d8330e80d475e885d4a756b9e6859533 2188 emacs-wgrep_3.0.0-2.dsc 7895d19e23b45dafd22fb2b0f1eb97fe8fbcaad4 3772 emacs-wgrep_3.0.0-2.debian.tar.xz cedaea7935e1cf4feff14df99ff9da29c2a572e2 9946 emacs-wgrep_3.0.0-2_amd64.buildinfo Checksums-Sha256: 9a8df5ce1724acda6d6f620632b59f98a0ec086c8044e688cc7418e5569a37d8 2188 emacs-wgrep_3.0.0-2.dsc 47360bd03f3a2523f4c383ebd271a3b2a90da22eba17b0596b3cb317053a4e9e 3772 emacs-wgrep_3.0.0-2.debian.tar.xz c921ab711dd1a29476434b7d5c4ea731680af4dcf943a071c1042678e3aca3eb 9946 emacs-wgrep_3.0.0-2_amd64.buildinfo Files: 5daae159fbc56ddca7f53df500d575ea 2188 editors optional emacs-wgrep_3.0.0-2.dsc 3c1562dc0e522c73cd2554576bef774e 3772 editors optional emacs-wgrep_3.0.0-2.debian.tar.xz ffdbdeac0bd813d9fe6fe91ff078db35 9946 editors optional emacs-wgrep_3.0.0-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEE4qYmHjkArtfNxmcIWogwR199EGEFAmVySoUACgkQWogwR199 EGHgBA//TpgK4j/svfeauXTZCxPWpRA4xgAts9Vl9poJ6X1hDwjnITmhHFRbsBF1 RFWlXDsY94FAQfzj6IqjaP02jNv5JPKrjw6564KdG6teTnRY32OaCsdP8aFZdtym h86whyaGdneaD8zmS3z77Cw4IQYXxiOol/YPNjQsulHGzqOtG70gmMxeywjnRL4p w3tewy5uh6HJfoCiBYebiRUNJthZmyXP+/hdQiWLU5EnFNjITVxbPmhOEHx0V35R 5z5n7xYNNhmmkkbW9Vc4ydf5rE7SIPcoUVpNhCwSgXbTgYyNxrJUWKQKQE5kp9Yo BRDG+nshWWvPKu8yCwCb+N5hlN7GrJmAAMMPM05NaZEpoqkcbVQ+8P6XRDREKL8v mlRIEYpDkB+SOMcfjXL8szzWGMXcO0ZueNLlOcm+MK6LVG4lRpdm97O7NxC0iKWN XjIqiLG0B6tfZdkihTx4FwbivVQseRkBfnGN6xHqq2f/Ty2jIoqDh5/QmWUH4DqL terET1ahWJ/n0gmKCwZAPPcPcg5vJE9G6mQ6q3Zatrgodo03zCtCWkM2E6iWwfhL QVHGHsehsB1TknOlFh7Bnj/PuDPcdb5cHz1C8QJDCiKnGpcKAHVoSTvQGeVWeEsJ br7j/CCXE19FHZj1Y6LDo/kFR/g2wl7IcTRNVxF6EopfFInGEhM= =QNxh -----END PGP SIGNATURE-----
--- End Message ---

