GNU logs - #31956, boring messages


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31956: guix environment: add option to download and unpack source
Resent-From: Vagrant Cascadian <vagrant@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 24 Jun 2018 19:07:02 +0000
Resent-Message-ID: <handler.31956.B.152986720218594 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 31956
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: 31956 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guix@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.152986720218594
          (code B ref -1); Sun, 24 Jun 2018 19:07:02 +0000
Received: (at submit) by debbugs.gnu.org; 24 Jun 2018 19:06:42 +0000
Received: from localhost ([127.0.0.1]:34083 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fXALQ-0004po-Rw
	for submit <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:06:41 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35698)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <vagrant@HIDDEN>) id 1fXALP-0004pb-O2
 for submit <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:06:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vagrant@HIDDEN>) id 1fXALJ-0007BB-Qz
 for submit <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:06:34 -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.5 required=5.0 tests=BAYES_05 autolearn=disabled
 version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:42520)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <vagrant@HIDDEN>) id 1fXALJ-0007Aq-Ma
 for submit <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:06:33 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54880)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vagrant@HIDDEN>) id 1fXALI-0008J6-FJ
 for bug-guix@HIDDEN; Sun, 24 Jun 2018 15:06:33 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <vagrant@HIDDEN>) id 1fXALH-00078I-Cj
 for bug-guix@HIDDEN; Sun, 24 Jun 2018 15:06:32 -0400
Received: from cascadia.aikidev.net ([2600:3c01:e000:267:0:a171:de7:c]:34961)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <vagrant@HIDDEN>) id 1fXALH-00076u-6Z
 for bug-guix@HIDDEN; Sun, 24 Jun 2018 15:06:31 -0400
Received: from localhost (unknown [IPv6:2600:3c01:e000:21:21:21:0:100b])
 (Authenticated sender: vagrant@HIDDEN)
 by cascadia.aikidev.net (Postfix) with ESMTPSA id 158F91B585
 for <bug-guix@HIDDEN>; Sun, 24 Jun 2018 12:06:29 -0700 (PDT)
From: Vagrant Cascadian <vagrant@HIDDEN>
Date: Sun, 24 Jun 2018 12:06:17 -0700
Message-ID: <87tvpsngwm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
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: -6.0 (------)

--=-=-=
Content-Type: text/plain

I've a minor feature request.

When working on new package definitions, it's often useful to debug
build failures with guix environment.

The current implementation, as I understand it, requires manually
downloading the source, and merely drops you into whatever working
directory you happen to be it.

It would be great if there were an option you could pass that downloads
and unpacks the source somewhere and drops you into the newly unpacked
source directory.

Not sure what to call it exactly, but something like:

  guix environment --with-source hello

Should drop you into an unpacked source directory with the inputs and
such for building "hello".


live well,
  vagrant

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

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

iQIzBAEBCgAdFiEEcDardHbDotegGFCHt4uC1IFLkbYFAlsv66kACgkQt4uC1IFL
kbaMbg/+O9qlPN1LckmSM7GLMUVmA4hDF74xVcLFonrrQukTgutZZ8Ti28XnT5Yq
Vf0ss6w8ic3N4Zpg7kXnGpnT+rM3KEaGjfuj67n7gqsrkQiYiDDhRZI4Gey8S5/L
jPNd4wBr6GRe6zUpauhMI6ineC4yyiK3e20UrtC7Mh7Ko2XmIfBhIhml60DzP5Qc
0T4D0m/CMO1um2CLMeEGb3M6iHDffY5xYeR1Lt/4siRf5pc4DxolP4Igkfj5T5po
BqzT1WM5KaG7iJ+xHLSXyJZfyFrdleayoxE5ejzfut0/xOfjpT+9mTujFIcQYIcW
KUEl46wqpCj/mO/TVtQB3GUFNrFQNoUR3NhnP/ilXaiAr6/5EzSYyGtIvL+wuMWM
Wmppqe0OvxEEy1vAotQC3B/HyFSe7gp/qFgO22JqoOcbhdLk24uiRB0XtFtkfroM
7Rfw4TXL6cgC3Z9zE5UYCq7I2Sp8ZJ9jb1/ANL5+95B0tQ+/2nIEUDmPiNlCeE0r
Agmd5VmomfI278og5p4Q9QUdzpK7nZvxBi4i83MyHTjjD7ZcX1g9k+dy3u1PaoWz
e4SPcbf/QWK2xQqdMNy3cjIoCHF4NVRMqL2TKGteCp5TiaPpE7zMt8pKXXfnpgfE
Yui/AVg2nqZ+4GtD1vne/JF+OQ3vccd2WUdgJAf06nI+4IPFPeg=
=1GdW
-----END PGP SIGNATURE-----
--=-=-=--




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.505 (Entity 5.505)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Vagrant Cascadian <vagrant@HIDDEN>
Subject: bug#31956: Acknowledgement (guix environment: add option to
 download and unpack source)
Message-ID: <handler.31956.B.152986720218594.ack <at> debbugs.gnu.org>
References: <87tvpsngwm.fsf@HIDDEN>
X-Gnu-PR-Message: ack 31956
X-Gnu-PR-Package: guix
Reply-To: 31956 <at> debbugs.gnu.org
Date: Sun, 24 Jun 2018 19:07:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guix@HIDDEN

If you wish to submit further information on this problem, please
send it to 31956 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
31956: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D31956
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31956: guix environment: add option to download and unpack source
Resent-From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 24 Jun 2018 19:21:01 +0000
Resent-Message-ID: <handler.31956.B31956.152986802519871 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31956
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Vagrant Cascadian <vagrant@HIDDEN>
Cc: 31956 <at> debbugs.gnu.org
Received: via spool by 31956-submit <at> debbugs.gnu.org id=B31956.152986802519871
          (code B ref 31956); Sun, 24 Jun 2018 19:21:01 +0000
Received: (at 31956) by debbugs.gnu.org; 24 Jun 2018 19:20:25 +0000
Received: from localhost ([127.0.0.1]:34097 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fXAYi-0005AQ-Ju
	for submit <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:20:25 -0400
Received: from m4s11.vlinux.de ([83.151.27.109]:60480 helo=bjoernhoefling.de)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <bjoern.hoefling@HIDDEN>)
 id 1fXAYg-0005AH-He
 for 31956 <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:20:22 -0400
Received: from alma-ubu (p57B52973.dip0.t-ipconnect.de [87.181.41.115])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by bjoernhoefling.de (Postfix) with ESMTPSA id 2A20D40B15;
 Sun, 24 Jun 2018 21:20:21 +0200 (CEST)
Date: Sun, 24 Jun 2018 21:20:13 +0200
From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= <bjoern.hoefling@HIDDEN>
Message-ID: <20180624212013.6afadf07@alma-ubu>
In-Reply-To: <87tvpsngwm.fsf@HIDDEN>
References: <87tvpsngwm.fsf@HIDDEN>
X-Mailer: Claws Mail 3.13.2 (GTK+ 2.24.30; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
 boundary="Sig_/sMsjE7MF3V_TK1sMGyjwdtq"; protocol="application/pgp-signature"
X-Spam-Score: 0.1 (/)
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: -0.9 (/)

--Sig_/sMsjE7MF3V_TK1sMGyjwdtq
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Sun, 24 Jun 2018 12:06:17 -0700
Vagrant Cascadian <vagrant@HIDDEN> wrote:

> I've a minor feature request.
>=20
> When working on new package definitions, it's often useful to debug
> build failures with guix environment.
>=20
> The current implementation, as I understand it, requires manually
> downloading the source, and merely drops you into whatever working
> directory you happen to be it.
>=20
> It would be great if there were an option you could pass that
> downloads and unpacks the source somewhere and drops you into the
> newly unpacked source directory.
>=20
> Not sure what to call it exactly, but something like:
>=20
>   guix environment --with-source hello
>=20
> Should drop you into an unpacked source directory with the inputs and
> such for building "hello".

Hi Vagrant,

if you need this in the case of build failures, use the "-K" option:

https://www.gnu.org/software/guix/manual/guix.html#Common-Build-Options

--keep-failed
-K

    Keep the build tree of failed builds. Thus, if a build fails, its
build tree is kept under /tmp, in a directory whose name is shown at
the end of the build log. This is useful when debugging build issues.
See Debugging Build Failures, for tips and tricks on how to debug build
issues.


See also

https://www.gnu.org/software/guix/manual/guix.html#Debugging-Build-Failures

For the case that the built went through OK, there is no such option.
You could raise an exception at the end of your package
definition/build phases.

Also there is the -S option to build:

guix build -S <package-name>

builds the source of your package. This will download the package,
verifies the checkum applies patches and applies snippets (i.e. rules
to remove for example binaries or other non-free-licensed parts).

Bj=C3=B6rn


--Sig_/sMsjE7MF3V_TK1sMGyjwdtq
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iEYEARECAAYFAlsv7u0ACgkQvyhstlk+X/3Q7gCfXY0gNl9dA5rwaBdp3GxugXEC
xSsAn2iFUIz5TUd6UpcxYO9wZg/K5Zxu
=NE91
-----END PGP SIGNATURE-----

--Sig_/sMsjE7MF3V_TK1sMGyjwdtq--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31956: guix environment: add option to download and unpack source
Resent-From: Danny Milosavljevic <dannym@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 24 Jun 2018 19:28:01 +0000
Resent-Message-ID: <handler.31956.B31956.152986846220573 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31956
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Vagrant Cascadian <vagrant@HIDDEN>
Cc: 31956 <at> debbugs.gnu.org
Received: via spool by 31956-submit <at> debbugs.gnu.org id=B31956.152986846220573
          (code B ref 31956); Sun, 24 Jun 2018 19:28:01 +0000
Received: (at 31956) by debbugs.gnu.org; 24 Jun 2018 19:27:42 +0000
Received: from localhost ([127.0.0.1]:34101 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fXAfm-0005Ll-C2
	for submit <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:27:42 -0400
Received: from dd26836.kasserver.com ([85.13.145.193]:53356)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1fXAfk-0005Lb-5F
 for 31956 <at> debbugs.gnu.org; Sun, 24 Jun 2018 15:27:40 -0400
Received: from localhost (84-113-15-225.cable.dynamic.surfer.at
 [84.113.15.225])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id A760C3363832;
 Sun, 24 Jun 2018 21:27:38 +0200 (CEST)
Date: Sun, 24 Jun 2018 21:27:27 +0200
From: Danny Milosavljevic <dannym@HIDDEN>
Message-ID: <20180624212727.0adf311c@HIDDEN>
In-Reply-To: <87tvpsngwm.fsf@HIDDEN>
References: <87tvpsngwm.fsf@HIDDEN>
X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.31; x86_64-unknown-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
 boundary="Sig_/T.mEcZTcii_9VGc+t3_QrG/"; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
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.7 (-)

--Sig_/T.mEcZTcii_9VGc+t3_QrG/
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hi Vagrant,

On Sun, 24 Jun 2018 12:06:17 -0700
Vagrant Cascadian <vagrant@HIDDEN> wrote:

> It would be great if there were an option you could pass that downloads
> and unpacks the source somewhere and drops you into the newly unpacked
> source directory.
>=20
> Not sure what to call it exactly, but something like:
>=20
>   guix environment --with-source hello

+1

Right now, my silly workaround is to add a phase which fails

  (add-after 'unpack 'fail
    (lambda _
      (error "stop it")))

and then do

  guix build --keep-failed hello

and then do

  guix environment --pure hello
  cd /tmp/guix-build-hello*

That's... very manual.

Also, if the directory in /tmp is not .drv-0, the environment is technicall=
y not the same as it was inside the guix-daemon build container.

In that case there'd be an extra step

  rm -rf /tmp/guix-build-hello-*.drv-0
  ln -s /tmp/guix-build-hello-* /tmp/guix-build-hello-<...>.drv-0
  cd /tmp/guix-build-hello-<...>.drv-0

All in all that's not simple.

Also, guix-daemon is taken from Nix and thus not exactly the same as
guix environment in some cases.

That's why in some cases I have to (edit the package definition and
invoke guix build) over and over again in order to find a problem.

In the long term we'll replace guix-daemon by guix environment.
Much easier to reproduce situations then.

--Sig_/T.mEcZTcii_9VGc+t3_QrG/
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

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

iQEzBAEBCAAdFiEEds7GsXJ0tGXALbPZ5xo1VCwwuqUFAlsv8J8ACgkQ5xo1VCww
uqU+awf/bRY+CFdyWKV+qmSY0CmaPPdv/0q1ninj0LYvMH/XAAfxHz/BhT3Irr3t
xToaA31CHGkPg/dQz2jRsXPuYwVg3bythaikpCxW0XhrEYtcZ3Qjnw8mgKoHxqeg
AV/jJKu2adL0IshTNO7xQoqkZeacfTu12iWbLI9HZk8IFPiQw2XGlY2euP5EGqXl
qtSZLTGXi0XqoEkwnipyeHNE+WdlZj1vVw1UsimPBKvx+SXCSN0gQEPj6R/q6Y62
SeFZrNLtuV9qZMxM2mo590GPyCQDolp+aRk8ylZc9QgBHfXt3TlfGbNRiOKd6vnH
DkcoaAGcZ6AdzblhU2Wi3Q+Z0YNyXg==
=/0DY
-----END PGP SIGNATURE-----

--Sig_/T.mEcZTcii_9VGc+t3_QrG/--




Message sent to bug-guix@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#31956: guix environment: add option to download and unpack source
Resent-From: Jan Nieuwenhuizen <janneke@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guix@HIDDEN
Resent-Date: Sun, 24 Jun 2018 20:52:02 +0000
Resent-Message-ID: <handler.31956.B31956.152987347228451 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 31956
X-GNU-PR-Package: guix
X-GNU-PR-Keywords: 
To: Danny Milosavljevic <dannym@HIDDEN>
Cc: Vagrant Cascadian <vagrant@HIDDEN>, 31956 <at> debbugs.gnu.org
Received: via spool by 31956-submit <at> debbugs.gnu.org id=B31956.152987347228451
          (code B ref 31956); Sun, 24 Jun 2018 20:52:02 +0000
Received: (at 31956) by debbugs.gnu.org; 24 Jun 2018 20:51:12 +0000
Received: from localhost ([127.0.0.1]:34154 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1fXBya-0007Op-7E
	for submit <at> debbugs.gnu.org; Sun, 24 Jun 2018 16:51:12 -0400
Received: from eggs.gnu.org ([208.118.235.92]:50804)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <janneke@HIDDEN>) id 1fXByX-0007Oa-Bq
 for 31956 <at> debbugs.gnu.org; Sun, 24 Jun 2018 16:51:11 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <janneke@HIDDEN>) id 1fXByR-0002H3-87
 for 31956 <at> debbugs.gnu.org; Sun, 24 Jun 2018 16:51:04 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=disabled
 version=3.3.2
Received: from fencepost.gnu.org ([2001:4830:134:3::e]:58081)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <janneke@HIDDEN>)
 id 1fXByM-0002CE-Az; Sun, 24 Jun 2018 16:50:58 -0400
Received: from [2001:980:1b4f:1:42d2:832d:bb59:862] (port=55934
 helo=dundal.peder.onsbrabantnet.nl)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <janneke@HIDDEN>)
 id 1fXByL-0002ju-R0; Sun, 24 Jun 2018 16:50:58 -0400
From: Jan Nieuwenhuizen <janneke@HIDDEN>
Organization: AvatarAcademy.nl
References: <87tvpsngwm.fsf@HIDDEN>
 <20180624212727.0adf311c@HIDDEN>
X-Url: http://AvatarAcademy.nl
Date: Sun, 24 Jun 2018 22:50:55 +0200
In-Reply-To: <20180624212727.0adf311c@HIDDEN> (Danny Milosavljevic's
 message of "Sun, 24 Jun 2018 21:27:27 +0200")
Message-ID: <87d0wf3o40.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
X-Received-From: 2001:4830:134:3::e
X-Spam-Score: -5.0 (-----)
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: -6.0 (------)

Danny Milosavljevic writes:

>> Not sure what to call it exactly, but something like:
>>=20
>>   guix environment --with-source hello
>
> +1
>
> Right now, my silly workaround is to add a phase which fails
>
>   (add-after 'unpack 'fail
>     (lambda _
>       (error "stop it")))
>
> and then do
>
>   guix build --keep-failed hello
>
> and then do
>
>   guix environment --pure hello
>   cd /tmp/guix-build-hello*
>
> That's... very manual.

A very nice recipe...interesting we had a discussion about this today on
#guix.  What I would really like, is for the --with-source directory
be a git archive, so that edits can be made and tested until it works.

Attempt a rebuild with new patches/new git commit and repeat.

Making repeated patches until a build succeeds is something I find
pretty cumbersome.

It could be an ad-hoc, new git archive.  It would also be nice if Guix
could somehow record upstream sources as (shallow?, tarred?) git
archives.

janneke

--=20
Jan Nieuwenhuizen <janneke@HIDDEN> | GNU LilyPond http://lilypond.org
Freelance IT http://JoyofSource.com | Avatar=C2=AE http://AvatarAcademy.com





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

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