Your message dated Wed, 23 Aug 2023 10:34:49 +0000
with message-id <[email protected]>
and subject line Bug#1043006: fixed in emacs 1:29.1+1-3
has caused the Debian Bug report #1043006,
regarding emacs: please set explicit TERM during tests to fix a possible build
failure
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.)
--
1043006: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043006
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: emacs
Version: 1:29.1+1-2
tags: patch
Hello, some people (e.g. Ubuntu builders) might have a different TERM set other
than the default, in this case emacs FTBFS with an error similar to this:
DEB_BUILD_GNU_CPU=x86_64 -env DEB_HOST_ARCH_OS=linux -env DEB_HOST_GNU_CPU=x86_64 -env DFLAGS=-frelease -env OBJCXXFLAGS=-g&_-O2&_-ffile-prefix-map=/<<PKGBUILDDIR>>=.&_-fstack-protector-strong&_-Wformat&_-Werror=format-security&_-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/emacs-1:29.1+1-2 -env
CFLAGS=-g&_-O2&_-ffile-prefix-map=/<<PKGBUILDDIR>>=.&_-fstack-protector-strong&_-Wformat&_-Werror=format-security&_-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/emacs-1:29.1+1-2&_-Wall -env DEB_HOST_ARCH_CPU=amd64 -env DEB_BUILD_ARCH_ENDIAN=little -env PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games -env SCHROOT_UID=2001 -env LC_ALL=C.UTF-8 -env DEB_HOST_GNU_TYPE=x86_64-linux-gnu -env DEB_HOST_ARCH_ENDIAN=little -env
DEB_HOST_ARCH=amd64 -env DEB_TARGET_ARCH_ENDIAN=little -env DEB_TARGET_GNU_CPU=x86_64 -env SCHROOT_GID=2501 -env DH_INTERNAL_OPTIONS= -env DEB_BUILD_GNU_SYSTEM=linux-gnu -env MAKELEVEL=6 -env SHLVL=1 -env DEB_BUILD_OPTIONS=parallel=4 -env SELECTOR=(not&_(or&_(tag&_:expensive-test)&_(tag&_:unstable))) -env DEB_BUILD_GNU_TYPE=x86_64-linux-gnu -env DEB_HOST_ARCH_BITS=64 -env USER=buildd -env
OBJCFLAGS=-g&_-O2&_-ffile-prefix-map=/<<PKGBUILDDIR>>=.&_-fstack-protector-strong&_-Wformat&_-Werror=format-security&_-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/emacs-1:29.1+1-2 -env DEB_BUILD_ARCH_LIBC=gnu -env DEB_BUILD_ARCH_CPU=amd64 -env DEB_TARGET_MULTIARCH=x86_64-linux-gnu -env TERM=unknown -env MAKEFLAGS=kw&_--&_SELECTOR=(not\&_(or\&_(tag\&_:expensive-test)\&_(tag\&_:unstable))) -env
FCFLAGS=-g&_-O2&_-ffile-prefix-map=/<<PKGBUILDDIR>>=.&_-fstack-protector-strong&_-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/emacs-1:29.1+1-2 -env MFLAGS=-kw -env APT_CONFIG=/var/lib/sbuild/apt.conf -env DEB_TARGET_ARCH_OS=linux -env DEB_BUILD_ARCH=amd64 -env DEB_TARGET_ARCH=amd64 -env CPPFLAGS=-Wdate-time&_-D_FORTIFY_SOURCE=2 -env DEB_TARGET_ARCH_ABI=base -env DEB_TARGET_GNU_TYPE=x86_64-linux-gnu -env DEB_TARGET_ARCH_LIBC=gnu -env DEB_HOST_ARCH_ABI=base -env
LDFLAGS=-Wl,-Bsymbolic-functions&_-Wl,-z,relro -env DEB_BUILD_PROFILES=noudeb -env SCHROOT_USER=buildd -env V=0 -env SCHROOT_GROUP=buildd -env SCHROOT_ALIAS_NAME=build-PACKAGEBUILD-26469628 -env _=../src/emacs -env DEB_BUILD_ARCH_OS=linux -env CXXFLAGS=-g&_-O2&_-ffile-prefix-map=/<<PKGBUILDDIR>>=.&_-fstack-protector-strong&_-Wformat&_-Werror=format-security&_-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/emacs-1:29.1+1-2 -env
MAKEOVERRIDES=${-*-command-variables-*-} -env DEB_BUILD_ARCH_BITS=64 -env DEB_RULES_REQUIRES_ROOT=binary-targets -env DEB_HOST_GNU_SYSTEM=linux-gnu -env LOGNAME=buildd -env SOURCE_DATE_EPOCH=1690914267 -env DEB_BUILD_MULTIARCH=x86_64-linux-gnu -env FFLAGS=-g&_-O2&_-ffile-prefix-map=/<<PKGBUILDDIR>>=.&_-fstack-protector-strong&_-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/emacs-1:29.1+1-2 -env DEB_TARGET_ARCH_BITS=64 -env SCHROOT_SESSION_ID=build-PACKAGEBUILD-26469628
-env DH_INTERNAL_OVERRIDE=dh_auto_test -env SCHROOT_COMMAND=dpkg-buildpackage&_-us&_-uc&_-mLaunchpad&_Build&_Daemon&_<[email protected]>&_-b&_-rfakeroot -env DEB_TARGET_ARCH_CPU=amd64 -env DEB_HOST_MULTIARCH=x86_64-linux-gnu -env GCJFLAGS=-g&_-O2&_-ffile-prefix-map=/<<PKGBUILDDIR>>=.&_-fstack-protector-strong&_-fdebug-prefix-map=/<<PKGBUILDDIR>>=/usr/src/emacs-1:29.1+1-2 -env DEB_TARGET_GNU_SYSTEM=linux-gnu -env
TEST_LOAD_EL=no -env SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-26469628 -env DEB_HOST_ARCH_LIBC=gnu -env SHELL=/bin/sh -env LANG=C -env EMACS_TEST_DIRECTORY=/<<PKGBUILDDIR>>/debian/build-src/test -env HOME=/nonexistent -dir /<<PKGBUILDDIR>>/debian/build-lucid/test/ -tty /dev/pts/0 unknown
Tue Aug 1 23:42:11 2023 /tmp/server-testsZoZbqS/test-server
<5>: Sent -emacs-pid 58211
Tue Aug 1 23:42:11 2023 /tmp/server-testsZoZbqS/test-server <5>: Sent -error
Terminal&_type&_unknown&_is&_not&_defined
Tue Aug 1 23:42:11 2023 /tmp/server-testsZoZbqS/test-server
<5>: Terminal type unknown is not defined
Tue Aug 1 23:42:11 2023 /tmp/server-testsZoZbqS/test-server
<5>: Status changed to closed: connection broken by remote peer
Tue Aug 1 23:42:11 2023 /tmp/server-testsZoZbqS/test-server
<5>: server-delete-client
Tue Aug 1 23:42:11 2023 /tmp/server-testsZoZbqS/test-server
<5>: Deleted
Tue Aug 1 23:42:16 2023 /tmp/server-testsZoZbqS/test-server:
Status changed to closed: deleted
Tue Aug 1 23:42:16 2023 /tmp/server-testsZoZbqS/test-server:
server-delete-client
Tue Aug 1 23:42:16 2023 Stopped server
Client output: *ERROR*: Terminal type unknown is not defined
Process /<<PKGBUILDDIR>>/debian/build-lucid/lib-src/emacsclient exited abnormally with code 1
(ert-test-failed
((should
(length=
(frame-list)
2))
:form
(length=
(#<frame F1 0x55b0a7a802b8>)
2)
:value nil))
FAILED 7/7 server-tests/server-start/stop-prompt-with-client (5.006554
sec) at ../../build-src/test/lisp/server-tests.el:129
Ran 7 tests, 4 results as expected, 3 unexpected (2023-08-01 23:42:16+0000,
15.440815 sec)
3 unexpected results:
FAILED server-tests/emacsclient/create-frame
FAILED server-tests/server-force-stop/keeps-frames
FAILED server-tests/server-start/stop-prompt-with-client
A trivial patch fixes the issue:
diff -Nru emacs-29.1+1/debian/rules emacs-29.1+1/debian/rules
--- emacs-29.1+1/debian/rules 2023-08-01 20:24:27.000000000 +0200
+++ emacs-29.1+1/debian/rules 2023-08-04 08:25:21.000000000 +0200
@@ -21,6 +21,7 @@
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
+TERM := linux
SHELL := /bin/bash
quilt := QUILT_PATCHES=debian/patches QUILT_PATCHES_PREFIX=y quilt
pf := set -o pipefail
thanks for considering it!
G.
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: emacs
Source-Version: 1:29.1+1-3
Done: Sean Whitton <[email protected]>
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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sean Whitton <[email protected]> (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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Wed, 23 Aug 2023 10:15:43 +0100
Source: emacs
Architecture: source
Version: 1:29.1+1-3
Distribution: unstable
Urgency: medium
Maintainer: Rob Browning <[email protected]>
Changed-By: Sean Whitton <[email protected]>
Closes: 1043006 1043060
Changes:
emacs (1:29.1+1-3) unstable; urgency=medium
.
* Take emacs-bin-common binaries from the pgtk build (Closes: #1043060).
Use the pgtk build to populate emacs-common too, for simplicity.
Thanks to Arto Jantunen for investigation and discussion.
.
* d/rules: Set TERM to avoid a build failure (Closes: #1043006).
Thanks to Gianfranco Costamagna for the report and fix.
.
* d/rules: Fix dh_listpackages test for emacs-pgtk.
.
* override_dh_auto_install: Delete $(install_dir_pgtk) too.
Checksums-Sha1:
c19fa2a41e80a5beffc588fb957fab53fbb05416 3098 emacs_29.1+1-3.dsc
e111d477f2fde32e3a334fbb16ee9fc357d2ce21 62304 emacs_29.1+1-3.debian.tar.xz
Checksums-Sha256:
754ca5c80239a48e1c185222436291898d0d03b9de292a9ab47349aafb37fe18 3098
emacs_29.1+1-3.dsc
18a911d25208abe6739dac0270140b7a2f9a00547943f5988dd651f3a608225d 62304
emacs_29.1+1-3.debian.tar.xz
Files:
f0f2eaca2a189d34c9af8ebcf69fb97f 3098 editors optional emacs_29.1+1-3.dsc
d8835257dc153e72a75bcc794c2570ac 62304 editors optional
emacs_29.1+1-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAmTl11IACgkQaVt65L8G
YkCNlw//anftAY/EUtwAvp6ZD9bwepF3G9dgZUHmoDEdf3cyQkwdW3wBb9jtlp+4
sWOufIp4fd04eYae8CZSvcUQK+y5sOFh4QwBlGIQZuMrphP3d4sVwUPKfrMuhuZy
Y9a7iTLjSE0DVXmWGIcSVGzr2cy31Qt2zWWjQzInFXJrMf13QJzDeUeuifVUHlOd
AR86wS6gR9Wzcg4+ZpjxvlN9u5HbwT9NVr3tATR/w/asx08RYtx3iyp9mGJNjOM+
FSSM1LYYxF8AGYKBrCVoIU2DqxiQmU19hX2pg1hXLM7+c/5vTEAmFY59HQlE42Mj
Q1jt9YEpE51STAM8Er64MjVrr7DhH6kI0R3tLe1w6BbGl6aIZvjvx6i/JvxhFXrq
BED0U4WFKapTAflXVqifz7efIYYk2h2iVhyUdHWTE6RmMpSP1cZHscySV+Hjkz41
OhacaHfsbhbYwJDnCsFeQz8VrEaU0oLovDCJ8w14HZaHSet/v3uBX3Al6n9TiPdK
gYJP5zjkevwUZ6iEhZAbwP/38MMt0cuGWz3A+GvY3bProuMHCGVFH29SpKhG5xWr
w/wimXHhf2CJZ0LwtFYb58mdcZUhyi8CbnuehcPUbhQEKsT1T3k/bdbwvLxCmD7H
8pgN2XX7vUJbt8yP1LUYbU1dR8mSZGR695H0wpdWnLrvx6zqysQ=
=OEPS
-----END PGP SIGNATURE-----
--- End Message ---