GNU bug report logs

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

PackageSource(s)Maintainer(s)
guix PTS Buildd Popcon
Full log

Message #5 received at submit@debbugs.gnu.org (full text, mbox, reply):

Received: (at submit) by debbugs.gnu.org; 1 May 2017 11:36:08 +0000
From debbugs-submit-bounces@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@debbugs.gnu.org>)
	id 1d59cd-0001fN-NJ
	for submit@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@inbox.ru>) id 1d59cb-0001eu-RI
 for submit@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@inbox.ru>) id 1d59cV-0000RW-Lu
 for submit@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@inbox.ru>) id 1d59cV-0000RG-I4
 for submit@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@inbox.ru>) id 1d59cU-0001uJ-Ft
 for bug-guix@gnu.org; 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@inbox.ru>) id 1d59cR-0000P8-BH
 for bug-guix@gnu.org; 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@inbox.ru>) id 1d59cQ-0000NR-W3
 for bug-guix@gnu.org; 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@inbox.ru>)
 id 1d59cM-0006ye-Fu
 for bug-guix@gnu.org; Mon, 01 May 2017 14:35:51 +0300
Date: Mon, 1 May 2017 12:35:35 +0100
From: Sergei Trofimovich <slyfox@inbox.ru>
To: bug-guix@gnu.org
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@inbox.ru
 smtp.mailfrom=slyfox@inbox.ru
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@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@debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit@debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request@debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request@debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces@debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces@debbugs.gnu.org>
X-Spam-Score: -4.0 (----)
[Message part 1 (text/plain, inline)]
[ context: https://lists.gnu.org/archive/html/guix-devel/2017-02/msg00966.html ]

Currently 'guix build' supports '--target=' option to allow cross-compilation,
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=alpha-unknown-linux-gnu --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=alpha-unknown-linux-gnu --no-grafts

Thanks!

-- 

  Sergei
[Message part 2 (application/pgp-signature, inline)]

Send a report that this bug log contains spam.


debbugs.gnu.org maintainers <help-debbugs@gnu.org>. Last modified: Sun Dec 22 14:57:48 2024; Machine Name: wallace-server

GNU bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.