From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id mIKeN90pRGN7swAAbAwnHQ (envelope-from ) for ; Mon, 10 Oct 2022 16:19:09 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id sHOLN90pRGPzPwEAauVa8A (envelope-from ) for ; Mon, 10 Oct 2022 16:19:09 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B3DEE2B2D3 for ; Mon, 10 Oct 2022 16:19:09 +0200 (CEST) Received: from localhost ([::1]:40650 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohtca-0002gB-Qf for larch@yhetil.org; Mon, 10 Oct 2022 10:19:08 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45608) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohtcH-0002ck-E7 for guix-devel@gnu.org; Mon, 10 Oct 2022 10:18:49 -0400 Received: from mail-lf1-x130.google.com ([2a00:1450:4864:20::130]:35608) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohtcF-00040U-Gv for guix-devel@gnu.org; Mon, 10 Oct 2022 10:18:49 -0400 Received: by mail-lf1-x130.google.com with SMTP id r14so16823717lfm.2 for ; Mon, 10 Oct 2022 07:18:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=0toGlbgMleCvgip2N6wuLjGNkDfm8XTZFAmfv7W44sA=; b=MTotCdxWbP3bYFShWCclj0ldCQPdvGKTZj4B9A/7jQs0wjFbo0Zdn5lCzDoGo3AX9w aAMK2IB4FKn1kR0UcP8fYzba8IKNdfVUirCgZfwsAq/ITvc6k5+xfswv/uyZDGFS7sqF 61Srg4T+ZYhPtbFhHt8Jb4BK+qmXLsbZOl+kUQe/tH3qW82a5h7OS5TZ4KiXbdt4LZ1T 8k5V/qUPiEi1zginPhp4u10Rcln2kxOQcQ7FG9PrjGpcMwKCklyPJaPGKwA25NbhXjPM GKytd+YKYsnHQD+OxFg3UMaIYRNqMKgmxKawGaE13QVpOQPuL0n9sGb6UycxO5T58klf wdkg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=0toGlbgMleCvgip2N6wuLjGNkDfm8XTZFAmfv7W44sA=; b=zMdUMc7UfsVwvVHOTQbkzlnof41nSpSDi/9YL/WEelc6CB80EQnt/wdh36ROjDp5Af Dq54dhrlO63V8aRHA3/73nuSIL/1PuWAHr6PFUunA5lXkFgyRXTV649N4wXq7scaxMzg Ip58tNPUcQD69P+e6+MPraxRv1uJh5T2sMValnDgs7rsE7zJOAnjxqk7lkR6inp+FFeV Q6sgy111E7KbOM0hs8nnXklcTcM8P1Wn7/MOwn4tcCr2sWl3GKO/hTTPCU11U/NZOTrj QyQDHNDqCz3CrJxhrLrsyNOMwhzR86CeXPWHGHZnkjIKaV5s017UOa3eEcJ4teq3On8x hjMw== X-Gm-Message-State: ACrzQf0V9ibEZyohOsH1rNWWapTCkORY8IZzFmt1+TeTwuwEtu0g0JyJ pJSCJwCKxVLU2AoKc3bWAeawhOhSC6YOLBnIWSU= X-Google-Smtp-Source: AMsMyM5je5yMauDisXpLSW8NcrdkuRBGoLf2iN0zepU5P2YTNZLzsfwPqrWdohlNQSRkyt4vbYXerrWtjxWP78oAh5E= X-Received: by 2002:ac2:4d28:0:b0:4a2:40ef:2996 with SMTP id h8-20020ac24d28000000b004a240ef2996mr6228374lfk.425.1665411525003; Mon, 10 Oct 2022 07:18:45 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mehmet Tekman Date: Mon, 10 Oct 2022 16:18:09 +0200 Message-ID: Subject: Re: Small change request to the manual page "Building from Git" To: Maxime Devos Cc: guix-devel@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::130; envelope-from=mtekman89@gmail.com; helo=mail-lf1-x130.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1665411549; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=0toGlbgMleCvgip2N6wuLjGNkDfm8XTZFAmfv7W44sA=; b=QR3mvpeIR/uRc0hsEQ0O3M1rhVkWxDxEIfo/Y7I2bb/V81oZBoe5f5hJWYtNL9F4K9cEpg 39aNSCP6XzBeUW3S22Vacff0RzupPst0aqQL99xs25OaLw180hU9V7m3QPD9TQIck2JRQ5 r4n4f8ve+6TnAjWeLMYlTnlNxWHL97TcG6pfP2sDHGU+RoYhmaJzt+TDpjD5wxzefaPGhE iqAb1LOubvPSXR9SDdLiOQ+OJX2JmMEz8fLwQjKBiSIYPKfDDbxexj5WNLYuvYTCTLftrD wE97joDVozIGz+FdS5OgqO3mt2hoLZnHGgCCASVLh4jQrhgC3AQymOgS/noLsw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1665411549; a=rsa-sha256; cv=none; b=j77Fp6CZwneayxnegholOtonPCEjGcvtk8ZFlnECB6BOVbOgyWmCA3xJo2hMLIc5tpCfA8 iW8hv/wZPwRxkb/thHdG6o+R00u/q/NdM/KsGvkVkcRVwrJp2xSLAhILEZuqpznDZeXPoJ r78wAkBr4ybMPdiQoQkuMwSuXSLfRItLR2DnXweDB3yuDCJKhJQU61xQTMiEntaJ+yLGkg zj+X/nn/xVPRvhRLUTO2bo1OElvwG0YGCOiWVNCfc53sUkiOWJy8LVuwRcH6TcMeNo+4b/ w0M9u1Xud/eTYYuzRO6dhAnepxZj3+1ojABcKX2zXTmP8oKIYovN0q0Euh9cfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MTotCdxW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.18 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20210112 header.b=MTotCdxW; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: B3DEE2B2D3 X-Spam-Score: -5.18 X-Migadu-Scanner: scn0.migadu.com X-TUID: J8mw7RPoiY7x Hello, > Try "guix environment guix --pure guix" or "guix shell guix -D guix" instead. Yes I understand, but the manual states that: > The following command starts a new shell **where all the dependencies and appropriate environment variables are set up to hack on Guix**: > guix environment guix --pure This gives the impression that everything needed for `make authenticate' to work is included in the above command (and I guess it would be on the native distro). I think a small sentence mentioning the extra Guix dependency for non-native users isn't completely unwarranted, or perhaps maybe a hint in the linked "invoking guix environment" page? > Despite the name on Reddit, the name is Guix, not GUIX. Noted, thank you > Also, assuming you have installed the Guix daemon with your foreign distro's package manager, this is a bug in the foreign distro's packaging, see in case of Debian. > You could ask your distro to do a similar fix. Thanks, I'll report this to the package maintainer! Best, Mehmet On Sun, 9 Oct 2022 at 11:08, Maxime Devos wrote: > > On 06-10-2022 15:35, Mehmet Tekman wrote: > > Hi there, > > > > I'd like to request some small changes be made on this page: > > > https://guix.gnu.org/manual/en/html_node/Building-from-Git.html > > > > > > 1. Authenticating on a foreign distro > > > > When at the "make authenticate" stage of the build process on a foreign > > distro, this fails because it cannot find guix. > > I think it's because the `guix environment guix --pure' command doesn't > > include it, or obscures its path. > > > > As a workaround, I ran `PATH=/usr/local/bin/:$PATH make authenticate' > > "guix environment guix" only includes the dependencies of guix, not Guix > itself. Try "guix environment guix --pure guix" or "guix shell guix -D > guix" instead. > > "guix environment guix --pure" does indeed 'obscure its path' -- that's > what --pure is for, if you don't want that, don't include --pure. > > Both of these are independent of whether you are on a foreign distro or > Guix System. > > > 2. Easy fix for failing `make check' tests > > > > I had a few failing tests on my foreign distro relating to setting locales. > > Digging around led me to this reddit thread for the solution: > >> https://old.reddit.com/r/GUIX/comments/jpq1uw/bashminimal507binbash_warning_setlocale_lc_all/ > > > > Here they suggest running `sudo guix install glibc-locales` instead of as a user. > > Maybe this should be mentioned, since I'm not the only one coming to GUIX from another distro. > > Despite the name on Reddit, the name is Guix, not GUIX. > > Also, assuming you have installed the Guix daemon with your foreign > distro's package manager, this is a bug in the foreign distro's > packaging, see > in case of > Debian. You could ask your distro to do a similar fix. > > Greetings, > Maxime.