Skip to content

Effective minimal rustc / cargo version may be 1.81 #6

@eddelbuettel

Description

@eddelbuettel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions