Your message dated Wed, 18 Jan 2023 01:53:10 +0000
with message-id <e1phxdw-005xiu...@fasolo.debian.org>
and subject line Bug#1028607: fixed in emacs 1:28.2+1-10
has caused the Debian Bug report #1028607,
regarding FTBFS: FAILED test-correct-notice and test-end-chop in
copyright-tests.log due to new year 2023
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 ow...@bugs.debian.org
immediately.)
--
1028607: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1028607
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: emacs
Version: 28.2+1-9
Severity: serious
Tags: ftbfs
Justification: ftbfs
When trying to rebuild emacs:
SUMMARY OF TEST RESULTS
-----------------------
Files examined: 375
Ran 5623 tests, 5545 results as expected, 2 unexpected, 76 skipped
1 files contained unexpected results:
lisp/emacs-lisp/copyright-tests.log
and in this log file:
[...]
Test test-correct-notice condition:
(ert-test-failed
((should
(equal
(with-temp-buffer ... ... ...)
"Copyright 2021 FSF\nCopyright 2021, 2022 FSF\n"))
:form
(equal "Copyright 2021 FSF\nCopyright 2021, 2023 FSF\n" "Copyright 2021
FSF\nCopyright 2021, 2022 FSF\n")
:value nil :explanation
(array-elt 38
(different-atoms
(51 "#x33" "?3")
(50 "#x32" "?2")))))
FAILED 2/3 test-correct-notice (0.000103 sec)
[...]
Test test-end-chop condition:
(ert-test-failed
((should
(equal
(with-temp-buffer ...)
"Copyright 2006, 2007, 2008, 2022 Foo Bar\n\n"))
:form
(equal "Copyright 2006, 2007, 2008, 2023 Foo Bar\n\n" "Copyright 2006,
2007, 2008, 2022 Foo Bar\n\n")
:value nil :explanation
(array-elt 31
(different-atoms
(51 "#x33" "?3")
(50 "#x32" "?2")))))
FAILED 3/3 test-end-chop (0.000154 sec)
[...]
2 unexpected results:
FAILED test-correct-notice
FAILED test-end-chop
This comes from test/lisp/emacs-lisp/copyright-tests.el, which has
(ert-deftest test-end-chop ()
(should
(equal
(with-temp-buffer
(let ((copyright-query nil))
(insert (make-string (- copyright-limit 14) ?x) "\n"
"\nCopyright 2006, 2007, 2008 Foo Bar\n\n")
(copyright-update)
(buffer-substring (- (point-max) 42) (point-max))))
"Copyright 2006, 2007, 2008, 2022 Foo Bar\n\n")))
(ert-deftest test-correct-notice ()
(should (equal
(with-temp-buffer
(dotimes (_ 2)
(insert "Copyright 2021 FSF\n"))
(let ((copyright-at-end-flag t)
(copyright-query nil))
(copyright-update))
(buffer-string))
"Copyright 2021 FSF\nCopyright 2021, 2022 FSF\n")))
The cause may be that we are now in 2023 and the above tests
are expecting 2022. Instead of expecting 2022, shouldn't they
expect the current year?
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'stable-updates'), (500,
'stable-security'), (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental')
merged-usr: no
Architecture: amd64 (x86_64)
Kernel: Linux 6.1.0-1-amd64 (SMP w/8 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE,
TAINT_UNSIGNED_MODULE
Locale: LANG=POSIX, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
--
Vincent Lefèvre <vinc...@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
Running 3 tests (2023-01-13 15:46:41+0100, selector ‘(not (or (tag
:expensive-test) (tag :unstable)))’)
passed 1/3 test-copyright-update (0.372676 sec)
Test test-correct-notice backtrace:
signal(ert-test-failed (((should (equal (with-temp-buffer (dotimes (
ert-fail(((should (equal (with-temp-buffer (dotimes (_ 2) (insert "C
#f(compiled-function () #<bytecode 0x275166b823177e6>)()
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name test-correct-notice :documentation ni
ert-run-or-rerun-test(#s(ert--stats :selector (not (or (tag :expensi
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
command-line-1(("-L" ":/home/vinc17/tmp/emacs-28.2+1/debian/build-sr
command-line()
normal-top-level()
Test test-correct-notice condition:
(ert-test-failed
((should
(equal
(with-temp-buffer ... ... ...)
"Copyright 2021 FSF\nCopyright 2021, 2022 FSF\n"))
:form
(equal "Copyright 2021 FSF\nCopyright 2021, 2023 FSF\n" "Copyright 2021
FSF\nCopyright 2021, 2022 FSF\n")
:value nil :explanation
(array-elt 38
(different-atoms
(51 "#x33" "?3")
(50 "#x32" "?2")))))
FAILED 2/3 test-correct-notice (0.000103 sec)
Test test-end-chop backtrace:
signal(ert-test-failed (((should (equal (with-temp-buffer (let (...)
ert-fail(((should (equal (with-temp-buffer (let ((copyright-query ni
#f(compiled-function () #<bytecode -0x15755d7e0c3cae9a>)()
ert--run-test-internal(#s(ert--test-execution-info :test #s(ert-test
ert-run-test(#s(ert-test :name test-end-chop :documentation nil :bod
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
command-line-1(("-L" ":/home/vinc17/tmp/emacs-28.2+1/debian/build-sr
command-line()
normal-top-level()
Test test-end-chop condition:
(ert-test-failed
((should
(equal
(with-temp-buffer ...)
"Copyright 2006, 2007, 2008, 2022 Foo Bar\n\n"))
:form
(equal "Copyright 2006, 2007, 2008, 2023 Foo Bar\n\n" "Copyright 2006,
2007, 2008, 2022 Foo Bar\n\n")
:value nil :explanation
(array-elt 31
(different-atoms
(51 "#x33" "?3")
(50 "#x32" "?2")))))
FAILED 3/3 test-end-chop (0.000154 sec)
Ran 3 tests, 1 results as expected, 2 unexpected (2023-01-13 15:46:42+0100,
0.509506 sec)
2 unexpected results:
FAILED test-correct-notice
FAILED test-end-chop
--- End Message ---
--- Begin Message ---
Source: emacs
Source-Version: 1:28.2+1-10
Done: Sean Whitton <spwhit...@spwhitton.name>
We believe that the bug you reported is fixed in the latest version of
emacs, 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 1028...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sean Whitton <spwhit...@spwhitton.name> (supplier of updated emacs 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 ftpmas...@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 17 Jan 2023 17:32:40 -0700
Source: emacs
Architecture: source
Version: 1:28.2+1-10
Distribution: unstable
Urgency: medium
Maintainer: Rob Browning <r...@defaultvalue.org>
Changed-By: Sean Whitton <spwhit...@spwhitton.name>
Closes: 1028607
Changes:
emacs (1:28.2+1-10) unstable; urgency=medium
.
* Fix copyright tests for 2023 onwards. Thanks to Mattias Engdegård for
the fix, and Vincent Lefevre for reporting the bug and posting the
patch to the Debian BTS (Closes: #1028607).
Checksums-Sha1:
932de48f66bc2d67d6f5d43b5c97981bdf881a10 2995 emacs_28.2+1-10.dsc
4b62f713d3e756335db53c897f4b143fc491c834 117996 emacs_28.2+1-10.debian.tar.xz
Checksums-Sha256:
2219451770593757db0c1593433c0ced3049c417f05f82b2c4b076efcd2a7460 2995
emacs_28.2+1-10.dsc
d382de285d7b2476dad5d08cb834376d3c322f77b6e18567a317cb9520672cf8 117996
emacs_28.2+1-10.debian.tar.xz
Files:
058fed22c6c7116005aa2331411fd0e1 2995 editors optional emacs_28.2+1-10.dsc
6bb920e6f1b5e50bc2791ed4a03de3f8 117996 editors optional
emacs_28.2+1-10.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmPHSIEACgkQaVt65L8G
YkCTXBAAmyb1EPL2gfNWNBTFhw/Z6hqmuiDvz0t2/fRX5DydsGFUkM2RM6/g5tXb
buwmdEDp+Ox2T9SRS2saF7SjcJLFfQlPu/BactkGJ81YoksiqqdEgodpsQW/ZVjC
5kl4WdD7mhgqymv2s9Mv2DGtjr2t3wjCDYWw6scQQ/ZB6qY6Z4LpSN2B6DUlW4nl
a7lcsViA5IzuAyILFNckplYsyfbtxB9v29ftqbqaqlDebIiQEDwj1B84UJzvNBqW
FAAnxLf+XT5yIdjcz8PGW2bQ7V6wZ6oPqMed+cXFknD/3F5kyDm+TrIw/VDyOzXK
yWTikffGJv5xR0ZtNmK5YSNqWroT1uWchiN2XaGLzmCdJG4ExGtHYHIJFGH2DVUG
1Zuq/tdnkqbboJ8MLDPJSWES3JCD5qnC0DSX2fJnlf4W62XhpcnFCMu38GNeCvQI
RZCe4v+ftqhKnuHeGxXtuQi03Q7OC6tf/THqLuUhy5EzkDxDJJJVLuacIfQShsC8
ZcWYe4DautFaNstCVNkbBatAT4HCBmD7UnPkYlLvo5BUendJHYvWe/TNosTjSNeI
58KwJjMeGh9CTxFsmTg/+wHf3gDUnqa9dPLExG5R1HO44+tjhI7J497EdWgiFCOc
v/66EQI3RBNyTBTwzcH3OVFDTMJH7LXK0wxWMok1d80O5wqIUlM=
=b+Ia
-----END PGP SIGNATURE-----
--- End Message ---