Download raw body.
[Update] ncspot
Hi,
Since about June spotify has been changing to using oauth for logins
and normal mail + password are no longer working and I've not been able
to use ncspot in my location.
This has been discussed in lot's of places and ncspot has implemented
the needed changes in release 1.2.0 (and is on release 1.2.1). I've
been trying to update the port, by simply change of the GH_TAGNAME:
GH_TAGNAME = v1.2.1
And then following this recipe
(https://deftly.net/posts/2023-09-05-cargo-updates.html) to update the crates.inc. However I've not been able to build and it will break when compiling the aws-lc-sys crate due to not finding libclang.so.
What am I missing to build this?
BR/Rob
last part of the build log:
...
Running
`/usr/packages/obj/ncspot-1.2.1/build-amd64/target/release/build/aws-lc-sys-839a5d9790ef9098/build-script-main`
The following warnings were emitted during compilation:
warning: aws-lc-sys@0.22.0: Building with: CMake
warning: aws-lc-sys@0.22.0: Symbol Prefix: Some("aws_lc_0_22_0")
warning: aws-lc-sys@0.22.0: CMAKE environment variable set: cmake
warning: aws-lc-sys@0.22.0: Generating bindings - internal bindgen.
Platform: x86_64-unknown-openbsd
error: failed to run custom build command for `aws-lc-sys v0.22.0`
note: To improve backtraces for build dependencies, set the
CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG=true environment variable to
enable debug information generation.
Caused by:
process didn't exit successfully:
`/usr/packages/obj/ncspot-1.2.1/build-amd64/target/release/build/aws-lc-sys-839a5d9790ef9098/build-script-main`
(exit status: 101) --- stdout
cargo:rerun-if-env-changed=AWS_LC_SYS_NO_PREFIX
cargo:rerun-if-env-changed=AWS_LC_SYS_PREGENERATING_BINDINGS
cargo:rerun-if-env-changed=AWS_LC_SYS_EXTERNAL_BINDGEN
cargo:rerun-if-env-changed=AWS_LC_SYS_NO_ASM
cargo:rerun-if-env-changed=AWS_LC_SYS_CFLAGS
cargo:rerun-if-env-changed=AWS_LC_SYS_PREBUILT_NASM
cargo:rerun-if-env-changed=AWS_LC_SYS_C_STD
cargo:rerun-if-env-changed=AWS_LC_SYS_CMAKE_BUILDER
cargo:rerun-if-env-changed=AWS_LC_SYS_STATIC
cargo:rerun-if-env-changed=CMAKE cargo:warning=Building with: CMake
cargo:warning=Symbol Prefix: Some("aws_lc_0_22_0")
cargo:rerun-if-env-changed=CMAKE
cargo:warning=CMAKE environment variable set: cmake
cargo:warning=Generating bindings - internal bindgen. Platform:
x86_64-unknown-openbsd cargo:rerun-if-env-changed=AWS_LC_SYS_INCLUDES
--- stderr
thread 'main' panicked at
/usr/packages/obj/ncspot-1.2.1/ncspot-1.2.1/modcargo-crates/bindgen-0.69.5/lib.rs:622:31:
Unable to find libclang: "couldn't find any valid shared libraries
matching: ['libclang.so', 'libclang.so.*'], set the `LIBCLANG_PATH`
environment variable to a path where one of these files can be found
(invalid: [])" stack backtrace: 0: 0x4f9b9940b18 -
<std::sys::backtrace::BacktraceLock::print::DisplayBacktrace as
core::fmt::Display>::fmt::hb1559dead543c4dd 1: 0x4f9b9983c41 -
core::fmt::write::he56f0be7f17b9c9a 2: 0x4f9b993889e -
std::io::Write::write_fmt::h6a35cfbffbb514ae 3: 0x4f9b9967501 -
std::panicking::default_hook::{{closure}}::h06883bf808c36eac 4:
0x4f9b996717e - std::panicking::default_hook::h1c1770ff24688834 5:
0x4f9b9967b43 -
std::panicking::rust_panic_with_hook::h4097070b7c950101 6:
0x4f9b99419aa -
std::panicking::begin_panic_handler::{{closure}}::h828757695de97871
7: 0x4f9b9940d3d -
std::sys::backtrace::__rust_end_short_backtrace::h486f9e2b1dd3da6d 8:
0x4f9b99676f8 - rust_begin_unwind 9: 0x4f9b9988c37 -
core::panicking::panic_fmt::h71a69e6793d4abbb 10: 0x4f9b99890ca
- core::result::unwrap_failed::h89080097d7c27163 11:
0x4f9b9379f63 - core::result::Result<T,E>::expect::h491a55e32ff37a77
12: 0x4f9b93d7813 -
core::ops::function::FnOnce::call_once::h710cb394651bb613 13:
0x4f9b94636d1 -
lazy_static::lazy::Lazy<T>::get::{{closure}}::h133d0fbf0e566530 14:
0x4f9b93d4dc8 -
std::sync::once::Once::call_once::{{closure}}::hd7f9cd0840cc14ed 15:
0x4f9b9324334 -
std::sys::sync::once::futex::Once::call::hc790229282172ca2 16:
0x4f9b93d4c7c - std::sync::once::Once::call_once::hfe5ed69ef534e78e
17: 0x4f9b948a990 -
<bindgen::ensure_libclang_is_loaded::LIBCLANG as
core::ops::deref::Deref>::deref::hb284d0c9f5d4f5da 18:
0x4f9b9483bbf - bindgen::ensure_libclang_is_loaded::h9445ab77c9a4ace5
19: 0x4f9b9484995 -
bindgen::Bindings::generate::h9b8ed320f7273fc2 20: 0x4f9b94833bc
- bindgen::Builder::generate::hb62b84723ccea9cb 21:
0x4f9b9242e5c -
build_script_main::bindgen::generate_bindings::he159840f51cabd86 22:
0x4f9b9238edc -
build_script_main::generate_bindings::hbf577cde0086f10c 23:
0x4f9b923b662 - build_script_main::main::he4a050dde8866c6a 24:
0x4f9b923f04e -
core::ops::function::FnOnce::call_once::ha585e11a1b2e37c2 25:
0x4f9b924899d -
std::sys::backtrace::__rust_begin_short_backtrace::hc28e531e2c3fadff
26: 0x4f9b92439e4 -
std::rt::lang_start::{{closure}}::h7a3c3a044eaf6895 27:
0x4f9b994aa37 - std::rt::lang_start_internal::hebea6b6875aad9ad 28:
0x4f9b92439bd - std::rt::lang_start::h692ec2d879d3ca2b 29:
0x4f9b923e73c - main 30: 0x4f9b923358b - <unknown> *** Error 101
in . (/usr/ports/devel/cargo/cargo.port.mk:366 'do-build': @cd
/usr/packages/obj/ncspot-1.2.1/ncspot-1.2.1 && /usr/bin/env -i ...)
*** Error 2 in . (/usr/ports/infrastructure/mk/bsd.port.mk:3065
'/usr/packages/obj/ncspot-1.2.1/build-amd64/.build_done': @cd
/usr/ports/aud...) *** Error 2 in /usr/ports/audio/ncspot
(/usr/ports/infrastructure/mk/bsd.port.mk:2712 'all':
@lock=ncspot-1.2.1; export _LOCKS_HELD=" ncspo...)
[Update] ncspot