GNU bug report logs - #47919
Sourcing environment-variables may send to wrong directory

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Reported by: Alexandre Hannud Abdo <abdo@HIDDEN>; dated Tue, 20 Apr 2021 20:56:01 UTC; Maintainer for guix is bug-guix@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 20 Apr 2021 20:55:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Apr 20 16:55:52 2021
Received: from localhost ([127.0.0.1]:56168 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1lYxPT-0002IA-Kp
	for submit <at> debbugs.gnu.org; Tue, 20 Apr 2021 16:55:51 -0400
Received: from lists.gnu.org ([209.51.188.17]:52214)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <alehabdo@HIDDEN>) id 1lYx7T-0001qn-TH
 for submit <at> debbugs.gnu.org; Tue, 20 Apr 2021 16:37:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:36540)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <alehabdo@HIDDEN>)
 id 1lYx7T-0003GP-Ej
 for bug-guix@HIDDEN; Tue, 20 Apr 2021 16:37:15 -0400
Received: from mail-wr1-f51.google.com ([209.85.221.51]:40864)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <alehabdo@HIDDEN>)
 id 1lYx7R-0005cg-Nf
 for bug-guix@HIDDEN; Tue, 20 Apr 2021 16:37:14 -0400
Received: by mail-wr1-f51.google.com with SMTP id e5so10399284wrg.7
 for <bug-guix@HIDDEN>; Tue, 20 Apr 2021 13:37:12 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:message-id:subject:from:to:date:user-agent
 :mime-version:content-transfer-encoding;
 bh=u+6zEPPCP03MC/VXCFUkzzPwsn23wiv9j1QDBi2KSxE=;
 b=GY53bnsnwrW9USQT+1FeYpuT6IM5EXLaFMXuTYUwHvMEp0BKCSlbnxTSYWGjx5BuFX
 jjPSIW8c7/TiVaILaf3ZycPQs7K0GpiHKwzaHvEW0UnyvknDv6f23MomJ5ncpexnugBE
 0zQJ/G88Wr7lI8QH9kGr9qnUK2P0yeQfq84qQ0pOMTU4ZehwLYeyS4QIrdw1b0dv76ka
 1kj9SQedDZdmLCZcPlt1Q++IVTeT9fb+4gFtk0c1CN1j23fcyPZ5/80BGlhjAdh/Z39U
 ltWFNHOOBru2KyEdPjEND65Yqxc6IBF/avu5/Mbas/cINL3yef79KJqmeSudZvS/6wpg
 M7vg==
X-Gm-Message-State: AOAM532Et3JSytsOjqRow1X1l5yL2+nQgCg9OtK+o42bgIOkaYmamHFW
 7B8xIOdLpy5ZR6aYD4NbRnlliq0iOiI=
X-Google-Smtp-Source: ABdhPJysRQNWss/sLj4G+BF+6ekp7t8LfFnijybU2qdT7z7jmAAGwdwnx2YbwU0Y9a2GJGahVl49qQ==
X-Received: by 2002:a5d:424f:: with SMTP id s15mr22887823wrr.356.1618951031425; 
 Tue, 20 Apr 2021 13:37:11 -0700 (PDT)
Received: from pigeongris ([37.172.193.227])
 by smtp.gmail.com with ESMTPSA id i15sm163762wru.12.2021.04.20.13.37.10
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 20 Apr 2021 13:37:10 -0700 (PDT)
Message-ID: <db37b88c3d5fb402bb39efcb1163191cdff3b72d.camel@HIDDEN>
Subject: Sourcing environment-variables may send to wrong directory
From: Alexandre Hannud Abdo <abdo@HIDDEN>
To: bug-guix@HIDDEN
Date: Tue, 20 Apr 2021 22:37:09 +0200
Content-Type: text/plain; charset="UTF-8"
User-Agent: Evolution 3.34.2 
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=209.85.221.51; envelope-from=alehabdo@HIDDEN;
 helo=mail-wr1-f51.google.com
X-Spam_score_int: -13
X-Spam_score: -1.4
X-Spam_bar: -
X-Spam_report: (-1.4 / 5.0 requ) BAYES_00=-1.9,
 FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001,
 HEADER_FROM_DIFFERENT_DOMAINS=0.25, RCVD_IN_DNSWL_NONE=-0.0001,
 RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=no autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -0.8 (/)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Tue, 20 Apr 2021 16:55:51 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.8 (-)

Ni!

While debugging a package definition I met the following odd behavior:

On subsequent failed builds, if I go to build dir and source
'environment-variables', this is what happens:


/tmp/guix-build-[package].drv-1$ source environment-variables
/tmp/guix-build-[package].drv-0/[package]$


See how I source it in failed build '-1', but my cwd gets changed to
failed build '-0'!

Cheers,
ale
.~ยด





Acknowledgement sent to Alexandre Hannud Abdo <abdo@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#47919; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Tue, 20 Apr 2021 21:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.