Skip to content
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

compile error with the latest spotty-dev branch #22

Open
bitr0tator opened this issue Nov 26, 2024 · 1 comment
Open

compile error with the latest spotty-dev branch #22

bitr0tator opened this issue Nov 26, 2024 · 1 comment

Comments

@bitr0tator
Copy link

Compiling librespot-audio v0.6.0 (/usr/src/librespot/audio)
Compiling librespot-metadata v0.6.0 (/usr/src/librespot/metadata)
error: failed to run custom build command for dns-sd v0.1.3

Caused by:
process didn't exit successfully: /usr/src/librespot/target/release/build/dns-sd-ac5424233d5e2b48/build-script-build (exit status: 101)
--- stdout
cargo:rerun-if-env-changed=AVAHI_COMPAT_LIBDNS_SD_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=AVAHI_COMPAT_LIBDNS_SD_STATIC
cargo:rerun-if-env-changed=AVAHI_COMPAT_LIBDNS_SD_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 /root/.cargo/registry/src/index.crates.io-6f17d22bba15001f/dns-sd-0.1.3/build.rs:8:60:
called Result::unwrap() on an Err value: "\npkg-config exited with status code 1\n> PKG_CONFIG_ALLOW_SYSTEM_LIBS=1 PKG_CONFIG_ALLOW_SYSTEM_CFLAGS=1 pkg-config --libs --cflags avahi-compat-libdns_sd\n\nThe system library avahi-compat-libdns_sd required by crate dns-sd was not found.\nThe file avahi-compat-libdns_sd.pc needs to be installed and the PKG_CONFIG_PATH environment variable must contain its parent directory.\nThe PKG_CONFIG_PATH environment variable is not set.\n\nHINT: if you have installed the library, try setting PKG_CONFIG_PATH to the directory containing avahi-compat-libdns_sd.pc.\n"
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
warning: build failed, waiting for other jobs to finish...

@michaelherger
Copy link
Owner

This seems to be caused by the very last commit (e24725d). Try reverting that, or setting the feature list manually to the old values.

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