Your message dated Tue, 31 Jan 2023 12:22:18 +0000
with message-id <[email protected]>
and subject line Bug#1030054: fixed in kitty 0.26.5-4
has caused the Debian Bug report #1030054,
regarding kitty: build-time test failures in some environments
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.)


-- 
1030054: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1030054
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: kitty
Version: 0.26.5-2
User: [email protected]
Usertags: origin-ubuntu lunar

Hi James,

Since version 0.26.5, kitty has been failing to build from source on Ubuntu
with test failures, even though it builds fine on Debian:

[...]
======================================================================
ERROR: test_ssh_shell_integration (kitty_tests.ssh.SSHKitten)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/ssh.py", line 239, in 
test_ssh_shell_integration
    pty.wait_till(lambda: 'kitty=fruity' in pty.screen_contents())
    login_shell = 'bash'
    num_lines = 2
    ok_login_shell = 'bash'
    pty = <kitty_tests.PTY object at 0x7fd0c5712620>
    self = <kitty_tests.ssh.SSHKitten testMethod=test_ssh_shell_integration>
    sh = 'dash'
    tdir = '/tmp/tmpct5s6c0x'
    val = ''
  File "/<<PKGBUILDDIR>>/kitty/launcher/../../kitty_tests/__init__.py", line 
297, in wait_till
    raise TimeoutError(f'The condition was not met. Screen contents: \n 
{repr(self.screen_contents())}')
    end_time = 1963.133780143
    q = <function SSHKitten.test_ssh_shell_integration.<locals>.<lambda> at 
0x7fd0c33475b0>
    self = <kitty_tests.PTY object at 0x7fd0c5712620>
TimeoutError: The condition was not met. Screen contents: 
 'UNTAR_DONE\nbuildd@lcy02-amd64-004:~$ echo 
"$TERM=fruity"\nunknown=fruity\nbuildd@lcy02-amd64-004:~$ '

[...]

  (https://launchpad.net/ubuntu/+source/kitty/0.26.5-2/+build/25419959)

It appears this works in Debian but not in Ubuntu because Debian's builders
have an empty $TERM in the build environment, whereas Ubuntu has it set by
default to 'unknown' (as shown above).  But if I build this in either a
Debian or Ubuntu chroot locally, the test fails because of a non-empty TERM
in the environment, causing this test to fail.

Since this only concerns the behavior of a test rather than a problem with
the package's code, it seems the appropriate fix is to set TERM= in the
environment when calling the tests.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
[email protected]                                     [email protected]

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Source: kitty
Source-Version: 0.26.5-4
Done: James McCoy <[email protected]>

We believe that the bug you reported is fixed in the latest version of
kitty, 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.
James McCoy <[email protected]> (supplier of updated kitty 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: Tue, 31 Jan 2023 06:09:41 -0500
Source: kitty
Architecture: source
Version: 0.26.5-4
Distribution: unstable
Urgency: medium
Maintainer: James McCoy <[email protected]>
Changed-By: James McCoy <[email protected]>
Closes: 1030054
Changes:
 kitty (0.26.5-4) unstable; urgency=medium
 .
   * Backport test fix when $TERM is set to non-kitty value (Closes: #1030054)
   * Lintian
     - Replace libfontconfig1-dev B-D with libfontconfig-dev
     - Replace libfreetype6-dev B-D with libfreetype-dev
     - Replace libgl1-mesa-dev B-D with libgl-dev and libglvnd-dev
Checksums-Sha1:
 a378da7870b2698a827b22f6a45d29d2d0a64f51 2824 kitty_0.26.5-4.dsc
 ac991ea4e37a5fb3f52d80bfaf07c63c71ebbda1 18676 kitty_0.26.5-4.debian.tar.xz
Checksums-Sha256:
 efad5425993dee3a0e24eed4b5d00e5c393a0c385c5c0d0d3875848209db2983 2824 
kitty_0.26.5-4.dsc
 c9835bd6103e89724ca56bb7e99b004cb0bc13869e604da812793084343a7483 18676 
kitty_0.26.5-4.debian.tar.xz
Files:
 04d497c15e1f2555309dc4b35a4782f1 2824 x11 optional kitty_0.26.5-4.dsc
 c283c6208a87fba9df8306abb86ffddb 18676 x11 optional 
kitty_0.26.5-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKoBAEBCgCSFiEEkb+/TWlWvV33ty0j3+aRrjMbo9sFAmPY/k9fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDkx
QkZCRjRENjk1NkJENURGN0I3MkQyM0RGRTY5MUFFMzMxQkEzREIUHGphbWVzc2Fu
QGRlYmlhbi5vcmcACgkQ3+aRrjMbo9tQ2hAAoWpIXTuGbiYEJxqT7Niq9jSAsKX6
JTTGldfpxR2MxWNTPemo9A6LuXpTu04GxbNOQmOGe56eha/8aMj4rkFxv67qO4BF
O7U7KOSpgNCp3u7YHNNgO8v8t1p5M7i3g8uLqB1Ok66iwAT0EyxpunvSNAQT8O1p
8pJymJSB97ELfA292BvG5lZgp5QKNNPsCEu4ZNHzcb5+BQyVzEiznq7JkLx2EnV1
UaxsphKGoSfWxfoIXAAXCnqUq039caundcrVRYuVsnxX79US7KybJj9B0hQcnqPe
XFxpHmnAPpPdWYbc+SHdd/BZ5ARe8/yK6dYrKP0HqCgp9ub4AYT/WFqEsizfcmV8
Quh2fwRuG5HSwBs+vmySNCqveu8PKmlCQeLEFTzaEdaC/ynli4gFtv2fexcbZMu+
b8jBb3b9ppbEA98VPokMa/C24RKJ5FrWWyi1QsG/3304fnidncOvEFnBLNKw8KUf
dgQlBr1RAHvw5FVVhdGoIbStvqnGU90T2TcthHK1nBxWYwaemhePBT0Ir8nsZpGX
Z/k1oe9MZpzD231vEmBanSV7KltskCXtFR0fRdmaWgwR8m5F3aajSQ3f4fr0Wcmi
J2C5FYNgGtHEyAfhRPWjYXnOY+bzmtu4J6AXlNxxSZwJ3c4XUma3EbWuRO3/AqgK
MkRiDwEJgjrEbk4=
=oJbN
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to