GNU bug report logs - #26732
add '--target=' option for 'guix environment' (similar to 'guix build')

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; Severity: wishlist; Reported by: Sergei Trofimovich <slyfox@HIDDEN>; dated Mon, 1 May 2017 11:37:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'wishlist' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 1 May 2017 11:36:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon May 01 07:36:07 2017
Received: from localhost ([127.0.0.1]:48590 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1d59cd-0001fN-NJ
	for submit <at> debbugs.gnu.org; Mon, 01 May 2017 07:36:07 -0400
Received: from eggs.gnu.org ([208.118.235.92]:49500)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <slyfox@HIDDEN>) id 1d59cb-0001eu-RI
 for submit <at> debbugs.gnu.org; Mon, 01 May 2017 07:36:06 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <slyfox@HIDDEN>) id 1d59cV-0000RW-Lu
 for submit <at> debbugs.gnu.org; Mon, 01 May 2017 07:36:00 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:58881)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <slyfox@HIDDEN>) id 1d59cV-0000RG-I4
 for submit <at> debbugs.gnu.org; Mon, 01 May 2017 07:35:59 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:40460)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <slyfox@HIDDEN>) id 1d59cU-0001uJ-Ft
 for bug-guix@HIDDEN; Mon, 01 May 2017 07:35:59 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <slyfox@HIDDEN>) id 1d59cR-0000P8-BH
 for bug-guix@HIDDEN; Mon, 01 May 2017 07:35:58 -0400
Received: from smtp63.i.mail.ru ([217.69.128.43]:47950)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <slyfox@HIDDEN>) id 1d59cQ-0000NR-W3
 for bug-guix@HIDDEN; Mon, 01 May 2017 07:35:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru;
 s=mail; 
 h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date;
 bh=yE6KXIgdQi71sUHncn9uDRJYDVBcHWfN+W63yPYjgUs=; 
 b=D8LGeev2wRmCnJmCqJgZwgTn0ovqd3wLybaVGjW7CDNbh0D0tlnv9fzioiFJf9SmfaCx7R2urRXxlQAaMnWF1YCuGil+zjYoy/lw9D/L1YSe9cJaio/uaPk+RfZAwfSdrchSGuFQhMPRdBzGFVNSAbPz5zxBiDLegRTFeQrde5U=;
Received: from host86-128-188-209.range86-128.btcentralplus.com
 ([86.128.188.209]:38640 helo=sf)
 by smtp63.i.mail.ru with esmtpa (envelope-from <slyfox@HIDDEN>)
 id 1d59cM-0006ye-Fu
 for bug-guix@HIDDEN; Mon, 01 May 2017 14:35:51 +0300
Date: Mon, 1 May 2017 12:35:35 +0100
From: Sergei Trofimovich <slyfox@HIDDEN>
To: bug-guix@HIDDEN
Subject: add '--target=' option for 'guix environment' (similar to 'guix
 build')
Message-ID: <20170501123535.70f960a5@sf>
X-Mailer: Claws Mail 3.14.1 (GTK+ 2.24.31; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 boundary="Sig_/JUMRnXuHZk.NTLr4h2s90jU"; protocol="application/pgp-signature"
Authentication-Results: smtp63.i.mail.ru; auth=pass smtp.auth=slyfox@HIDDEN
 smtp.mailfrom=slyfox@HIDDEN
X-7FA49CB5: 0D63561A33F958A530EFC833A8FD291269F9F78806617A07BD30C4CB4764E7EA725E5C173C3A84C3705BB8FF2EA96B1BE3D76E266CB370766A58BF81F659395FC4224003CC836476C0CAF46E325F83A50BF2EBBBDD9D6B0FF045C6A0F83C8214574AF45C6390F7469DAA53EE0834AAEE
X-Mailru-Sender: 2B83DBE7458923C6AD113F5ACD3CA004BF79B2823F757C0EA079C09317BB93060F11B7553589931EB0C293124EE1F8E466FEC6BF5C9C28D9BE1658B246A3ACF810B29241573AA60767EA787935ED9F1B
X-Mras: OK
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
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: -4.0 (----)

--Sig_/JUMRnXuHZk.NTLr4h2s90jU
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

[ context: https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00966.h=
tml ]

Currently 'guix build' supports '--target=3D' option to allow cross-compila=
tion,
but 'guix environment' doe not. Sometimes it would be nice to peek at the
environment that 'guix build' creates.

Concrete example:

  When debugging 're2' cross-compilation error I used the following command
  to build a package:

    ./pre-inst-env guix build --check re2 --target=3Dalpha-unknown-linux-gn=
u --no-grafts

  I was not sure what does g++ vs. TARGET-g++ means in guix.

  Would be nice to have an ability to get exactly build environment as:

    ./pre-inst-env guix environment re2 --target=3Dalpha-unknown-linux-gnu =
--no-grafts

Thanks!

--=20

  Sergei

--Sig_/JUMRnXuHZk.NTLr4h2s90jU
Content-Type: application/pgp-signature
Content-Description: Цифровая подпись OpenPGP

-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQSZKa0VG5avZRlY01hxoe52YR/zqgUCWQcdiAAKCRBxoe52YR/z
qt8eAJ9vfK3PEZoyBvN+V2lDFczZixnhwQCfTWJx6d+dvU7YKhf6U+loF+KL7mI=
=L0zn
-----END PGP SIGNATURE-----

--Sig_/JUMRnXuHZk.NTLr4h2s90jU--




Acknowledgement sent to Sergei Trofimovich <slyfox@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#26732; 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: Mon, 3 Feb 2020 21:00:01 UTC

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