From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id cITXKccD0mCt4wAAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 17:37:43 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id OOZ/JccD0mBMTAAAbx9fmQ (envelope-from ) for ; Tue, 22 Jun 2021 15:37:43 +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 53EE7202F6 for ; Tue, 22 Jun 2021 17:37:43 +0200 (CEST) Received: from localhost ([::1]:58932 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lviT8-0005mH-AD for larch@yhetil.org; Tue, 22 Jun 2021 11:37:42 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:55094) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lviSt-0005ln-ML for guix-devel@gnu.org; Tue, 22 Jun 2021 11:37:29 -0400 Received: from ns13.heimat.it ([46.4.214.66]:50418) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lviSq-0006Uh-Mi for guix-devel@gnu.org; Tue, 22 Jun 2021 11:37:26 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 3F95E3021BA; Tue, 22 Jun 2021 15:37:17 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at ns13.heimat.it Received: from ns13.heimat.it ([127.0.0.1]) by localhost (ns13.heimat.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a3RZ9Y9aLj2s; Tue, 22 Jun 2021 15:36:57 +0000 (UTC) Received: from bourrache.mug.xelera.it (unknown [93.56.171.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by ns13.heimat.it (Postfix) with ESMTPSA id 5EE033021B9; Tue, 22 Jun 2021 15:36:57 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 4A1CF101E9C9; Tue, 22 Jun 2021 17:36:56 +0200 (CEST) Received: (nullmailer pid 10274 invoked by uid 1000); Tue, 22 Jun 2021 15:36:55 -0000 From: Giovanni Biscuolo To: Tobias Geerinckx-Rice Subject: Re: error building new package (In procedure chdir: Not a directory) In-Reply-To: <87h7hwpkc7.fsf@nckx> Organization: Xelera.eu References: <87tulwldmi.fsf@xelera.eu> <87h7hwpkc7.fsf@nckx> Date: Tue, 22 Jun 2021 17:36:55 +0200 Message-ID: <87h7hpx65k.fsf@xelera.eu> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=46.4.214.66; envelope-from=g@xelera.eu; helo=ns13.heimat.it X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=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: , Cc: guix-devel@gnu.org 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=1624376263; 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; bh=Mnc1oRMnCFFWHhTJ5IWvIQPrz77FFIMnu2d+7zJdwyY=; b=ZE3Xee9BDeCMfn5tjDbodAEX+alHOWjRa2bXcwzFEeDAzu47PMfEuZCIz0vAJaAp3qoEOp 91iBo68tz/eGYWjSHGM3H+c692quPHoZSN9ck9o3yiq7paw+qwxJMr1UlIWtjFg2Ef7GNj ulBtuzsqcQcZqWYLr8GNTcI+9EYp35/xomIG2cFn+xykqHgZAYZgDG7Yx3PlrLtABjzOOd 0Y4CSkcuHOXF0bKoskdyCq/BO56vlrnEqlatV8sv2oDTqhYkpTDpS7Z3aUrAwDBozRAcfI hink6X5N+a+z8SYVkIS4HrtinOpR0jNXYKtI40lX8PuadGhut8A9efNQ6rIVWQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624376263; a=rsa-sha256; cv=none; b=uBL8Su+INM1EJqGxLDSG5ILzuLcUmaWEkvf4PIMNA3OIAkwRyLHNs07TeGmQ7/dSTr7I6P wG+vvUXVoNoum8lulIUZlwfGr1Z62/+cCW/lxRyxw3vKbNr1CXfOmxz5OnLoJsfZSMYRID 8/EWsfVw4xWyiIKCALSjy2FY4VXMyMXJr8MDdhblkCC/z2Wjjxw1d7kojOT7jufhnrR4yd WzTzfsdpMaPJhJHFe775aUDZ+xKN77R4eVlmEDxe9+htpHpCwqUFueBP2k57o/gk2U+QPI BHKm/VPULUJoQjMljqq27hv0zvszVHR4LPSuDBmgjnZeEDaFRk9aPDCR7VP5rQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; 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.52 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: 53EE7202F6 X-Spam-Score: -4.52 X-Migadu-Scanner: scn1.migadu.com X-TUID: ga5SY9FbGiwD --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Tobias, thank you for your help, Tobias Geerinckx-Rice writes: > 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, Yes but it fails only if I try to apply the patch, if I remove the patch (as in the v2 patch provided in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D49042#26) the package succesfully builds; I need to apply a patch to try fix a bug in the package. > so you need to use url-fetch/tarball and/or further unpack the > double-packed sources yourself in a custom phase. I'll try to do this: any example at hand please? One last question: may it be a ruby-build-system issue? Thank you! Giovanni. =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmDSA5cMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSzGMQAJy0R7XD8MUJcokNRhZj2qGS89SqMo8Y0/rLZUsK G4qIahfJbbvhRGPuFwz618r0XC/3+RqfQqDeOnwNlkdcvu+VhYWmeUfUnmwZW6IT TYEA5/sKvtWXlVPyCQ/z1vc4smFfZCDsKtUnGNYCOzNq5sWUYc6xp5pCS5Z2uZPQ nrQsWZ2bexuAPmNsYTjBrDAUtJWnBWu75bWReZ5m1Tz+8yWJybvquHcOLRCut+ot J4aqCssCIZh4PywWXnd7tbmRQZcc8tPYP1qc4qqKdxOD0uDSAPRPX+2itZ7saE6N dyDMLHwMRZiMFjc9bBmU4Y93+CxMTxvDuEt8jbiTkRb1FObxd1aJC2KOzObiZ+pS zgCOii2u7fPNUevIEpKp9qmYjKeWV+KJGuFK9m1OH1u5fs82eWhjUo158ILTZD3y pwyMOxDODevjFgvYyBKw0ACTP9SEko2jHvuNXiZqr6QWjBZpOghLhzssiOydez8F 1VziWTZROXI9LWWcMGAp/aJHBxVpzSDFeoahASZ2xC6wZjPuzm/u0rVvHQ4QLn9A XrSWSLSDx66EtVfSWw3vec+jBHhTy3O8f0n/wcryyNAefltZR1M2bszHxgv2EyTi v9W5LeZl4rtVTHVfiCqZXYiZ9d7HqfVEpSjjmuXqjvk5g7MfvT26f/CUCOTxS1vu wn13 =0NeT -----END PGP SIGNATURE----- --=-=-=--