From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 ANvdHvdPKGM8xAAAbAwnHQ (envelope-from ) for ; Mon, 19 Sep 2022 13:18:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id 8DzcHvdPKGOGDQAA9RJhRA (envelope-from ) for ; Mon, 19 Sep 2022 13:18:15 +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 23AC82CD34 for ; Mon, 19 Sep 2022 13:18:14 +0200 (CEST) Received: from localhost ([::1]:60658 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oaEmz-0005Bh-LZ for larch@yhetil.org; Mon, 19 Sep 2022 07:18:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:36280) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaEmq-0005AA-H5 for bug-guix@gnu.org; Mon, 19 Sep 2022 07:18:09 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:53490) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oaEmo-0007YK-Lt for bug-guix@gnu.org; Mon, 19 Sep 2022 07:18:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oaEmo-0000tW-Bp for bug-guix@gnu.org; Mon, 19 Sep 2022 07:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#57932: `environment_variables` in build containers are set wrong Resent-From: Ekaitz Zarraga Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 19 Sep 2022 11:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 57932 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 57932@debbugs.gnu.org X-Debbugs-Original-To: "bug-guix@gnu.org" Received: via spool by submit@debbugs.gnu.org id=B.16635862563403 (code B ref -1); Mon, 19 Sep 2022 11:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Sep 2022 11:17:36 +0000 Received: from localhost ([127.0.0.1]:52568 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaEmO-0000sp-Dk for submit@debbugs.gnu.org; Mon, 19 Sep 2022 07:17:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:44942) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oaEmM-0000sh-6r for submit@debbugs.gnu.org; Mon, 19 Sep 2022 07:17:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59256) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaEmL-00059J-TX for bug-guix@gnu.org; Mon, 19 Sep 2022 07:17:33 -0400 Received: from mail-40136.proton.ch ([185.70.40.136]:55581) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oaEmI-0007Ux-59 for bug-guix@gnu.org; Mon, 19 Sep 2022 07:17:33 -0400 Date: Mon, 19 Sep 2022 11:17:15 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=elenq.tech; s=protonmail3; t=1663586244; x=1663845444; bh=RzC5UMtdb1fPU/vsAHfYTExHbSev+qh2PdPwJCDgg/8=; h=Date:To:From:Subject:Message-ID:Feedback-ID:From:To:Cc:Date: Subject:Reply-To:Feedback-ID:Message-ID; b=TL0lxQyV7WFZC/WUxOGt5dZYnRU4ywNQxYjqw/EtchSNwfcyK2n23miwJkWBnbKOy qRyaX2iPMI+8UJWS6Ev5gRbpyzEp5UAGLVLWD05/y98pJYXbzSdt0ov6QQBb2l1YXi 5iA/wgjIILlHN6uVUkF1TLL2ddJJBi+vGwgEqXVzz/riknpmo5iI3CbthJM3D4Kknz H8SjDGT+++1asqIwoIXFWKPE9l2fbanHhFVR5wepyXedpKhTLDPJw3TEOXk6zp1h0Y 77Hu6prQ6WLHdpZvLniLL1EzUJDkddPLBT6CkE1c3brNfeUKF7wWBVZeFxhhSs15T+ MPnmSRW8RghQA== From: Ekaitz Zarraga Message-ID: <86tbaSt8BFnSXLVj8M5X8cW8VmbmVPKmyHMfQQcTEQos0LquGNjLkWrOq4L8zWXMPiHosf_dFpwxKcTv3xAfGHzxLgzEKbNuRt-vcZolsJY=@elenq.tech> Feedback-ID: 3263582:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.40.136; envelope-from=ekaitz@elenq.tech; helo=mail-40136.proton.ch 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, SPF_HELO_NONE=0.001, SPF_PASS=-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 X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663586295; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=RzC5UMtdb1fPU/vsAHfYTExHbSev+qh2PdPwJCDgg/8=; b=mZ0hjlnbPL/IKUqSJpRqTPl01+C4k0HDwqPauQYFVlSOtINW0vJM3o3ZBqfoC6VwWE74eo PFviUqZzzbFGhqfMuZ2kCj+aWbV0+ANrZy5VrrEAEUA657A9fv939j2oqndqpyWIb65tc4 FVLgl9xgiv59a+RtBrrZkRUjAZqaHC2cdl7lB21SjFhyy5xeJSRHADQRezyUQzMBrKgnn+ 9Vv1Iz+F4ph70rSo21qiUfKDKqaXunHMqmjDCQ7IIbNVTayIZiP4+8SKEtg+aldSTlDK1U IXYdzn/ZbXGMFZiv53rBmmwTrxNb2r6SkvEMlQx9R1NrGaSmUwMLzbToMGdWcA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1663586295; a=rsa-sha256; cv=none; b=heCNEXAdf+f70WdvqBulEXHSKy7GHhAlv8AttHlj91hTWKJuiV0IfXs8R+tjYEZye0EPLx ayMHf9VkGkarK0CfYX+YL8meIn6CBJYgVkbYyuJnmoOHnmJSVUEC1GG3zXY28C+JAWt6r5 TCEaj3Ti9Iz8ZOpRCpAFdCRgNO1a0AGvpY8rWpgSHeXO5iOPiYqLDAHwDoXA4c4X8cRFfc KHghui35BOVEQdVogIxBat1vIAg5yQwMcJ1CcoYCsMz2uesrGct0u63B9hfj6YOdTmiTW4 NLROgLQAT0Ui3q3Xub8dFGhSEWpqCQAJKWITGoNoBY1oUtkJJstlimzWtm0RfQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail3 header.b=TL0lxQyV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 5.96 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=elenq.tech header.s=protonmail3 header.b=TL0lxQyV; dmarc=fail reason="SPF not aligned (relaxed)" header.from=elenq.tech (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 23AC82CD34 X-Spam-Score: 5.96 X-Migadu-Scanner: scn1.migadu.com X-TUID: FiGmUQ/3voxE Hi, I have a package that depends on `mes`. When I build it with `guix build $package -K` and I jump to the resulting b= uild directory, the `environment_variables` file looks like this: ``` export LIBRARY_PATH=3D"/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.3= 4.0/lib:/gnu/store/22n2s0vfvqg9v0as9h7fpdn1i9dmryvi-texinfo-6.7/lib:/gnu/st= ore/kijj8bhcaz984jbgbshrdabzd07cg1zv-mes-0.24/lib:/gnu/store/s3hl12jxz9ybs7= nsy7kq7ybzz7qnzmsg-bzip2-1.0.8/lib:/gnu/store/c8isj4jq6knv0icfgr43di6q3nvdz= kx7-xz-5.2.5/lib:/gnu/store/4ic6244i3ca4b4rxc2wnrgllsidyishv-file-5.39/lib:= /gnu/store/690qz3fg334dpwn3pn6k59n4wc943p2b-gawk-5.1.0/lib:/gnu/store/rc781= v4k0drhaqn90xfwwpspki5x0bvf-binutils-2.37/lib:/gnu/store/5h2w4qi9hk1qzzgi1w= 83220ydslinr4s-glibc-2.33/lib:/gnu/store/4jdghmc65q7i7ib89zmvq66l0ghf7jc4-g= libc-2.33-static/lib:/gnu/store/fnr1z6xsan0437r0yg48d0y8k32kqxby-glibc-utf8= -locales-2.33/lib:/gnu/store/9xn2y515vv9p0vgww4add3lphwi17q07-nyacc-1.00.2/= lib" export MES_PREFIX=3D"/gnu/store/hy6abswwv4d89zp464fw52z65fkzr7h5-perl-5.34.= 0/" ``` The `MES_PREFIX` is set to Perl's installation directory, which is also the= first element in `LIBRARY_PATH`. If I change the order of the package inputs the order of the `LIBRARY_PATH`= changes, which is not important, but the first element of `LIBRARY_PATH` i= s always the one in the `MES_PREFIX`. This doesn't look like the proper beh= avior: it should always be /gnu/store/*-mes-* Best, Ekaitz