Date: Mon, 28 Jun 2021 16:55:33 +0930 From: Adrian Murphy <amurphy@gsoft.com.au> To: J P <webplication@gmail.com> Cc: freebsd-ports@freebsd.orgadd, freebsd-arm <freebsd-arm@FreeBSD.org> Subject: Re: lang/rust does not build on aarch64 Message-ID: <7D6AA55E-F627-4ED8-B761-1852E58F4989@gsoft.com.au> In-Reply-To: <CABcCtUQe=d%2Bh8AsTyEn8gsryqFOHPtMQjeqcYybeKdfZH1eL_w@mail.gmail.com> References: <CABcCtUQe=d%2Bh8AsTyEn8gsryqFOHPtMQjeqcYybeKdfZH1eL_w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 27 Jun 2021, at 7:37 pm, J P <webplication@gmail.com> wrote: >=20 > Hi, > it seems rust does not build on aarch64: > =3D=3D=3D> Building for rust-1.52.1 > rustup not detected: [Errno 2] No such file or directory: 'rustc' > falling back to auto-detect > running: /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build > --manifest-path > = /wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/Cargo.tom= l > --verbose --frozen > Traceback (most recent call last): > File "x.py", line 27, in <module> > bootstrap.main() > File > = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstra= p.py", > line 1175, in main > bootstrap(help_triggered) > File > = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstra= p.py", > line 1148, in bootstrap > build.build_bootstrap() > File > = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstra= p.py", > line 900, in build_bootstrap > run(args, env=3Denv, verbose=3Dself.verbose) > File > = "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstra= p.py", > line 153, in run > raise RuntimeError(err) > RuntimeError: failed to run: > /wrkdirs/usr/ports/lang/rust/work/bootstrap/bin/cargo build = --manifest-path > = /wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/Cargo.tom= l > --verbose --frozen > *** Error code 1 >=20 > Stop. > make: stopped in /usr/ports/lang/rust >=20 > Is this known? Is there a chance you ran out of memory? I just had the same problem (I think) on an amd64 vm with 512MB ram and = 1GB swap: Jun 28 16:32:29 Menoetius kernel: swp_pager_getswapspace(11): failed Jun 28 16:32:36 Menoetius kernel: pid 57952 (rustc), jid 0, uid 0, was = killed: out of swap space I progressed by giving it more ram. Adrian=20 >=20 > Thank you. >=20 > BR,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7D6AA55E-F627-4ED8-B761-1852E58F4989>