GNU bug report logs - #53404
Bash completions provided by nvme-cli producing syntax error

Previous Next

Package: guix;

Reported by: elaexuotee <at> wilsonb.com

Date: Fri, 21 Jan 2022 02:58:02 UTC

Severity: normal

To reply to this bug, email your comments to 53404 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

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


Report forwarded to bug-guix <at> gnu.org:
bug#53404; Package guix. (Fri, 21 Jan 2022 02:58:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to elaexuotee <at> wilsonb.com:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Fri, 21 Jan 2022 02:58:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: elaexuotee <at> wilsonb.com
To: bug-guix <at> gnu.org
Subject: Bash completions provided by nvme-cli producing syntax error
Date: Fri, 21 Jan 2022 11:57:44 +0900
Hello Guix,

Installing nvme-cli into my user profile causes the following error to show at
bash login:

    bash: 'intel': syntax error: operand expected (error token is "'intel'")

Starting bash with xtrace enabled places the error at
share/bash-completion/completions/nvme:11:

    readonly _plugin_subcmds=(
    	[intel]="id-ctrl internal-log lat-stats \
    		set-bucket-thresholds lat-stats-tracking \
    ...

With a cursory glance, that looks like perfectly valid bash. Sourcing the file
directly produces a different set of errors:

$ guix shell --pure nvme-cli
bash-5.1$ source /gnu/store/z3jasjly9s8lmb7scwqbsqfxd0cj5a26-profile/share/bash-completion/completions/nvme
bash: supported-log-pages: command not found
bash: --clear-host-side-blks: command not found
bash: /gnu/store/z3jasjly9s8lmb7scwqbsqfxd0cj5a26-profile/share/bash-completion/completions/nvme: line 1387: unexpected EOF while looking for matching `"'
bash: /gnu/store/z3jasjly9s8lmb7scwqbsqfxd0cj5a26-profile/share/bash-completion/completions/nvme: line 1406: syntax error: unexpected end of file

Is anyone else seeing the original error?

Unrelated, but I also notice that the outputs contain dracut definitions. Might
be worth tightening this package up a little?

Cheers,
B. Wilson




This bug report was last modified 2 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.