GNU bug report logs - #38781
[PATCH core-updates] build-system/gnu: Make 'first-subdirectory' optional.

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-patches; Reported by: Danny Milosavljevic <dannym@HIDDEN>; Keywords: patch; dated Sat, 28 Dec 2019 21:47:01 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

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


Received: (at 38781) by debbugs.gnu.org; 30 Jan 2020 12:19:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Jan 30 07:19:27 2020
Received: from localhost ([127.0.0.1]:35024 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ix8n8-0000dK-Tx
	for submit <at> debbugs.gnu.org; Thu, 30 Jan 2020 07:19:27 -0500
Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:45919)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <mbakke@HIDDEN>) id 1ix8n7-0000d5-Qy
 for 38781 <at> debbugs.gnu.org; Thu, 30 Jan 2020 07:19:26 -0500
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45])
 by mailout.west.internal (Postfix) with ESMTP id 2BB024A7;
 Thu, 30 Jan 2020 07:19:20 -0500 (EST)
Received: from mailfrontend1 ([10.202.2.162])
 by compute5.internal (MEProxy); Thu, 30 Jan 2020 07:19:20 -0500
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h=
 from:to:cc:subject:in-reply-to:references:date:message-id
 :mime-version:content-type; s=fm2; bh=Eu7r0pYdwFfuHszxIM6yLf34B8
 fzMPNdqqscdHNUiys=; b=fLVOA6PIY+ncwh2TX+VOHKB4bd23ZfgRjRg7Bbz5mP
 yEIC5N4Sx6QaCsrvmzUSPbBAjSnpxTAzJeNfK6599qx0AlEr6IFkZ3zLGD3lpcne
 9CIhXkTOCIPIPH67Z51lmw/YWBXLKe1/GQ+44PJeujudHd7OBu3vyNux/EFeOB3g
 UEXF/Q8qXsaZrFp532nGLktu1vV6zYBuMIhSbkWPSiwMD3V1aKIdja7c7AQGBXSG
 ONdR/6wujYiVU3vvDmKTWNEAQuMCxAaQ5i5iJnJdWJegIE/XHPJTo+2CT42plvcB
 HDPqXfSEOxQjHMTyJBiD8J5jetfEjqUUEE32KF1qR23A==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:date:from:in-reply-to
 :message-id:mime-version:references:subject:to:x-me-proxy
 :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=Eu7r0p
 YdwFfuHszxIM6yLf34B8fzMPNdqqscdHNUiys=; b=Wz6v4WSquh1MEBeZ+BIWH4
 NA3J7O8lSjEndalPgEvFgZT8xZ6OBjh6YEpI3ElnIXmvqeETky9xiXNF5h5V4mbW
 qZaumhO5FzXUR1Ou/t7RrPRunSMKVgeV2FxcwyOwOY2gq6Qs267xNmPVnwmfW+of
 cCH+BF8YNRGK5xj0kZ/yZ5SQifjJ0eao4cmSFK4TyWjbmmbxjatJHKYZ6hiGYRVM
 VffYypXXw6W6TLULEUfE9PQDZBiYpHN1GdcXh8IiE4ncU/AhV74EAXHlBUClKKp6
 lDbKWHMN6EBxUdDH3vlLsZfJyFOd4oYnznAcI47MCQBf7K5XaAeV2L9a+BtERtyQ
 ==
X-ME-Sender: <xms:x8kyXgRPOapg1t8-dYjItEttqSEfj6z-RRPKgBFJh7Jt0JnL8-b2XA>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrfeekgdeflecutefuodetggdotefrodftvf
 curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu
 uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc
 fjughrpefhvffujghffgffkfggtgesghdtreertdertdenucfhrhhomhepofgrrhhiuhhs
 uceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghilhdrtghomheqnecukfhppeekge
 drvddtvddrieelrddvheefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehm
 rghilhhfrhhomhepmhgsrghkkhgvsehfrghsthhmrghilhdrtghomh
X-ME-Proxy: <xmx:x8kyXlCp7Qh2_8h_nhokusVF0WLTxAW_E6lU8jXyom2UiNN1bOk4MA>
 <xmx:x8kyXtW7bvWi-NFMupgFjCh4XGCgm6BHZQnsmTdM_CXiDyxolGTgPg>
 <xmx:x8kyXtLfpOfZsmOOMWVbiMH_lOSeg-9x4poxOD1wg5Ml5kO8QPsOaQ>
 <xmx:x8kyXmJAGwDpS_dsbaqs5XbjPtjOzAeokFrx-S6UXRYCs8ILnT3o2A>
Received: from localhost (ti0006q161-3035.bb.online.no [84.202.69.253])
 by mail.messagingengine.com (Postfix) with ESMTPA id 3984F328005D;
 Thu, 30 Jan 2020 07:19:19 -0500 (EST)
From: Marius Bakke <mbakke@HIDDEN>
To: Danny Milosavljevic <dannym@HIDDEN>, 38781 <at> debbugs.gnu.org
Subject: Re: [bug#38781] [PATCH core-updates] build-system/gnu: Make
 'first-subdirectory' optional.
In-Reply-To: <20191228214622.4061-1-dannym@HIDDEN>
References: <20191228214622.4061-1-dannym@HIDDEN>
User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3
 (x86_64-pc-linux-gnu)
Date: Thu, 30 Jan 2020 13:19:17 +0100
Message-ID: <87wo99nnlm.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 38781
Cc: Danny Milosavljevic <dannym@HIDDEN>
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 (-)

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

Danny Milosavljevic <dannym@HIDDEN> writes:

> * guix/build/gnu-build-system.scm (unpack): Make 'first-subdirectory'
> optional.

Do you have a use case for this change?

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

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

iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl4yycUACgkQoqBt8qM6
VPpJHwgAnbIKs6Hl1KHxS8bxTw7Msw0ztcLpepxeO+A+80XJwAj4+DAZBW5DWXXX
+H1g7Hsmanz+12AWC9MC2BEsUaWMYtGuaFKRSVBVT/21v0lPIvEFBBaQi9zymumk
WCz66NFXwCzHmAKIKs3Rdjr+qFq2SLBnUojOg6LCU6xs9wk2UsWRR9xMKN0YNqUi
sSqNmT2/hwv8Km+q3w8tM1aisuvcGx6wQETPe/Dnl8btVq9q2Uv+4bvDqMKn/K94
+Wa3AQ3VfbPj+K2HP3fglIvsK4JBNXvOJo1f/qe3Dq5UN4I7iJZxKivbrIZbZUCy
0UDgev17zfsGu4b7nW/0lhXnI9mrwQ==
=+die
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to guix-patches@HIDDEN:
bug#38781; Package guix-patches. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 28 Dec 2019 21:46:30 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 28 16:46:30 2019
Received: from localhost ([127.0.0.1]:59027 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1ilJuo-0003Uj-6U
	for submit <at> debbugs.gnu.org; Sat, 28 Dec 2019 16:46:30 -0500
Received: from lists.gnu.org ([209.51.188.17]:45133)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <dannym@HIDDEN>) id 1ilJum-0003Uc-CF
 for submit <at> debbugs.gnu.org; Sat, 28 Dec 2019 16:46:28 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10]:39503)
 by lists.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <dannym@HIDDEN>) id 1ilJul-0005bP-5I
 for guix-patches@HIDDEN; Sat, 28 Dec 2019 16:46:28 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW
 autolearn=disabled version=3.3.2
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <dannym@HIDDEN>) id 1ilJuk-0000To-18
 for guix-patches@HIDDEN; Sat, 28 Dec 2019 16:46:26 -0500
Received: from dd26836.kasserver.com ([85.13.145.193]:46988)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <dannym@HIDDEN>)
 id 1ilJuj-0000FM-Po
 for guix-patches@HIDDEN; Sat, 28 Dec 2019 16:46:25 -0500
Received: from dayas.fritz.box (unknown [185.17.13.127])
 by dd26836.kasserver.com (Postfix) with ESMTPSA id 549493363FB1;
 Sat, 28 Dec 2019 22:46:23 +0100 (CET)
From: Danny Milosavljevic <dannym@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH core-updates] build-system/gnu: Make 'first-subdirectory'
 optional.
Date: Sat, 28 Dec 2019 22:46:22 +0100
Message-Id: <20191228214622.4061-1-dannym@HIDDEN>
X-Mailer: git-send-email 2.23.0
MIME-Version: 1.0
Tags: patch
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
X-Received-From: 85.13.145.193
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
Cc: Danny Milosavljevic <dannym@HIDDEN>
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: -3.3 (---)

* guix/build/gnu-build-system.scm (unpack): Make 'first-subdirectory'
optional.
---
 guix/build/gnu-build-system.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-syste=
m.scm
index 4df0bb4904..4ebaa455b0 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -160,7 +160,7 @@ working directory."
         (if (string-suffix? ".zip" source)
             (invoke "unzip" source)
             (invoke "tar" "xvf" source))
-        (chdir (first-subdirectory "."))))
+        (chdir (or (first-subdirectory ".") "."))))
   #t)
=20
 (define %bootstrap-scripts




Acknowledgement sent to Danny Milosavljevic <dannym@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#38781; Package guix-patches. 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: Thu, 30 Jan 2020 12:30:02 UTC

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