From nobody Mon Jun 28 16:00:48 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 E4A2E11D9FB8 for ; Mon, 28 Jun 2021 16:01:03 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from MTA-05-4.privateemail.com (mta-05-4.privateemail.com [68.65.122.25]) (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 4GDC5C5Y7qz3RCs for ; Mon, 28 Jun 2021 16:01:03 +0000 (UTC) (envelope-from freebsd-arm@darkain.com) Received: from MTA-05.privateemail.com (localhost [127.0.0.1]) by MTA-05.privateemail.com (Postfix) with ESMTP id C0E1360104 for ; Mon, 28 Jun 2021 12:01:01 -0400 (EDT) Received: from mail-lf1-f47.google.com (unknown [10.20.151.202]) by MTA-05.privateemail.com (Postfix) with ESMTPA id 51F7D60086 for ; Mon, 28 Jun 2021 12:01:01 -0400 (EDT) Received: by mail-lf1-f47.google.com with SMTP id a11so33421630lfg.11 for ; Mon, 28 Jun 2021 09:01:01 -0700 (PDT) X-Gm-Message-State: AOAM5312sSBW0Ghu4KmQjvys/jKYQ5xwWaWCb01BKLdRS0wKCC3XKzIx hs+OFuM2UqmqvjI5js7mr1b+wj1FgToE9qzPdh4= X-Google-Smtp-Source: ABdhPJw1c39jAQV12OKWNbDugFXG4o2QU65hr1peLdkZk0S76WECGWxI9a9QxcI6W+Kj3qsmQFmfptjAzMw2JfGlvvM= X-Received: by 2002:a19:ae11:: with SMTP id f17mr19186084lfc.198.1624896059791; Mon, 28 Jun 2021 09:00:59 -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: Mon, 28 Jun 2021 09:00:48 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: lang/rust does not build on aarch64 To: J P Cc: freebsd-arm Content-Type: multipart/alternative; boundary="00000000000070df4605c5d5986a" X-Virus-Scanned: ClamAV using ClamSMTP X-Rspamd-Queue-Id: 4GDC5C5Y7qz3RCs X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-ThisMailContainsUnwantedMimeParts: Y --00000000000070df4605c5d5986a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable "can you please share how old is your building environment?" I just replaced base last night after testing the rust compile, so I don't have accurate information. I want to say I remember it being somewhere close to May 12th. With base from yesterday (June 27th), rust is indeed failing in the same way described above. On Mon, Jun 28, 2021 at 5:08 AM J P wrote: > Hi Vincent, > can you please share how old is your building environment? > > uname -a should suffice. > > You might be willing to participate and reply to > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D256864#c4 where a > positive build is reported on a kernel built > Tue Jun 8 14:29:29 CEST 2021 > > Thank you. > > > Regards, > > > > El dom, 27 jun 2021 a las 20:24, Vincent Milum Jr (< > freebsd-arm@darkain.com>) escribi=C3=B3: > >> 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: >>> =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.= 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/boots= trap.py", >>> line 1175, in main >>> bootstrap(help_triggered) >>> File >>> >>> "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/boots= trap.py", >>> line 1148, in bootstrap >>> build.build_bootstrap() >>> File >>> >>> "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/boots= trap.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/boots= trap.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, >>> >> --00000000000070df4605c5d5986a--