From unknown Sun Jun 15 10:55:19 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#62008 <62008@debbugs.gnu.org> To: bug#62008 <62008@debbugs.gnu.org> Subject: Status: [PATCH 0/2] Update Disarchive to 0.5.0 Reply-To: bug#62008 <62008@debbugs.gnu.org> Date: Sun, 15 Jun 2025 17:55:19 +0000 retitle 62008 [PATCH 0/2] Update Disarchive to 0.5.0 reassign 62008 guix-patches submitter 62008 Simon Tournier severity 62008 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 14:18:27 2023 Received: (at submit) by debbugs.gnu.org; 6 Mar 2023 19:18:27 +0000 Received: from localhost ([127.0.0.1]:43650 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZGLr-000189-Ep for submit@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 ) id 1pZGLp-000181-Cd for submit@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 ) id 1pZGLo-0007Hp-Jg for guix-patches@gnu.org; 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 ) id 1pZGLn-0001oL-06 for guix-patches@gnu.org; Mon, 06 Mar 2023 14:18:24 -0500 Received: by mail-wm1-x333.google.com with SMTP id bg16-20020a05600c3c9000b003eb34e21bdfso8962988wmb.0 for ; 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 To: guix-patches@gnu.org 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@gmail.com> X-Mailer: git-send-email 2.38.1 MIME-Version: 1.0 X-Debbugs-CC: Timothy Sample , Christopher Baines , Josselin Poiret , Ludovic Courtès , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=zimon.toutoune@gmail.com; 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 14:20:06 2023 Received: (at 62008) by debbugs.gnu.org; 6 Mar 2023 19:20:06 +0000 Received: from localhost ([127.0.0.1]:43663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZGNR-0001BD-TA for submit@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 ) id 1pZGNP-0001AW-EX for 62008@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@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 To: 62008@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@gmail.com> 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 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 ;;; Copyright © 2022 Maxim Cournoyer ;;; Copyright © 2022 Feng Shu +;;; Copyright © 2023 Simon Tournier ;;; ;;; 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 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 06 14:20:06 2023 Received: (at 62008) by debbugs.gnu.org; 6 Mar 2023 19:20:06 +0000 Received: from localhost ([127.0.0.1]:43665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZGNS-0001BH-8g for submit@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 ) id 1pZGNP-0001AY-N6 for 62008@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@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 To: 62008@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@gmail.com> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230306191950.3639176-1-zimon.toutoune@gmail.com> References: <20230306191950.3639176-1-zimon.toutoune@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62008 Cc: Simon Tournier X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" 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 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 04:49:29 2023 Received: (at 62008) by debbugs.gnu.org; 7 Mar 2023 09:49:29 +0000 Received: from localhost ([127.0.0.1]:44468 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZTwm-0003TY-V8 for submit@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 ) id 1pZTwl-0003TL-7J for 62008@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 ) 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 ) id 1pZTwP-0005J6-H5; Tue, 07 Mar 2023 04:49:21 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#62008: [PATCH 0/2] Update Disarchive to 0.5.0 References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> Date: Tue, 07 Mar 2023 10:49:02 +0100 In-Reply-To: <20230306191950.3639176-1-zimon.toutoune@gmail.com> (Simon Tournier's message of "Mon, 6 Mar 2023 20:19:49 +0100") Message-ID: <87jzzsevsh.fsf_-_@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Simon, Simon Tournier 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 04:52:09 2023 Received: (at 62008) by debbugs.gnu.org; 7 Mar 2023 09:52:09 +0000 Received: from localhost ([127.0.0.1]:44478 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZTzM-0003YE-R4 for submit@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 ) id 1pZTzL-0003Xv-Bw for 62008@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 ) 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 ) id 1pZTzF-0005fx-G5; Tue, 07 Mar 2023 04:52:01 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: bug#62008: [PATCH 0/2] Update Disarchive to 0.5.0 References: <20230306191950.3639176-1-zimon.toutoune@gmail.com> <20230306191950.3639176-2-zimon.toutoune@gmail.com> Date: Tue, 07 Mar 2023 10:51:59 +0100 In-Reply-To: <20230306191950.3639176-2-zimon.toutoune@gmail.com> (Simon Tournier's message of "Mon, 6 Mar 2023 20:19:50 +0100") Message-ID: <87fsagevnk.fsf_-_@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Simon Tournier skribis: > * gnu/packages/backup.scm (disarchive): Update to 0.5.0. Applied, thanks! :-) Ludo'. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 07 05:46:51 2023 Received: (at 62008) by debbugs.gnu.org; 7 Mar 2023 10:46:51 +0000 Received: from localhost ([127.0.0.1]:44643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pZUqI-00054w-MO for submit@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 ) id 1pZUqF-00054e-Rv for 62008@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@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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 In-Reply-To: <87jzzsevsh.fsf_-_@gnu.org> References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> Date: Tue, 07 Mar 2023 11:43:35 +0100 Message-ID: <87a60odep4.fsf@gmail.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On mar., 07 mars 2023 at 10:49, Ludovic Court=C3=A8s 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 03:18:02 2023 Received: (at 62008) by debbugs.gnu.org; 10 Mar 2023 08:18:02 +0000 Received: from localhost ([127.0.0.1]:53632 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1paXwv-0007AV-Pu for submit@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 ) id 1paXwt-0007AH-Ed for 62008@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 ) 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 ) id 1paXwn-0007lB-KW; Fri, 10 Mar 2023 03:17:53 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> <87a60odep4.fsf@gmail.com> 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@gmail.com> (Simon Tournier's message of "Tue, 07 Mar 2023 11:43:35 +0100") Message-ID: <87bkl1aukx.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi Simon! Simon Tournier skribis: > On mar., 07 mars 2023 at 10:49, Ludovic Court=C3=A8s 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 07:09:24 2023 Received: (at 62008) by debbugs.gnu.org; 10 Mar 2023 12:09:24 +0000 Received: from localhost ([127.0.0.1]:53933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pabYq-0005Wb-4C for submit@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 ) id 1pabYo-0005Vq-0i for 62008@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@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 To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 In-Reply-To: <87bkl1aukx.fsf@gnu.org> References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> <87a60odep4.fsf@gmail.com> <87bkl1aukx.fsf@gnu.org> Date: Fri, 10 Mar 2023 12:41:47 +0100 Message-ID: <87bkl0omtg.fsf@gmail.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On ven., 10 mars 2023 at 09:17, Ludovic Court=C3=A8s 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 10 11:44:41 2023 Received: (at 62008) by debbugs.gnu.org; 10 Mar 2023 16:44:41 +0000 Received: from localhost ([127.0.0.1]:55669 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pafrE-0001n2-J0 for submit@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 ) id 1pafrA-0001mn-8f for 62008@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 ) 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 ) id 1pafr2-0004sL-LK; Fri, 10 Mar 2023 11:44:28 -0500 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> <87a60odep4.fsf@gmail.com> <87bkl1aukx.fsf@gnu.org> <87bkl0omtg.fsf@gmail.com> 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@gmail.com> (Simon Tournier's message of "Fri, 10 Mar 2023 12:41:47 +0100") Message-ID: <87bkl0imja.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Simon Tournier skribis: > On ven., 10 mars 2023 at 09:17, Ludovic Court=C3=A8s 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. From debbugs-submit-bounces@debbugs.gnu.org Tue Aug 08 11:27:16 2023 Received: (at control) by debbugs.gnu.org; 8 Aug 2023 15:27:16 +0000 Received: from localhost ([127.0.0.1]:37515 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTOc8-0006rp-6n for submit@debbugs.gnu.org; Tue, 08 Aug 2023 11:27:16 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60650) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qTOc7-0006rY-2M for control@debbugs.gnu.org; Tue, 08 Aug 2023 11:27:15 -0400 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 ) id 1qTOc1-00045I-Qr for control@debbugs.gnu.org; Tue, 08 Aug 2023 11:27:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:Subject:From:To:Date:in-reply-to: references; bh=C36tD0uZlk92XxDbYGsgkFf5+ivAvL4JSElzxh+uip4=; b=O16bK1Kh4YEeTd x8NyP511agiJemFlTv8Li4QjnWlMRECW9Q5WEr86u4MQNM/GgydvFAM+f59rFOCcJlkLPP3otEAbm uKN545dHUgWnwUH3E4MJp2Kd3z/s4D6z17mqrWi7bhUX0iz+O4i49d9+5pDO98nXeIXnJ4BQKje7s Jwj/vHTZtX5m4Y1EYaiRGuG2hyI+d//eCcXd0qAqs8vbyiToW4Y5Mxoejjpyg/gTm3eU7RUxwmZJh rIWKo5InvxqOvAXa6p/0Oikpbr6K9IeetNLFOQfAi50GYbtMgEic+fC81aB8qgOF7Convq/OQatUP zOsZ5pdoMT9jji365mYQ==; Date: Tue, 08 Aug 2023 17:27:08 +0200 Message-Id: <877cq5r1v7.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #62008 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 62008 quit From unknown Sun Jun 15 10:55:19 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: Did not alter fixed versions and reopened. Date: Wed, 16 Aug 2023 17:12:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # Did not alter fixed versions and reopened. thanks # This fakemail brought to you by your local debbugs # administrator From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 13:12:01 2023 Received: (at control) by debbugs.gnu.org; 16 Aug 2023 17:12:01 +0000 Received: from localhost ([127.0.0.1]:41969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWK3s-0005Qf-VW for submit@debbugs.gnu.org; Wed, 16 Aug 2023 13:12:01 -0400 Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:40283) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWK3l-0005Nw-I1 for control@debbugs.gnu.org; Wed, 16 Aug 2023 13:11:53 -0400 Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-3fe8d816a40so10391005e9.1 for ; Wed, 16 Aug 2023 10:11:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692205908; x=1692810708; h=subject:from:to:message-id:date:from:to:cc:subject:date:message-id :reply-to; bh=1kfkdEZT6QgPNb/MbwGbY9hxhxAmhtuWvBdBt/NUlIw=; b=C0wsHrVngWx5I8YnB5DXXo8IJdPIuhkN/vNWH7xudWASxtbga3bbbcAfd23inwKgYZ PTb+/xP7xC1PxW7l4ETusYZKAYHWuNqrBjHzDpH6eG6v+O+fBBdaky+kYRgCtAqK6gvu S7cNnOvVQvOiT2d9ezVddFs5nc9Hh1xebUpgxCy/qE3vSNUlhN79yWrWEYinXpIweym0 Mk7n8GOCnqKLgUGrdSB6h7fyAqHGIdAmSno527sgApg4yqdKE+do3YQBCDOGA8lul3UL phvTpQGvZ61yiT3pgdhior5By7ErI3mNUNnq2Y8LYEqKaxFiQOn+GP1nXRddY/3o2jzO OmoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692205908; x=1692810708; h=subject:from:to:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=1kfkdEZT6QgPNb/MbwGbY9hxhxAmhtuWvBdBt/NUlIw=; b=C4Ebf+NBWcGUr5JLtgZ+Yk+lZfozl4XDn20bGAtXOnvUlptix47LTz5Socwz5c064E gWz0dAImQmv6t9C+1MVBn0nagJFjDV44lVgiavT+3L6bbNrSJgYNLCFnW3SclFkYtgIZ RWjB2XHN9cb9mM1gCcRGKdR+BSVxfe5N64asEbuTa0EeqQs+pGhA+dhdluSYVD2KTKcs YtC+w0Idk2c5LbVakjHWEj/n6Gj9PGnGH+F7fBa8u2vs2dApbPc3VfT5dZ1j7wY2DHxH eGMqyYvqztwZdwkg4WhhpaIlT1MacOD3NjI+mCeK1+33yucEuuDKDnYwNUNkkQPV9LdB Na8A== X-Gm-Message-State: AOJu0YywAh52GMrlPNA5Ds/V6k8Av9x8JOAiRMcpDDvks6ovpoJcR7Rp O+U2EX06bx+QSxi9NaN8aZ0NFJdWLnU= X-Google-Smtp-Source: AGHT+IHQCtc1Nh6WolaTM2vretRHx+mBl2blW8T0cjOLMqLLnh8dSbjGSfZKcewXd9PKWbzY0rjOKg== X-Received: by 2002:a05:600c:4710:b0:3fb:aadc:41dc with SMTP id v16-20020a05600c471000b003fbaadc41dcmr2030799wmo.4.1692205908016; Wed, 16 Aug 2023 10:11:48 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id l24-20020a7bc458000000b003fbb25da65bsm21838517wmi.30.2023.08.16.10.11.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 10:11:47 -0700 (PDT) Date: Wed, 16 Aug 2023 18:54:51 +0200 Message-Id: <87o7j7dj1g.fsf@gmail.com> To: control@debbugs.gnu.org From: Simon Tournier Subject: control message for bug #62008 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) reopen 62008 tags 62008 - fixed patch quit From debbugs-submit-bounces@debbugs.gnu.org Wed Aug 16 13:28:29 2023 Received: (at 62008) by debbugs.gnu.org; 16 Aug 2023 17:28:29 +0000 Received: from localhost ([127.0.0.1]:42008 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWKJo-0008V1-Ur for submit@debbugs.gnu.org; Wed, 16 Aug 2023 13:28:29 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:38197) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWKJn-0008Ul-6T for 62008@debbugs.gnu.org; Wed, 16 Aug 2023 13:28:27 -0400 Received: by mail-wr1-x429.google.com with SMTP id ffacd0b85a97d-3159b524c56so1059632f8f.1 for <62008@debbugs.gnu.org>; Wed, 16 Aug 2023 10:28:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692206901; x=1692811701; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc:subject:date:message-id:reply-to; bh=Ajri2KmmJWTu6T1tNsENiHUD2k3qySxcLbjAS5dfbec=; b=Hz/EvjcScrRKDPMIkojw6ZNMiTOuiomSEPFnubZiZ/dGUuCsjQR/ZWQKhue18vk71s hwfb1TPxu2xYHAICgGPInyxpWLJM4uQ7W9BB1R3iEjshr2c9mh+jxIy/lOgnUXJ3Qdnb fF2urbWsTH0EzIWjVvu9gi6KWXIugWdwwarkQol2x6LQD6BGvvDP1O89WzZBueZc1B09 9pMkx/v7iPrGJy0TqFLIkkvFJwYBdfR5YoKKxd9EWT6OtvfuhjeTfVLs96wkOtK8Y9ts gYkmwwKQrn2GvTHa8Gh11YN9I2kf/4GV5akcC5MaDX/rYgdOXmnyBAGDsFCCxZLnpGPv E+ww== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692206901; x=1692811701; h=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=Ajri2KmmJWTu6T1tNsENiHUD2k3qySxcLbjAS5dfbec=; b=YSfxK4d9clb1aJXeKprWbrQgRmCQkfvFb0RfNeR9aYu6BMgIH9O7a3/FOYYic/dWB8 2cdD5Z1l8Jc/UQbTSxt7VpqDbUs5RojwBPVICNQzHKzKsdGqXlGyu9pBclttig0Q5hbR e5GwkLeU4Zna/5sj7+Jbe6LU6cTaflXnWyoduovU/uPtwHLt1mBUn6CIEWEuFJT/n7KT rqxJlpHu6WJ9f/J426hYdNQpfkOK7Lg5iTEDi09psP2rG754ay/6d6+0uiRn64kdgApZ 0WcqVSPDDZFuxaRq1SJl4kFIJjSCLcOoOGZBf0faLNwiEnHh5wvhPhqS0j7S++PEG8Ss qMEg== X-Gm-Message-State: AOJu0YwgXlQA4seK5qBKHaP0Os/r452dv8ebmUl/1kQEm308ohZBOqHD tJfyGjjmH8qlw5AVyK4sFWcwJuZ8+1M= X-Google-Smtp-Source: AGHT+IHNTI/KUkea5+IC8ddmAsNxZ4Dtqji7bhIzdvRaY49IGm/K0hnw+FlvTRgEfZc/oTkGsDlOcA== X-Received: by 2002:a5d:62c9:0:b0:317:ead9:3363 with SMTP id o9-20020a5d62c9000000b00317ead93363mr1919024wrv.5.1692206901263; Wed, 16 Aug 2023 10:28:21 -0700 (PDT) Received: from pfiuh07 ([193.48.40.241]) by smtp.gmail.com with ESMTPSA id y2-20020adffa42000000b00317e6f06e22sm22093210wrr.77.2023.08.16.10.28.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 16 Aug 2023 10:28:20 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 In-Reply-To: <87bkl0imja.fsf@gnu.org> References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> <87a60odep4.fsf@gmail.com> <87bkl1aukx.fsf@gnu.org> <87bkl0omtg.fsf@gmail.com> <87bkl0imja.fsf@gnu.org> Date: Wed, 16 Aug 2023 19:28:18 +0200 Message-ID: <87fs4iew25.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62008 Cc: 62008@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Ludo, You closed this but the issue is still there, no? :-) On Fri, 10 Mar 2023 at 17:44, Ludovic Court=C3=A8s wrote: > Simon Tournier skribis: > >> On ven., 10 mars 2023 at 09:17, Ludovic Court=C3=A8s wrot= e: >> >>> 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-inpu= ts > > I think having a single package is more convenient: it would both > propagate inputs and wrap the binaries as you proposed. Because of this error: --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--- solved by adding the package guile, $ guix shell -C disarchive guile -- disarchive disassemble hello-2.12.1 then, I think the contrary: having two packages is more convenient. Well, from my point of view, two packages would be consistent with other Guix packages as pandoc and ghc-pandoc for instance. Plain name for the CLI and -name for the library in , somehow. The compiler/interpreter propagated/wrapped only with the CLI. Somehow, I am proposing this attached patch. --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=p.patch Content-Description: p.patch diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm index d484c34826..e60570b037 100644 --- a/gnu/packages/backup.scm +++ b/gnu/packages/backup.scm @@ -1256,9 +1256,9 @@ (define-public burp backup.") (license license:agpl3))) -(define-public disarchive +(define-public guile-disarchive (package - (name "disarchive") + (name "guile-disarchive") (version "0.5.0") (source (origin (method url-fetch) @@ -1290,6 +1290,42 @@ (define-public disarchive compression parameters used by Gzip.") (license license:gpl3+))) +(define-public disarchive + (package/inherit guile-disarchive + (name "disarchive") + (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)))))))) + (inputs + (list guile-3.0 guile-gcrypt guile-lzma zlib)) + (propagated-inputs (list)))) + (define-public borgmatic (package (name "borgmatic") --=-=-= Content-Type: text/plain Then tweaking around. Cheers, simon --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 18 09:56:32 2023 Received: (at 62008) by debbugs.gnu.org; 18 Aug 2023 13:56:32 +0000 Received: from localhost ([127.0.0.1]:48447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWzxn-0001gl-PW for submit@debbugs.gnu.org; Fri, 18 Aug 2023 09:56:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qWzxl-0001gc-QA for 62008@debbugs.gnu.org; Fri, 18 Aug 2023 09:56:30 -0400 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 ) id 1qWzxf-0001PH-QO; Fri, 18 Aug 2023 09:56:23 -0400 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=KtQZMJUfaYtM73xgUAtmHiR2WE9qxgtaUVrWCQbLJ94=; b=JsPSgL587VfR1Jj9D5cB 6H3hBvvl2mOS5ThSQooSHsGIJhHBoFoWXmwa2eovlMoXoqijYIyn+2DcjinEHzRQ32y4diZZYk6T6 WMRec7FfokGKnch775w4FF5+IuJH/pGfsjKLLiOEQBtKz7yfSdqE7GMHlvHsGfKenUZy+kBPVH46n EGAvYu4xQk9l+mwl1J9DnSWwpMIcqfrNV+J+yxMuV7RPB2fPabLNyFf4coYrkLirqYijl8WK0HnLF POyttqwusR8IXVDvdHMr8b8U7BAS1fcXE9PXuK8dYv3EvT5e98gOnZ9I3a8ZnzgTT57Wb+uacSolC 45gmgvEKHrJ5TA==; From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Simon Tournier Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> <87a60odep4.fsf@gmail.com> <87bkl1aukx.fsf@gnu.org> <87bkl0omtg.fsf@gmail.com> <87bkl0imja.fsf@gnu.org> <87fs4iew25.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: Primidi 1 Fructidor an 231 de la =?utf-8?Q?R=C3=A9vo?= =?utf-8?Q?lution=2C?= jour de la Prune 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, 18 Aug 2023 15:56:21 +0200 In-Reply-To: <87fs4iew25.fsf@gmail.com> (Simon Tournier's message of "Wed, 16 Aug 2023 19:28:18 +0200") Message-ID: <875y5csbcq.fsf@gnu.org> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Simon Tournier skribis: > solved by adding the package guile, > > $ guix shell -C disarchive guile -- disarchive disassemble hello-2.12= .1 > > then, I think the contrary: having two packages is more convenient. Hi! Yes, I think you mentioned it before. To me, there=E2=80=99s a preced= ent in favor of the status quo (a single package): quite a few other packages (guix, cuirass, mumi, guile-smc, etc.) are also both a Guile library and a set of commands, and they=E2=80=99re provided as a single pac= kage. I think we shouldn=E2=80=99t lose our hair over it anyway. :-) Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Fri Aug 18 11:03:41 2023 Received: (at 62008) by debbugs.gnu.org; 18 Aug 2023 15:03:41 +0000 Received: from localhost ([127.0.0.1]:48508 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX10n-0006I2-Av for submit@debbugs.gnu.org; Fri, 18 Aug 2023 11:03:41 -0400 Received: from mail-lf1-x136.google.com ([2a00:1450:4864:20::136]:40230) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qX10k-0006Hh-Om for 62008@debbugs.gnu.org; Fri, 18 Aug 2023 11:03:39 -0400 Received: by mail-lf1-x136.google.com with SMTP id 2adb3069b0e04-4ffa23f9c60so353178e87.1 for <62008@debbugs.gnu.org>; Fri, 18 Aug 2023 08:03:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692371012; x=1692975812; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=QTXSISIKrEqemWLq9AC1FripUuvkzdQNTr95vttg3Og=; b=UGF6Ep4IFa6Km2ENA1RxlnQtIOH7BoXy9FoYWN2TS+R0hvbOcn3UBbReqvjmiuoiln G/5qCHMMqLD1UGK4JyWKuj3Q6J3pwyRwDj5XtcGoxj/ThQqHb9L2klhYI/6A7irfP5mC g2aLtkZxWYOfQ0JxkeMfRSx98LvZyAIOdYv3whuaTStj+xavQNjQcLcN4kl71H6kUtPa KVAnpurqAZcdeOf55IEy81Ypir2odNU5F0vgctA+6AKqh1jLERko/mkZaK8zeXnDCpg1 b3sxvYLG2wJDaKuIlwj5InGkSbY2peJd5gK47VkF7IaFg9+i9HA5x0YHPn3sGLf+LUy7 CKbQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692371012; x=1692975812; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=QTXSISIKrEqemWLq9AC1FripUuvkzdQNTr95vttg3Og=; b=BTQLCrsa5GY+MVsN7WpbNIyllckROVva/qfMD2a/4HppiP111rct2yfydbxKTZZgPy 2xN3jzMI5HqXDrNb91nImBJBIVXiMIjdLW4wyF4TXnzQ7XcZ/lNZmxAwhIbHaxnPQKAi E6d0F6r5BUSVykXDSdRAI3y0oXlg0KRVQyT7Z7rClPaBQ/hRiTU2gM9vs4mys59gapc+ W4xT/nFg9/A8tP5+igAUtwpGWXzGciJS8QhYK4b7gVthjpZUrqu4dlUBvYRmYEFyxdW0 OW/OIIP05fgBOOfq2YCBJtyuIZBjVGJabP7HlPmSXEWLZvAkNbPeNT1LJ1nCRxAsk+ZE gwaA== X-Gm-Message-State: AOJu0YzKyBYna+uiWXZ7mYaQAsve/2rU5agGynlVJNVR6uXtVdXwkEzm 85KhWLeJDdFz2uLgP91hYe/rNQ4Qv0t7EK04gu4= X-Google-Smtp-Source: AGHT+IHYw2Ln7inShdBuEyL78TLGAYuT8DRIUO1z/TnxvTrd0ugtDrG8gMhDha7eWbYpS5Q3P720kxVwEVKjln+CJ0I= X-Received: by 2002:ac2:4202:0:b0:4f6:a2f:beb with SMTP id y2-20020ac24202000000b004f60a2f0bebmr1699782lfh.5.1692371011502; Fri, 18 Aug 2023 08:03:31 -0700 (PDT) MIME-Version: 1.0 References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> <87a60odep4.fsf@gmail.com> <87bkl1aukx.fsf@gnu.org> <87bkl0omtg.fsf@gmail.com> <87bkl0imja.fsf@gnu.org> <87fs4iew25.fsf@gmail.com> <875y5csbcq.fsf@gnu.org> In-Reply-To: <875y5csbcq.fsf@gnu.org> From: Simon Tournier Date: Fri, 18 Aug 2023 17:03:19 +0200 Message-ID: Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 62008 Cc: 62008@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hi Ludo, On Fri, 18 Aug 2023 at 15:56, Ludovic Court=C3=A8s wrote: > > solved by adding the package guile, > > > > $ guix shell -C disarchive guile -- disarchive disassemble hello-2.= 12.1 > > > > then, I think the contrary: having two packages is more convenient. > > Hi! Yes, I think you mentioned it before. To me, there=E2=80=99s a prec= edent > in favor of the status quo (a single package): quite a few other > packages (guix, cuirass, mumi, guile-smc, etc.) are also both a Guile > library and a set of commands, and they=E2=80=99re provided as a single p= ackage. Hum, thus the status quo is in favor of my initial patch [1]. ;-) --8<---------------cut here---------------start------------->8--- $ for tool in guix cuirass mumi; do guix shell -C $tool -- $tool --version done guix shell -C guile-smc -- smc --version > > guix (GNU Guix) 1.4.0-7.44bbfc2 Copyright (C) 2023 the Guix authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. cuirass (Cuirass) 1.1.0-16.b825967 Copyright (C) 2021 the Cuirass authors License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. `mumi search QUERY': search mumi for issues. [...] ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=3D0 ;;; or pass the --no-auto-compile argument to disable. ;;; compiling /gnu/store/8jmrygas3krkdrqalj0g0cp273whm84s-guile-smc-0.6.0/b= in/.smc-real ;;; compiled /home/simon/.cache/guile/ccache/3.0-LE-8-4.6/gnu/store/8jmryga= s3krkdrqalj0g0cp273whm84s-guile-smc-0.6.0/bin/.smc-real.go smc 0.6.0 Copyright (C) 2021-2022 Artyom V. Poptsov License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Written by Artyom V. Poptsov. --8<---------------cut here---------------end--------------->8--- Please note that cuirass, mumi and guile-smc does not propagate any inputs. Hum, I do not know where cuirass and mumi are used as library, but that=E2=80=99s another story. :-) Well, I can live with one single package =E2=80=93 although I think it=E2= =80=99s confusing :-) =E2=80=93 however I cannot live without =E2=80=9Cguix shell -= C disarchive -- disarchive=E2=80=9D. Therefore, could you send a patch that fixes this = and suits your needs? Cheers, simon 1: https://issues.guix.gnu.org/62008#1 From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 19 10:57:39 2023 Received: (at 62008) by debbugs.gnu.org; 19 Aug 2023 14:57:39 +0000 Received: from localhost ([127.0.0.1]:52111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXNOG-0001T2-AE for submit@debbugs.gnu.org; Sat, 19 Aug 2023 10:57:39 -0400 Received: from mail-wr1-x433.google.com ([2a00:1450:4864:20::433]:40258) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qXNOC-0001Sn-Oi for 62008@debbugs.gnu.org; Sat, 19 Aug 2023 10:57:22 -0400 Received: by mail-wr1-x433.google.com with SMTP id ffacd0b85a97d-3197b9cb84eso463165f8f.1 for <62008@debbugs.gnu.org>; Sat, 19 Aug 2023 07:57:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692457034; x=1693061834; 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=sn3KfVDgKviUyA4BNd6R8n6kdWvNsOL0YuzztvhyIgU=; b=okjlLkKWa1TWH1LUpaLujL9Hy4cXMP5SDYp7Jb4U8xCHR7SGJPXFLzdY6ucQ0qFd5r mfn8WZn+/R/66jKJc1meHhrO0jXoX5udsuxZBnmwRszrIANxP0EZCFZNHwxL1j2iYVJG 5GVqdOQQQsEKzeAccc5CpK5O639kZ3mfGCZ8UQv/k+Gi9AC/hhbozRIIg9iP0+yQGFy0 h2qnllwebe8/vWk75v9hZ+LsfxZQqHIYpPwNK8wrSQZi89sBoEEgZER3GyQQHU0sX6pr TYl8hIA5UfsbKFw4BdN9SpG3pjVxCIsKjuAvpOh4+qNww2gKxzukNwVMJIGZnTowjUdw 3xtg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692457034; x=1693061834; 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=sn3KfVDgKviUyA4BNd6R8n6kdWvNsOL0YuzztvhyIgU=; b=lkoSHa7fgI+ZRKL4/3XOGTirLJYRK5b6TYONudPsxFkZQVNNNW68zhDz9VFgxZaSPV kdd5EeWFdUApKOnSDiOLGWbv5NnZuPAfplmWnQUwzqZ3R9tqHEz3C1IwrTNVn9BOHt6W Nsl4y3ZDGLRCIIoV6cRa6dV+3EiZ62SZ+voRAR0FFJkVGk9EkfWs5DjPSJ3SkRrSu81k EK4EtuqET9xRDB9N+2/xaCZgkftmJsCQ/QYER6sQhnZCJGTifreCrL2yqtGNwILbwrST 3jBA47OtwF7I8yjec8/6Ev/Wua8qocqqOW4XvSYm5gOrZQjrKBlS8ussmO4KWlzX7g3M lF0Q== X-Gm-Message-State: AOJu0YyGzRHobERndrsCdxNzaDxZ3ugO2C4a6DxLMaO7pQjEWErVvezg G+lfeXAIA5GoGQE582saUeBDw4FjVog= X-Google-Smtp-Source: AGHT+IE7sd/1bWQYYjWMt7zEHwysx1UTkr9WLCitsWOnyx9kbbIJKUVYqzmWBXQ6TpRNuzXGzthPnA== X-Received: by 2002:a05:600c:3d93:b0:3fe:dc5d:ee05 with SMTP id bi19-20020a05600c3d9300b003fedc5dee05mr1678510wmb.3.1692457033828; Sat, 19 Aug 2023 07:57:13 -0700 (PDT) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id n16-20020a1c7210000000b003fbb0c01d4bsm6395640wmc.16.2023.08.19.07.57.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Aug 2023 07:57:13 -0700 (PDT) From: Simon Tournier To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: [bug#62008] [PATCH 0/2] Update Disarchive to 0.5.0 In-Reply-To: <875y5csbcq.fsf@gnu.org> References: <20230306191814.3638619-1-zimon.toutoune@gmail.com> <20230306191950.3639176-1-zimon.toutoune@gmail.com> <87jzzsevsh.fsf_-_@gnu.org> <87a60odep4.fsf@gmail.com> <87bkl1aukx.fsf@gnu.org> <87bkl0omtg.fsf@gmail.com> <87bkl0imja.fsf@gnu.org> <87fs4iew25.fsf@gmail.com> <875y5csbcq.fsf@gnu.org> Date: Sat, 19 Aug 2023 10:57:21 +0200 Message-ID: <86bkf31kb2.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 1.1 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Re, On Fri, 18 Aug 2023 at 15:56, Ludovic Courtès wrote: > I think we shouldn’t lose our hair over it anyway. :-) Content analysis details: (1.1 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 1.1 DATE_IN_PAST_03_06 Date: is 3 to 6 hours before Received: date 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (zimon.toutoune[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:433 listed in] [list.dnswl.org] X-Debbugs-Envelope-To: 62008 Cc: 62008@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: 0.1 (/) Re, On Fri, 18 Aug 2023 at 15:56, Ludovic Court=C3=A8s wrote: > I think we shouldn=E2=80=99t lose our hair over it anyway. :-) For sure. Just to point that the two packages way is somehow shared. ;-) At least in Python context, for example see: Re: poetry: python-poetry? by Hilton Chain Mon, 31 Jul 2023 10:05:54 +0800 https://yhetil.org/guix/87leew25tp.wl-hako@ultrarare.space Re: poetry: python-poetry? by Lars-Dominik Braun Thu, 27 Jul 2023 09:03:34 +0200 https://yhetil.org/guix/ZMIWxvt4jyx9mv--@noor.fritz.box And I do not see why Guile and disarchive would be an exception. That=E2=80=99s said, it=E2=80=99s time to go to the hairdresser for brushin= g my hair before loosing them. ;-) Cheers, simon