From unknown Sat Jun 14 19:12:46 2025 X-Loop: help-debbugs@gnu.org Subject: bug#53404: Bash completions provided by nvme-cli producing syntax error Resent-From: elaexuotee@wilsonb.com Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 21 Jan 2022 02:58:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 53404 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 53404@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.164273383712645 (code B ref -1); Fri, 21 Jan 2022 02:58:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jan 2022 02:57:17 +0000 Received: from localhost ([127.0.0.1]:59769 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAk73-0003Ht-6N for submit@debbugs.gnu.org; Thu, 20 Jan 2022 21:57:17 -0500 Received: from lists.gnu.org ([209.51.188.17]:37524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nAk71-0003Hl-Qc for submit@debbugs.gnu.org; Thu, 20 Jan 2022 21:57:16 -0500 Received: from eggs.gnu.org ([209.51.188.92]:45486) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nAk71-0006lD-AS for bug-guix@gnu.org; Thu, 20 Jan 2022 21:57:15 -0500 Received: from m42-5.mailgun.net ([69.72.42.5]:52455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nAk6y-0007C4-I7 for bug-guix@gnu.org; Thu, 20 Jan 2022 21:57:14 -0500 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.wilsonb.com; q=dns/txt; s=krs; t=1642733830; h=Content-Transfer-Encoding: Content-Type: MIME-Version: Message-Id: Subject: From: To: Date: Sender; bh=HJTviS6MYuoTOSQQYDZvlwU4C96dRaEkOXppd70mue8=; b=zwLuX12JHsisNwQEkRzu4Xr5IG+QU9uDdQVi47s8DYVh3XIDuYNKu1WeAtMJYV6qGb+uexc4 5FDtqcpto81TUkleCnuOYFFnHs9HN9p3Mu/kxiWWJwcDHeBijR0zm+aQH7tsIyqz0q3Jsgx/ +Or2tS3J4R/2CcMXAwaAEl83v/8IPM3yTWpqubjm+9I8rF/lzsQy4gvu30xHfjWoQHp+r8dC iDLm9Fny59RzYZ7/iVuVuyf+m2Ak/g/ZUE6tUSLsZEOVMDYuKsFgXaiGsjE59Y0ET3I7DijJ pjqgjhnzJHu2fRu4s7iMtP5IAoPY2BGOTjheF9+8wzhH5Kq+G2uy6w== X-Mailgun-Sending-Ip: 69.72.42.5 X-Mailgun-Sid: WyJkMDM0YyIsICJidWctZ3VpeEBnbnUub3JnIiwgIjA4NTQ3YSJd Received: from wilsonb.com (wilsonb.com [104.199.203.42]) by smtp-out-n04.prod.us-west-2.postgun.com with SMTP id 61ea21057e1ee9b1c188adf8 (version=TLS1.3, cipher=TLS_AES_128_GCM_SHA256); Fri, 21 Jan 2022 02:57:09 GMT Received: from localhost (q045100.dynamic.ppp.asahi-net.or.jp [203.181.45.100]) by wilsonb.com (Postfix) with ESMTPSA id 71578A04C3 for ; Fri, 21 Jan 2022 02:57:04 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wilsonb.com; s=201703; t=1642733825; bh=HJTviS6MYuoTOSQQYDZvlwU4C96dRaEkOXppd70mue8=; h=Date:To:From:Subject:From; b=kZM7L+rVOXsk93Ep7S6BXfUKwzQgSmjDzuYYXlXEeXOQ2fsQKRVz4R0dQ+BLOu3Ir EQjbqXxmjLH8iHVNE77tLSuNSZ0N05y4/aZ8lD4WS7bDDVK0QuOXCcFKNQKmpFF3IM K49Q0nE/bZWrsfPftxUa2IgW3E0qqBts7dmuiq+wTz+UPqZw0DgaqhKepM0P4Ns2Ow I2RYzOzSuFfKa5g5PzaVzsuJ3YRG40hwsauD9k2YG9/xqXCluT2yPSX/zByy6S8vB6 tfcftqA2h945LEL5jgHg637V1YfiDSDuRImmfolStZfd0Jg6rp2zEl+axkYYtcU9SQ hE65kGRNy/7KFN5lw8Uc9g5LwEtumYKH6h5ckK2GMXGme4jr01Cqvw6tYI6SlL92zC gEFuCuD+BY/0tsJNp/Q7/QrqIkmJw20zP361MuiNy4X9y/6nDGsur5YuA0xBTjRALO AkxZRJl8XW5odlK2y28vUVeq/GbmpggJw7WKCDLlNpP11lSkz8HD1sW4hLZ/OfBegN PfTVete+npAvbaqyfdm3yN5YT2WE6KdMvqp01gQeZrUxeFzKPNdw+VkKBC4UhsZfUv FDEghGRjGEOgUTfDyb6x+g+kdRssL+oLoElxZyg3kO7st4H+AixLMbdNRL3RaWmTr/ hISaKdDYPm9+lGvHoYg91JuU= Date: Fri, 21 Jan 2022 11:57:44 +0900 From: elaexuotee@wilsonb.com Message-Id: <30KYCNRKNXCTW.2WCA6W5H9EJOC@wilsonb.com> User-Agent: mblaze/1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=69.72.42.5; envelope-from=bounce+7434c3.08547a-bug-guix=gnu.org@mg.wilsonb.com; helo=m42-5.mailgun.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) 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=3D( [intel]=3D"id-ctrl internal-log lat-stats \ set-bucket-thresholds lat-stats-tracking \ ... With a cursory glance, that looks like perfectly valid bash. Sourcing the f= ile 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-comple= tion/completions/nvme: line 1387: unexpected EOF while looking for matching= `"' bash: /gnu/store/z3jasjly9s8lmb7scwqbsqfxd0cj5a26-profile/share/bash-comple= tion/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. M= ight be worth tightening this package up a little? Cheers, B. Wilson