Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 Jun 2021 14:08:39 +0200
From:      J P <webplication@gmail.com>
To:        Vincent Milum Jr <freebsd-arm@darkain.com>
Cc:        freebsd-arm <freebsd-arm@freebsd.org>
Subject:   Re: lang/rust does not build on aarch64
Message-ID:  <CABcCtUSj6qSSi_ev47eCVnXNOMKntEx%2BozYc6_8zNHv9_zXn4g@mail.gmail.com>
In-Reply-To: <CAOWUMWHEBoSwSMQpmhHgQJ95TtPueov9HxePYBWSUkKY5cyiFQ@mail.gmail.com>
References:  <CABcCtUQe=d%2Bh8AsTyEn8gsryqFOHPtMQjeqcYybeKdfZH1eL_w@mail.gmail.com> <CAOWUMWHEBoSwSMQpmhHgQJ95TtPueov9HxePYBWSUkKY5cyiFQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000359db405c5d25a3a
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

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 machin=
e
> 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 <webplication@gmail.com> 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.t=
oml
>> --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/bootst=
rap.py",
>> line 1175, in main
>>     bootstrap(help_triggered)
>>   File
>>
>> "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootst=
rap.py",
>> line 1148, in bootstrap
>>     build.build_bootstrap()
>>   File
>>
>> "/wrkdirs/usr/ports/lang/rust/work/rustc-1.52.1-src/src/bootstrap/bootst=
rap.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/bootst=
rap.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.t=
oml
>> --verbose --frozen
>> *** Error code 1
>>
>> Stop.
>> make: stopped in /usr/ports/lang/rust
>>
>> Is this known?
>>
>> Thank you.
>>
>> BR,
>>
>

--000000000000359db405c5d25a3a--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABcCtUSj6qSSi_ev47eCVnXNOMKntEx%2BozYc6_8zNHv9_zXn4g>