From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MN1SJ3wR0mDIAQEAgWs5BA (envelope-from ) for ; Tue, 22 Jun 2021 18:36:12 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id uCv5InwR0mBWBgAAB5/wlQ (envelope-from ) for ; Tue, 22 Jun 2021 16:36:12 +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 52AF4230B3 for ; Tue, 22 Jun 2021 18:36:12 +0200 (CEST) Received: from localhost ([::1]:51880 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvjNj-0003UY-7O for larch@yhetil.org; Tue, 22 Jun 2021 12:36:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:42356) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lvjNT-0003Qp-I5 for guix-devel@gnu.org; Tue, 22 Jun 2021 12:35:55 -0400 Received: from ns13.heimat.it ([46.4.214.66]:50764) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lvjNQ-0002IH-2g for guix-devel@gnu.org; Tue, 22 Jun 2021 12:35:55 -0400 Received: from localhost (ip6-localhost [127.0.0.1]) by ns13.heimat.it (Postfix) with ESMTP id 54D753021BA; Tue, 22 Jun 2021 16:35:48 +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 VrI8ceDyc5GT; Tue, 22 Jun 2021 16:35:47 +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 E9D3A3021B9; Tue, 22 Jun 2021 16:35:46 +0000 (UTC) Received: from roquette.mug.biscuolo.net (roquette [10.38.2.14]) by bourrache.mug.xelera.it (Postfix) with SMTP id 579A6101EF14; Tue, 22 Jun 2021 18:35:46 +0200 (CEST) Received: (nullmailer pid 12073 invoked by uid 1000); Tue, 22 Jun 2021 16:35:46 -0000 From: Giovanni Biscuolo To: Tobias Geerinckx-Rice Subject: Re: error building new package (In procedure chdir: Not a directory) In-Reply-To: <87h7hpx65k.fsf@xelera.eu> Organization: Xelera.eu References: <87tulwldmi.fsf@xelera.eu> <87h7hwpkc7.fsf@nckx> <87h7hpx65k.fsf@xelera.eu> Date: Tue, 22 Jun 2021 18:35:45 +0200 Message-ID: <87czsdx3fi.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=1624379772; 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=R9P5z4oSQBGBnlt5CQimqVGdXYh6dYer+Uw9QCE+9Tc=; b=tZ4x4xL0ZSSHHIl0UzZS5/ucJB5MUUeY9lGdK3MddSL+HF9vz96oxul3d766QRdXZ/Ud3F OjJs3xQtQT41ONN0HterLUDag7IADkzWVdBeTgSOSI//07DtH+Ih9QH+MtVUZ3OmKds3t3 MG13XezZ5HW22kAje5JpKgVMbljpyvZxjH4wVkFA5iOl5/8W1GD/OJKAlgwzq0wvUCXGrm Ls41+eWChmtUHezFnd51xsIZ/ZOLtJEg8VVIL4X7PR/tzHN5uxui7k2/crT4FrlTiFENbD iy9wQTgukJBn31zaL1w7VSaL02xRPXWUTZ++SEP2eS8Ta/bG5x7uvE610yvWAw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624379772; a=rsa-sha256; cv=none; b=mdGH/y412mZLmiHzmksXJ2vxalszJvNQFxUIolL+IupHQacDTYKKUF3npPNNouSwY2rDnF Tumua74/x52KwG3RtJoUdNKiEDrYV4uf1F/oGzkcuxH+KRF39jHvUKMuWYC/B7nCmgUERD Yktz1V6dp4luS1TMKMPMBFnuGNQF5zgJyEfIeG4jX/aPt2n8RKY8hv/JXAizHMW3KpscGS dUf7WbPfGivmV9H/TQz1/89hjop9t6VgtbcG2SdG6Awvbgp/BNbYVX5eW+6xbFlGUo/mYB pau4eAvolrGDYQhxWWuEWJIiVANkMBH3h0jyNO6HGVl9YO2sl20L9nh1ThVeEA== 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: -2.02 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: 52AF4230B3 X-Spam-Score: -2.02 X-Migadu-Scanner: scn0.migadu.com X-TUID: xGaMT24K1ZzS --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello, some more info since I still do not understand where *.gz files are coming from Giovanni Biscuolo writes: [...] >> 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 If I build the package with "--keep-failed" I can inspect the kept building dir /home/guix-builder/guix-build-ruby-taskjuggler-3.7.1.drv-4, and there are no *.gz files [...] >> 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? I've found and tried this: =2D-8<---------------cut here---------------start------------->8--- (add-after 'unpack 'unpack-bundled-sources (lambda _ (with-directory-excursion "." (invoke "tar" "xf" "checksums.yaml.gz")))) =2D-8<---------------cut here---------------end--------------->8--- but it fails: =2D-8<---------------cut here---------------start------------->8--- starting phase `unpack-bundled-sources' tar: checksums.yaml.gz: Cannot open: No such file or directory tar: Error is not recoverable: exiting now command "tar" "xf" "checksums.yaml.gz" failed with status 2 =2D-8<---------------cut here---------------end--------------->8--- I still don't understand why appying a patch (with "(patches (search-patches....))" in (source (origin...)) is failing. Thanks! Giovanni =2D-=20 Giovanni Biscuolo Xelera IT Infrastructures --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQJABAEBCgAqFiEERcxjuFJYydVfNLI5030Op87MORIFAmDSEWEMHGdAeGVsZXJh LmV1AAoJENN9DqfOzDkSdmEP/iUvOXOv/c+5Ew4fuGkKxmoFb1qr7zWfrOsmqmjI cm+3SHuhBYD2WHsOPoGDw4NCG7jf5a6O3sQxY7vsnyM8uPMwky0ef0J/uNAB29aj zBpNKKWbDvMW/AnwR8s0LTVd1xA1meidm2AW148snXXllMojRXVzBQELLgILzYzx 02U/pBMiMEsDeliPEax1wASBnmK75YuWzqITzggeVYVdVnFY64QsSy14XC2dBRtM 30r+xyl3yQRUh9MUaDalIvX2dwPzTqcSXHz54EjqAZJ9cwnc22smDEaSUm2D6qb4 EV0WKWvo3cpypEJAiGphVnyYvwD7j3+UEuV5TeaW7pKxSeWjz4uOZZagxXuBcV5I s7rPxZwyvFuAFQ7ttqdsxAtYb2q04QFr3ACCcrvK3wJ3H8jmN0e/awbuzyhiJW+q IMiGAX526qovTVwmvAaP43u2QZQrFFsOQ28jRgrNSJYliq5Kaoggys2LHRDkNfqO P5OT21oAkYJlbC1HYoq9fxppE2Gte+7O3WjJSnakxQTA3vS7DB5hLhlMW8j8RE0N 4s7gE1CAjeztP8ztCrW+b61BhhK4AgMJkNImfpsNZteJYIKfChCUyUoRj2g1/zKk QnVwHJDPYgqZc8+WI/BSlGmgVOM6+uRxZ8whcdJzzJXH6IyJl0s6kjFr6N5BNqPk aqUo =4Ghg -----END PGP SIGNATURE----- --=-=-=--