GNU bug report logs - #56775
[PATCH] gnu: rust-miniz-oxide: Do not skip build.

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 26 Jul 2022 06:43:02 UTC

Severity: normal

Tags: patch

Done: Marius Bakke <marius <at> gnu.org>

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 56775 in the body.
You can then email your comments to 56775 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#56775; Package guix-patches. (Tue, 26 Jul 2022 06:43:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Nicolas Graves <ngraves <at> ngraves.fr>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Tue, 26 Jul 2022 06:43:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: guix-patches <at> gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH] gnu: rust-miniz-oxide: Do not skip build.
Date: Tue, 26 Jul 2022 08:41:57 +0200
* gnu/packages/crates-io.scm
(rust-miniz-oxide-0.2): Keeping skip-build? #t.
(rust-miniz-oxide-0.3): Deleting skip-build? #t.
(rust-miniz-oxide-0.4): Deleting skip-build? #t.
---
 gnu/packages/crates-io.scm | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 41e5041c79..30e2db0777 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34832,8 +34832,7 @@ (define-public rust-miniz-oxide-0.4
         (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-adler" ,rust-adler-0.2)
         ("rust-autocfg" ,rust-autocfg-1)
         ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
@@ -34861,8 +34860,7 @@ (define-public rust-miniz-oxide-0.3
          (base32
           "198n4hfpq0qcxf275l6fpzh7b9cl7ck2xs6pjgpds74bazv9yrxa"))))
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs (("rust-adler32" ,rust-adler32-1))))))
+     `(#:cargo-inputs (("rust-adler32" ,rust-adler32-1))))))
 
 (define-public rust-miniz-oxide-0.2
   (package
@@ -34877,7 +34875,8 @@ (define-public rust-miniz-oxide-0.2
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "17f92krv9hhsyc38prpfyn99m2hqhr4fgszpsla66a6gcrnpbhxn"))))))
+         "17f92krv9hhsyc38prpfyn99m2hqhr4fgszpsla66a6gcrnpbhxn"))))
+    (arguments `(#:skip-build? #t))))
 
 (define-public rust-miniz-oxide-c-api-0.2
   (package
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 07:27:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56775 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 1/4] gnu: Add rust-adler-1.
Date: Tue, 26 Jul 2022 09:26:04 +0200
* gnu/packages/crates-io.scm
(rust-adler-1): New variable.
(rust-adler-0.2): Add development-inputs.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++------
 1 file changed, 21 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 30e2db0777..8ddceaabfc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1815,23 +1815,24 @@ (define-public rust-addr2line-0.9
         ("rust-memmap" ,rust-memmap-0.7)
         ("rust-rustc-test" ,rust-rustc-test-0.3))))))
 
-(define-public rust-adler-0.2
+(define-public rust-adler-1
   (package
     (name "rust-adler")
-    (version "0.2.3")
+    (version "1.0.2")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "adler" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
+        (base32 "1zim79cvzd5yrkzl3nyfx0avijwgk9fqv3yrscdy1cc79ih02qpj"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
-       #:cargo-inputs
+     `(#:cargo-inputs
        (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
-        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))
+       #:cargo-development-inputs
+       (("rust-criterion" ,rust-criterion-0.3))))
     (home-page "https://github.com/jonas-schievink/adler")
     (synopsis "Implementation of the Adler-32 checksum")
     (description
@@ -1842,6 +1843,20 @@ (define-public rust-adler-0.2
            license:asl2.0
            (license:non-copyleft "https://spdx.org/licenses/0BSD.html")))))
 
+(define-public rust-adler-0.2
+  (package
+    (inherit rust-adler-1)
+    (name "rust-adler")
+    (version "0.2.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "adler" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0zpdsrfq5bd34941gmrlamnzjfbsx0x586afb7b0jqhr8g1lwapf"))))
+    (build-system cargo-build-system)))
+
 (define-public rust-adler32-1
   (package
     (name "rust-adler32")
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 07:27:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56775 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0.
Date: Tue, 26 Jul 2022 09:26:05 +0200
* gnu/packages/crates-io.scm (rust-adler32-1): Update to 1.2.0.
---
 gnu/packages/crates-io.scm | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8ddceaabfc..1b9fd827d9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1860,7 +1860,7 @@ (define-public rust-adler-0.2
 (define-public rust-adler32-1
   (package
     (name "rust-adler32")
-    (version "1.1.0")
+    (version "1.2.0")
     (source
       (origin
         (method url-fetch)
@@ -1869,15 +1869,19 @@ (define-public rust-adler32-1
           (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0bgks405vz823bphgwhj4l9h6vpfh900s0phfk4qqijyh9xhfysn"))))
+          "0d7jq7jsjyhsgbhnfq5fvrlh9j0i9g1fqrl2735ibv5f75yjgqda"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
         ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))
        #:cargo-development-inputs
-       (("rust-bencher" ,rust-bencher-0.1)
-        ("rust-rand" ,rust-rand-0.4))))
+       (("rust-criterion" ,rust-criterion-0.3)
+        ("rust-getrandom" ,rust-getrandom-0.1)
+        ("rust-humansize" ,rust-humansize-1)
+        ("rust-rand" ,rust-rand-0.7)
+        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
+        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))
     (home-page "https://github.com/remram44/adler32-rs")
     (synopsis "Implementation of the Adler32 rolling hash algorithm")
     (description
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 07:27:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56775 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 3/4] gnu: Add rust-simd-adler32-0.3.
Date: Tue, 26 Jul 2022 09:26:06 +0200
* gnu/packages/crates-io.scm (rust-simd-adler32-0.3): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1b9fd827d9..1673daabe5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -56506,6 +56506,33 @@ (define-public rust-simd-0.1
        #:cargo-development-inputs
        (("rust-cfg-if" ,rust-cfg-if-0.1))))))
 
+(define-public rust-simd-adler32-0.3
+  (package
+    (name "rust-simd-adler32")
+    (version "0.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "simd-adler32" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32
+         "060b9v15s3miq06582cj2ywam92ph6xs34s62mc8az3xc4wxz98l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-development-inputs
+       (("rust-adler" ,rust-adler-1)
+        ("rust-adler32" ,rust-adler32-1)
+        ("rust-criterion" ,rust-criterion-0.3)
+        ("rust-rand" ,rust-rand-0.8))))
+    (home-page "https://github.com/mcountryman/simd-adler32")
+    (synopsis
+     "Adler-32 rolling hash algorithm implementation")
+    (description
+     "This package provides a SIMD-accelerated Adler-32 rolling hash algorithm
+implementation in Rust.")
+    (license license:expat)))
+
 (define-public rust-simd-helpers-0.1
   (package
     (name "rust-simd-helpers")
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 07:27:03 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56775 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH 4/4] gnu: Add rust-miniz-oxide-0.5.
Date: Tue, 26 Jul 2022 09:26:07 +0200
* gnu/packages/crates-io.scm (rust-miniz-oxide-0.5): New variable.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++------
 1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1673daabe5..b5cbc17ced 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34838,25 +34838,25 @@ (define-public rust-minimal-lexical-0.1
         (sha256
          (base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w"))))))
 
-(define-public rust-miniz-oxide-0.4
+(define-public rust-miniz-oxide-0.5
   (package
     (name "rust-miniz-oxide")
-    (version "0.4.3")
+    (version "0.5.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "miniz_oxide" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
+        (base32 "1k1wfxb35v129mhqy14yqhrj3wvknafrwygiq7zvi0m5iml7ap3g"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-adler" ,rust-adler-0.2)
-        ("rust-autocfg" ,rust-autocfg-1)
+       (("rust-adler" ,rust-adler-1)
         ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
         ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
-        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+        ("rust-simd-adler32" ,rust-simd-adler32-0.3))))
     (home-page  "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
     (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
     (description
@@ -34865,6 +34865,19 @@ (define-public rust-miniz-oxide-0.4
 streaming API for miniz_oxide.")
     (license (list license:expat license:zlib license:asl2.0))))
 
+(define-public rust-miniz-oxide-0.4
+  (package
+    (inherit rust-miniz-oxide-0.5)
+    (name "rust-miniz-oxide")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "miniz_oxide" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))))
+
 (define-public rust-miniz-oxide-0.3
   (package
     (inherit rust-miniz-oxide-0.4)
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 10:15:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 56775 <at> debbugs.gnu.org
Subject: Re: [bug#56775] [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0.
Date: Tue, 26 Jul 2022 12:14:27 +0200
[Message part 1 (text/plain, inline)]
On 26-07-2022 09:26, Nicolas Graves via Guix-patches via wrote:
> +        ("rust-wasm-bindgen" ,rust-wasm-bindgen-0.2)
> +        ("rust-wasm-bindgen-test" ,rust-wasm-bindgen-test-0.3))))

These will be automatically removedĀ  by antioxidant, as Guix does not 
support cross-compilation to wasm, so you don't need to include them 
unless leaving them out causes build failures.

Greetings,
Maxime.

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

Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 10:18:02 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: Nicolas Graves <ngraves <at> ngraves.fr>, 56775 <at> debbugs.gnu.org
Subject: Re: [bug#56775] [PATCH 4/4] gnu: Add rust-miniz-oxide-0.5.
Date: Tue, 26 Jul 2022 12:17:23 +0200
[Message part 1 (text/plain, inline)]
On 26-07-2022 09:26, Nicolas Graves via Guix-patches via wrote:
>       (arguments
>        `(#:cargo-inputs
> -       (("rust-adler" ,rust-adler-0.2)
> -        ("rust-autocfg" ,rust-autocfg-1)
> +       (("rust-adler" ,rust-adler-1)
>           ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
>           ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
> -        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
> +        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
> +        ("rust-simd-adler32" ,rust-simd-adler32-0.3))))

You are removing rust-autocfg, but @0.4.3 still uses that, so this would 
cause a build failure for dependents of @0.4.3. Well, maybe not because 
of how cargo-build-system effectively propagates inputs, but antioxidant 
doesn't do propagation.

Greetings,
Maxime

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

Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 10:22:02 GMT) Full text and rfc822 format available.

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

From: "(" <paren <at> disroot.org>
To: "Maxime Devos" <maximedevos <at> telenet.be>, "Nicolas Graves"
 <ngraves <at> ngraves.fr>, <56775 <at> debbugs.gnu.org>
Subject: Re: [bug#56775] [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0.
Date: Tue, 26 Jul 2022 11:21:04 +0100
On Tue Jul 26, 2022 at 11:14 AM BST, Maxime Devos wrote:
>
> These will be automatically removed by antioxidant, as Guix does not 
> support cross-compilation to wasm, so you don't need to include them 
> unless leaving them out causes build failures.
>
> Greetings,
> Maxime.
It will cause build failures, because Cargo requires you to include all
dependencies, even the optional/unused ones.

    -- (




Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 10:49:01 GMT) Full text and rfc822 format available.

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

From: Maxime Devos <maximedevos <at> telenet.be>
To: "(" <paren <at> disroot.org>, Nicolas Graves <ngraves <at> ngraves.fr>,
 56775 <at> debbugs.gnu.org
Subject: Re: [bug#56775] [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0.
Date: Tue, 26 Jul 2022 12:47:57 +0200
[Message part 1 (text/plain, inline)]
On 26-07-2022 12:21, ( wrote:
> On Tue Jul 26, 2022 at 11:14 AM BST, Maxime Devos wrote:
>> These will be automatically removed by antioxidant, as Guix does not
>> support cross-compilation to wasm, so you don't need to include them
>> unless leaving them out causes build failures.
>>
>> Greetings,
>> Maxime.
> It will cause build failures, because Cargo requires you to include all
> dependencies, even the optional/unused ones.

This is true for some kind of dependencies (e.g., build-dependencies 
IIRC) but not for other kind of dependencies (e.g. dependencies) IIRC. I 
don't know which of them is the case for dev-dependencies.

Greetings,
Maxime.

[Message part 2 (text/html, inline)]
[OpenPGP_0x49E3EE22191725EE.asc (application/pgp-keys, attachment)]
[OpenPGP_signature (application/pgp-signature, attachment)]

Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 10:52:01 GMT) Full text and rfc822 format available.

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

From: "(" <paren <at> disroot.org>
To: "Maxime Devos" <maximedevos <at> telenet.be>, "Nicolas Graves"
 <ngraves <at> ngraves.fr>, <56775 <at> debbugs.gnu.org>
Subject: Re: [bug#56775] [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0.
Date: Tue, 26 Jul 2022 11:51:24 +0100
On Tue Jul 26, 2022 at 11:47 AM BST, Maxime Devos wrote:
> This is true for some kind of dependencies (e.g., build-dependencies 
> IIRC) but not for other kind of dependencies (e.g. dependencies) IIRC. I 
> don't know which of them is the case for dev-dependencies.
That has not been the case in my experience; Cargo seems to want them all
to be provided.

    -- (




Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 16:34:01 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: "(" <paren <at> disroot.org>, Maxime Devos <maximedevos <at> telenet.be>,
 56775 <at> debbugs.gnu.org
Subject: Re: [bug#56775] [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0.
Date: Tue, 26 Jul 2022 18:33:42 +0200
Tested and it indeed fails

phase `patch-cargo-checksums' succeeded after 41.5 seconds
starting phase `build'
error: no matching package named `wasm-bindgen-test` found
location searched: registry `crates-io`
required by package `adler32 v1.2.0 (/tmp/guix-build-rust-adler32-1.2.0.drv-0/adler32-1.2.0)`
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "cargo" arguments: ("build" "--release") exit-status: 101 term-signal: #f stop-signal: #f>
phase `build' failed after 0.2 seconds

-- 
Best regards,
Nicolas Graves




Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 17:07:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56775 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: [PATCH] gnu: Add rust-miniz-oxide-0.5.
Date: Tue, 26 Jul 2022 19:06:13 +0200
* gnu/packages/crates-io.scm (rust-miniz-oxide-0.5): New variable.
---
 gnu/packages/crates-io.scm | 32 ++++++++++++++++++++++++++------
 1 file changed, 26 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 1673daabe5..58218ac8dc 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34838,25 +34838,25 @@ (define-public rust-minimal-lexical-0.1
         (sha256
          (base32 "0xynhr97vyv5n5lls41dl7bfa3ba122lix9mqij1l7yprl6n6r4w"))))))
 
-(define-public rust-miniz-oxide-0.4
+(define-public rust-miniz-oxide-0.5
   (package
     (name "rust-miniz-oxide")
-    (version "0.4.3")
+    (version "0.5.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "miniz_oxide" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
+        (base32 "1k1wfxb35v129mhqy14yqhrj3wvknafrwygiq7zvi0m5iml7ap3g"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-adler" ,rust-adler-0.2)
-        ("rust-autocfg" ,rust-autocfg-1)
+       (("rust-adler" ,rust-adler-1)
         ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
         ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
-        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1))))
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)
+        ("rust-simd-adler32" ,rust-simd-adler32-0.3))))
     (home-page  "https://github.com/Frommi/miniz_oxide/tree/master/miniz_oxide")
     (synopsis "Pure rust replacement for the miniz DEFLATE/zlib encoder/decoder")
     (description
@@ -34865,6 +34865,26 @@ (define-public rust-miniz-oxide-0.4
 streaming API for miniz_oxide.")
     (license (list license:expat license:zlib license:asl2.0))))
 
+(define-public rust-miniz-oxide-0.4
+  (package
+    (inherit rust-miniz-oxide-0.5)
+    (name "rust-miniz-oxide")
+    (version "0.4.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "miniz_oxide" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-adler" ,rust-adler-0.2)
+        ("rust-autocfg" ,rust-autocfg-1)
+        ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
+        ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
+        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))
+
 (define-public rust-miniz-oxide-0.3
   (package
     (inherit rust-miniz-oxide-0.4)
-- 
2.37.1





Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Tue, 26 Jul 2022 18:18:02 GMT) Full text and rfc822 format available.

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

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 56775 <at> debbugs.gnu.org
Subject: Re: [PATCH] gnu: Add rust-miniz-oxide-0.5.
Date: Tue, 26 Jul 2022 20:17:50 +0200
The last patch sent replaces the fourth so that rust-autocfg stays in
cargo-inputs for 0.4.

Nicolas 





Information forwarded to guix-patches <at> gnu.org:
bug#56775; Package guix-patches. (Wed, 27 Jul 2022 09:46:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: 56775 <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [bug#56775] [PATCH 2/4] gnu: rust-adler32-1: Update to 1.2.0.
Date: Wed, 27 Jul 2022 11:45:21 +0200
[Message part 1 (text/plain, inline)]
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> skriver:

> * gnu/packages/crates-io.scm (rust-adler32-1): Update to 1.2.0.

This causes a rebuild of 500+ packages through 'librsvg', so I pushed it
to the 'staging' branch in 7aad4a99f790e256ef03bcf4c6a619560ae48075.
[signature.asc (application/pgp-signature, inline)]

Reply sent to Marius Bakke <marius <at> gnu.org>:
You have taken responsibility. (Wed, 27 Jul 2022 09:53:02 GMT) Full text and rfc822 format available.

Notification sent to Nicolas Graves <ngraves <at> ngraves.fr>:
bug acknowledged by developer. (Wed, 27 Jul 2022 09:53:02 GMT) Full text and rfc822 format available.

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

From: Marius Bakke <marius <at> gnu.org>
To: 56775-done <at> debbugs.gnu.org
Cc: Nicolas Graves <ngraves <at> ngraves.fr>
Subject: Re: [bug#56775] [PATCH] gnu: Add rust-miniz-oxide-0.5.
Date: Wed, 27 Jul 2022 11:52:24 +0200
[Message part 1 (text/plain, inline)]
Nicolas Graves via Guix-patches via <guix-patches <at> gnu.org> skriver:

> * gnu/packages/crates-io.scm (rust-miniz-oxide-0.5): New variable.

[...]

> +(define-public rust-miniz-oxide-0.4
> +  (package
> +    (inherit rust-miniz-oxide-0.5)
> +    (name "rust-miniz-oxide")
> +    (version "0.4.3")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (crate-uri "miniz_oxide" version))
> +       (file-name (string-append name "-" version ".tar.gz"))
> +       (sha256
> +        (base32 "17d1xp29v5xgh4vahxld14w1c1hgh38qmxpv7i18wy096gn2cb8g"))))
> +    (arguments
> +     `(#:cargo-inputs
> +       (("rust-adler" ,rust-adler-0.2)
> +        ("rust-autocfg" ,rust-autocfg-1)
> +        ("rust-compiler-builtins" ,rust-compiler-builtins-0.1)
> +        ("rust-rustc-std-workspace-alloc" ,rust-rustc-std-workspace-alloc-1)
> +        ("rust-rustc-std-workspace-core" ,rust-rustc-std-workspace-core-1)))))
                                                                                 ^
This message was missing a closing paren.  I fixed that, and also
updated your copyright header in crates-io.scm, hope that was okay.

Patches pushed in 9a1cd6e7e8..56e17f6493.
[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. (Wed, 24 Aug 2022 11:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 356 days ago.

Previous Next


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