Debian Bug report logs - #742362
bash-completion: Bash completion no longer loads from /etc/profile.d/bash_completion.sh

version graph

Package: bash-completion; Maintainer for bash-completion is Gabriel F. T. Gomes <gabriel@debian.org>; Source for bash-completion is src:bash-completion (PTS, buildd, popcon).

Reported by: Jason Rhinelander <jason@imaginary.ca>

Date: Sat, 22 Mar 2014 20:39:02 UTC

Severity: important

Found in version bash-completion/1:2.1-3

Fixed in version bash-completion/1:2.1-4

Done: David Paleino <dapal@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>:
Bug#742362; Package bash-completion. (Sat, 22 Mar 2014 20:39:06 GMT) (full text, mbox, link).


Acknowledgement sent to Jason Rhinelander <jason@imaginary.ca>:
New Bug report received and forwarded. Copy sent to Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>. (Sat, 22 Mar 2014 20:39:06 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Jason Rhinelander <jason@imaginary.ca>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: bash-completion: Bash completion no longer loads from /etc/profile.d/bash_completion.sh
Date: Sat, 22 Mar 2014 16:28:47 -0400
Package: bash-completion
Version: 1:2.1-3
Severity: important

Dear Maintainer,

bash-completion 2.1-3 includes a fix for bug 741657, but the fix is
broken: it prevents /etc/profile.d/bash_completion.sh from loading
bash_completion at all.

The problem is that this line:

    if [ -n "$BASH_VERSION" -a -n "$PS1" -a "$BASH_COMPLETION_COMPAT_DIR" ]; then

is missing a "-z" before checking the $BASH_COMPLETION_COMPAT_DIR
variable.  Note that the upstream change referenced in 741657 (
http://anonscm.debian.org/gitweb/?p=bash-completion/bash-completion.git;a=commitdiff;h=867282a
) correctly includes the -z, but
debian/patches/11-dont_return_from_sourced_script.patch is missing it.


-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages bash-completion depends on:
ii  bash  4.3-4
ii  dpkg  1.17.6

bash-completion recommends no packages.

bash-completion suggests no packages.

-- no debconf information



Reply sent to David Paleino <dapal@debian.org>:
You have taken responsibility. (Sat, 22 Mar 2014 21:21:15 GMT) (full text, mbox, link).


Notification sent to Jason Rhinelander <jason@imaginary.ca>:
Bug acknowledged by developer. (Sat, 22 Mar 2014 21:21:15 GMT) (full text, mbox, link).


Message #10 received at 742362-close@bugs.debian.org (full text, mbox, reply):

From: David Paleino <dapal@debian.org>
To: 742362-close@bugs.debian.org
Subject: Bug#742362: fixed in bash-completion 1:2.1-4
Date: Sat, 22 Mar 2014 21:19:03 +0000
Source: bash-completion
Source-Version: 1:2.1-4

We believe that the bug you reported is fixed in the latest version of
bash-completion, 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 742362@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
David Paleino <dapal@debian.org> (supplier of updated bash-completion 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 ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 22 Mar 2014 21:57:39 +0100
Source: bash-completion
Binary: bash-completion
Architecture: source all
Version: 1:2.1-4
Distribution: unstable
Urgency: medium
Maintainer: Bash Completion Maintainers <bash-completion-devel@lists.alioth.debian.org>
Changed-By: David Paleino <dapal@debian.org>
Description: 
 bash-completion - programmable completion for the bash shell
Closes: 742362
Changes: 
 bash-completion (1:2.1-4) unstable; urgency=medium
 .
   * Fix dont_return_from_sourced_script.patch: typo during the patch
     backport (Closes: #742362)
Checksums-Sha1: 
 469b1e6f9fa41d6b4b27d61a56b03fad9f9a8e64 1377 bash-completion_2.1-4.dsc
 b6730161a33f4f3f6ac6731c95f2fd999b8fea64 19436 bash-completion_2.1-4.debian.tar.xz
 51aad0d5d68e56fb6473ab9890bd1d460fedb45f 182056 bash-completion_2.1-4_all.deb
Checksums-Sha256: 
 cb94b264cb1c1ff898fc5c509913117ff23bdcc548d93d8b198ed1e52d186959 1377 bash-completion_2.1-4.dsc
 563a68eb32dcb3ecf9e961c55f2b34c5ad517aa856da13e056d05083630cb3e3 19436 bash-completion_2.1-4.debian.tar.xz
 8a4ee12a4ce9cbdfaf13c6bc4ceed1d216c9ec0e399fc01bac8babc909154ae6 182056 bash-completion_2.1-4_all.deb
Files: 
 a01e831d5176eedfbc95f90bff6bce0b 1377 shells standard bash-completion_2.1-4.dsc
 6497aa7f56c373b0b14f556a071f2714 19436 shells standard bash-completion_2.1-4.debian.tar.xz
 a68a8bf31f07ded1f284721e78cd5bd7 182056 shells standard bash-completion_2.1-4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlMt+e0ACgkQ5qqQFxOSsXSp6QCfUXmkYEvjOBoSGAGki03rRmEv
UtcAnR+IiyY4B/rCgxDPSFGdGCAdovC0
=fzwW
-----END PGP SIGNATURE-----




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 20 Apr 2014 07:29:58 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sun Jul 2 09:32:53 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.