GNU bug report logs - #75242
[PATCH rust-team 1/2] gnu: rust-bzip2-0.3: Downgrade to 0.3.2.

Previous Next

Package: guix-patches;

Reported by: Herman Rimm <herman <at> rimm.ee>

Date: Wed, 1 Jan 2025 11:35:02 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

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 75242 in the body.
You can then email your comments to 75242 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 efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#75242; Package guix-patches. (Wed, 01 Jan 2025 11:35:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Herman Rimm <herman <at> rimm.ee>:
New bug report received and forwarded. Copy sent to efraim <at> flashner.co.il, guix-patches <at> gnu.org. (Wed, 01 Jan 2025 11:35:02 GMT) Full text and rfc822 format available.

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

From: Herman Rimm <herman <at> rimm.ee>
To: guix-patches <at> gnu.org
Subject: [PATCH rust-team 1/2] gnu: rust-bzip2-0.3: Downgrade to 0.3.2.
Date: Wed,  1 Jan 2025 12:33:07 +0100
rust-buffered-reader-0.9 and rust-sequoia-openpgp-0.9 require ^0.3.2.

* gnu/packages/crates-compression.scm (rust-bzip2-0.3): Downgrade.
[source]: Remove bzip2-sys path.
[arguments]: Build.  Remove rust-partial-io-0.2, use rust-quicheck-0.2
instead of 0.4.

Change-Id: Ifaa98cf43c4aa5c44358dd225a62b102f9e1218d
---
 gnu/packages/crates-compression.scm | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-compression.scm b/gnu/packages/crates-compression.scm
index 78a92108f03..08ce7a8a6c2 100644
--- a/gnu/packages/crates-compression.scm
+++ b/gnu/packages/crates-compression.scm
@@ -285,7 +285,8 @@ (define-public rust-bzip2-0.3
   (package
     (inherit rust-bzip2-0.4)
     (name "rust-bzip2")
-    (version "0.3.3")
+    ;; XXX: Version 0.3.3 relies on a non-existant partial-io version.
+    (version "0.3.2")
     (source
      (origin
        (method url-fetch)
@@ -293,18 +294,19 @@ (define-public rust-bzip2-0.3
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0fvfwanp42j1zpig880jhb5mc0na50bijmwd6211p77sy35w7ds2"))))
+        (base32 "095yi13ajgnbcmza9s4c7fspzzlqa0bk3hdiwryq43afqi1grsn3"))
+       (modules '((guix build utils)))
+       (snippet #~(substitute* "Cargo.toml"
+                    ((", path =.*}") "}")))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-bzip2-sys" ,rust-bzip2-sys-0.1)
         ("rust-futures" ,rust-futures-0.1)
         ("rust-libc" ,rust-libc-0.2)
         ("rust-tokio-io" ,rust-tokio-io-0.1))
        #:cargo-development-inputs
-       (("rust-partial-io" ,rust-partial-io-0.2)
-        ("rust-quickcheck" ,rust-quickcheck-0.4)
+       (("rust-quickcheck" ,rust-quickcheck-0.2)
         ("rust-rand" ,rust-rand-0.3)
         ("rust-tokio-core" ,rust-tokio-core-0.1))))))
 

base-commit: 5f92f009a19c1a5a8b7df5a7bcb1e1f283a953f8
-- 
2.45.2





Information forwarded to efraim <at> flashner.co.il, guix-patches <at> gnu.org:
bug#75242; Package guix-patches. (Wed, 01 Jan 2025 11:36:02 GMT) Full text and rfc822 format available.

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

From: Herman Rimm <herman <at> rimm.ee>
To: 75242 <at> debbugs.gnu.org
Subject: [PATCH rust-team 2/2] gnu: rust-partial-io-0.2: Remove.
Date: Wed,  1 Jan 2025 12:35:03 +0100
* gnu/packages/crates-io.scm (rust-partial-io-0.2): Delete variable.

Change-Id: I63a3f1d49211a083b31a3d01a55d0b7f89c8738a
---
 gnu/packages/crates-io.scm | 25 -------------------------
 1 file changed, 25 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 480b5b21e4d..720a1764dce 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -50774,31 +50774,6 @@ (define-public rust-partial-io-0.3
         ("rust-quickcheck" ,rust-quickcheck-0.6)
         ("rust-tokio-core" ,rust-tokio-core-0.1))))))
 
-(define-public rust-partial-io-0.2
-  (package
-    (inherit rust-partial-io-0.3)
-    (name "rust-partial-io")
-    (version "0.2.5")
-    (source
-     (origin
-       (method url-fetch)
-       (uri (crate-uri "partial-io" version))
-       (file-name
-        (string-append name "-" version ".tar.gz"))
-       (sha256
-        (base32
-         "03iynvayh11a4mckhwflm5y1qmnkw5m3b20gzi1crpasndy3h8xx"))))
-    (arguments
-     `(#:cargo-inputs
-       (("rust-futures" ,rust-futures-0.1)
-        ("rust-quickcheck" ,rust-quickcheck-0.4)
-        ("rust-tokio-io" ,rust-tokio-io-0.1))
-       #:cargo-development-inputs
-       (("rust-lazy-static" ,rust-lazy-static-0.2)
-        ("rust-quickcheck" ,rust-quickcheck-0.4)
-        ("rust-tokio-core" ,rust-tokio-core-0.1))))
-    (license license:bsd-3)))
-
 (define-public rust-partial-ref-0.3
   (package
     (name "rust-partial-ref")
-- 
2.45.2





Information forwarded to guix-patches <at> gnu.org:
bug#75242; Package guix-patches. (Fri, 03 Jan 2025 08:23:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Herman Rimm <herman <at> rimm.ee>
Cc: 75242 <at> debbugs.gnu.org
Subject: Re: [bug#75242] [PATCH rust-team 1/2] gnu: rust-bzip2-0.3: Downgrade
 to 0.3.2.
Date: Fri, 3 Jan 2025 10:21:52 +0200
[Message part 1 (text/plain, inline)]
Good find!

I'm actually going to take this opportunity to see about packaging
pijul, which should take care of this also.  If that doesn't work then I
think we'll go with your patch.

On Wed, Jan 01, 2025 at 12:33:07PM +0100, Herman Rimm wrote:
> rust-buffered-reader-0.9 and rust-sequoia-openpgp-0.9 require ^0.3.2.
> 
> * gnu/packages/crates-compression.scm (rust-bzip2-0.3): Downgrade.
> [source]: Remove bzip2-sys path.
> [arguments]: Build.  Remove rust-partial-io-0.2, use rust-quicheck-0.2
> instead of 0.4.
> 
> Change-Id: Ifaa98cf43c4aa5c44358dd225a62b102f9e1218d
> ---
>  gnu/packages/crates-compression.scm | 14 ++++++++------
>  1 file changed, 8 insertions(+), 6 deletions(-)

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Sun, 05 Jan 2025 11:05:02 GMT) Full text and rfc822 format available.

Notification sent to Herman Rimm <herman <at> rimm.ee>:
bug acknowledged by developer. (Sun, 05 Jan 2025 11:05:02 GMT) Full text and rfc822 format available.

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

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Herman Rimm <herman <at> rimm.ee>
Cc: 75242-done <at> debbugs.gnu.org
Subject: Re: [bug#75242] [PATCH rust-team 1/2] gnu: rust-bzip2-0.3: Downgrade
 to 0.3.2.
Date: Sun, 5 Jan 2025 13:04:14 +0200
[Message part 1 (text/plain, inline)]
With pijul packaged and these two crates removed we no longer need these
patches.

-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]

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

This bug report was last modified 140 days ago.

Previous Next


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