Skip to content
TheChatArchiveThe Chat Archive
gpt-3.5-turbo-0301· OpenAIAi2 WildChat-4.8M (AI2)

error: failed to run custom build command for libspa-sys v0.6.0 Caused by: process…

  1. User

    error: failed to run custom build command for libspa-sys v0.6.0

    Caused by: process didn't exit successfully: /home/void/Documents/Coding/fractal/target/release/build/libspa-sys-6d21663c0f02e200/build-script-build (exit status: 101) --- stdout cargo:rerun-if-env-changed=LIBPIPEWIRE_0.3_NO_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_x86_64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_x86_64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64-unknown-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_PATH_x86_64_unknown_openbsd 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-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_x86_64_unknown_openbsd 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-openbsd cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_x86_64_unknown_openbsd cargo:rerun-if-env-changed=HOST_PKG_CONFIG_SYSROOT_DIR cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR

    --- stderr thread 'main' panicked at 'Cannot find libraries: PkgConfig(PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "libpipewire-0.3" "libpipewire-0.3 >= 0.3" did not exit successfully: exit status: 1 error: could not find system library 'libpipewire-0.3' required by the 'libspa-sys' crate

    --- stderr Package libpipewire-0.3 was not found in the pkg-config search path )', /home/void/.cargo/registry/src/github.com-1ecc6299db9ec823/libspa-sys-0.6.0/build.rs:10:10 note: run with RUST_BACKTRACE=1 environment variable to display a backtrace warning: build failed, waiting for other jobs to finish...

  2. Assistant

    It looks like the build process for libspa-sys v0.6.0 failed because it cannot find libraries that are required by the crate. Specifically, it cannot find libpipewire-0.3. The error message suggests running the build with the RUST_BACKTRACE=1 environment variable to display a backtrace, which could provide more information about the underlying problem. Additionally, it may be helpful to check that libpipewire-0.3 is installed and accessible in the system's pkg-config search path.

  3. User

    im running openbsd

  4. Assistant

    The error message indicates that the libpipewire-0.3 library was not found in the pkg-config search path on your OpenBSD system. Here are a few things you can try to resolve the issue:

    1. Make sure that you have installed the libpipewire-0.3 package on your OpenBSD system. You can use the following command to check if it is installed:

      $ pkg_info | grep libpipewire-0.3
      

      If it is not installed, you can install it using the following command:

      $ doas pkg_add libpipewire-0.3
      
    2. Set the PKG_CONFIG_PATH environment variable to include the directory where libpipewire-0.3.pc is located. For example, if the file is located in /usr/local/lib/pkgconfig, you can set the PKG_CONFIG_PATH environment variable as follows:

      $ export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
      

      This will tell pkg-config to look for libraries in that directory.

    3. Ensure that your pkg-config installation is up-to-date. You can update your pkg-config installation using the following command:

      $ doas pkg_add pkg-config
      

    If none of these solutions work, try reaching out to the package maintainer for further assistance.

Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.