ranger fails to build on linux due to `e2p-sys` build script failure
Rjected opened this issue · comments
Ranger currently fails to build in CI with the following error:
error: failed to run custom build command for `e2p-sys v0.1.0 (https://github.com/michaellass/e2p-sys.git#b9970006)`
Caused by:
process didn't exit successfully: `/home/runner/work/ranger/ranger/target/debug/build/e2p-sys-bd0536e39172252f/build-script-build` (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=E2P_NO_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG
cargo:rerun-if-env-changed=PKG_CONFIG
cargo:rerun-if-env-changed=E2P_STATIC
cargo:rerun-if-env-changed=E2P_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_STATIC
cargo:rerun-if-env-changed=PKG_CONFIG_ALL_DYNAMIC
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_PATH
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64-unknown-linux-gnu
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_linux_gnu
cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR
cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
--- stderr
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error(PkgConfig(`"pkg-config" "--libs" "--cflags" "e2p" "e2p >= *"` did not exit successfully: exit status: 1
error: could not find system library 'e2p' required by the 'e2p-sys' crate
--- stderr
Package e2p was not found in the pkg-config search path.
Perhaps you should add the directory containing `e2p.pc'
to the PKG_CONFIG_PATH environment variable
No package 'e2p' found
Package e2p was not found in the pkg-config search path.
Perhaps you should add the directory containing `e2p.pc'
to the PKG_CONFIG_PATH environment variable
No package 'e2p' found
), State { next_error: None })', /home/runner/.cargo/git/checkouts/e2p-sys-81917b868398fd74/b997000/build.rs:36:23
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...
Error: Process completed with exit code 101.