-
Notifications
You must be signed in to change notification settings - Fork 4
Effective minimal rustc / cargo version may be 1.81 #6
Copy link
Copy link
Open
Description
Build fails on Ubuntu 24.04:
** libs
using C compiler: ‘gcc (Ubuntu 13.3.0-6ubuntu2~24.04) 13.3.0’
# Check if NOT_CRAN is false and unzip vendor.tar.xz if so
if [ "" != "true" ]; then \
if [ -f ./rust/vendor.tar.xz ]; then \
tar xf rust/vendor.tar.xz && \
mkdir -p /mnt/build/noble/arcgisplaces/src/arcgisplaces/src/.cargo && \
cp rust/vendor-config.toml /mnt/build/noble/arcgisplaces/src/arcgisplaces/src/.cargo/config.toml; \
fi; \
fi
export CARGO_HOME=/mnt/build/noble/arcgisplaces/src/arcgisplaces/src/.cargo && \
export PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.cargo/bin" && \
RUSTFLAGS=" --print=native-static-libs" cargo build -j 2 --offline --lib --release --manifest-path=./rust/Cargo.toml --target-dir ./rust/target
error: package `litemap v0.7.5` cannot be built because it requires rustc 1.81 or newer, while the currently active rustc version is 1.75.0
Either upgrade to rustc 1.81 or newer, or use
cargo update litemap@0.7.5 --precise ver
where `ver` is the latest version of `litemap` supporting rustc 1.75.0
make: *** [Makevars:28: rust/target/release/libarcgisplaces.a] Error 101
ERROR: compilation failed for package ‘arcgisplaces’
* removing ‘/mnt/build/noble/arcgisplaces/debian/r-cran-arcgisplaces/usr/lib/R/site-library/arcgisplaces’
* restoring previous ‘/mnt/build/noble/arcgisplaces/debian/r-cran-arcgisplaces/usr/lib/R/site-library/arcgisplaces’
[error 1]
So litemap may make it 1.81.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels