From nobody Sun Jun 27 18:24:17 2021 X-Original-To: freebsd-arm@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id D4F0A11DF795 for ; Sun, 27 Jun 2021 18:24:32 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from MTA-08-3.privateemail.com (mta-08-3.privateemail.com [198.54.127.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4GCfKD4m9Xz4jn2 for ; Sun, 27 Jun 2021 18:24:32 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from MTA-08.privateemail.com (localhost [127.0.0.1]) by MTA-08.privateemail.com (Postfix) with ESMTP id C7FBE600BB for ; Sun, 27 Jun 2021 14:24:30 -0400 (EDT) Received: from mail-lf1-f45.google.com (unknown [10.20.151.248]) by MTA-08.privateemail.com (Postfix) with ESMTPA id 3A045600B7 for ; Sun, 27 Jun 2021 14:24:30 -0400 (EDT) Received: by mail-lf1-f45.google.com with SMTP id j4so27447654lfc.8 for ; Sun, 27 Jun 2021 11:24:30 -0700 (PDT) X-Gm-Message-State: AOAM530cdnnU0VbsIFP4DcaXAGaJ6GBXKGuHRwBzjEwn15oS/f+4W4XJ GMZcTUoXu/zghc6KkoarjGcIIb9KwOU15P5HS+g= X-Google-Smtp-Source: ABdhPJz1EBevCidsschtid4D8BFxp94ttMA5ErudsOXmnIu9MP8kL25xGb4o1pUI7yXIFQtnFgElOKwaWBTF5RuLxQ4= X-Received: by 2002:ac2:42d1:: with SMTP id n17mr15505842lfl.650.1624818268663; Sun, 27 Jun 2021 11:24:28 -0700 (PDT) List-Id: Porting FreeBSD to ARM processors List-Archive: https://lists.freebsd.org/archives/freebsd-arm List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-arm@freebsd.org MIME-Version: 1.0 References: In-Reply-To: From: Vincent Milum Jr Date: Sun, 27 Jun 2021 11:24:17 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: lang/rust does not build on aarch64 To: J P Cc: freebsd-arm@freebsd.org Content-Type: multipart/alternative; boundary="000000000000ba751705c5c37bd7" X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4GCfKD4m9Xz4jn2 X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --000000000000ba751705c5c37bd7 Content-Type: text/plain; charset="UTF-8" I just tried to build lang/rust on Aarch14 on a FreeBSD 14-CURRENT machine using the latest ports repo from Git. Everything compiled just fine and appears to be running smoothly. There might be something broken in your build environment? Or it may not like being built from a non-default path? Your log log also mentions 1.52.1 but the latest in the ports tree is 1.53.0, so that may play a factor as well. On Sun, Jun 27, 2021 at 3:07 AM J P wrote: > Hi, > it seems rust does not build on aarch64: > ===> 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.toml > --verbose --frozen > Traceback (most recent call last): > File "x.py", line 27, in > bootstrap.main() > File > > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.py", > line 1175, in main > bootstrap(help_triggered) > File > > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.py", > line 1148, in bootstrap > build.build_bootstrap() > File > > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.py", > line 900, in build_bootstrap > run(args, env=env, verbose=self.verbose) > File > > "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootstrap.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.toml > --verbose --frozen > *** Error code 1 > > Stop. > make: stopped in /usr/ports/lang/rust > > Is this known? > > Thank you. > > BR, > --000000000000ba751705c5c37bd7--