From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark H Weaver Subject: Re: Unable to Install Rust 1.20.0 and Beyond Date: Thu, 20 Dec 2018 13:24:44 -0500 Message-ID: <87sgysvywo.fsf@netris.org> References: <4377D241-458C-4DCB-B63A-0AD7E5FF540C@InSkyData.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ga319-0007h0-PQ for help-guix@gnu.org; Thu, 20 Dec 2018 13:25:56 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ga316-0008Tk-K5 for help-guix@gnu.org; Thu, 20 Dec 2018 13:25:55 -0500 Received: from world.peace.net ([64.112.178.59]:41336) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ga316-0008SI-Er for help-guix@gnu.org; Thu, 20 Dec 2018 13:25:52 -0500 In-Reply-To: <4377D241-458C-4DCB-B63A-0AD7E5FF540C@InSkyData.com> (Brian Woodcox's message of "Wed, 19 Dec 2018 07:46:44 -0700") List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Brian Woodcox Cc: help-guix@gnu.org Hi Brian, Brian Woodcox writes: > I=E2=80=99m not able to install rust. Initially, I was having problems w= ith > 1.19.0 because of memory issues. I fixed that by increasing the > memory and now 1.19.0 is installed. > > Now that I have lots of memory 16GB, and lots of hard disk space, I canno= t get 1.20.0 to install. > > I am installing it via: > > guix package -i rust > > It appears to be hung. > > guixbui+ 10572 0.0 0.2 127308 38260 ? Ssl 01:03 0:17 guile > --no-auto-compile -L > /gnu/store/27qw1zxljzylvm9b3jbi343gh6cngazq-module-import > /gnu/store/iw20znxa586mkrv0156paq7z1ya9vcbq-rust-1.20.0-guile-builder > > The cpu just sits at 0.0 for this process. Normally it should be close t= o 100. FWIW, I've built rust-1.20.0 locally on my x86_64 GuixSD system several times without running into this issue. My system has only 4 GB of RAM and 8 GB of swap. On this system, I build everything locally. Hydra.gnu.org, our older build farm, has not run into this issue while building rust-1.20.0. Binary substitutes for rust-1.20.0 are currently available from hydra.gnu.org, so you should simply be able to download them. Are you attempting to perform these builds within a VM? If so, are you using QEMU, VirtualBox, or something else? I'm reminded of another unusual build failure that you encountered in 'guile' when you were first experimenting with Guix, when hydra.gnu.org was temporarily offline. The failure was one that I'd not seen reported before or since. As I recall, in that case you were attempting the build within VirtualBox. With this in mind, I wonder if the virtualization is imperfect in some way that the rust-1.20.0 test suite is sensitive to. > My var/log/guix/drvs/av/xcyxs39bdzs28kya500s4kpv0xvb9p-rust-1.20.0.drv.bz= 2 file has the following at the end: > > test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1260) > ... ignored test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1273) ... ok > test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1306) ... ok > test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1321) ... ok > test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1338) ... ok > test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1358) ... ok > test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1409) ... ok > test > /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-edi= tion/src/error-handling.md > - Standard_library_traits_used_for_error_handling (line 1440) ... ok > test /tmp/guix-build-rust-1.20.0.drv-0/rustc- FYI, here's the most recent build of rust-1.20.0 on x86_64 on hydra.gnu.org: https://hydra.gnu.org/build/3218738 >From there, you can retrieve the build log. Here's an excerpt of the rust-1.20.0 build log from my own local system, including the point where your build gets stuck: --8<---------------cut here---------------start------------->8--- test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1321) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1338) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1358) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1409) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1440) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1466) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1500) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - Standard_library_traits_used_for_error_hand= ling (line 1514) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 132) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 148) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 173) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 197) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 232) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 266) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 283) ... ok test /tmp/guix-build-rust-1.20.0.drv-0/rustc-1.20.0-src/src/doc/book/first-= edition/src/error-handling.md - The_Basics (line 300) ... ok --8<---------------cut here---------------end--------------->8--- Mark