From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id mC06D+yaS2DmJgAA0tVLHw (envelope-from ) for ; Fri, 12 Mar 2021 16:46:36 +0000 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id yI4CC+yaS2AcPAAA1q6Kng (envelope-from ) for ; Fri, 12 Mar 2021 16:46:36 +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 B2E142032E for ; Fri, 12 Mar 2021 17:46:35 +0100 (CET) Received: from localhost ([::1]:41692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKkvq-00034b-Cl for larch@yhetil.org; Fri, 12 Mar 2021 11:46:34 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:41056) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lKkvO-00030b-Ul for guix-patches@gnu.org; Fri, 12 Mar 2021 11:46:14 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:46682) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lKkvK-0006p6-G9 for guix-patches@gnu.org; Fri, 12 Mar 2021 11:46:05 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lKkvK-0000Dm-Dw for guix-patches@gnu.org; Fri, 12 Mar 2021 11:46:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#47027] Disarchive package Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 12 Mar 2021 16:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47027 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: To: Timothy Sample Cc: Leo Prikler , 47027@debbugs.gnu.org Received: via spool by 47027-submit@debbugs.gnu.org id=B47027.1615567530801 (code B ref 47027); Fri, 12 Mar 2021 16:46:02 +0000 Received: (at 47027) by debbugs.gnu.org; 12 Mar 2021 16:45:30 +0000 Received: from localhost ([127.0.0.1]:58227 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKkun-0000Cp-G5 for submit@debbugs.gnu.org; Fri, 12 Mar 2021 11:45:29 -0500 Received: from eggs.gnu.org ([209.51.188.92]:50898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lKkul-0000Cc-GX for 47027@debbugs.gnu.org; Fri, 12 Mar 2021 11:45:28 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]:55982) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lKkue-0006Mk-AZ; Fri, 12 Mar 2021 11:45:20 -0500 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=32930 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lKkua-0006GC-Ps; Fri, 12 Mar 2021 11:45:18 -0500 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= References: <20210309193925.15447-1-samplet@ngyro.com> <20210309193925.15447-2-samplet@ngyro.com> <6c09a18a2f23bc093eecaae17fc9b007847ef14b.camel@student.tugraz.at> <87eeglwd1n.fsf_-_@gnu.org> <87im5xyssi.fsf@ngyro.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 22 =?UTF-8?Q?Vent=C3=B4se?= an 229 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 12 Mar 2021 17:45:15 +0100 In-Reply-To: <87im5xyssi.fsf@ngyro.com> (Timothy Sample's message of "Thu, 11 Mar 2021 22:06:37 -0500") Message-ID: <875z1ws4mc.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1615567595; 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: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=aU6/qW7spkhuOxhFsw/Uom/AE1bqCQ3QcD5zukM48BE=; b=cNBQMTnksKfJUMggaZHMpHRioeoqTVbdH+1xprr5SAV0PRacSzIOWfymfkWfSZFnNdylRm tsLYLWtwvl3rimSE4l5pJEw6OrNXlFY2jEPfFyOsQHrQBt88OQcaGVVVtL0gb6gsuHBMhv AdRgjuO91cEV4Qzt65K9KxfIIwAUKXFdbMSCb7nLMyHAV0W4U4QzZN5GOdl0nVfYLS2Lat j7t/c+MhQfcpRkrFrztkznQLqZKOdbKZL67npu6QbF/Ne0DUEPO3LH7O+AEzFf2JaDTMhF bCSFIWgfPSAgw/3TyUCAWPF7CjqH1XZd5OU1Uc7qxH2dVr2gWLDDsANRYuTU1A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1615567595; a=rsa-sha256; cv=none; b=IYcmEC6Pe4RuYSBKBWhkE5aJmma1goAAjQUIrbGd9WwX0wil2PZ/TuIPc6SZmXLvAsAn8T cNlZiIgkEOCK1dNWAogbUlHfQSoHR8KluiTn1YLXSMROiFXHI82uABPgpVNFcSmEM2/CGj 3pLI/K/lKxM90td/eTbIJFwwAKjPH1xF6uPm7O/QfMisyByBBW6MGOtXmrmq2BYEHb4MdS +IDurD5zb1AUwFToXI1L+5QO6Yq825PexrgwyHF7v2rujUTC0uWyPnOK62FD+m054JV75l Q9F7zUVFvz4lsO2lo4PNQ+otYjlLZil8riQ09SkTzlQyDdrrs8KQxhfpr6l6Bg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: -2.89 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: B2E142032E X-Spam-Score: -2.89 X-Migadu-Scanner: scn0.migadu.com X-TUID: iXhEgHx+BeT4 Hello! Timothy Sample skribis: > Ludovic Court=C3=A8s writes: > >> Leo Prikler skribis: >> >>> I've checked and the package seems to build fine with Guile 3.0.2. I >>> think the bytecode mismatch happens, because Guix compiles stuff with >>> 3.0.2 by default, but users have 3.0.5 in their system, which is not >>> bytecode-compatible. (As an exception, Guix itself seems to be >>> compiled with Guile 3.0.5 for performance reasons). >>> >>> I think it would be fine to add with Guile 3.0.2, perhaps adding a note >>> that Guile 3.0.5 will effectively be required to use Guix interop? If >>> not, could you provide a script, that breaks in a way other than >>> recompiling the mismatching code? >> >> I tend to agree here: I don=E2=80=99t think =E2=80=98guile-3.0-latest=E2= =80=99 is needed in this >> case. The only case where you need it is if it depends on a library, >> such as Guix, that is itself built with =E2=80=98guile-3.0-latest=E2=80= =99. > > Well, now I=E2=80=99m second guessing myself. :) > > It is just the auto compilation notes and warnings that I=E2=80=99m worri= ed > about. The module closure of =E2=80=9Cswh.scm=E2=80=9D works fine on Gui= le 3.0.2. > > Eventually, the daemon will invoke Disarchive via =E2=80=9Cbuiltin:downlo= ad=E2=80=9D and > =E2=80=9Cperform-download.scm=E2=80=9D. I intend to use the Scheme inter= face there, > which means Disarchive will be runing on Guile 3.0.5. For that, it > would be preferable to have a Guile 3.0.5 version of Disarchive, right? No, that=E2=80=99s fine. Guile 3.0.5 can run 3.0.2 bytecode without any warnings; what yields warnings is doing it the other way around. Anyway, we can always revisit this if problems come up. > On the other hand, when using Disarchive to extract metadata (e.g., with > Cuirass), the SWH code is not needed at all. > > I will resurrect my patch for calling Disarchive from Guix, and come > back to this when I know exactly what kind of package I need for that to > work smoothly. Yay! >>> As far as the location is concerned, I personally do not like adding >>> too many single-package files. Would it make sense to add this to >>> compression.scm (like gzip) or backup.scm (like libarchive)? >> >> Maybe there=E2=80=99ll be other packages eventually in archival.scm, lik= e the >> SWH Python code? It=E2=80=99s fine with me, but I don=E2=80=99t have a = strong opinion. > > I don=E2=80=99t feel strongly about it either. There=E2=80=99s other sof= tware besides > Disarchive and SWH that could be called =E2=80=9Carchival=E2=80=9D, and I= think it=E2=80=99s > more accurate than the other options. Dunno maybe you can do as Leo suggests by putting it in guile-xyz.scm or some such. Thanks! Ludo=E2=80=99.