From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MBzJHM71emG3ogAAgWs5BA (envelope-from ) for ; Thu, 28 Oct 2021 21:11:10 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uLF4GM71emGgKwAAB5/wlQ (envelope-from ) for ; Thu, 28 Oct 2021 19:11:10 +0000 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 0FC80F754 for ; Thu, 28 Oct 2021 21:11:10 +0200 (CEST) Received: from localhost ([::1]:50970 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgAnt-0005zv-3A for larch@yhetil.org; Thu, 28 Oct 2021 15:11:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37874) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgAmp-0005uT-0a for bug-guix@gnu.org; Thu, 28 Oct 2021 15:10:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:41679) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgAmo-0001Fa-O1 for bug-guix@gnu.org; Thu, 28 Oct 2021 15:10:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mgAmo-0001RZ-Id for bug-guix@gnu.org; Thu, 28 Oct 2021 15:10:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#51466: guix shell --check reports missing PKG_CONFIG_PATH on Debian bookworm Resent-From: Vagrant Cascadian Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 28 Oct 2021 19:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51466 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 51466@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16354481785497 (code B ref -1); Thu, 28 Oct 2021 19:10:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 Oct 2021 19:09:38 +0000 Received: from localhost ([127.0.0.1]:53223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgAmK-0001QV-MT for submit@debbugs.gnu.org; Thu, 28 Oct 2021 15:09:38 -0400 Received: from lists.gnu.org ([209.51.188.17]:53102) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mgAmF-0001QH-3t for submit@debbugs.gnu.org; Thu, 28 Oct 2021 15:09:30 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37758) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgAm9-00059O-2o for bug-guix@gnu.org; Thu, 28 Oct 2021 15:09:26 -0400 Received: from cascadia.aikidev.net ([173.255.214.101]:54840) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgAm6-00019x-Jp for bug-guix@gnu.org; Thu, 28 Oct 2021 15:09:20 -0400 Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100e]) (Authenticated sender: vagrant@cascadia.debian.net) by cascadia.aikidev.net (Postfix) with ESMTPSA id 939091AA2C for ; Thu, 28 Oct 2021 12:09:11 -0700 (PDT) From: Vagrant Cascadian Date: Thu, 28 Oct 2021 12:08:59 -0700 Message-ID: <87r1c5c6gk.fsf@ponder> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: none client-ip=173.255.214.101; envelope-from=vagrant@debian.org; helo=cascadia.aikidev.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1635448270; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post; bh=alTz3w1bkCn/yGPvWe16xvg/3pGyo9R6GICg9TeeQiY=; b=lSIj/FepbSgsthOaFQBg+EWYtqe7BTQgyR+oWnHmSfHAk5vkpYxDdrg8ew5zisefOf1r49 C+Djw1PGYDaIoPHGj3E/XaJr1RZCdug3ziY0woe2hjRFi4oj/oDak/pBb+rHxEUniB+1gj 3iajf5WE22B7APjZVpNk0xHbGJMHVm0wa3tvpiPY9XyDEYLNXITD2qHtpIqo3NZU6h7BvR C3XZffA/LORYy4mHz7t9zr5PeV09rnEVKz/bNTSNqEmRuBCjh23M2NMEBloLCQ4lLaqCem pxoIKag3jkI7E6e4DFFUY38bJ+BmaV3VbpsMWsrnRgYEQiR7wCua/2QjCwtEfg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635448270; a=rsa-sha256; cv=none; b=F81eYrgb+AT++OGY1vssxJnfMBmGFCijppotTiHEPwPl/uJr5/JoZl5zVnBnZMNg38zNvU GRlhdm3bK6p8vMjrRdFAOdseiRK5fghVUHBnu2DHhwVxkmfX9q2yf2Mdsih/pSPzjT2p8X q7I0mbUQ0ZvEaw38XLyLOE2R9VV/xfhrbPPsPv6hucX0oVdXdwraSYy3NEuywIWxYGr98K Mt73RZEDzOfgAavn2MD6ZGdpkgGBMG1UdX78gx97MdYp+K7ytIoDlYnqFE22X4vUFwM7DJ vRxc9VZR0Y6a0qbkxAS9YXQQPO4jccgObBrTJmYTGqgh66H0/TH/OQVcZmDdoA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -4.03 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 0FC80F754 X-Spam-Score: -4.03 X-Migadu-Scanner: scn0.migadu.com X-TUID: EHe9b+TtfsQd --=-=-= Content-Type: text/plain This is a recently installed Debian bookworm system, initially using the package from debian experimental (guix 1.3.0-3, built with guile 3.0), and "guix pull" up to a recent guix master: vagrant@vagranttdgxbookworm:~$ guix describe Generation 7 Oct 28 2021 11:04:25 (current) guix 0e6470b repository URL: /home/vagrant/src/guix branch: master commit: 0e6470b47f00470c213fbf20bddc5bcf1e2f8e2a Most things seem to work fine, but noticed an oddity with guix shell: vagrant@vagranttdgxbookworm:~$ guix shell --pure --check --development guix guix git less guix shell: checking the environment variables visible from shell '/bin/bash'... guix shell: warning: variable 'PKG_CONFIG_PATH' is missing from shell environment hint: One or more environment variables have a different value in the shell than the one we set. This means that you may find yourself running code in an environment different from the one you asked Guix to prepare. This usually indicates that your shell startup files are unexpectedly modifying those environment variables. For example, if you are using Bash, make sure that environment variables are set or modified in `~/.bash_profile' and _not_ in `~/.bashrc'. For more information on Bash startup files, run: info "(bash) Bash Startup Files" Alternatively, you can avoid the problem by passing the `--container' or `-C' option. That will give you a fully isolated environment running in a "container", immune to the issue described above. vagrant@vagranttdgxbookworm:~$ guix shell --pure --development guix guix git less vagrant@vagranttdgxbookworm:~$ echo $PKG_CONFIG_PATH /gnu/store/9vk59alg27y0cp1za91nfdjiy718cn1f-profile/lib/pkgconfig So, --check seems to think the environment variable is missing but running without --check the variable is defined... I don't see anything obviously relevent in /etc/profile/ or /etc/profile.d/guix.sh or /etc/profile.d/bash-completions.sh or ~/.profile or ~/.bashrc ... just used the defaults that shipped in Debian. live well, vagrant --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARYKAB0WIQRlgHNhO/zFx+LkXUXcUY/If5cWqgUCYXr1UgAKCRDcUY/If5cW quNBAP9rKrI7XSjsfxSFRJhJDY62J8PGtJRe7KJrqg7SaxDSQQEA6jpZL4/0xHFu lrPBTdWmpRSK0MM/wY/oH34Z8On0JA4= =/3/d -----END PGP SIGNATURE----- --=-=-=--