GNU bug report logs - #57747
[PATCH core-updates] gnu: rust-libloading: Remove pre-compiled binaries.

Previous Next

Package: guix-patches;

Reported by: Maxime Devos <maximedevos <at> telenet.be>

Date: Mon, 12 Sep 2022 10:58:01 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 57747 in the body.
You can then email your comments to 57747 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#57747; Package guix-patches. (Mon, 12 Sep 2022 10:58:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Maxime Devos <maximedevos <at> telenet.be>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Mon, 12 Sep 2022 10:58:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: guix-patches <at> gnu.org
Cc: Maxime Devos <maximedevos <at> telenet.be>
Subject: [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled
 binaries.
Date: Mon, 12 Sep 2022 12:57:06 +0200
* gnu/packages/crates-io.scm
(rust-libloading-0.7)[source]: Add snippet.
(rust-libloading-0.6)[source]: Inherit from rust-liboading-0.7's source.
(rust-libloading-0.5)[source]: Likewise.
(rust-libloading-0.3)[source]: Likewise.
---
 gnu/packages/crates-io.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

Number of dependents is unchecked (so not sure if core-updates is appropriate),
I intend to wait for https://qa.guix.gnu.org to inform me
(guix refresh -l cannot be used meaningfully on rust packages currently).

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index db820a3d24..44b6f01c36 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -31737,7 +31737,11 @@ (define-public rust-libloading-0.7
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))))
+         "0sidr67nsa693mqrqgk2np3bkqni0778yk147xncspy171jdk13g"))
+       (modules '((guix build utils)))
+       (snippet
+        ;; Remove binaries.
+        '(for-each delete-file (find-files "." "\\.dll$")))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -31761,7 +31765,7 @@ (define-public rust-libloading-0.6
     (version "0.6.7")
     (source
      (origin
-       (method url-fetch)
+       (inherit (package-source rust-libloading-0.7))
        (uri (crate-uri "libloading" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
@@ -31783,7 +31787,7 @@ (define-public rust-libloading-0.5
     (version "0.5.2")
     (source
       (origin
-        (method url-fetch)
+        (inherit (package-source rust-libloading-0.7))
         (uri (crate-uri "libloading" version))
         (file-name (string-append name "-" version ".tar.gz"))
         (sha256
@@ -31811,7 +31815,7 @@ (define-public rust-libloading-0.3
     (version "0.3.4")
     (source
      (origin
-       (method url-fetch)
+       (inherit (package-source rust-libloading-0.7))
        (uri (crate-uri "libloading" version))
        (file-name
         (string-append name "-" version ".tar.gz"))

base-commit: d08411ffd0a36a6b67a238be69d32c9f74101389
prerequisite-patch-id: 7f0d22c4b2743e932cf97342abd5bac2e7bbdaa6
prerequisite-patch-id: 87e197146284fb770478e0c2d73027e68ee3db6d
-- 
2.37.2





Information forwarded to guix-patches <at> gnu.org:
bug#57747; Package guix-patches. (Mon, 12 Sep 2022 11:00:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Maxime Devos <maximedevos <at> telenet.be>
To: guix-patches <at> gnu.org
Subject: Re: [PATCH core-updates] gnu: rust-libloading: Remove pre-compiled
 binaries.
Date: Mon, 12 Sep 2022 12:59:21 +0200
[Message part 1 (text/plain, inline)]

On 12-09-2022 12:57, Maxime Devos wrote:
> Number of dependents is unchecked (so not sure if core-updates is appropriate),
> I intend to wait forhttps://qa.guix.gnu.org  to inform me
> (guix refresh -l cannot be used meaningfully on rust packages currently).

Will be on https://qa.guix.gnu.org/issue/57747 (though apparently not 
yet processed by ‘Guix QA’, currently an ‘Issue not found’).

Greetings,
Maxime.
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Reply sent to Maxim Cournoyer <maxim.cournoyer <at> gmail.com>:
You have taken responsibility. (Sat, 20 Jan 2024 20:43:01 GMT) Full text and rfc822 format available.

Notification sent to Maxime Devos <maximedevos <at> telenet.be>:
bug acknowledged by developer. (Sat, 20 Jan 2024 20:43:02 GMT) Full text and rfc822 format available.

Message #13 received at 57747-done <at> debbugs.gnu.org (full text, mbox):

From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Maxime Devos <maximedevos <at> telenet.be>
Cc: 57747-done <at> debbugs.gnu.org
Subject: Re: bug#57747: [PATCH core-updates] gnu: rust-libloading: Remove
 pre-compiled binaries.
Date: Sat, 20 Jan 2024 15:42:06 -0500
Hi,

Maxime Devos <maximedevos <at> telenet.be> writes:

> * gnu/packages/crates-io.scm
> (rust-libloading-0.7)[source]: Add snippet.
> (rust-libloading-0.6)[source]: Inherit from rust-liboading-0.7's source.
> (rust-libloading-0.5)[source]: Likewise.
> (rust-libloading-0.3)[source]: Likewise.

A variant of this was committed to core-updates already.

Closing.

-- 
Thanks,
Maxim




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 18 Feb 2024 12:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 58 days ago.

Previous Next


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