gifski icon indicating copy to clipboard operation
gifski copied to clipboard

Building: failed to parse manifest,

Open clort81 opened this issue 2 years ago • 2 comments

System: Devuan OS Linux 5.15.0+ aarch64 cargo --version // cargo 1.56.0 cc --version // cc (Debian 8.4.0-6) 8.4.0

cargo build --release
error: failed to parse manifest at `/media/sd/Projects/Graphics/gifski/Cargo.toml`

Caused by:
  namespaced features with the `dep:` prefix are only allowed on the nightly channel and requires the `-Z namespaced-features` flag on the command-line

This is from today's git clone (2022-09-15)

Curious, I tried cargo install gifski, which broke at:

    Updating crates.io index
  Installing gifski v1.7.0
   Compiling autocfg v1.1.0
   Compiling cfg-if v1.0.0
   Compiling libc v0.2.129
   Compiling once_cell v1.13.0
   Compiling version_check v0.9.4
   Compiling crossbeam-utils v0.8.11
   Compiling bytemuck v1.11.0
   Compiling rayon-core v1.9.3
   Compiling scopeguard v1.1.0
   Compiling crc32fast v1.3.2
   Compiling adler v1.0.2
   Compiling cc v1.0.73
   Compiling imgref v1.9.2
   Compiling color_quant v1.1.0
error: linking with `cc` failed: exit status: 1

Any ideas how to fix?

clort81 avatar Sep 15 '22 14:09 clort81

Switching to gcc-9 gets through cargo install gifski. And I get a gifski binary.

First problem remains.

clort81 avatar Sep 15 '22 14:09 clort81

The latest version of gifski requires Rust 1.60. Run rustup update. If you're using a linux-distro package, uninstall it, and use Rust from https://rustup.rs

kornelski avatar Sep 15 '22 14:09 kornelski