Your message dated Wed, 07 Nov 2018 06:35:27 +0000
with message-id <[email protected]>
and subject line Bug#895155: fixed in shelldap 1.4.0-3
has caused the Debian Bug report #895155,
regarding shelldap: autopkgtest fails with TERM=dumb/TERM=unknown
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.)
--
895155: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=895155
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: shelldap
Version: 1.4.0-2
Severity: normal
Tags: patch
User: [email protected]
Usertags: origin-ubuntu bionic ubuntu-patch autopkgtest
Dear Salvatore,
Since version 1.35-2, libterm-readline-gnu-perl deliberately refuses to run
when $TERM is set to 'dumb' or 'unknown', on the grounds that readline is a
terminal technology and dumb/unknown indicates there is no properly
configured terminal, so it's better to abort and let callers fall back to
other interfaces (bug #166987).
However, when autopkgtests are run on automated infrastructure, they quite
reasonably run without a terminal; so the shelldap autopkgtest now fails:
autopkgtest [19:56:24]: test smoke-test: [-----------------------
TESTING: shelldap --version
Use of uninitialized value $ENV{"TERM"} in pattern match (m//) at
/usr/lib/x86_64-linux-gnu/perl5/5.26/Term/ReadLine/Gnu.pm line 86.
autopkgtest [19:56:25]: test smoke-test: -----------------------]
autopkgtest [19:56:25]: test smoke-test: - - - - - - - - - - results - - - - -
- - - - -
smoke-test FAIL stderr: Use of uninitialized value $ENV{"TERM"} in
pattern match (m//) at
/usr/lib/x86_64-linux-gnu/perl5/5.26/Term/ReadLine/Gnu.pm line 86.
autopkgtest [19:56:25]: test smoke-test: - - - - - - - - - - stderr - - - - -
- - - - -
Use of uninitialized value $ENV{"TERM"} in pattern match (m//) at
/usr/lib/x86_64-linux-gnu/perl5/5.26/Term/ReadLine/Gnu.pm line 86.
https://ci.debian.net/packages/s/shelldap/unstable/amd64/
The error message here is a bug in libterm-readline-gnu-perl, which should
handle the case of TERM not being set in the environment at all; but even
fixing libterm-readline-gnu-perl, shelldap's autopkgtest would still fail
with:
$ TERM=unknown ./debian/tests/smoke-test > /dev/null
Term::ReadLine::Gnu not installed.
Continuing, but shelldap is of limited usefulness without it.
$
(this output is on stderr, which is not allowed by default in autopkgtests.)
The simplest solution for shelldap is to set a sensible $TERM in its
autopkgtest before calling. The attached patch which implements this has
been uploaded to Ubuntu, to fix the bug there. (Unfortunately autopkgtest
regressions are not considered blockers for release in Debian, but they are
in Ubuntu.)
Please consider including this patch in Debian as well.
Cheers,
--
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 http://www.debian.org/
[email protected] [email protected]
diff -Nru shelldap-1.4.0/debian/tests/smoke-test
shelldap-1.4.0/debian/tests/smoke-test
--- shelldap-1.4.0/debian/tests/smoke-test 2017-06-17 11:46:43.000000000
-0700
+++ shelldap-1.4.0/debian/tests/smoke-test 2018-04-07 13:53:17.000000000
-0700
@@ -4,4 +4,4 @@
# ----------------------------------------------------------------------
echo TESTING: shelldap --version
-shelldap --version | ( ! grep -vE '^shelldap [0-9a-z.+-:~]+$' )
+TERM=xterm shelldap --version | ( ! grep -vE '^shelldap [0-9a-z.+-:~]+$' )
--- End Message ---
--- Begin Message ---
Source: shelldap
Source-Version: 1.4.0-3
We believe that the bug you reported is fixed in the latest version of
shelldap, 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.
Salvatore Bonaccorso <[email protected]> (supplier of updated shelldap 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, 07 Nov 2018 07:17:15 +0100
Source: shelldap
Binary: shelldap
Architecture: source
Version: 1.4.0-3
Distribution: unstable
Urgency: medium
Maintainer: Salvatore Bonaccorso <[email protected]>
Changed-By: Salvatore Bonaccorso <[email protected]>
Closes: 895155
Description:
shelldap - shell-like interface for browsing LDAP servers and editing their
Changes:
shelldap (1.4.0-3) unstable; urgency=medium
.
* Update Vcs-* fields for switch to salsa.debian.org
* Add an initial Gitlab CI config file
* debian/.gitlab-ci.yml: Update image used for Gitlab CI
* Update .gitlab-ci.yml based on Salsa CI Team's template
* GitLab CI/Lintian: install dpkg-dev, that ships dpkg-architecture, needed
to run some Lintian checks
* Set TERM=xterm in smoke-test autopkgtest.
Thanks to Steve Langasek (Closes: #895155)
* Fix wrong path for interpreter for installed shelldap
* Set Rules-Requires-Root to no
* debian/watch: Use @PACKAGE@, @ANY_VERSION@ and @ARCHIVE_EXT@ substitutions
* Bump Debhelper compat level to 11
* Update copyright years for debian/* packaging files
* Declare compliance with Debian policy 4.2.1
Checksums-Sha1:
c0749e611607edcf53763605c21e0755503e2728 2025 shelldap_1.4.0-3.dsc
57fc53aaf7509773029123b4d587102cfa1950cd 5308 shelldap_1.4.0-3.debian.tar.xz
Checksums-Sha256:
6b3aa795fef56d2edf12ba72959fc07b56b6a9ce4234c2a354feb9ad9f294127 2025
shelldap_1.4.0-3.dsc
fb68c3699044ef9fdd9933d7319346bd566bc34f2cb85bd1f777d79bc0376a75 5308
shelldap_1.4.0-3.debian.tar.xz
Files:
da0e9767f0186410902b1fba4c294cd0 2025 utils optional shelldap_1.4.0-3.dsc
5d3c3fff62e6f99d9d29968318abc774 5308 utils optional
shelldap_1.4.0-3.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQKmBAEBCgCQFiEERkRAmAjBceBVMd3uBUy48xNDz0QFAlvihFJfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDQ2
NDQ0MDk4MDhDMTcxRTA1NTMxRERFRTA1NENCOEYzMTM0M0NGNDQSHGNhcm5pbEBk
ZWJpYW4ub3JnAAoJEAVMuPMTQ89EjN4P/A2Jc8SKHWUvmcjn2SO9sLO/CRXGNj0P
Tv2KqFrT9hFjtF7qH3gZlMP8pLUqNvaa5ahYG7XNpeSMvyHdU6cgZj9VwcxlYr6d
ZtI/PgVXVFfjcSbm6QvnLLV5GLbVIHYNJRuuV/x5fw1UGKaozKRou5TIRtDIfWIZ
2NYRjYbYJ+B9GE2R6sSL1u4m2tkTnVqYpJFInHuEPxxRF7XeC1JBnc5P0VI4an0T
C3SwWph26QXqSIfsGa0FuKssrb2lDb1EjISE4Ze6n5phpCUuu6NWGvFnCXzxIr68
AzfJPA5NW48H4HuV42HlbbpojYZ2Sq5/p5yhXVyVDoB1Qm7furnYViBX2H9BMS1W
KmsirnZom8EYDvK5V3uS+YhAdWsATj8j+IKziFFab5Cx3bCzu0aYK0Xo0tCGxtVo
zZCMbHOVuR0jnB+lFW8CK7Hj36wg/n81PR+K7N8btnHPJW7e/e0prjzCn8lGxmOo
BXFAx8xX5dJw+JYBlmJb2CPFAQWx569fDgYORmrTr4PKp/Sl/su+EjFACHXKO06U
zFqQuA1dW2JS6ZrNGtjjgwqAxVm5tHPU/owKe+IqE6mm6VdL6kxWVwB778kDM+fJ
j35yVPWqPComJo0X57YyjzWi6BBz9zO0sDA3GVfe1tAmphyLH/rzV9ymFgKuzDPZ
G1pkSK5H+s1h
=vl2s
-----END PGP SIGNATURE-----
--- End Message ---