Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 Sep 2021 22:21:23 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 257419] lang/rust: panic on armv7 at 'capacity overflow', library/alloc/src/raw_vec.rs:546:5
Message-ID:  <bug-257419-21738-LSpm7pThvf@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-257419-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-257419-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D257419

--- Comment #30 from Mark Millard <marklmi26-fbsd@yahoo.com> ---
(In reply to Mikael Urankar from comment #25)

I applied the patch from https://reviews.freebsd.org/D31872 then
had the port fetch. Then I substituted in to:

/usr/ports/distfiles/rust/2021-07-29/

the 3 files from your area. Finally I substitued into
/usr/ports/lang/rust/distinfo (note the rust/2021-07-29/
prefixes in the SHA256 line's relative paths and the updated
sizes):

SHA256 (rust/2021-07-29/rustc-1.54.0-armv7-unknown-freebsd.tar.xz) =3D
3927fc48020b3b94bdbaf160720664b4a6cdeb6f96b3415d7026326873e20368
SIZE (rust/2021-07-29/rustc-1.54.0-armv7-unknown-freebsd.tar.xz) =3D 464486=
20
SHA256 (rust/2021-07-29/rust-std-1.54.0-armv7-unknown-freebsd.tar.xz) =3D
bc80b15a9ba60c66250d1b31fb610941205b3a2d2787021a5bdb96e667b28d45
SIZE (rust/2021-07-29/rust-std-1.54.0-armv7-unknown-freebsd.tar.xz) =3D 182=
06828
SHA256 (rust/2021-07-29/cargo-1.54.0-armv7-unknown-freebsd.tar.xz) =3D
b0d89e13cc35a943ba3da5de5247d97d6b3dac0abcd331736bc9176e413e8eee
SIZE (rust/2021-07-29/cargo-1.54.0-armv7-unknown-freebsd.tar.xz) =3D 4542272

I've got lang/rust building in poudriere. So far it has not rejected
what I did. Anyhing else will be a separate poudriere bulk run.

(I was not familiar with any internals of rust's build structure.
Hopefully I noticed every appropriate that needed to be done.)

Note: I found that /usr/ports/distfiles/rust/crates/ had accumuated
many versions of materials going back into 2015. (I do not normally
build rust.) Appearently nothing cleans up the old content in this
area as things progress. So I cleared it out, hoping it would be
filled in as needed.

--=20
You are receiving this mail because:
You are on the CC list for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-257419-21738-LSpm7pThvf>