GNU bug report logs - #62008
[PATCH 0/2] Update Disarchive to 0.5.0

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-patches; Reported by: Simon Tournier <zimon.toutoune@HIDDEN>; dated Mon, 6 Mar 2023 19:19:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.
Removed tag(s) patch. Request was from Simon Tournier <zimon.toutoune@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Did not alter fixed versions and reopened. Request was from Debbugs Internal Request <help-debbugs@HIDDEN> to internal_control <at> debbugs.gnu.org. Full text available.
bug closed, send any further explanations to 62008 <at> debbugs.gnu.org and Simon Tournier <zimon.toutoune@HIDDEN> Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 62008) by debbugs.gnu.org; 10 Mar 2023 16:44:41 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 10 11:44:41 2023
Received: from localhost ([127.0.0.1]:55669 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pafrE-0001n2-J0
	for submit <at> debbugs.gnu.org; Fri, 10 Mar 2023 11:44:41 -0500
Received: from eggs.gnu.org ([209.51.188.92]:41164)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1pafrA-0001mn-8f
 for 62008 <at> debbugs.gnu.org; Fri, 10 Mar 2023 11:44:39 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pafr3-0001QP-7Z; Fri, 10 Mar 2023 11:44:30 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=b+VJ9l8DNVQWB4jhqGFO1snKz/HCQVNUIyp+TgH1i7Q=; b=eBtRrwBOFRj40yVIrU5t
 CnQAu0c2/TIjvaJaCEK4Ue3U7l+wSoPmyFne5WcYI0ODWlVSFHxHEm4oUjlyjiemOpFuZenNFbKhK
 gCYTDWquxVOxW2ZOVfiRwJ/SEJM6q0XJ4/4Y6M52IjoubVPqN39x2+2ilZlKHbNCEmZB3dypqufr8
 dkjoJTIa9JKS5+UtdC1c8cSBG9YgTjSJiA2ur8PkHApWkkSOxCaGq4BTDsUXV2+C2tXJ+n7oE+tyC
 W18fVZKUgDjMi/duUbPA4K7Z0YlL8rjffmLlZb8s4Z7vSfQ+yXyb3pBObXjA8sXjZAu153OWaB8vh
 vnqWaDfxysg0AA==;
Received: from [193.50.110.253] (helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pafr2-0004sL-LK; Fri, 10 Mar 2023 11:44:28 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0
References: <20230306191814.3638619-1-zimon.toutoune@HIDDEN>
 <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
 <87jzzsevsh.fsf_-_@HIDDEN> <87a60odep4.fsf@HIDDEN>
 <87bkl1aukx.fsf@HIDDEN> <87bkl0omtg.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 =?utf-8?Q?Vent=C3=B4se?= an
 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Cordeau
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, 10 Mar 2023 17:44:25 +0100
In-Reply-To: <87bkl0omtg.fsf@HIDDEN> (Simon Tournier's message of "Fri, 10
 Mar 2023 12:41:47 +0100")
Message-ID: <87bkl0imja.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62008
Cc: 62008 <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: -3.3 (---)

Simon Tournier <zimon.toutoune@HIDDEN> skribis:

> On ven., 10 mars 2023 at 09:17, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
>> Hmm good point.  So maybe we need to wrap after all, and also keep
>> propagated inputs (as an example, (guix build download) uses the
>> Disarchive modules directly, not the command.)
>
> I am proposing to have =E2=80=99package/inherit=E2=80=99,
>
>  1. =E2=80=99disarchive=E2=80=99: the standalone CLI with wrap
>  2. =E2=80=99guile-disarchive=E2=80=99: the library with propagated-inputs

I think having a single package is more convenient: it would both
propagate inputs and wrap the binaries as you proposed.

Ludo=E2=80=99.




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

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


Received: (at 62008) by debbugs.gnu.org; 10 Mar 2023 12:09:24 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 10 07:09:24 2023
Received: from localhost ([127.0.0.1]:53933 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pabYq-0005Wb-4C
	for submit <at> debbugs.gnu.org; Fri, 10 Mar 2023 07:09:24 -0500
Received: from mail-wr1-f50.google.com ([209.85.221.50]:37492)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pabYo-0005Vq-0i
 for 62008 <at> debbugs.gnu.org; Fri, 10 Mar 2023 07:09:22 -0500
Received: by mail-wr1-f50.google.com with SMTP id h14so4831688wru.4
 for <62008 <at> debbugs.gnu.org>; Fri, 10 Mar 2023 04:09:21 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1678450156;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=+UuGUiaZinm78AGJgDjnUT6fCNYN2xM3ZM4DRrySvgw=;
 b=LJxvPAlMxay2AiA/DYC43OalDWIhK+TBvst5PcqSLQKROqGOWHMgrLiuBlju7QQt6E
 Tvh6xjUImg6F9WGBHL6xkXMRHVYr71GRnpHSZtkvjM2EkajPG9IzN42W/tiLqMWbDUMa
 QHMLcYxJg4lGq9iL02JWLrGtvxAzhGw9FaWjga3IOyuDwOqz03+tBIleSlkx9Y0BiOpA
 poZ0l53G7mfQVu9+DOfiK7rNm3DtpzrGYwgfjrDF1btaz+8nJCnHHCciRGH9TEAV+sb2
 wjwLwd8EZNBND9sNF3ZwWI5c0uaJ1Dm+bn6orGWw6ZN9sVBFkUVZUBWOrHx0hn1C+S4Y
 R2zA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1678450156;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=+UuGUiaZinm78AGJgDjnUT6fCNYN2xM3ZM4DRrySvgw=;
 b=Oqya1NtuIhYUbldtcPgUo6sG/hE6JnH8gbIy9vK7MdmTfX2oCussq8ejxHez4WwIvA
 IFbXaR+AcKqHEmtVEYLgGY2qCX0VsK98hxZdXpc1spb9aol1XlbFemDu7EkMVafJaVWv
 taKZ058y7/NXOcMbq/7uN5ALYdVReFnhqiD1+1djibGEIVwfnbA905XdMvO5fB59+cYQ
 qTpbHbI5XFeoUvbR9nHL2eONRSRomOf0BROsvW3TPTnGLVZNU5g3sUSwUQhkR5cR8X1w
 98KvoA78IYLIUTZKwrjM1hwKDpMgC/oP8r9+I9DXLHR5H/mly0yqKcocF0dEKJHaE2+g
 AFgQ==
X-Gm-Message-State: AO0yUKXKnyEvt5KrNAGfHjIsVB07DWA+45WOpVG0HQoSkQnQdx8XT8xb
 MGhrx/5R5WRCaorpEaRNfVSX7RDZSlg=
X-Google-Smtp-Source: AK7set+ZmxUtnmtcBqJMvct7P/GlhCr8y2odIpAGe/lMaElFN0krq17tvwiWmuJlaLwN+IVDyw65dg==
X-Received: by 2002:adf:fb4c:0:b0:2cb:9833:1e95 with SMTP id
 c12-20020adffb4c000000b002cb98331e95mr1260705wrs.3.1678450156162; 
 Fri, 10 Mar 2023 04:09:16 -0800 (PST)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 h18-20020a5d6e12000000b002c551f7d452sm2012229wrz.98.2023.03.10.04.09.15
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Fri, 10 Mar 2023 04:09:15 -0800 (PST)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0
In-Reply-To: <87bkl1aukx.fsf@HIDDEN>
References: <20230306191814.3638619-1-zimon.toutoune@HIDDEN>
 <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
 <87jzzsevsh.fsf_-_@HIDDEN> <87a60odep4.fsf@HIDDEN>
 <87bkl1aukx.fsf@HIDDEN>
Date: Fri, 10 Mar 2023 12:41:47 +0100
Message-ID: <87bkl0omtg.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62008
Cc: 62008 <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: -1.0 (-)

Hi Ludo,

On ven., 10 mars 2023 at 09:17, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> Hmm good point.  So maybe we need to wrap after all, and also keep
> propagated inputs (as an example, (guix build download) uses the
> Disarchive modules directly, not the command.)

I am proposing to have =E2=80=99package/inherit=E2=80=99,

 1. =E2=80=99disarchive=E2=80=99: the standalone CLI with wrap
 2. =E2=80=99guile-disarchive=E2=80=99: the library with propagated-inputs

WDYT?


Cheers,
simon




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

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


Received: (at 62008) by debbugs.gnu.org; 10 Mar 2023 08:18:02 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Mar 10 03:18:02 2023
Received: from localhost ([127.0.0.1]:53632 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1paXwv-0007AV-Pu
	for submit <at> debbugs.gnu.org; Fri, 10 Mar 2023 03:18:02 -0500
Received: from eggs.gnu.org ([209.51.188.92]:50980)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1paXwt-0007AH-Ed
 for 62008 <at> debbugs.gnu.org; Fri, 10 Mar 2023 03:18:00 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1paXwo-0008Bp-12; Fri, 10 Mar 2023 03:17:54 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=DwZAgzv9YByDzDe7+ShOSVXwcIaGFoS7FkeKj6DGYLQ=; b=TAC32yOx/O7kii4RMBTU
 t1Z7bqq5cgYcK0vtfh9djvxzkLRJcyhYuMvJBDhigBV8XJ44voF/eMZ3SSG7vvmoS855xLsHLFrDr
 PubUnNRVVyWZmomlUssbbRwyDIockRj0uECTIeFBO455pUg3TOsGp/DKn4hvHXfurJRWjBKaF0Bm+
 Shpwvm5BOz0uxDMeT8/qFrIpsNjeqpuEim6ROItUeipidAMgbqXZCOeb/5blZtH203Y6b+he6KIj5
 lNuKGwFWAwX0cfiVhjBk3HO+g+17nEcX7kHIqfqpinx/Fpj1CN4Mpa0bQ/19bbFOJ5iYUB60J3ZYH
 iEPtFpHA9YsNHw==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1paXwn-0007lB-KW; Fri, 10 Mar 2023 03:17:53 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0
References: <20230306191814.3638619-1-zimon.toutoune@HIDDEN>
 <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
 <87jzzsevsh.fsf_-_@HIDDEN> <87a60odep4.fsf@HIDDEN>
X-URL: http://www.fdn.fr/~lcourtes/
X-Revolutionary-Date: =?utf-8?Q?D=C3=A9cadi?= 20 =?utf-8?Q?Vent=C3=B4se?= an
 231 de la =?utf-8?Q?R=C3=A9volution=2C?= jour du Cordeau
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, 10 Mar 2023 09:17:50 +0100
In-Reply-To: <87a60odep4.fsf@HIDDEN> (Simon Tournier's message of "Tue, 07
 Mar 2023 11:43:35 +0100")
Message-ID: <87bkl1aukx.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62008
Cc: 62008 <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: -3.3 (---)

Hi Simon!

Simon Tournier <zimon.toutoune@HIDDEN> skribis:

> On mar., 07 mars 2023 at 10:49, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:
>
>> For this package, I have a slight preference for keeping propagated
>> inputs so that one can use Disarchive as a library.
>
> Well, maybe I am missing a point but currently for Disarchive standalone,
>
> $ guix shell -C disarchive -- disarchive disassemble hello-2.12.1
> Backtrace:

Hmm good point.  So maybe we need to wrap after all, and also keep
propagated inputs (as an example, (guix build download) uses the
Disarchive modules directly, not the command.)

I realize that I worked around it in =E2=80=98etc/disarchive-manifest.scm=
=E2=80=99.

>>> +              (let* ((effective
>>> +                      (read (open-pipe* OPEN_READ
>>> +                                        (string-append #$guile-3.0 "/b=
in/guile")
>>> +                                        "-c" "(write (effective-versio=
n))")))
>>
>> (guix build guile-build-system) exports =E2=80=98target-guile-effective-=
version=E2=80=99
>> to do that; it=E2=80=99s more convenient.
>
> I did not know.  Well, I will adapt Cuirass and Dezyne too, IIUC. :-)

Awesome.

>
>>> +                     (modules (list #$output
>>> +                                    #$guile-bytestructures
>>> +                                    #$guile-gcrypt
>>> +                                    #$guile-lzma))
>>
>> This should use (this-package-input "guile-bytestructures=E2=80=9C) and =
similar,
>> for consistency.
>
> Ok.  Just for my understanding about the "consistency=E2=80=9D, is the pr=
ocedure
> =E2=80=99make-gitolite=E2=80=99 from (gnu packages version-conrol) consis=
tent?

It should use =E2=80=98this-package-input=E2=80=99 as well, to keep input f=
ields and
inheritance meaningful.

Thanks,
Ludo=E2=80=99.




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

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


Received: (at 62008) by debbugs.gnu.org; 7 Mar 2023 10:46:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 07 05:46:51 2023
Received: from localhost ([127.0.0.1]:44643 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pZUqI-00054w-MO
	for submit <at> debbugs.gnu.org; Tue, 07 Mar 2023 05:46:50 -0500
Received: from mail-wr1-f48.google.com ([209.85.221.48]:36467)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pZUqF-00054e-Rv
 for 62008 <at> debbugs.gnu.org; Tue, 07 Mar 2023 05:46:48 -0500
Received: by mail-wr1-f48.google.com with SMTP id l25so11663737wrb.3
 for <62008 <at> debbugs.gnu.org>; Tue, 07 Mar 2023 02:46:47 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1678186001;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id
 :reply-to; bh=qWpNlLrtI4Oxb4tPV8Gr8UQwIakQBQ7hqgzMJFvwD0o=;
 b=dO2K4W9cbFol+YOsfyZNPQdeTnlNbf1ZpW8EtAItrPRdPwB4lFddWSffpNwQCm/StV
 kTUNo9kbGI/l7PaM48N8MWIlzcKZI928IgUfCmjxExy649bZW6DuLr/neWo3+TSNBvpy
 DXMkBSXai9/hUofXTdmR6VQeOtkOe4yVcosH0n3lzjobt221hY0eOvMZMtUu46b0P6xc
 mdRoqp3O4uHZ7+1VKoMnC731O0eCa7jxuOufkGoGaC6QXJHiQFbXlltdWMscD4FhLvcH
 GplHJ1ZgIsZh9nrydk8w9Ki+hza7u1PyaqF9dr+ISI1Nm/7ah1uBtntLpGX+wwmJ7CuH
 TG0Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1678186001;
 h=content-transfer-encoding:mime-version:message-id:date:references
 :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=qWpNlLrtI4Oxb4tPV8Gr8UQwIakQBQ7hqgzMJFvwD0o=;
 b=RA1bhr8xX7UCcndJWUB/NkDQmwnJAf84dJohlc/XcRfTtJ5rBGjm81k2JRTI8eOjqI
 BvIQS0HeRhD625LPZAUvwwRLR8vdyKqkcW6r5Kg98Uvsn9CAlOpwQ0Pza+d/W+Q+O23Q
 jeuhlZMI0W44OaGGRqqBMbDdmqpzbdS/1eSSSzAzvvE+JpdXH86fudt+kvgNsckgyBr+
 3pNQdBCQtrQrOLSKAKbdb6VpQ3QlMixl+w7MN/ohePuqORSeY9/1APhxXz2VPr+fIpgd
 1+DXBRD3+SUgMO6X4CpPVj8DQVzy3x9W9/U4qSxiX6ghZb/+wuHSIK1EWcu/USjFjNTp
 vCAA==
X-Gm-Message-State: AO0yUKVHxWxZ8cu/XnkglgLRbMPrKEq7eI2zGZPSYRKBXmC5fkmMBvZ2
 sDnWqypUZHCyYj6oCeYUW1aCUMtA0Ds=
X-Google-Smtp-Source: AK7set87R2mvHb1OjF7Wmqr+HzHfQ9wGHKOuhGYAPBebT8PnoVo78m/eMWBQDRa6+qH3bQme1vnxyw==
X-Received: by 2002:a5d:4b51:0:b0:2c7:d80:ffc4 with SMTP id
 w17-20020a5d4b51000000b002c70d80ffc4mr7715253wrs.7.1678186001438; 
 Tue, 07 Mar 2023 02:46:41 -0800 (PST)
Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id
 e15-20020a5d594f000000b002c56046a3b5sm12255205wri.53.2023.03.07.02.46.41
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 07 Mar 2023 02:46:41 -0800 (PST)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: Ludovic =?utf-8?Q?Court=C3=A8s?= <ludo@HIDDEN>
Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0
In-Reply-To: <87jzzsevsh.fsf_-_@HIDDEN>
References: <20230306191814.3638619-1-zimon.toutoune@HIDDEN>
 <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
 <87jzzsevsh.fsf_-_@HIDDEN>
Date: Tue, 07 Mar 2023 11:43:35 +0100
Message-ID: <87a60odep4.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62008
Cc: 62008 <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: -1.0 (-)

Hi Ludo,

On mar., 07 mars 2023 at 10:49, Ludovic Court=C3=A8s <ludo@HIDDEN> wrote:

> For this package, I have a slight preference for keeping propagated
> inputs so that one can use Disarchive as a library.

Well, maybe I am missing a point but currently for Disarchive standalone,

--8<---------------cut here---------------start------------->8---
$ guix shell -C disarchive -- disarchive disassemble hello-2.12.1
Backtrace:
In ice-9/boot-9.scm:

[...]

ice-9/boot-9.scm:3329:6: In procedure resolve-interface:
no code for module (gcrypt hash)
--8<---------------cut here---------------end--------------->8---

And I need to add Guile for triggering the search patch.  And I find
that annoying,

    $ guix shell -C disarchive guile -- disarchive disassemble hello-2.12.1

It does not appear to me straightforward to know that.


> WDYT?

Since we have two usages of Disarchive, the standalone CLI and the
library, maybe we should have two packages: disarchive and
guile-disarchive.

WDYT?


> Some comments while at it=E2=80=A6

Thanks.  That=E2=80=99s interesting because I took inspiration from the pac=
kages
Cuirass and Dezyne. :-)

>> +              (let* ((effective
>> +                      (read (open-pipe* OPEN_READ
>> +                                        (string-append #$guile-3.0 "/bi=
n/guile")
>> +                                        "-c" "(write (effective-version=
))")))
>
> (guix build guile-build-system) exports =E2=80=98target-guile-effective-v=
ersion=E2=80=99
> to do that; it=E2=80=99s more convenient.

I did not know.  Well, I will adapt Cuirass and Dezyne too, IIUC. :-)


>> +                     (modules (list #$output
>> +                                    #$guile-bytestructures
>> +                                    #$guile-gcrypt
>> +                                    #$guile-lzma))
>
> This should use (this-package-input "guile-bytestructures=E2=80=9C) and s=
imilar,
> for consistency.

Ok.  Just for my understanding about the "consistency=E2=80=9D, is the proc=
edure
=E2=80=99make-gitolite=E2=80=99 from (gnu packages version-conrol) consiste=
nt?


Cheers,
simon




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

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


Received: (at 62008) by debbugs.gnu.org; 7 Mar 2023 09:52:09 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 07 04:52:09 2023
Received: from localhost ([127.0.0.1]:44478 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pZTzM-0003YE-R4
	for submit <at> debbugs.gnu.org; Tue, 07 Mar 2023 04:52:09 -0500
Received: from eggs.gnu.org ([209.51.188.92]:56470)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1pZTzL-0003Xv-Bw
 for 62008 <at> debbugs.gnu.org; Tue, 07 Mar 2023 04:52:07 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pZTzG-00074u-2F; Tue, 07 Mar 2023 04:52:02 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=nzOXyHnH5EKJ8/++RbXlNxoWCUt1D0z6cwffNNfjUzk=; b=Z3xOo2PAZqaAFBKby1R7
 o/bAKF4ecQTXxGzKELVmMmYVESnBrDug3z7QVi0AyYNFNAJ3qrJXv6lZ4fwACD6zmEUQ3jUa2tlJg
 j0MvquyqyQoWssWSMjznMYp1Dpj/Q/Ka9/Ep6ru/L42huj2M683w9erYe1s77Q3xvty//J7lvmoeN
 joM1CO9Zs5k9E4piMosuTxZws6m2uANEQ9QwGeCuwuQ/xmFsae6QECzJZzNX7I4JjRq+7ucMCyIVG
 Cv+ydLfmOquZ+92+Ui4oQF0NGROOzKamGqNlxoRycuQ3aJ82+mTYUSG7w/Kyvr/TTQzDGybzk3kBa
 JsJ0Usf3E74TOw==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pZTzF-0005fx-G5; Tue, 07 Mar 2023 04:52:01 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: Re: bug#62008: [PATCH 0/2] Update Disarchive to 0.5.0
References: <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
 <20230306191950.3639176-2-zimon.toutoune@HIDDEN>
Date: Tue, 07 Mar 2023 10:51:59 +0100
In-Reply-To: <20230306191950.3639176-2-zimon.toutoune@HIDDEN> (Simon
 Tournier's message of "Mon, 6 Mar 2023 20:19:50 +0100")
Message-ID: <87fsagevnk.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62008
Cc: 62008 <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: -3.3 (---)

Simon Tournier <zimon.toutoune@HIDDEN> skribis:

> * gnu/packages/backup.scm (disarchive): Update to 0.5.0.

Applied, thanks!  :-)

Ludo'.




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

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


Received: (at 62008) by debbugs.gnu.org; 7 Mar 2023 09:49:29 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Mar 07 04:49:29 2023
Received: from localhost ([127.0.0.1]:44468 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pZTwm-0003TY-V8
	for submit <at> debbugs.gnu.org; Tue, 07 Mar 2023 04:49:29 -0500
Received: from eggs.gnu.org ([209.51.188.92]:32840)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1pZTwl-0003TL-7J
 for 62008 <at> debbugs.gnu.org; Tue, 07 Mar 2023 04:49:27 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pZTwg-0006TO-0V; Tue, 07 Mar 2023 04:49:22 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=6D3iNR1poU5AO7IBLG4w9R1/1a++x6a8DrOu9gVJFus=; b=Cx6lCpRjdpxhsUOcIRaN
 Vl2BAiUkCaQtWeQD9v/AY3zVSAAE9IgEqVrk94+cI3Sh/i2EpBvuGhpfBkCTNICLp1bqMNJa1YYc4
 nrRY0nknNy5+jD6IjY7oziooFG5QN0ptISmpXWnh9DVwaG4KVyBo66WUfqNOOeg8oift88o/up2XH
 XwCbHBsy/QYlTOyl6/f7PEVBkq2/CdTl9s47zOghKF+QWa2r36whlySeEku41vYFMmCAdRa7yv1nQ
 Y9igOqlDS/OXVWjw0MS3dROVXa8B4Nkuta0Ij+l6XEHZr+wNLIZtTx5dJUC4IhlG6+3NCNQrlgH9w
 tcrYO97TVMm2rg==;
Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1pZTwP-0005J6-H5; Tue, 07 Mar 2023 04:49:21 -0500
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Simon Tournier <zimon.toutoune@HIDDEN>
Subject: Re: bug#62008: [PATCH 0/2] Update Disarchive to 0.5.0
References: <20230306191814.3638619-1-zimon.toutoune@HIDDEN>
 <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
Date: Tue, 07 Mar 2023 10:49:02 +0100
In-Reply-To: <20230306191950.3639176-1-zimon.toutoune@HIDDEN> (Simon
 Tournier's message of "Mon, 6 Mar 2023 20:19:49 +0100")
Message-ID: <87jzzsevsh.fsf_-_@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 62008
Cc: 62008 <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: -3.3 (---)

Hi Simon,

Simon Tournier <zimon.toutoune@HIDDEN> skribis:

> * gnu/packages/backup.scm (disarchive)[arguments]: Add phase after install
> to wrap program.
> [inputs]: Add guile-gcrypt and guile-lzma.
> [propagated-inputs]: Remove it.

For this package, I have a slight preference for keeping propagated
inputs so that one can use Disarchive as a library.

WDYT?

Some comments while at it=E2=80=A6

[...]

> +              (let* ((effective
> +                      (read (open-pipe* OPEN_READ
> +                                        (string-append #$guile-3.0 "/bin=
/guile")
> +                                        "-c" "(write (effective-version)=
)")))

(guix build guile-build-system) exports =E2=80=98target-guile-effective-ver=
sion=E2=80=99
to do that; it=E2=80=99s more convenient.

> +                     (modules (list #$output
> +                                    #$guile-bytestructures
> +                                    #$guile-gcrypt
> +                                    #$guile-lzma))

This should use (this-package-input "guile-bytestructures=E2=80=9C) and sim=
ilar,
for consistency.

Ludo=E2=80=99.




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

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


Received: (at 62008) by debbugs.gnu.org; 6 Mar 2023 19:20:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 06 14:20:06 2023
Received: from localhost ([127.0.0.1]:43665 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pZGNS-0001BH-8g
	for submit <at> debbugs.gnu.org; Mon, 06 Mar 2023 14:20:06 -0500
Received: from mail-wm1-f51.google.com ([209.85.128.51]:42899)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pZGNP-0001AY-N6
 for 62008 <at> debbugs.gnu.org; Mon, 06 Mar 2023 14:20:04 -0500
Received: by mail-wm1-f51.google.com with SMTP id
 o11-20020a05600c4fcb00b003eb33ea29a8so5842299wmq.1
 for <62008 <at> debbugs.gnu.org>; Mon, 06 Mar 2023 11:20:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1678130398;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=C/QPd6gQnDCTW/BY7kYsSe3jrHyvyqyfz+LRCHNdSbk=;
 b=aRDUdCUh6ZbjibGTocRmelS1NMiGVbI0z+NVGwmELud9cpKYy95LCeCOdt8uF9U7vv
 E5Pev2fYCcPqvS7fgL/2s+wIze/oUyji6/zPAlKexhtWRBSeQkRe7lV4JIy7U2C2u3Ea
 0ai874QSWuFmGoGCX8Sfrx0nsbYvflc99Bp9YI7Y7mKRNShAMAnH4iOmy2LbdYsIMxJL
 JFlleVz0sdnQWCOfhkwPeMptKoMVaAzwPTiCBHS/bPZxm+LNRwrOQ+7QUEz2ldukCCvC
 QmFZOtGoE7TQtERjuLaIhjiRRK6lFqfoaNflzG8i6HOmIfTrROvbHYliKao5mjZ4g04H
 XNmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1678130398;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=C/QPd6gQnDCTW/BY7kYsSe3jrHyvyqyfz+LRCHNdSbk=;
 b=BADZ/00Sfmv0Q66w8UVwHDBjaDavXF9n7Rv6Sx9eXKRa7DhPWFK60SBcBZHWixX0nz
 +L1gfTKmNBpjy0EERrTT9zU1TuKD1/5huwZy23blOFOiFhyB5qKbNd+XHXDNsOo4oT7W
 y4FWgWq4pkswBlD8Gl1HEwLUZGfLJmFJy2+xSYh9vaz4PDEw8XuWnP8DLGkB8claGx9x
 jr1REJ9kBRnTAbqPtcyEnEasGP0eak4HLmekQvPC5yI3CWJHak0kzN8kqY+mU3i3kfF6
 ZzaH7HoN2LkgoWLXrkTl3zNJ4nhxhzP7mUCgTW18M+MvDQhVXIO7RxfgYCRrWSN19z/s
 hHbg==
X-Gm-Message-State: AO0yUKXWCkxfYRsxSSXoV6S6fIamClEyToxl18F6czHzuFneqAr7mA1i
 +9XDNkwQduyXOolWhLIFyU47ZmiZoZI=
X-Google-Smtp-Source: AK7set9ntxLKjbc8rCIrhxn4ge/aeooPUoqczCVWoV6aXCHJQIR3Pa7M6yPrJ7YJI2EgQ/cAVtRYCA==
X-Received: by 2002:a05:600c:3b07:b0:3eb:2e2a:be82 with SMTP id
 m7-20020a05600c3b0700b003eb2e2abe82mr9556638wms.2.1678130397998; 
 Mon, 06 Mar 2023 11:19:57 -0800 (PST)
Received: from localhost.localdomain ([193.48.40.241])
 by smtp.gmail.com with ESMTPSA id
 q11-20020a05600c46cb00b003dc1d668866sm15829971wmo.10.2023.03.06.11.19.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 06 Mar 2023 11:19:57 -0800 (PST)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: 62008 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: disarchive: Update to 0.5.0.
Date: Mon,  6 Mar 2023 20:19:50 +0100
Message-Id: <20230306191950.3639176-2-zimon.toutoune@HIDDEN>
X-Mailer: git-send-email 2.38.1
In-Reply-To: <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
References: <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62008
Cc: Simon Tournier <zimon.toutoune@HIDDEN>
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: -1.0 (-)

* gnu/packages/backup.scm (disarchive): Update to 0.5.0.
---
 gnu/packages/backup.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 7fe2e80d39..362da0a219 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -1222,14 +1222,14 @@ (define-public burp
 (define-public disarchive
   (package
     (name "disarchive")
-    (version "0.4.0")
+    (version "0.5.0")
     (source (origin
               (method url-fetch)
               (uri (string-append "https://files.ngyro.com/disarchive/"
                                   "disarchive-" version ".tar.gz"))
               (sha256
                (base32
-                "1pql8cspsxyx8cpw3xyhirnisv6rb4vj5mxr1d7w9la72q740n8s"))))
+                "16sjplkn9nr7zhfrqll7l1m2b2j4hg8k29p6bqjap9fkj6zpn2q2"))))
     (build-system gnu-build-system)
     (arguments
      (list
-- 
2.38.1





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

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


Received: (at 62008) by debbugs.gnu.org; 6 Mar 2023 19:20:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 06 14:20:06 2023
Received: from localhost ([127.0.0.1]:43663 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pZGNR-0001BD-TA
	for submit <at> debbugs.gnu.org; Mon, 06 Mar 2023 14:20:06 -0500
Received: from mail-wm1-f43.google.com ([209.85.128.43]:46065)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pZGNP-0001AW-EX
 for 62008 <at> debbugs.gnu.org; Mon, 06 Mar 2023 14:20:04 -0500
Received: by mail-wm1-f43.google.com with SMTP id
 d41-20020a05600c4c2900b003e9e066550fso5821217wmp.4
 for <62008 <at> debbugs.gnu.org>; Mon, 06 Mar 2023 11:20:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1678130397;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=lo9QnYiOtYKSOsOc9cJ4dhBLId3FpXPYZcrOm12WZ+A=;
 b=Chhg0OPBnpny6zZngB1WBOloe19HMpvZzrmYpVRDE2zb/5WF/HL/KsQ3+wfv37cz63
 USzPqcWBwSkfevS3W63zwpq9MpPH3YXLWS3srLehVyHsxZe2zqWEnXoWR3oPTjfL3eMD
 sOD42781VPk6n/R8Kg3yycyUxEj/akZ05pvm3+wLumtrO9+hnQGToYlyVznOfcNc2rYr
 wOQYGa/9AiFE3k23g+lv0WO15H/f+memVjoICnD5Zf0EJNAvpfeLGMn5LPJVXrWMmSLH
 NtiVPff2AGMTdeLmDZ3pQ2vqCUHClA6Mhuy7ZcxdaxdqvGBW6tpGPuVNmYvJpxZC/r/u
 oE3Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1678130397;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=lo9QnYiOtYKSOsOc9cJ4dhBLId3FpXPYZcrOm12WZ+A=;
 b=PFUqQ0jQBbHRTYzBJUqYPJnCuVbzwrBigBVd4EKe2RLCsNHRkId9YaRqsSms189q8K
 Xg3K0GEmnf5KRDmE8YKwGSIEdz9Vfrt6VKQIpUgc/5OipXWBupIFz3sx1ggQSIZS0AaJ
 aJkjYccf6lVhx35tK5lxXzUgpsWCDeO6/0koX3DMa6p0yVv0x/lECtNQBKbymWyv5gGg
 O4Ms5w27hws2XOusz5tspXMf1LV3wwono9ZBZhc2jegRqbAuirGpJC5ju9de8ooCCswn
 qg+o89ZJul2xBQD+AOtVCPUeeJvyfh3nGSDaaUz4NP+hpTynJsNMUV0yQMUWZcV8M1wd
 MkDg==
X-Gm-Message-State: AO0yUKUXA778pWfrHe1Z3r2fGI41Fs8FaC/KBxWMtYQG/7lJWiAoir4O
 JqYi0+vRAv6ngeqdSsU1nNXA//kb7fM=
X-Google-Smtp-Source: AK7set+OwTB1qi2t9dOYl6/SxhlH0eEd6fjkroaHhv6pHwbmmW0tvqLKecs6d8BXGQuVv15E/8kIxA==
X-Received: by 2002:a05:600c:1c1f:b0:3e7:f108:6456 with SMTP id
 j31-20020a05600c1c1f00b003e7f1086456mr9583887wms.0.1678130397559; 
 Mon, 06 Mar 2023 11:19:57 -0800 (PST)
Received: from localhost.localdomain ([193.48.40.241])
 by smtp.gmail.com with ESMTPSA id
 q11-20020a05600c46cb00b003dc1d668866sm15829971wmo.10.2023.03.06.11.19.57
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 06 Mar 2023 11:19:57 -0800 (PST)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: 62008 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: disarchive: Wrap program instead of using propagated
 inputs..
Date: Mon,  6 Mar 2023 20:19:49 +0100
Message-Id: <20230306191950.3639176-1-zimon.toutoune@HIDDEN>
X-Mailer: git-send-email 2.38.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 62008
Cc: Simon Tournier <zimon.toutoune@HIDDEN>
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: -1.0 (-)

* gnu/packages/backup.scm (disarchive)[arguments]: Add phase after install
to wrap program.
[inputs]: Add guile-gcrypt and guile-lzma.
[propagated-inputs]: Remove it.
---
 gnu/packages/backup.scm | 34 +++++++++++++++++++++++++++++++---
 1 file changed, 31 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 7be0c813bb..7fe2e80d39 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -23,6 +23,7 @@
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@HIDDEN>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@HIDDEN>
 ;;; Copyright © 2022 Feng Shu <tumashu@HIDDEN>
+;;; Copyright © 2023 Simon Tournier <zimon.toutoune@HIDDEN>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -1230,6 +1231,35 @@ (define-public disarchive
                (base32
                 "1pql8cspsxyx8cpw3xyhirnisv6rb4vj5mxr1d7w9la72q740n8s"))))
     (build-system gnu-build-system)
+    (arguments
+     (list
+      #:modules `((ice-9 popen)
+                  ,@%gnu-build-system-modules)
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'install 'wrap-program
+            (lambda* (#:key inputs outputs #:allow-other-keys)
+              (let* ((effective
+                      (read (open-pipe* OPEN_READ
+                                        (string-append #$guile-3.0 "/bin/guile")
+                                        "-c" "(write (effective-version))")))
+                     (scm-dir (string-append "/share/guile/site/" effective))
+                     (go-dir (string-append "/lib/guile/" effective
+                                            "/site-ccache/"))
+                     (modules (list #$output
+                                    #$guile-bytestructures
+                                    #$guile-gcrypt
+                                    #$guile-lzma))
+                     (scm-path
+                      (map (lambda (module) (string-append module scm-dir))
+                           modules))
+                     (go-path
+                      (map (lambda (module) (string-append module scm-dir))
+                           modules)))
+                (wrap-program (string-append #$output "/bin/disarchive")
+                  `("PATH" ":" prefix (,(string-append #$output "/bin")))
+                  `("GUILE_LOAD_PATH" ":" prefix ,scm-path)
+                  `("GUILE_LOAD_COMPILED_PATH" ":" prefix ,go-path))))))))
     (native-inputs
      (list autoconf
            automake
@@ -1239,9 +1269,7 @@ (define-public disarchive
            guile-lzma
            guile-quickcheck))
     (inputs
-     (list guile-3.0 zlib))
-    (propagated-inputs
-     (list guile-gcrypt guile-lzma))
+     (list guile-3.0 guile-gcrypt guile-lzma zlib))
     (home-page "https://ngyro.com/software/disarchive.html")
     (synopsis "Software archive disassembler")
     (description "Disarchive can disassemble software archives into data
-- 
2.38.1





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

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


Received: (at submit) by debbugs.gnu.org; 6 Mar 2023 19:18:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Mar 06 14:18:27 2023
Received: from localhost ([127.0.0.1]:43650 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1pZGLr-000189-Ep
	for submit <at> debbugs.gnu.org; Mon, 06 Mar 2023 14:18:27 -0500
Received: from lists.gnu.org ([209.51.188.17]:58138)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <zimon.toutoune@HIDDEN>) id 1pZGLp-000181-Cd
 for submit <at> debbugs.gnu.org; Mon, 06 Mar 2023 14:18:25 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1pZGLo-0007Hp-Jg
 for guix-patches@HIDDEN; Mon, 06 Mar 2023 14:18:24 -0500
Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <zimon.toutoune@HIDDEN>)
 id 1pZGLn-0001oL-06
 for guix-patches@HIDDEN; Mon, 06 Mar 2023 14:18:24 -0500
Received: by mail-wm1-x333.google.com with SMTP id
 bg16-20020a05600c3c9000b003eb34e21bdfso8962988wmb.0
 for <guix-patches@HIDDEN>; Mon, 06 Mar 2023 11:18:22 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20210112; t=1678130301;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=jjKtBQgGjqxOb2zPNaBYxr29+P4m0xlHHYt21eZtYDE=;
 b=Po4qnu12UAwKRLzfQOusxYx6wbqbI48ff626ckExAu1elhM9fGsN1/lyX3gXRY328q
 Qd6dTxENRfwkLtJyP0BD4VPrRgPEQG7iaJmgXUZrgUT8wIaB+lb5bsQ90XNMXT77wPiL
 25cf9/SAts+oUeV4j+xeIAqwLb/IuwKHdY/mCdNXh0NqzJr6RmRQZfxtOPxgBPyoAN0l
 qyrWhoQ3klktC9CT9GZ0UA+rGuG6lae8j8jVChsuhVeAHKrIhNbwRkfRF24W+9mfnt/w
 7Akz5Rppnt8SZ3T8GBCy2/efb07pr0w8TbmKUdasszliyLYuh+6vPjgkvI29FDRfPvKk
 +mbQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20210112; t=1678130301;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=jjKtBQgGjqxOb2zPNaBYxr29+P4m0xlHHYt21eZtYDE=;
 b=5AQzZ+Ewp+2KBgzpMe+2Cp/ngnF4QyVJ8grFaMD1LsXJyq3M3sGDqz2ooQXG+VvgZc
 lO4voce/mN/b/UgEwiQF6u6Hw1vzoF7jo1l/eGY6YRjlCizpV01SGYjlPnqkagIbBlLX
 dxV6eQtATVxLbnYNl6TGMEsXCFmhkDyiSR1P58dRSaM6kN146QHb4ko0yM3xudnshjn5
 tGz+tZRDyOACQWGRdoM0lwnestJ4Ly1ZGdMV5onWq7EfpU/Z5a2kmN2lEsz1w1S3vio7
 jDR3/PHHe3ysZcGwURYDBz/mOrsUQV55ze1eX4hRuEuX4gl7bHNYx70/v/Md4nx56UQa
 neXA==
X-Gm-Message-State: AO0yUKX0Si60Ym2vo+bzhuRX1HaVIE65fiXWs0O+XXBY1K1xQJIMGYZP
 rHw/PRD3A20hVAFQ16xiL0FN1QfIUOo=
X-Google-Smtp-Source: AK7set8whBsrQpPjFvv+fV0KuPiCqv5kpphyjIFex+TeJjZwbI+xYceRWpGTIPwiIfrpqty7UZ3U9Q==
X-Received: by 2002:a05:600c:3b8b:b0:3e8:7ca3:8424 with SMTP id
 n11-20020a05600c3b8b00b003e87ca38424mr9260774wms.1.1678130301311; 
 Mon, 06 Mar 2023 11:18:21 -0800 (PST)
Received: from localhost.localdomain ([193.48.40.241])
 by smtp.gmail.com with ESMTPSA id
 o2-20020a05600c510200b003e208cec49bsm23847551wms.3.2023.03.06.11.18.20
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 06 Mar 2023 11:18:20 -0800 (PST)
From: Simon Tournier <zimon.toutoune@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] Update Disarchive to 0.5.0
Date: Mon,  6 Mar 2023 20:18:14 +0100
Message-Id: <20230306191814.3638619-1-zimon.toutoune@HIDDEN>
X-Mailer: git-send-email 2.38.1
MIME-Version: 1.0
X-Debbugs-CC: Timothy Sample <samplet@HIDDEN>, Christopher Baines <mail@HIDDEN>, Josselin Poiret <dev@HIDDEN>, Ludovic Courtès <ludo@HIDDEN>, Mathieu Othacehe <othacehe@HIDDEN>, Ricardo Wurmus <rekado@HIDDEN>, Simon Tournier <zimon.toutoune@HIDDEN>, Tobias Geerinckx-Rice <me@HIDDEN>
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2a00:1450:4864:20::333;
 envelope-from=zimon.toutoune@HIDDEN; helo=mail-wm1-x333.google.com
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, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: Simon Tournier <zimon.toutoune@HIDDEN>
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: -2.3 (--)

Hi,

The first patch removes an annoyance.  Now,

    guix shell disarchive -- disarchive disassemble foo

works without the need to propagate Guile-LZMA or Guile-Gcrypt; which need
Guile itself to trigger the related search paths.

The second patch is a trivial update but since core Guix depends on
Disarchive, please double check. :-)

For instance, guix-minimal fails but it also fails before this patch series.


Cheers,
simon


Simon Tournier (2):
  gnu: disarchive: Wrap program instead of using propagated inputs..
  gnu: disarchive: Update to 0.5.0.

 gnu/packages/backup.scm | 38 +++++++++++++++++++++++++++++++++-----
 1 file changed, 33 insertions(+), 5 deletions(-)


base-commit: fe9bcf9db24e6f7849ad870e0853c251517fd6f0
-- 
2.38.1




Acknowledgement sent to Simon Tournier <zimon.toutoune@HIDDEN>:
New bug report received and forwarded. Copy sent to samplet@HIDDEN, mail@HIDDEN, dev@HIDDEN, ludo@HIDDEN, othacehe@HIDDEN, rekado@HIDDEN, zimon.toutoune@HIDDEN, me@HIDDEN, guix-patches@HIDDEN. Full text available.
Report forwarded to samplet@HIDDEN, mail@HIDDEN, dev@HIDDEN, ludo@HIDDEN, othacehe@HIDDEN, rekado@HIDDEN, zimon.toutoune@HIDDEN, me@HIDDEN, guix-patches@HIDDEN:
bug#62008; Package guix-patches. 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: Wed, 16 Aug 2023 17:15:02 UTC

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