GNU bug report logs - #28602
Unpack fails with no error message when using a .zip source

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: nee <nee@HIDDEN>; Keywords: patch; dated Mon, 25 Sep 2017 20:11:01 UTC; Maintainer for guix is bug-guix@HIDDEN.
Added tag(s) patch. Request was from nee <nee@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 28602) by debbugs.gnu.org; 9 Oct 2017 21:05:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 17:05:09 2017
Received: from localhost ([127.0.0.1]:58715 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e1fEb-0000OW-Jh
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2017 17:05:09 -0400
Received: from cock.li ([185.100.85.212]:56709)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nee@HIDDEN>) id 1e1fEa-0000OC-Cj
 for 28602 <at> debbugs.gnu.org; Mon, 09 Oct 2017 17:05:08 -0400
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on cock.li
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00
 shortcircuit=_SCTYPE_ autolearn=disabled version=3.4.1
Subject: Re: bug#28602: Unpack fails with no error message when using a .zip
 source
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail;
 t=1507583102; bh=8WHIiyfo1wVBjePU3E4F+TiStD2UB/DZJgMBLz0LBtI=;
 h=Subject:To:References:Cc:From:Date:In-Reply-To:From;
 b=tZ+mcD4h+e4T1O8iXaiFKK6GC/f3pOC7FkQ8bBzH5xFoWNXqa521zzTptpnPZ68TX
 /Wt4FIeGdpwZX30zPdXRB7iKdOXzTkyyncAiW25Q5ZEnHgeMhPRyTmNzpVqJlIB3Ns
 8oJ8GYjGOwzyr1Y0FVktRgZx5I78w7Mdh3UM2eZRZdf85zlRinw7Le1qU3V+AwH2or
 PEvoJxZvotsX3uJFeR9p7iVhntJ/9C8tvhuWqR2xssg8ULgwTZCsPh0jreJ6sIxcge
 DliFF6eMygcIxjBZiTq+pRDMOq1qmoZU+BLfahC3h7msSmWcKkuU7HkZ4U4NtoIQy1
 Dc+hClGa+RbYA==
To: Adonay Felipe Nogueira <adfeno@HIDDEN>
References: <2c2ccbd7-bb47-5292-74d9-e4c7fdc2c990@HIDDEN>
 <87wp4abwwm.fsf@HIDDEN>
From: nee <nee@HIDDEN>
Message-ID: <1771470d-8b9a-a516-7da2-6532432955a4@HIDDEN>
Date: Mon, 9 Oct 2017 23:05:02 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <87wp4abwwm.fsf@HIDDEN>
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 28602
Cc: 28602 <at> debbugs.gnu.org
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.0 (/)

Am 04.10.2017 um 20:17 schrieb Adonay Felipe Nogueira:
> Does the .zip file have a a single directory on the root?
> 
> If not, then we can call it a zipbomb/tarbomb. These bombs are bad
> because they can replace things without notice, and can be very
> difficult to track what was added. Last time I checked Guix expects only
> a single directory in the root of the file --- this might have changed,
> but I didn't test it since one year ago.

Hello, this is a different problem. Tarbombs are still a problem, but
unrelated to this.

The gnu-build-system does not have unzip by default. If a package's
source comes in a zip the package must have unzip as native-input. If it
isn't the (system* "unzip" source) call in the unpack function will fail
because there is no unzip executable.

Happy hacking!




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

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


Received: (at 28602) by debbugs.gnu.org; 9 Oct 2017 21:00:55 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Oct 09 17:00:55 2017
Received: from localhost ([127.0.0.1]:58702 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1e1fAV-0000Ga-5S
	for submit <at> debbugs.gnu.org; Mon, 09 Oct 2017 17:00:55 -0400
Received: from cock.li ([185.100.85.212]:55884)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nee@HIDDEN>) id 1e1fAT-0000GJ-3h
 for 28602 <at> debbugs.gnu.org; Mon, 09 Oct 2017 17:00:54 -0400
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on cock.li
X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00
 shortcircuit=_SCTYPE_ autolearn=disabled version=3.4.1
Subject: Re: bug#28602: [PATCH] guix: gnu-build-system: warn about missing
 unzip input unzip
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail;
 t=1507582845; bh=5PweF0XiHKb66LTsnsBnZPxv+kZ/Cb1oLamgx76aE5k=;
 h=Subject:From:To:References:Date:In-Reply-To:From;
 b=ILMbgZ+qYE88WPue6yZ+Qii4hjB6nTWmF0R4VUZxvAlLbESi4nD+BA0PD/oORKm3r
 noxQxaLr3qm9TIHWijvovRc+/VIZzO8E/ZjBJVdwCC6Howi9FQYbGtv0+ob6B3k47q
 DGbz6kJ/W7C2od+J5AO3P8XL7rCLq8rZfoQQX1OJjRvAuJMhOWpd31AcKcqEYMScVM
 aTc2yHeMuPKqqwujx5Ilm084da7bpsKFDBpZp0UdOLm1KWXt5FS/EXaT1Wi2m+bZj9
 HJ1ortoXUTml1DgTvzP05O95WRD/LimgNtMq/cABAUPeBES6rhiIOvQqCSob9IwDIU
 tXu2PJLdZp7Iw==
From: nee <nee@HIDDEN>
To: 28602 <at> debbugs.gnu.org
References: <2c2ccbd7-bb47-5292-74d9-e4c7fdc2c990@HIDDEN>
Message-ID: <7075db45-09ad-f2d7-1bd4-27f2c9755a42@HIDDEN>
Date: Mon, 9 Oct 2017 23:00:29 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.3.0
MIME-Version: 1.0
In-Reply-To: <2c2ccbd7-bb47-5292-74d9-e4c7fdc2c990@HIDDEN>
Content-Type: multipart/mixed; boundary="------------E2723A09A93805169AB0EC89"
Content-Language: en-GB
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 28602
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.0 (/)

This is a multi-part message in MIME format.
--------------E2723A09A93805169AB0EC89
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

Hello here is a patch to fix this bug. It changes the gnu-build-system,
so the hashes of almost all packages will also change. I guess
core-updates is the right branch for this.


--------------E2723A09A93805169AB0EC89
Content-Type: text/x-patch;
 name="0001-guix-gnu-build-system-warn-about-missing-unzip-input.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="0001-guix-gnu-build-system-warn-about-missing-unzip-input.pa";
 filename*1="tch"

From 089b9741a734f0682a671df6c0c36dfefcbd407c Mon Sep 17 00:00:00 2001
From: nee <nee.git@HIDDEN>
Date: Mon, 9 Oct 2017 22:49:12 +0200
Subject: [PATCH] guix: gnu-build-system: warn about missing unzip input during
 unpack.

---
 guix/build/gnu-build-system.scm | 17 ++++++++++++++++-
 1 file changed, 16 insertions(+), 1 deletion(-)

diff --git a/guix/build/gnu-build-system.scm b/guix/build/gnu-build-system.scm
index e37b75140..c16d15964 100644
--- a/guix/build/gnu-build-system.scm
+++ b/guix/build/gnu-build-system.scm
@@ -67,6 +67,21 @@ See https://reproducible-builds.org/specs/source-date-epoch/."
                     #f
                     dir))
 
+(define (unzip filepath)
+  "Unzip archive file.
+Warn the user when unzip fails and the executable is not present."
+  (define exit-code (system* "unzip" filepath))
+  (define program-not-found-code 32512)
+  (cond ((zero? exit-code) #t)
+        ((eqv? exit-code program-not-found-code)
+         (format (current-error-port)
+                 "warning: Archive with .zip suffix failed to unpack.
+Please add unzip as native-input to the package,
+e.g. (native-inputs `((\"unzip\" ,unzip)))")
+         (newline (current-error-port))
+         #f)
+        (else #f)))
+
 (define* (set-paths #:key target inputs native-inputs
                     (search-paths '()) (native-search-paths '())
                     #:allow-other-keys)
@@ -154,7 +169,7 @@ working directory."
                           #:keep-mtime? #t)
         #t)
       (and (if (string-suffix? ".zip" source)
-               (zero? (system* "unzip" source))
+               (unzip source)
                (zero? (system* "tar" "xvf" source)))
            (chdir (first-subdirectory ".")))))
 
-- 
2.14.1


--------------E2723A09A93805169AB0EC89--




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

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


Received: (at submit) by debbugs.gnu.org; 4 Oct 2017 18:17:34 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Oct 04 14:17:34 2017
Received: from localhost ([127.0.0.1]:49183 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dzoEf-0002YY-2v
	for submit <at> debbugs.gnu.org; Wed, 04 Oct 2017 14:17:34 -0400
Received: from eggs.gnu.org ([208.118.235.92]:40232)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <adfeno@HIDDEN>) id 1dzoEc-0002YI-UT
 for submit <at> debbugs.gnu.org; Wed, 04 Oct 2017 14:17:31 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adfeno@HIDDEN>) id 1dzoEW-00036Y-N8
 for submit <at> debbugs.gnu.org; Wed, 04 Oct 2017 14:17:25 -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,URIBL_BLOCKED
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:53522)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <adfeno@HIDDEN>)
 id 1dzoEW-00036Q-Jy
 for submit <at> debbugs.gnu.org; Wed, 04 Oct 2017 14:17:24 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:59431)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <adfeno@HIDDEN>) id 1dzoEV-0002hd-5w
 for bug-guix@HIDDEN; Wed, 04 Oct 2017 14:17:24 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <adfeno@HIDDEN>) id 1dzoEQ-00030A-8D
 for bug-guix@HIDDEN; Wed, 04 Oct 2017 14:17:23 -0400
Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:34359)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <adfeno@HIDDEN>)
 id 1dzoEQ-0002yn-1g
 for bug-guix@HIDDEN; Wed, 04 Oct 2017 14:17:18 -0400
X-Originating-IP: 181.221.159.64
Received: from adfeno-pc1 (unknown [181.221.159.64])
 (Authenticated sender: adfeno@HIDDEN)
 by relay4-d.mail.gandi.net (Postfix) with ESMTPSA id 0F6081720BF
 for <bug-guix@HIDDEN>; Wed,  4 Oct 2017 20:17:14 +0200 (CEST)
From: Adonay Felipe Nogueira <adfeno@HIDDEN>
To: bug-guix@HIDDEN
Subject: Re: bug#28602: Unpack fails with no error message when using a .zip
 source
References: <2c2ccbd7-bb47-5292-74d9-e4c7fdc2c990@HIDDEN>
Date: Wed, 04 Oct 2017 15:17:13 -0300
In-Reply-To: <2c2ccbd7-bb47-5292-74d9-e4c7fdc2c990@HIDDEN> (nee@HIDDEN's
 message of "Mon, 25 Sep 2017 22:10:19 +0200")
Message-ID: <87wp4abwwm.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (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-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.1 (----)
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.1 (----)

Does the .zip file have a a single directory on the root?

If not, then we can call it a zipbomb/tarbomb. These bombs are bad
because they can replace things without notice, and can be very
difficult to track what was added. Last time I checked Guix expects only
a single directory in the root of the file --- this might have changed,
but I didn't test it since one year ago.

nee <nee@HIDDEN> writes:

> Hello,
>
> right now unpacking .zip sources only works when unzip is added as
> native input. That's all right, but there is no error message, just:
>
> starting phase `unpack'
> phase `unpack' failed after 0.0 seconds
>
> It should say something like:
>
> starting phase `unpack'
> Archive with .zip suffix failed to unpack. Please add unzip as
> native-input to the package, e.g. (native-inputs `(("unzip" ,unzip)))
> phase `unpack' failed after 0.0 seconds
>
> I tested this in the cmake-build-system

--=20
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (n=C3=A3o confundir com
  gratis).
- "WhatsApp"? Ele n=C3=A3o =C3=A9 livre. Por favor, use o GNU Ring ou o Tox.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
  Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
  GIMP, Inkscape SVG, JPG, LibreOffice (padr=C3=A3o ODF), OGG, OPUS, PDF
  (apenas sem DRM), PNG, TXT, WEBM.




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

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


Received: (at submit) by debbugs.gnu.org; 25 Sep 2017 20:10:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Sep 25 16:10:39 2017
Received: from localhost ([127.0.0.1]:58998 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1dwZiB-00054I-68
	for submit <at> debbugs.gnu.org; Mon, 25 Sep 2017 16:10:39 -0400
Received: from eggs.gnu.org ([208.118.235.92]:35339)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <nee@HIDDEN>) id 1dwZi9-000545-EA
 for submit <at> debbugs.gnu.org; Mon, 25 Sep 2017 16:10:38 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nee@HIDDEN>) id 1dwZi3-0001mf-Ah
 for submit <at> debbugs.gnu.org; Mon, 25 Sep 2017 16:10:32 -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,T_DKIM_INVALID
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:54958)
 by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nee@HIDDEN>) id 1dwZi3-0001mU-78
 for submit <at> debbugs.gnu.org; Mon, 25 Sep 2017 16:10:31 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:54534)
 by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <nee@HIDDEN>)
 id 1dwZi2-0004ex-36
 for bug-guix@HIDDEN; Mon, 25 Sep 2017 16:10:30 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <nee@HIDDEN>) id 1dwZhy-0001k9-UG
 for bug-guix@HIDDEN; Mon, 25 Sep 2017 16:10:30 -0400
Received: from cock.li ([185.100.85.212]:46314)
 by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32)
 (Exim 4.71) (envelope-from <nee@HIDDEN>) id 1dwZhy-0001ha-FP
 for bug-guix@HIDDEN; Mon, 25 Sep 2017 16:10:26 -0400
To: bug-guix@HIDDEN
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cock.li; s=mail;
 t=1506370220; bh=oPmwle5wzcfr2MOTs2mSK9SKTT+4f+1dlH2/ZYTaSxk=;
 h=To:From:Subject:Date:From;
 b=gaquSYKuhNbPpxDDBg9x4wGQL4SB/v86x4A+sq80t/y1lg2BfzAgaU47LGcRMNUqQ
 ISvziKqqWAezeW3CIE9RqVbwzsytBm6UhP1WvfK6GF3QUXrs+ncFu93i8XiGWhjq+b
 kSBgzh3hNVaHknLQMWCmo1YCMeY67MfmsJJrMlkmmHpFGgE6BSed6uLl03lwzYthqd
 YBrRWDWD+h035aQIaW4wLMUWS20E4rkJsYgw7WaWsO9MFwzsES/4RS3H1se0yJVRvx
 67m7xyDPINe0BhL+OtwysdfvbHygbsbG97VL7LQUKp2E2wY++mx2nvXw3Lk7h1VdE9
 dkKfuTcT+8blA==
From: nee <nee@HIDDEN>
Subject: Unpack fails with no error message when using a .zip source
Message-ID: <2c2ccbd7-bb47-5292-74d9-e4c7fdc2c990@HIDDEN>
Date: Mon, 25 Sep 2017 22:10:19 +0200
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.3.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Language: en-GB
Content-Transfer-Encoding: quoted-printable
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic]
 [fuzzy]
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.1 (----)
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.1 (----)

Hello,

right now unpacking .zip sources only works when unzip is added as
native input. That's all right, but there is no error message, just:

starting phase `unpack'
phase `unpack' failed after 0.0 seconds

It should say something like:

starting phase `unpack'
Archive with .zip suffix failed to unpack. Please add unzip as
native-input to the package, e.g. (native-inputs `(("unzip" ,unzip)))
phase `unpack' failed after 0.0 seconds

I tested this in the cmake-build-system




Acknowledgement sent to nee <nee@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#28602; 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: Sun, 26 Nov 2017 18:30:02 UTC

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