Skip to content

Effective minimal rustc / cargo version may be 1.81 #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
eddelbuettel opened this issue Apr 11, 2025 · 3 comments
Open

Effective minimal rustc / cargo version may be 1.81 #6

eddelbuettel opened this issue Apr 11, 2025 · 3 comments

Comments

@eddelbuettel
Copy link

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.

@JosiahParry
Copy link
Collaborator

JosiahParry commented Apr 11, 2025 via email

@eddelbuettel
Copy link
Author

"Its a bad day" as I hit them same thing for fangs and salso. Blacklist growing, sadly.

@eddelbuettel
Copy link
Author

And arcgisutils and tomledit built fine, btw.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants