master-of-zen / Av1an

Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
GNU General Public License v3.0
1.51k stars 155 forks source link

Fails to compile via cargo #705

Closed xfzv closed 1 year ago

xfzv commented 1 year ago

OS: Gentoo Linux (kernel 6.1.6)

❯ gcc --version
gcc (Gentoo 12.2.1_p20221231 p8) 12.2.1 20221231
❯ cargo --version
cargo 1.66.1 (ad779e08b 2023-01-10)
❯ cargo install av1an
  Updating crates.io index
  Downloaded av1an v0.4.0
  Downloaded 1 crate (26.0 KB) in 2.48s
  Installing av1an v0.4.0
  Downloaded byte-slice-cast v1.2.2
  Downloaded crossbeam-deque v0.8.2
  Downloaded ahash v0.7.6
  Downloaded clap_derive v3.2.18
  Downloaded cc v1.0.78
  Downloaded dashmap v5.4.0
  Downloaded stfu8 v0.2.6
  Downloaded textwrap v0.15.2
  Downloaded built v0.5.2
  Downloaded enum-iterator-derive v1.1.0
  Downloaded plotters-svg v0.3.3
  Downloaded av1-grain v0.2.2
  Downloaded plotters v0.3.4
  Downloaded num-rational v0.4.1
  Downloaded enum-iterator v1.2.0
  Downloaded splines v4.1.1
  Downloaded unicode-linebreak v0.1.4
  Downloaded paste v1.0.11
  Downloaded num-bigint v0.4.3
  Downloaded chrono v0.4.23
  Downloaded pkg-config v0.3.26
  Downloaded strum_macros v0.24.3
  Downloaded os_str_bytes v6.4.1
  Downloaded crossbeam-utils v0.8.14
  Downloaded crossbeam-epoch v0.9.13
  Downloaded anyhow v1.0.68
  Downloaded smallvec v1.10.0
  Downloaded lock_api v0.4.9
  Downloaded nom v7.1.3
  Downloaded cargo-lock v8.0.3
  Downloaded memoffset v0.7.1
  Downloaded jobserver v0.1.25
  Downloaded form_urlencoded v1.1.0
  Downloaded portable-atomic v0.3.19
  Downloaded mio v0.8.5
  Downloaded vergen v7.3.2
  Downloaded flexi_logger v0.22.6
  Downloaded indicatif v0.17.3
  Downloaded console v0.15.5
  Downloaded av-bitstream v0.2.0
  Downloaded aho-corasick v0.7.20
  Downloaded v_frame v0.3.3
  Downloaded av-ivf v0.5.0
  Downloaded crossbeam-channel v0.5.6
  Downloaded either v1.8.0
  Downloaded av-scenechange v0.8.1
  Downloaded av-format v0.7.0
  Downloaded idna v0.3.0
  Downloaded clap v3.2.23
  Downloaded bitstream-io v1.6.0
  Downloaded av-data v0.4.1
  Downloaded num_cpus v1.15.0
  Downloaded rayon v1.6.1
  Downloaded libloading v0.7.4
  Downloaded glob v0.3.1
  Downloaded bytes v1.3.0
  Downloaded rav1e v0.6.3
  Downloaded iana-time-zone v0.1.53
  Downloaded proc-macro2 v1.0.50
  Downloaded serde_derive v1.0.152
  Downloaded itoa v1.0.5
  Downloaded rand_core v0.6.4
  Downloaded quote v1.0.23
  Downloaded ppv-lite86 v0.2.17
  Downloaded once_cell v1.17.0
  Downloaded clang-sys v1.4.0
  Downloaded itertools v0.10.5
  Downloaded unicode-width v0.1.10
  Downloaded indexmap v1.9.2
  Downloaded libc v0.2.139
  Downloaded rustversion v1.0.11
  Downloaded toml v0.5.10
  Downloaded which v4.3.0
  Downloaded semver v1.0.16
  Downloaded textwrap v0.16.0
  Downloaded thiserror v1.0.38
  Downloaded parking_lot_core v0.9.6
  Downloaded thiserror-impl v1.0.38
  Downloaded serde_json v1.0.91
  Downloaded url v2.3.1
  Downloaded unicode-normalization v0.1.22
  Downloaded rayon-core v1.10.1
  Downloaded unicode-ident v1.0.6
  Downloaded tokio v1.24.1
  Downloaded syn v1.0.107
  Downloaded regex-syntax v0.6.28
  Downloaded regex v1.7.1
  Downloaded ryu v1.0.12
  Downloaded getrandom v0.2.8
  Downloaded termcolor v1.2.0
  Downloaded percent-encoding v2.2.0
  Downloaded serde v1.0.152
  Downloaded socket2 v0.4.7
  Downloaded av1an-core v0.4.0
  Downloaded 94 crates (7.8 MB) in 1.61s (largest was `rav1e` at 1.4 MB)
   Compiling libc v0.2.139
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.50
   Compiling unicode-ident v1.0.6
   Compiling quote v1.0.23
   Compiling syn v1.0.107
   Compiling cfg-if v1.0.0
   Compiling memchr v2.5.0
   Compiling version_check v0.9.4
   Compiling serde_derive v1.0.152
   Compiling crossbeam-utils v0.8.14
   Compiling serde v1.0.152
   Compiling log v0.4.17
   Compiling pkg-config v0.3.26
   Compiling thiserror v1.0.38
   Compiling tinyvec_macros v0.1.0
   Compiling tinyvec v1.6.0
   Compiling anyhow v1.0.68
   Compiling rayon-core v1.10.1
   Compiling percent-encoding v2.2.0
   Compiling ahash v0.7.6
   Compiling memoffset v0.7.1
   Compiling crossbeam-epoch v0.9.13
   Compiling num-traits v0.2.15
   Compiling num-integer v0.1.45
   Compiling unicode-bidi v0.3.8
   Compiling semver v1.0.16
   Compiling form_urlencoded v1.1.0
   Compiling regex-syntax v0.6.28
   Compiling scopeguard v1.1.0
   Compiling aho-corasick v0.7.20
   Compiling jobserver v0.1.25
   Compiling num_cpus v1.15.0
   Compiling rustversion v1.0.11
   Compiling glob v0.3.1
   Compiling bitflags v1.3.2
   Compiling unicode-normalization v0.1.22
   Compiling cc v1.0.78
   Compiling num-bigint v0.4.3
   Compiling clang-sys v1.4.0
   Compiling idna v0.3.0
   Compiling getrandom v0.2.8
   Compiling num-rational v0.4.1
   Compiling proc-macro-error-attr v1.0.4
   Compiling either v1.8.0
   Compiling once_cell v1.17.0
   Compiling minimal-lexical v0.2.1
   Compiling url v2.3.1
   Compiling nom v7.1.3
   Compiling crossbeam-deque v0.8.2
   Compiling crossbeam-channel v0.5.6
   Compiling regex v1.7.1
   Compiling libz-sys v1.1.8
   Compiling proc-macro-error v1.0.4
   Compiling libloading v0.7.4
   Compiling time-macros v0.2.4
   Compiling bindgen v0.59.2
   Compiling lazycell v1.3.0
   Compiling lazy_static v1.4.0
   Compiling shlex v1.1.0
   Compiling peeking_take_while v0.1.2
   Compiling rustc-hash v1.1.0
   Compiling libgit2-sys v0.13.4+1.4.2
   Compiling rayon v1.6.1
   Compiling cexpr v0.6.0
   Compiling rust_hawktracer_normal_macro v0.4.1
   Compiling itoa v1.0.5
   Compiling num_threads v0.1.6
   Compiling rust_hawktracer_proc_macro v0.4.1
   Compiling time v0.3.9
   Compiling rust_hawktracer v0.7.0
   Compiling hashbrown v0.12.3
   Compiling nasm-rs v0.2.4
   Compiling lock_api v0.4.9
   Compiling parking_lot_core v0.9.6
   Compiling heck v0.4.0
   Compiling noop_proc_macro v0.3.0
   Compiling bytes v1.3.0
   Compiling paste v1.0.11
   Compiling new_debug_unreachable v1.0.4
   Compiling unicode-linebreak v0.1.4
   Compiling vergen v7.3.2
   Compiling itertools v0.10.5
   Compiling unicode-width v0.1.10
   Compiling vapoursynth-sys v0.4.0
   Compiling byte-slice-cast v1.2.2
   Compiling smallvec v1.10.0
   Compiling portable-atomic v0.3.19
   Compiling maybe-rayon v0.1.0
   Compiling rand_core v0.6.4
   Compiling simd_helpers v0.1.0
   Compiling atty v0.2.14
   Compiling tokio v1.24.1
   Compiling indexmap v1.9.2
   Compiling const_fn_assert v0.1.2
   Compiling plotters-backend v0.3.4
   Compiling ppv-lite86 v0.2.17
   Compiling ffmpeg-next v5.1.1
   Compiling bitstream-io v1.6.0
   Compiling sysinfo v0.23.13
   Compiling serde_json v1.0.91
   Compiling plotters-svg v0.3.3
   Compiling rand_chacha v0.3.1
   Compiling console v0.15.5
   Compiling mio v0.8.5
   Compiling errno v0.2.8
   Compiling signal-hook-registry v1.4.0
   Compiling socket2 v0.4.7
   Compiling pin-project-lite v0.2.9
   Compiling thiserror-impl v1.0.38
   Compiling num-derive v0.3.3
   Compiling enum-iterator-derive v1.1.0
   Compiling getset v0.1.2
   Compiling arg_enum_proc_macro v0.3.2
   Compiling strum_macros v0.24.3
   Compiling v_frame v0.3.3
   Compiling enum-iterator v1.2.0
   Compiling stfu8 v0.2.6
   Compiling number_prefix v0.4.0
   Compiling av-data v0.4.1
   Compiling av-bitstream v0.2.0
   Compiling strsim v0.10.0
   Compiling y4m v0.7.0
   Compiling std_prelude v0.2.12
   Compiling ansi_term v0.12.1
   Compiling av-format v0.7.0
   Compiling ffmpeg-sys-next v5.1.1
   Compiling os_str_bytes v6.4.1
   Compiling iana-time-zone v0.1.53
   Compiling smawk v0.3.1
   Compiling ryu v1.0.12
   Compiling clap_lex v0.2.4
   Compiling chrono v0.4.23
   Compiling textwrap v0.15.2
   Compiling av-ivf v0.5.0
   Compiling indicatif v0.17.3
   Compiling strum v0.24.1
   Compiling vapoursynth v0.4.0
   Compiling clap_derive v3.2.18
   Compiling affinity v0.1.2
   Compiling rand v0.8.5
   Compiling plotters v0.3.4
   Compiling parking_lot v0.12.1
   Compiling which v4.3.0
   Compiling textwrap v0.16.0
   Compiling simdutf8 v0.1.4
   Compiling termcolor v1.2.0
   Compiling splines v4.1.1
   Compiling clap v3.2.23
   Compiling toml v0.5.10
   Compiling rustc_version v0.4.0
   Compiling arrayvec v0.7.2
   Compiling path_abs v0.5.1
   Compiling av1-grain v0.2.2
   Compiling dashmap v5.4.0
   Compiling flexi_logger v0.22.6
   Compiling cargo-lock v8.0.3
   Compiling built v0.5.2
   Compiling rav1e v0.6.3
   Compiling git2 v0.14.4
   Compiling av1an v0.4.0
   Compiling av-scenechange v0.8.1
   Compiling av1an-core v0.4.0
error: linking with `cc` failed: exit status: 1
  |
  = note: "cc" "-m64" "/tmp/rustc4XAJzg/symbols.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.0.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.1.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.10.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.11.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.12.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.13.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.14.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.15.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.2.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.3.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.4.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.5.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.6.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.7.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.8.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.av1an.783ac1ec-cgu.9.rcgu.o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0.55djer796203x30.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/cargo-installytisjl/release/deps" "-L" "/tmp/cargo-installytisjl/release/build/rav1e-e0e4b365da7402df/out" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/usr/lib64" "-L" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/tmp/cargo-installytisjl/release/deps/libshlex-b3561bdc0763f103.rlib" "/tmp/cargo-installytisjl/release/deps/libflexi_logger-03381b0850cbb489.rlib" "/tmp/cargo-installytisjl/release/deps/libglob-99feb5ab6b2ac6a7.rlib" "/tmp/cargo-installytisjl/release/deps/libtime-c4e302cd3f12bd07.rlib" "/tmp/cargo-installytisjl/release/deps/libnum_threads-f47d48b2a797b054.rlib" "/tmp/cargo-installytisjl/release/deps/libchrono-5ede0e4a4ff65e46.rlib" "/tmp/cargo-installytisjl/release/deps/libiana_time_zone-f7bf35a44f8b8f5c.rlib" "/tmp/cargo-installytisjl/release/deps/libclap-48e61903f09dceee.rlib" "/tmp/cargo-installytisjl/release/deps/libtermcolor-8be773f140f8e29b.rlib" "/tmp/cargo-installytisjl/release/deps/libtextwrap-192bed55028cff97.rlib" "/tmp/cargo-installytisjl/release/deps/libclap_lex-adcb7afecd8d7619.rlib" "/tmp/cargo-installytisjl/release/deps/libos_str_bytes-7b1a38081d69417e.rlib" "/tmp/cargo-installytisjl/release/deps/libindexmap-6f96817090e689d7.rlib" "/tmp/cargo-installytisjl/release/deps/libav1an_core-56e532826b2677e0.rlib" "/tmp/cargo-installytisjl/release/deps/libstrsim-eeb1dbffff394ea8.rlib" "/tmp/cargo-installytisjl/release/deps/libwhich-bba9768a64513947.rlib" "/tmp/cargo-installytisjl/release/deps/libparking_lot-554d8ca395afec2a.rlib" "/tmp/cargo-installytisjl/release/deps/libatty-73c2a10c9db87eeb.rlib" "/tmp/cargo-installytisjl/release/deps/libserde_json-437414062e4875c6.rlib" "/tmp/cargo-installytisjl/release/deps/libryu-e4f70ce8a8360454.rlib" "/tmp/cargo-installytisjl/release/deps/libitoa-79b6a169f7eec156.rlib" "/tmp/cargo-installytisjl/release/deps/libaffinity-0ffa87884669d73d.rlib" "/tmp/cargo-installytisjl/release/deps/liberrno-798f055bc85a3637.rlib" "/tmp/cargo-installytisjl/release/deps/libsimdutf8-bd5a325d414621e7.rlib" "/tmp/cargo-installytisjl/release/deps/libtextwrap-1eade8ffd6cd1fb9.rlib" "/tmp/cargo-installytisjl/release/deps/libsmawk-60fece52285e56eb.rlib" "/tmp/cargo-installytisjl/release/deps/libunicode_linebreak-a765564c153943db.rlib" "/tmp/cargo-installytisjl/release/deps/libplotters-390e3a5a758f031a.rlib" "/tmp/cargo-installytisjl/release/deps/libplotters_svg-c251bad358420474.rlib" "/tmp/cargo-installytisjl/release/deps/libplotters_backend-1d883c771e53d53e.rlib" "/tmp/cargo-installytisjl/release/deps/libvapoursynth-b98ee9c33a4b600a.rlib" "/tmp/cargo-installytisjl/release/deps/libvapoursynth_sys-81def06ef06369f0.rlib" "/tmp/cargo-installytisjl/release/deps/libsplines-c206f7b2f55da252.rlib" "/tmp/cargo-installytisjl/release/deps/libtokio-520c1de923167c15.rlib" "/tmp/cargo-installytisjl/release/deps/libsignal_hook_registry-5661e9e23b833d47.rlib" "/tmp/cargo-installytisjl/release/deps/libsocket2-837127001c077067.rlib" "/tmp/cargo-installytisjl/release/deps/libmio-6644b9dc019b9b90.rlib" "/tmp/cargo-installytisjl/release/deps/libpin_project_lite-1aae0455508c365a.rlib" "/tmp/cargo-installytisjl/release/deps/librand-09cef12cc4f993bf.rlib" "/tmp/cargo-installytisjl/release/deps/librand_chacha-a1f14d5cedffa78a.rlib" "/tmp/cargo-installytisjl/release/deps/libppv_lite86-af0b1487098c7ef0.rlib" "/tmp/cargo-installytisjl/release/deps/librand_core-9a40f00d766e04fb.rlib" "/tmp/cargo-installytisjl/release/deps/libav_scenechange-7b33654d9b61a8b9.rlib" "/tmp/cargo-installytisjl/release/deps/liby4m-f7a0f074e8c0f1ed.rlib" "/tmp/cargo-installytisjl/release/deps/librav1e-541f9434c690108e.rlib" "/tmp/cargo-installytisjl/release/deps/libmaybe_rayon-58bf649e3ffef78b.rlib" "/tmp/cargo-installytisjl/release/deps/libconst_fn_assert-b7337dd66a106093.rlib" "/tmp/cargo-installytisjl/release/deps/libbitstream_io-916399de043dc616.rlib" "/tmp/cargo-installytisjl/release/deps/libindicatif-1f158b034854a8b2.rlib" "/tmp/cargo-installytisjl/release/deps/libportable_atomic-deca796c6f971658.rlib" "/tmp/cargo-installytisjl/release/deps/libnumber_prefix-3a4b124cecfd4045.rlib" "/tmp/cargo-installytisjl/release/deps/libconsole-0a5d224f906ab9dc.rlib" "/tmp/cargo-installytisjl/release/deps/libunicode_width-2d206e36834a1cf8.rlib" "/tmp/cargo-installytisjl/release/deps/libpath_abs-b54df4e920cc1cc0.rlib" "/tmp/cargo-installytisjl/release/deps/libstd_prelude-98aade9c4b6ab5cc.rlib" "/tmp/cargo-installytisjl/release/deps/libstfu8-3da0a5b796d50cb1.rlib" "/tmp/cargo-installytisjl/release/deps/libregex-9d48fb2c61a1da67.rlib" "/tmp/cargo-installytisjl/release/deps/libaho_corasick-055f277e2a48b797.rlib" "/tmp/cargo-installytisjl/release/deps/libregex_syntax-458630deec34797d.rlib" "/tmp/cargo-installytisjl/release/deps/liblazy_static-7231b69873e11c7f.rlib" "/tmp/cargo-installytisjl/release/deps/libav_ivf-1c76ce0166da8135.rlib" "/tmp/cargo-installytisjl/release/deps/libav_bitstream-91834f74c3d4fbb5.rlib" "/tmp/cargo-installytisjl/release/deps/libav_format-f7a0909f139e15a8.rlib" "/tmp/cargo-installytisjl/release/deps/libav_data-2c17df8a95379dc1.rlib" "/tmp/cargo-installytisjl/release/deps/libbytes-5c1cfd73e13f1aea.rlib" "/tmp/cargo-installytisjl/release/deps/libbyte_slice_cast-374110cd28b77a21.rlib" "/tmp/cargo-installytisjl/release/deps/libthiserror-c711a8f76b2cef90.rlib" "/tmp/cargo-installytisjl/release/deps/libsysinfo-ce93571c3d24fe4a.rlib" "/tmp/cargo-installytisjl/release/deps/librayon-776c8030d1ad33c0.rlib" "/tmp/cargo-installytisjl/release/deps/librayon_core-1cedef3eb0c2d3ce.rlib" "/tmp/cargo-installytisjl/release/deps/libnum_cpus-7d4d73e5af1f101e.rlib" "/tmp/cargo-installytisjl/release/deps/libcrossbeam_deque-dcc954b2afeb9581.rlib" "/tmp/cargo-installytisjl/release/deps/libcrossbeam_epoch-59e204906287ae7c.rlib" "/tmp/cargo-installytisjl/release/deps/libmemoffset-be3248a97ebb370c.rlib" "/tmp/cargo-installytisjl/release/deps/libcrossbeam_channel-0c4a9ded7fc3dc87.rlib" "/tmp/cargo-installytisjl/release/deps/libcrossbeam_utils-11e16e9a7da20f82.rlib" "/tmp/cargo-installytisjl/release/deps/libstrum-8874ec56c444c187.rlib" "/tmp/cargo-installytisjl/release/deps/libdashmap-a5bfcf29ca779e99.rlib" "/tmp/cargo-installytisjl/release/deps/liblock_api-c582ea15a5872218.rlib" "/tmp/cargo-installytisjl/release/deps/libscopeguard-823f54c2006b90d2.rlib" "/tmp/cargo-installytisjl/release/deps/libparking_lot_core-dcaed803aeee2669.rlib" "/tmp/cargo-installytisjl/release/deps/libsmallvec-25d20251ceab9b69.rlib" "/tmp/cargo-installytisjl/release/deps/libhashbrown-c972842e69f79ee8.rlib" "/tmp/cargo-installytisjl/release/deps/libahash-f018988690c60e9c.rlib" "/tmp/cargo-installytisjl/release/deps/libgetrandom-1328b1fe9aa24b24.rlib" "/tmp/cargo-installytisjl/release/deps/libonce_cell-bcb5121973262551.rlib" "/tmp/cargo-installytisjl/release/deps/libav1_grain-6de5ee6bbcd1dd5c.rlib" "/tmp/cargo-installytisjl/release/deps/libnom-d08efd1e4da3f286.rlib" "/tmp/cargo-installytisjl/release/deps/libmemchr-1efcce2029598f39.rlib" "/tmp/cargo-installytisjl/release/deps/libitertools-6cc886d4395daffd.rlib" "/tmp/cargo-installytisjl/release/deps/libeither-d41214e8789728fa.rlib" "/tmp/cargo-installytisjl/release/deps/libv_frame-5c7605079536b299.rlib" "/tmp/cargo-installytisjl/release/deps/librust_hawktracer-345334ee0cd30d20.rlib" "/tmp/cargo-installytisjl/release/deps/librust_hawktracer_normal_macro-5ed21f41a54c8542.rlib" "/tmp/cargo-installytisjl/release/deps/libdebug_unreachable-93cab2d930c3ed36.rlib" "/tmp/cargo-installytisjl/release/deps/libnum_rational-51b48cc012b4235d.rlib" "/tmp/cargo-installytisjl/release/deps/libnum_bigint-19d0188304bcb107.rlib" "/tmp/cargo-installytisjl/release/deps/libnum_integer-c625606f789a9879.rlib" "/tmp/cargo-installytisjl/release/deps/libnum_traits-452801c37b8952c1.rlib" "/tmp/cargo-installytisjl/release/deps/libarrayvec-eb3fcfdf40bfed70.rlib" "/tmp/cargo-installytisjl/release/deps/libserde-43842ce149a8ac8b.rlib" "/tmp/cargo-installytisjl/release/deps/liblog-bd31f5f1431fc67b.rlib" "/tmp/cargo-installytisjl/release/deps/libcfg_if-a8be4e3850b24771.rlib" "/tmp/cargo-installytisjl/release/deps/libanyhow-2f83444805a47ee5.rlib" "/tmp/cargo-installytisjl/release/deps/libansi_term-6273a11236544508.rlib" "/tmp/cargo-installytisjl/release/deps/libffmpeg_next-5b3775ff39507058.rlib" "/tmp/cargo-installytisjl/release/deps/libffmpeg_sys_next-e0c3b4ccbbdf867b.rlib" "/tmp/cargo-installytisjl/release/deps/liblibc-1db4ed43974dc949.rlib" "/tmp/cargo-installytisjl/release/deps/libbitflags-013c75ad3f8c9749.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ef39a505cf65c934.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-15e5018ac4168592.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a48880ab9d595b7a.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-bc9d2daab0d39757.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-475fcb0e52485504.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-1a6b757a5eafba0e.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-c58dc586d7935f82.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-340edd7bc5378fb5.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-1140b6fd2dbbcaf2.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-0ec50699f9facc73.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-950575da53d6728c.rlib""/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-94822031c9eedde2.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8945cf70d2b634e2.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3e02e71b2a2c7089.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-566a529bcdd2d0ae.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-aa7211f9d7756f6d.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-f09563bc45c7958a.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-a399e1d72279b781.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0eb6c413e463c03b.rlib" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-91d9d5141f4e57a1.rlib" "-Wl,-Bdynamic" "-lvapoursynth" "-lvapoursynth-script" "-lavutil" "-lavformat" "-lavfilter" "-lavdevice" "-lswscale" "-lswresample" "-lavcodec" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rust-bin-1.66.1/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/cargo-installytisjl/release/deps/av1an-8fc0357a29b3c1b0" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-Wl,-O1" "-nodefaultlibs"
  = note: /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvapoursynth: No such file or directory
          /usr/lib/gcc/x86_64-pc-linux-gnu/12/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lvapoursynth-script: No such file or directory
          collect2: error: ld returned 1 exit status

error: could not compile `av1an` due to previous error
error: failed to compile `av1an v0.4.0`, intermediate artifacts can be found at `/tmp/cargo-installytisjl`
trixoniisama commented 1 year ago

You need to install Vapoursynth first. It is mentionned in the av1an readme.

xfzv commented 1 year ago

You need to install Vapoursynth first. It is mentionned in the av1an readme.

Indeed, I thought it was somewhat taken cared of by cargo

Compiling vapoursynth-sys v0.4.0
Compiling vapoursynth v0.4.0

Thanks.