[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rust 1.19 fails to build on i686 on ‘staging’

From: Danny Milosavljevic
Subject: Re: Rust 1.19 fails to build on i686 on ‘staging’
Date: Mon, 11 Feb 2019 22:34:56 +0100

Hi Chris,

upstream says that compiling rust 1.19.0 works fine for them on i686 with their 
master (since they have applied our variable-length integer decoding patch):

>Hmm... works for me, using gcc (Debian 6.3.0-18+deb9u1) 6.3.0 20170516 on 
>linux 4.9.0-8-686-pae
>Compiling cargo ran sucessfully.

Would you have some time and a free computer to be able to build rust 1.19.0 

  ./pre-inst-env guix build -K -s i686-linux address@hidden

on guix master with the patch below?

My laptop is currently trying to survive the merge of staging to master and 
running out of memory if I try to start a rust build in parallel, even with 

The patch to use mrustc master is:

diff --git a/gnu/packages/rust.scm b/gnu/packages/rust.scm
index e128bb22b..f2a01ded6 100644
--- a/gnu/packages/rust.scm
+++ b/gnu/packages/rust.scm
@@ -97,17 +97,35 @@
       (name "mrustc")
       (version "0.8.0")
+      ;(source (origin
+      ;          (method git-fetch)
+      ;          (uri (git-reference
+      ;                (url "";)
+      ;                (commit (string-append "v" version))))
+      ;          (file-name (git-file-name name version))
+      ;          (sha256
+      ;           (base32
+      ;            "0a7v8ccyzp1sdkwni8h1698hxpfz2sxhcpx42n6l2pbm0rbjp08i"))
+      ;          (patches
+      ;           (search-patches "mrustc-0.8.0-fix-use-after-free.patch"
+      ;                           
+      ;                           
+      ;                           
       (source (origin
                 (method git-fetch)
                 (uri (git-reference
                       (url "";)
-                      (commit (string-append "v" version))))
+                      (commit "7b6fa5c6e7d6838c2479280dd3f8d14a43c13899")))
                 (file-name (git-file-name name version))
-                  "0a7v8ccyzp1sdkwni8h1698hxpfz2sxhcpx42n6l2pbm0rbjp08i"))
+                  "0ki5jv76gmvd0q9y2lixzn4xhy1jamba3f77bk8cz2k4ix6yx5z1"))
-                 (search-patches 
+                 (search-patches ;"mrustc-0.8.0-fix-use-after-free.patch"
+                                 ))))

Also have to make address@hidden public or use an "-e" expression.

If you don't have time, no worries, I'll eventually get to it.

Attachment: pgp31NlROo6Ij.pgp
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]