From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 17 05:52:44 2017 Received: (at submit) by debbugs.gnu.org; 17 Jan 2017 10:52:44 +0000 Received: from localhost ([127.0.0.1]:56129 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTRNb-000124-Tk for submit@debbugs.gnu.org; Tue, 17 Jan 2017 05:52:44 -0500 Received: from eggs.gnu.org ([208.118.235.92]:53857) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cTRNZ-00011r-Kn for submit@debbugs.gnu.org; Tue, 17 Jan 2017 05:52:42 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTRNT-0002aw-GX for submit@debbugs.gnu.org; Tue, 17 Jan 2017 05:52:36 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_40 autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:41417) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTRNT-0002as-Dj for submit@debbugs.gnu.org; Tue, 17 Jan 2017 05:52:35 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44827) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cTRNS-0001yT-5E for bug-guix@gnu.org; Tue, 17 Jan 2017 05:52:35 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cTRNN-0002XC-9d for bug-guix@gnu.org; Tue, 17 Jan 2017 05:52:34 -0500 Received: from aibo.runbox.com ([91.220.196.211]:58056) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1cTRNN-0002Ws-2C for bug-guix@gnu.org; Tue, 17 Jan 2017 05:52:29 -0500 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by bars.runbox.com with esmtp (Exim 4.71) (envelope-from ) id 1cTRNJ-0005NV-GZ for bug-guix@gnu.org; Tue, 17 Jan 2017 11:52:25 +0100 Received: from [93.115.241.194] (helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1cTRMm-0000gD-9f for bug-guix@gnu.org; Tue, 17 Jan 2017 11:51:52 +0100 From: ng0 To: bug-guix@gnu.org Subject: Fish: some script is broken Date: Tue, 17 Jan 2017 10:51:48 +0000 Message-ID: <87eg02ot6j.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit 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: -5.0 (-----) Seems like a feature of our fish is currently broken, this is at the first start, just after guix package -i fish (and no config files present, all sitting in backups): > fish fish: Unknown command 'python -B /gnu/store/f80pivij8kfn1r49k2a3194kic3yhv7g-fish-2.4.0/share/fish/tools/create_manpage_completions.py --manpath --progress --cleanup-in ~/.config/fish/completions --cleanup-in ~/.config/fish/generated_completions' /gnu/store/f80pivij8kfn1r49k2a3194kic3yhv7g-fish-2.4.0/share/fish/functions/fish_update_completions.fish (line 2): python -B $__fish_datadir/tools/create_manpage_completions.py --manpath --progress --cleanup-in '~/.config/fish/completions' --cleanup-in '~/.config/fish/generated_completions' ^ in function 'fish_update_completions' called on standard input -- ♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/ From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 21 12:31:40 2017 Received: (at 25467) by debbugs.gnu.org; 21 Jan 2017 17:31:40 +0000 Received: from localhost ([127.0.0.1]:37704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUzVs-0005gV-Gn for submit@debbugs.gnu.org; Sat, 21 Jan 2017 12:31:40 -0500 Received: from perdizione.investici.org ([94.23.50.208]:63453) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cUzDy-0005Eg-JH for 25467@debbugs.gnu.org; Sat, 21 Jan 2017 12:13:11 -0500 Received: from [94.23.50.208] (perdizione [94.23.50.208]) (Authenticated sender: niasterisk@grrlz.net) by localhost (Postfix) with ESMTPSA id 9153E1200ED for <25467@debbugs.gnu.org>; Sat, 21 Jan 2017 17:13:07 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cryptolab.net; s=stigmate; t=1485018789; bh=PPx1jUFkynvhq6Ad8XViv3tXlvGlqd4Px3qfUmjy2eY=; h=From:To:Subject:In-Reply-To:References:Date; b=sqi9Ul2XaYo8+J2+imGVeSjmLqlmb9CKeOEeXWNKBGNDWbsBL/oEZEpqbFvEXenHm MJv1wPpPfxw/KDfoPkdJKapAeKV6VChtcrqKUgo83UI6j/V900bQUG5PpnNl1mrR0P gOeqWJ/SRWT2nPE1TtBBRT7ehuwnmrj+IvTHoGWA= From: ng0 To: 25467@debbugs.gnu.org Subject: Re: bug#25467: Acknowledgement (Fish: some script is broken) In-Reply-To: References: <87eg02ot6j.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Date: Sat, 21 Jan 2017 17:14:06 +0000 Message-ID: <87o9z0gwtd.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 25467 X-Mailman-Approved-At: Sat, 21 Jan 2017 12:31:38 -0500 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: 0.0 (/) FYI: The script which fails is the one which generates completions from man pages. As our location of manpages differs, we need some approach to patch this. -- ♥Ⓐ ng0 -- https://www.inventati.org/patternsinthechaos/ From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 21 17:04:26 2017 Received: (at 25467) by debbugs.gnu.org; 21 Jan 2017 22:04:26 +0000 Received: from localhost ([127.0.0.1]:37790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cV3ll-0003dT-Gm for submit@debbugs.gnu.org; Sat, 21 Jan 2017 17:04:26 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cV3lj-0003dK-1r for 25467@debbugs.gnu.org; Sat, 21 Jan 2017 17:04:19 -0500 Received: from localhost (x4d0cc4a9.dyn.telefonica.de [77.12.196.169]) by mx.zohomail.com with SMTPS id 1485036253610252.31926849475553; Sat, 21 Jan 2017 14:04:13 -0800 (PST) References: <87eg02ot6j.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> <87o9z0gwtd.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> User-agent: mu4e 0.9.18; emacs 25.1.1 From: Ricardo Wurmus To: ng0 Subject: Re: bug#25467: Acknowledgement (Fish: some script is broken) In-reply-to: <87o9z0gwtd.fsf@wasp.i-did-not-set--mail-host-address--so-tickle-me> Date: Sat, 21 Jan 2017 23:04:08 +0100 Message-ID: <871svwgjdz.fsf@elephly.net> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 25467 Cc: 25467@debbugs.gnu.org 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: 1.0 (+) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ng0 writes: > FYI: > The script which fails is the one which generates completions > from man pages. As our location of manpages differs, we need some > approach to patch this. I don=E2=80=99t think this is true. Fish seems to fail to find =E2=80=9Cpy= thon=E2=80=9D. The error disappears in an environment where =E2=80=9Cpython-wrapper=E2=80=9D i= s available. A fix would involve replacing the call to =E2=80=9Cpython=E2=80=9D with the= full path to the =E2=80=9Cpython=E2=80=9D executable. Here=E2=80=99s a patch: --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-gnu-fish-Embed-full-path-to-Python.patch Content-Transfer-Encoding: quoted-printable >From dbc045eb338b7e70645ed19be71d8e761762c738 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Sat, 21 Jan 2017 22:57:12 +0100 Subject: [PATCH] gnu: fish: Embed full path to Python. Fixes . * gnu/packages/shells.scm (fish)[arguments]: Rename phase "patch-bc" to "embed-store-paths"; embed full path to Python. --- gnu/packages/shells.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/shells.scm b/gnu/packages/shells.scm index 5237e8120..16c76ef66 100644 --- a/gnu/packages/shells.scm +++ b/gnu/packages/shells.scm @@ -5,6 +5,7 @@ ;;; Copyright =C2=A9 2015 Jeff Mickey ;;; Copyright =C2=A9 2016 Tobias Geerinckx-Rice ;;; Copyright =C2=A9 2016 Stefan Reich=C3=B6r +;;; Copyright =C2=A9 2017 Ricardo Wurmus ;;; ;;; This file is part of GNU Guix. ;;; @@ -106,14 +107,17 @@ direct descendant of NetBSD's Almquist Shell (@comman= d{ash}).") #:configure-flags '("--sysconfdir=3D/etc") #:phases (modify-phases %standard-phases - ;; Replace 'bc' by its absolute file name in the store. - (add-after 'unpack 'patch-bc + ;; Embed absolute paths to store items. + (add-after 'unpack 'embed-store-paths (lambda* (#:key inputs outputs #:allow-other-keys) (substitute* '("share/functions/math.fish" "share/functions/seq.fish") (("\\| bc") (string-append "| " (assoc-ref %build-inputs "bc") - "/bin/bc")))))))) + "/bin/bc"))) + (substitute* "share/functions/fish_update_completions.fish" + (("python") (which "python"))) + #t))))) (synopsis "The friendly interactive shell") (description "Fish (friendly interactive shell) is a shell focused on interactive = use, --=20 2.11.0 --=-=-= Content-Type: text/plain -- Ricardo GPG: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC https://elephly.net --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Jan 22 04:20:57 2017 Received: (at 25467-done) by debbugs.gnu.org; 22 Jan 2017 09:20:57 +0000 Received: from localhost ([127.0.0.1]:37930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVEKX-0002iO-Bw for submit@debbugs.gnu.org; Sun, 22 Jan 2017 04:20:57 -0500 Received: from sender163-mail.zoho.com ([74.201.84.163]:21089) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cVEKV-0002iG-GJ for 25467-done@debbugs.gnu.org; Sun, 22 Jan 2017 04:20:56 -0500 Received: from localhost (xd9ba26ac.dyn.telefonica.de [217.186.38.172]) by mx.zohomail.com with SMTPS id 1485076850884744.2426780465015; Sun, 22 Jan 2017 01:20:50 -0800 (PST) User-agent: mu4e 0.9.18; emacs 25.1.1 From: Ricardo Wurmus To: 25467-done@debbugs.gnu.org Subject: Fixed Date: Sun, 22 Jan 2017 10:20:47 +0100 Message-ID: <87ziijfo28.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.2 (/) X-Debbugs-Envelope-To: 25467-done 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: -0.2 (/) Fixed as of 79f3e82bd. -- Ricardo From unknown Sat Aug 16 11:41:34 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 19 Feb 2017 12:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator