From owner-freebsd-current@freebsd.org Sat Oct 6 12:40:23 2018 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4153310B8DCA for ; Sat, 6 Oct 2018 12:40:23 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: from out.migadu.com (out.migadu.com [91.121.223.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp.migadu.com", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B88237341B for ; Sat, 6 Oct 2018 12:40:22 +0000 (UTC) (envelope-from greg@unrelenting.technology) Received: (Migadu outbound); Sat, 06 Oct 2018 12:40:21 +0000 Authentication-Results: out.migadu.com; auth=pass (plain) Received: from [192.168.1.141] ([62.122.208.146]) by out.migadu.com (Haraka/2.8.16) with ESMTPSA id A952DE09-31D5-400F-AFC7-72CE70012A8C.1 envelope-from (authenticated bits=0) (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-GCM-SHA384 verify=FAIL); Sat, 06 Oct 2018 12:40:21 +0000 Date: Sat, 06 Oct 2018 15:40:19 +0300 From: Greg V Subject: Re: Problem compiling rust To: Filippo Moretti Cc: FreeBSD Current Message-Id: <1538829619.11691.1@smtp.migadu.com> In-Reply-To: <1912901660.157423.1538828775273@mail.yahoo.com> References: <1912901660.157423.1538828775273.ref@mail.yahoo.com> <1912901660.157423.1538828775273@mail.yahoo.com> X-Mailer: geary/0.12.4 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed DKIM-Signature: v=1; a=rsa-sha256; bh=4tejQkTDdpw0GFo3Fw1gTYZ+RaaVGEKDidiw2L1cFTs=; c=relaxed/simple; d=unrelenting.technology; h=from:subject:date:to; s=default; b=dsRx+2n4eN2ZeMb1xRW96OeJVjeCouWFYON5XadAH9WA+1azAo18Sp1AznLpr/eq9zVavftJ6by0JqP9qcW4q08KbtczpdFWpxOSMqtoYBPPN/nZqMZv3PtE/cXCtHiJ3f2DCL2vhxY88OvQq6SGn4l5Kv34E4MehihnLuxGpJA= X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Oct 2018 12:40:23 -0000 On Sat, Oct 6, 2018 at 3:26 PM, Filippo Moretti wrote: > extracting > cargo-0.29.0-x86_64-unknown-freebsd/cargo/share/doc/cargo/README.md > extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/manifest.in > extracting > cargo-0.29.0-x86_64-unknown-freebsd/cargo/etc/bash_completion.d/cargo > extracting cargo-0.29.0-x86_64-unknown-freebsd/cargo/bin/cargo > extracting > cargo-0.29.0-x86_64-unknown-freebsd/cargo/share/zsh/site-functions/_cargorunning: > /usr/ports/lang/rust/work/rustc-1.29.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo > build --manifest-path > /usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml > --frozenTraceback (most recent call last): File > "/usr/ports/lang/rust/work/rustc-1.29.1-src/x.py", line 20, in > bootstrap.main() File > "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", > line 843, in main bootstrap(help_triggered) File > "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", > line 819, in bootstrap build.build_bootstrap() File > "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", > line 646, in build_bootstrap run(args, env=env, > verbose=self.verbose) File > "/usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/bootstrap.py", > line 148, in run raise RuntimeError(err)RuntimeError: failed to > run: > /usr/ports/lang/rust/work/rustc-1.29.1-src/build/x86_64-unknown-freebsd/stage0/bin/cargo > build --manifest-path > /usr/ports/lang/rust/work/rustc-1.29.1-src/src/bootstrap/Cargo.toml > --frozen*** Error code 1 > Stop.make[1]: stopped in /usr/ports/lang/rust*** Error code 1 > Stop.make: stopped in /usr/ports/lang/rust[root@sting > /usr/ports/lang/rust]# I always had this problem trying to compiling > rust (amd64 alpha3),as I only need it to compile firefox I wonder if > it is possible to disable its building.Thanks Filippo You don't need to compile Rust from source to compile Firefox. You can just 'pkg install rust' to get Rust from a binary package. BTW, this error message doesn't say much, but if cargo fails, you might be out of memory.