GNU bug report logs -
#35115
[PATCH] gnu: rust: Update to 1.33.0
Previous Next
Reported by: Ivan Petkov <ivanppetkov <at> gmail.com>
Date: Wed, 3 Apr 2019 02:34:01 UTC
Severity: normal
Tags: patch
Done: Ludovic Courtès <ludo <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 35115 in the body.
You can then email your comments to 35115 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
guix-patches <at> gnu.org
:
bug#35115
; Package
guix-patches
.
(Wed, 03 Apr 2019 02:34:01 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Ivan Petkov <ivanppetkov <at> gmail.com>
:
New bug report received and forwarded. Copy sent to
guix-patches <at> gnu.org
.
(Wed, 03 Apr 2019 02:34:01 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
* gnu/packages/rust.scm (rust): Rename to...
(rust-1.32): ...this.
(rust): New variable.
---
gnu/packages/rust.scm | 27 ++++++++++++++++++++++++++-
1 file changed, 26 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index 63426a12fc..fb045afad4 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -928,7 +928,7 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
(("```rust") "```rust,no_run"))
#t)))))))))
-(define-public rust
+(define-public rust-1.32
(let ((base-rust
(rust-bootstrapped-package rust-1.31 "1.32.0"
"0ji2l9xv53y27xy72qagggvq47gayr5lcv2jwvmfirx029vlqnac"
@@ -980,3 +980,28 @@ jemalloc = \"" jemalloc "/lib/libjemalloc_pic.a" "\"
;; Remove no longer relevant steps
(delete 'remove-flaky-test)
(delete 'patch-aarch64-test))))))))
+
+(define-public rust-1.33
+ (let ((base-rust
+ (rust-bootstrapped-package rust-1.32 "1.33.0"
+ "152x91mg7bz4ygligwjb05fgm1blwy2i70s2j03zc9jiwvbsh0as"
+ #:patches '())))
+ (package
+ (inherit base-rust)
+ (inputs
+ ;; Upgrade to jemalloc <at> 5.1.0
+ (alist-replace "jemalloc" (list jemalloc)
+ (package-inputs base-rust)))
+ (arguments
+ (substitute-keyword-arguments (package-arguments base-rust)
+ ((#:phases phases)
+ `(modify-phases ,phases
+ (delete 'ignore-cargo-package-tests)
+ (add-after 'configure 'configure-test-threads
+ ;; Several rustc and cargo tests will fail if run on one core
+ ;; https://github.com/rust-lang/rust/issues/59122
+ ;; https://github.com/rust-lang/cargo/issues/6746
+ ;; https://github.com/rust-lang/rust/issues/58907
+ (lambda* (#:key inputs #:allow-other-keys)
+ (setenv "RUST_TEST_THREADS" "2")
+ #t)))))))))
--
2.21.0
Information forwarded
to
guix-patches <at> gnu.org
:
bug#35115
; Package
guix-patches
.
(Wed, 03 Apr 2019 05:19:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 35115 <at> debbugs.gnu.org (full text, mbox):
Realized I forgot to rename the `rust-1.33` variable to `rust` when
I sent out the patch, but something that should be tweaked before pushing…
—Ivan
Reply sent
to
Ludovic Courtès <ludo <at> gnu.org>
:
You have taken responsibility.
(Thu, 11 Apr 2019 10:55:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Ivan Petkov <ivanppetkov <at> gmail.com>
:
bug acknowledged by developer.
(Thu, 11 Apr 2019 10:55:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 35115-done <at> debbugs.gnu.org (full text, mbox):
Hi Ivan,
Ivan Petkov <ivanppetkov <at> gmail.com> skribis:
> * gnu/packages/rust.scm (rust): Rename to...
> (rust-1.32): ...this.
> (rust): New variable.
I added the new ‘rust’ variable and applied.
Thank you!
Ludo’.
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Thu, 09 May 2019 11:24:05 GMT)
Full text and
rfc822 format available.
This bug report was last modified 4 years and 346 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.