[Bug 257419] lang/rust: panic on armv7 at 'capacity overflow', library/alloc/src/raw_vec.rs:546:5

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Sep 2021 19:25:05 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257419

--- Comment #26 from Mark Millard <marklmi26-fbsd_at_yahoo.com> ---
(In reply to Mark Millard from comment #184)

My test bulk -a completed in somewhat under 87.25 hours,
building 26995 ports successfully.


Here is a more complete list of differences, going in both
directions.

Ones bulk -a of my ports tree got the problem in:

librespot-0.2.0_5
ncspot-0.6.0_3
openethereum-3.2.6_2.log
ripgrep-all-0.9.6_1
spotifyd-0.3.0_5

But the following built to completion without
a huge log file:

gifski-1.5.0_1

This may suggest that some sort of race condition
is involved.

The following failed for other reasons:

alacritty-0.9.0_1

The log reports:

memory allocation of 1879048192 bytes failed
error: could not compile `smithay-client-toolkit`

Caused by:
  process didn't exit successfully: `CARGO=/usr/local/bin/cargo
CARGO_CRATE_NAME=smithay_client_toolkit
CARGO_MANIFEST_DIR=/wrkdirs/usr/ports/x11/alacritty/work/alacritty-0.9.0/cargo-crates/smithay-client-toolkit-0.14.0
CARGO_PKG_AUTHORS='Victor Berger <victor.berger_at_m4x.org>'
CARGO_PKG_DESCRIPTION='Toolkit for making client wayland applications.'
CARGO_PKG_HOMEPAGE='' CARGO_PKG_LICENSE=MIT CARGO_PKG_LICENSE_FILE=''
CARGO_PKG_NAME=smithay-client-toolkit
CARGO_PKG_REPOSITORY='https://github.com/smithay/client-toolkit'
CARGO_PKG_VERSION=0.14.0 CARGO_PKG_VERSION_MAJOR=0 CARGO_PKG_VERSION_MINOR=14
CARGO_PKG_VERSION_PATCH=0 CARGO_PKG_VERSION_PRE=''
LD_LIBRARY_PATH='/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps:/usr/local/lib'
/usr/local/bin/rustc --crate-name smithay_client_toolkit --edition=2018
/wrkdirs/usr/ports/x11/alacritty/work/alacritty-0.9.0/cargo-crates/smithay-client-toolkit-0.14.0/src/lib.rs
--error-format=json --json=diagnostic-rendered-ansi,artifacts --crate-type lib
--emit=dep-info,metadata,link -C opt-level=3 -C linker-plugin-lto -C
debuginfo=1 -C metadata=a5c00debf47fe1dc -C extra-filename=-a5c00debf47fe1dc
--out-dir /wrkdirs/usr/ports/x11/alacritty/work/target/release/deps -L
dependency=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps --extern
bitflags=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/libbitflags-97fcf63a98d67f7d.rmeta
--extern
dlib=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/libdlib-58bd5533d8e2f399.rmeta
--extern
lazy_static=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/liblazy_static-262b437c84c2b97f.rmeta
--extern
log=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/liblog-7978d3bf9bb63659.rmeta
--extern
memmap2=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/libmemmap2-89036ac41b83b1e3.rmeta
--extern
nix=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/libnix-92fa465df208e236.rmeta
--extern
wayland_client=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/libwayland_client-14e61e0514099b56.rmeta
--extern
wayland_cursor=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/libwayland_cursor-c84b26efb1b8c9ce.rmeta
--extern
wayland_protocols=/wrkdirs/usr/ports/x11/alacritty/work/target/release/deps/libwayland_protocols-7f484596d8de4b38.rmeta
--cap-lints warn -C target-cpu=cortex-a7 -C linker=cc -C
link-arg=-fstack-protector-strong -C link-arg=-L/usr/local/lib` (signal: 6,
SIGABRT: process abort signal)
*** Error code 101



Finally, the following was not attemped at all:

wezterm

This was because of:

Skipping x11/wezterm | wezterm-20210814.124438.54.e29167_4: Dependent port
textproc/mdbook | mdbook-0.4.12_1 build

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Received on Tue Sep 14 2021 - 19:25:05 UTC

Original text of this message