From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id ssFHKOu1y2CtKwEAgWs5BA (envelope-from ) for ; Thu, 17 Jun 2021 22:51:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id X26YI+u1y2B3NAAAB5/wlQ (envelope-from ) for ; Thu, 17 Jun 2021 20:51:55 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 1CE7229748 for ; Thu, 17 Jun 2021 22:51:55 +0200 (CEST) Received: from localhost ([::1]:40696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ltyzR-0000my-GM for larch@yhetil.org; Thu, 17 Jun 2021 16:51:53 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltyzB-0000mm-4q for guix-devel@gnu.org; Thu, 17 Jun 2021 16:51:37 -0400 Received: from tobias.gr ([2a02:c205:2020:6054::1]:57646) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ltyz9-0007oR-7W for guix-devel@gnu.org; Thu, 17 Jun 2021 16:51:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=dDd9AndmDIxNe Pr7A2Wd2Yz1PSblhYh/01nuEYnAbWk=; h=date:in-reply-to:subject:cc:to: from:references; d=tobias.gr; b=awaBxuzrgDOamlZJhXgs5+ilNIO6dYUNTJuplw 6mGJxw0Tn2aIaZKSoQYbWuCtKL773UaEvE6HrUk3gPzGP8pcbpa4CbC8f9xrmoH1hewpO3 Fk3ddnpVEOakOE5krQG30DC1PeHCzdkPZmyFJUHC+uCiyqUBtb3GkkqMxx/5qaUsBFl+6C GtJOPd9a5+/W7o7nrUPU0zBo0BB3s5EnwnV1imCcShZJlb9BUcpDgZRqd1NcNC66jKJ2P5 FMV4rO4VB5lS+SxUm4LcD7AtMCur+/3XB8WvBnztvq+SeQAvPuhmrhKjXM6KwXXHIOff8n 0nNuu4+L2rdefBFNJoUbW6aA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 5240991f (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Thu, 17 Jun 2021 20:51:27 +0000 (UTC) References: <87tulwldmi.fsf@xelera.eu> From: Tobias Geerinckx-Rice To: Giovanni Biscuolo Cc: guix-devel@gnu.org Subject: Re: error building new package (In procedure chdir: Not a directory) Message-ID: <87h7hwpkc7.fsf@nckx> In-reply-to: <87tulwldmi.fsf@xelera.eu> BIMI-Selector: v=BIMI1; s=default; Date: Thu, 17 Jun 2021 22:52:20 +0200 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=2a02:c205:2020:6054::1; envelope-from=me@tobias.gr; helo=tobias.gr X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1623963115; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=dDd9AndmDIxNePr7A2Wd2Yz1PSblhYh/01nuEYnAbWk=; b=n46LjhYCsL94acUTOhJWyJl0Z8zmEJbjabvZ6aEYHyL6lIV1PGa6AXmdK6wo0a/PTdQ+0i jn6/YqKspEAWZphuJyS6LuFwN018X0uvK5Ys/oEDQLMjGn2O8VW1nTQ1vPKDDKms7qk7um tKPtPSP+wtYbAje91RjGyEsLHrkd4fpD5oK3hTMSUlzT8qJEUMUNbADEfMKV/XxvVtH6eO DRk6VMR89VXMPDw/iu38RIR4xX8rRgC3ZUdTivpV8P+op1L2fSmbl6TgK0rZsdybBG5tXD 3DICvPy+PEW5WouhnHACEuY9vm1FsHn3Vs+hFEW+gUXsptTk+Jwr7DKFKworIA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623963115; a=rsa-sha256; cv=none; b=Dkemv3syLAqmMr6OYe1v0tgsn9G3ifcnXnOSGtn6rPuW0HDGLlVYsUANDzDtmDSuAhEbJa LqzC+M5Wg3QY2aeHBo3SDnqAXrRupBdvKphPrKlBion2M87aWXWwIsMlF5S5uClKoxkvYK CJtliXB0cGpcn1AgjPv79vT2C0RqfkeqvelvyaFOvWQlht1hy654un7pOZbj0AwBlA6WyH D2S/krm5ViCkVZNcXCJpxNn57ukWCBxH/uzXo6QgaiebJkJ4Udoxt0CqAq3QaL+M77J61o Xqw1oQMwUQqlplzw0vfsjIo6NJD4K+rzn8kPYuprEQ6HA5CyGmOY1VkUwrCAjw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=awaBxuzr; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Spam-Score: -4.73 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=tobias.gr header.s=2018 header.b=awaBxuzr; dmarc=pass (policy=reject) header.from=tobias.gr; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Migadu-Queue-Id: 1CE7229748 X-Spam-Score: -4.73 X-Migadu-Scanner: scn1.migadu.com X-TUID: 9FffaPFGFrdW --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Giovanni, Giovanni Biscuolo =E5=86=99=E9=81=93=EF=BC=9A > If I try to build the package I get this error: [=E2=80=A6] Your source tarball contains multiple gzipped files, one of which=20 itself a tarball: > metadata.gz > data.tar.gz > checksums.yaml.gz > source is under 'checksums.yaml.gz' > Backtrace: > 2 (primitive-load=20 > "/gnu/store/0d1j4s7c1h8w6z700sxb88jqmjp?") > In ice-9/eval.scm: > 619:8 1 (_ #(#=20 > "checksum?")) > In unknown file: > 0 (chdir "checksums.yaml.gz") > > ERROR: In procedure chdir: > In procedure chdir: Not a directory Guix's heuristic is very simple: chdir to the first (or last,=20 dunno) file it finds in a tarball, because foo-1.2.3.tar.gz is=20 expected to contain a single foo-1.2.3 directory. It usually=20 works, but here it fails, so you need to use url-fetch/tarball=20 and/or further unpack the double-packed sources yourself in a=20 custom phase. Kind regards, T G-R --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIMEARYKACsWIQT12iAyS4c9C3o4dnINsP+IT1VteQUCYMu2BA0cbWVAdG9iaWFz LmdyAAoJEA2w/4hPVW15hgkBANBivXr288Xm7akr0DDoxEkMXqYzrp7q9j6Gkuc4 SEtuAQDPv1AADkBQQI7UY/9rjEmCbJ0KB5ND8yrvoU3+EYktBA== =57Pg -----END PGP SIGNATURE----- --=-=-=--