From unknown Sun Jun 15 09:00:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41666: $INFOPATH should end with a colon Resent-From: Jonas Bernoulli Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Jun 2020 17:46:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 41666 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 41666@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.159111995013187 (code B ref -1); Tue, 02 Jun 2020 17:46:01 +0000 Received: (at submit) by debbugs.gnu.org; 2 Jun 2020 17:45:50 +0000 Received: from localhost ([127.0.0.1]:40856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgAz0-0003Qd-E4 for submit@debbugs.gnu.org; Tue, 02 Jun 2020 13:45:50 -0400 Received: from lists.gnu.org ([209.51.188.17]:52554) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgAyz-0003QW-8B for submit@debbugs.gnu.org; Tue, 02 Jun 2020 13:45:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45862) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgAyz-0005oo-0a for bug-guix@gnu.org; Tue, 02 Jun 2020 13:45:49 -0400 Received: from mail.hostpark.net ([212.243.197.30]:54426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jgAyy-0007WO-0N for bug-guix@gnu.org; Tue, 02 Jun 2020 13:45:48 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.hostpark.net (Postfix) with ESMTP id 29621167AC for ; Tue, 2 Jun 2020 19:45:43 +0200 (CEST) X-Virus-Scanned: by Hostpark/NetZone Mailprotection at hostpark.net Received: from mail.hostpark.net ([127.0.0.1]) by localhost (mail1.hostpark.net [127.0.0.1]) (amavisd-new, port 10124) with ESMTP id 3LQM1FIKJP9y for ; Tue, 2 Jun 2020 19:45:14 +0200 (CEST) Received: from customer (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.hostpark.net (Postfix) with ESMTPSA id 2A68D167BD for ; Tue, 2 Jun 2020 19:44:18 +0200 (CEST) From: Jonas Bernoulli Date: Tue, 02 Jun 2020 19:44:17 +0200 Message-ID: <87eeqxxszy.fsf@bernoul.li> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: none client-ip=212.243.197.30; envelope-from=jonas@bernoul.li; helo=mail.hostpark.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/02 13:45:43 X-ACL-Warn: Detected OS = ??? X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-Spam-Score: -2.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: -3.3 (---) On a foreign distro Guix installs /etc/profile.d/guix.sh, which among other things adds the directory where it installs info pages to the INFOPATH variable. It takes care to not accidentally cause the value to end with a colon. Unfortunately it should do the opposite because a trailing colon means "... and also the default locations", which is highly desirable. This is documented in (info "(texinfo)Other Info Directories"): > However you set 'INFOPATH', if its last character is a colon (on > MS-DOS/MS-Windows systems, use a semicolon instead), this is replaced by > the default (compiled-in) path. This gives you a way to augment the > default path with new directories without having to list all the > standard places. For example (using 'sh' syntax): > > INFOPATH=/home/bob/info: > export INFOPATH > > will search '/home/bob/info' first, then the standard directories. > Leading or doubled colons are not treated specially. I recommend you just make this simple change: - export INFOPATH="$_GUIX_PROFILE/share/info${INFOPATH:+:}$INFOPATH" + export INFOPATH="$_GUIX_PROFILE/share/info$:$INFOPATH" If INFOPATH is already set and does not end with a colon, then that should be left as-is; it might be intentional. From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 02 14:07:47 2020 Received: (at control) by debbugs.gnu.org; 2 Jun 2020 18:07:47 +0000 Received: from localhost ([127.0.0.1]:40888 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgBKF-0003wj-1x for submit@debbugs.gnu.org; Tue, 02 Jun 2020 14:07:47 -0400 Received: from tobias.gr ([80.241.217.52]:48982) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgBKD-0003wa-Aj for control@debbugs.gnu.org; Tue, 02 Jun 2020 14:07:46 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 005f8133 for ; Tue, 2 Jun 2020 18:07:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :date:message-id:mime-version:content-type; s=2018; i= me@tobias.gr; bh=gauo/oKfvB+31fEZ4hwttNcezRNzyX0nh9WdX4xAEuM=; b= mzUBaPrqaXyekEAAV/Z/gdQgM2qJqMTALm59+A0+NjlZYEBZfwtV5iPJpWlov3Mb ntyR3+kn7liLt0PTryF57sOpkXsnjA2+TIfvpdWsqU/61kOy06wnVbaNnjE4Olmu +HaAaW0RmdoP+bvrm0U6QOfBS+c3Iv13OEkM6ZWK5kHhohbcuspT5wvW3HNF6goV FsMngBmc1iRsiG+wie5+2KOrLCtbEdUo3Fm6d3Ysnm9RPCLNy7f8hInW2v+kI4j2 agV8oWe8/XS0S/PnHz4aUOjCDx8L6FjhsW8CF2V6f9wwSw9et5hm9+CmNfiFSKyl DGXl8o8VM5HO8ilaZ0uwvg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c7e9ab7a (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO) for ; Tue, 2 Jun 2020 18:07:47 +0000 (UTC) From: Tobias Geerinckx-Rice To: control@debbugs.gnu.org Date: Tue, 02 Jun 2020 20:07:42 +0200 Message-ID: <877dwpe3yp.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: -0.3 (/) X-Debbugs-Envelope-To: control 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.3 (-) close 41666 merge 41666 39984 From unknown Sun Jun 15 09:00:01 2025 X-Loop: help-debbugs@gnu.org Subject: bug#41666: $INFOPATH should end with a colon Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 02 Jun 2020 18:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 41666 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Jonas Bernoulli Cc: 41666@debbugs.gnu.org Received: via spool by 41666-submit@debbugs.gnu.org id=B41666.159112173617930 (code B ref 41666); Tue, 02 Jun 2020 18:16:01 +0000 Received: (at 41666) by debbugs.gnu.org; 2 Jun 2020 18:15:36 +0000 Received: from localhost ([127.0.0.1]:40910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgBRo-0004es-61 for submit@debbugs.gnu.org; Tue, 02 Jun 2020 14:15:36 -0400 Received: from tobias.gr ([80.241.217.52]:49110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jgBRm-0004cH-UO for 41666@debbugs.gnu.org; Tue, 02 Jun 2020 14:15:35 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id ccf0e7d7; Tue, 2 Jun 2020 18:15:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to:cc :subject:references:in-reply-to:date:message-id:mime-version :content-type; s=2018; i=me@tobias.gr; bh=ikjfFRSdZM3FJR9vxICB81 y9rS74JpfOXMxK5ktN5kI=; b=kgJJ7RIi3AgePyQfuXFSj2Ras0e/LXFU1ltBJA 0e96pTIdIdcrHsLJMU77gZKn14eTGmxrL2HwHQZHjIgGZDLgM3giI8Klcisdkn0w v5Tde0gGNxcZAHn9HDd5Y1WRlKXX/SznW7bRQmeTmgU3xHN9rPJCqV4m09+j1RmG F1WX3rbI1TyTxi7nFvny4EPfneM88nzhms3/i0IeGX+kU+lM0214INhmEbzYPPe5 LQ7dpniT/i9oI5ZFPG96SpvIrBTMM3IwViT40QXs4tkMweadhyoDd/u7+X+FeQsa LeKipr9LJ2RPEH7A107yvyHmGrGFAOiLw0dbj01UTcA1wCKw== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id bd212798 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Tue, 2 Jun 2020 18:15:37 +0000 (UTC) From: Tobias Geerinckx-Rice References: <87eeqxxszy.fsf@bernoul.li> In-reply-to: <87eeqxxszy.fsf@bernoul.li> Date: Tue, 02 Jun 2020 20:15:32 +0200 Message-ID: <874krte3ln.fsf@nckx> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -2.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: -3.3 (---) --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Jonas, Jonas Bernoulli =E5=86=99=E9=81=93=EF=BC=9A > On a foreign distro Guix installs /etc/profile.d/guix.sh, which=20 > among > other things adds the directory where it installs info pages to=20 > the > INFOPATH variable. Thanks for the report! New installations (after 21 March) should not have this problem[0]=20 so I've closed & merged your bug with that one. It's safe to manually fix your local copy of =E2=80=98guix.sh=E2=80=99. It= was=20 created by guix-install.sh, but Guix doesn't know about or touch=20 it. Kind regards, T G-R [0]: https://issues.guix.gnu.org/39984 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQT12iAyS4c9C3o4dnINsP+IT1VteQUCXtaXRAAKCRANsP+IT1Vt ecU0AP9s22eS8ltRgxnsPJvYxJvLhYw72VG5rdP3QF+mWBClQgEAwqDlfd56089u wTGJ1NNPm+eozQBEDT7mKru6/llC9Qs= =N/7j -----END PGP SIGNATURE----- --=-=-=--