Tried to build and failed with `pipewire/spa/meson.build:157:20: ERROR: Dependency "libonnxruntime" not found, tried pkgconfig and cmake
Fixed by installing extra/onnxruntime-cpu, needs to be added as a dependency (can also be -rocm or -cuda)
| Git Clone URL: | https://aur.archlinux.org/pipewire-git.git (read-only, click to copy) |
|---|---|
| Package Base: | pipewire-git |
| Description: | Low-latency audio/video router and processor. (GIT version) |
| Upstream URL: | https://pipewire.org |
| Licenses: | MIT |
| Conflicts: | pipewire |
| Provides: | pipewire |
| Submitter: | sl1pkn07 |
| Maintainer: | sl1pkn07 |
| Last Packager: | sl1pkn07 |
| Votes: | 15 |
| Popularity: | 0.000000 |
| First Submitted: | 2017-09-19 15:57 (UTC) |
| Last Updated: | 2025-06-26 23:11 (UTC) |
Tried to build and failed with `pipewire/spa/meson.build:157:20: ERROR: Dependency "libonnxruntime" not found, tried pkgconfig and cmake
Fixed by installing extra/onnxruntime-cpu, needs to be added as a dependency (can also be -rocm or -cuda)
The build process fails at Library ldacBT_dec found: NO even though I have libldac installed
EDIT: I fixed this by switching from arch-meson to meson in build()
It fails a second time with mv: cannot stat 'usr/include/pipewire-0.3': No such file or directory
Fails to build. Seems to be looking for ldacbt-dec but that's not provided by the libldac package:
Run-time dependency ldacbt-dec found: NO (tried pkgconfig and cmake)
Library ldacBT_dec found: NO
pipewire/spa/meson.build:83:8: ERROR: Problem encountered: LDAC decoder library not found
Got it working after disabling ldac decode in the build options:
diff --git a/PKGBUILD b/PKGBUILD
index 5cbd6b0..815a09f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -103,6 +103,7 @@ build() {
-D rlimits-install=false \
-D session-managers=[] \
-D bluez5-codec-lc3plus=disabled \
+ -D bluez5-codec-ldac-dec=disabled \
-D volume=enabled \
-D selinux=disabled \
-D snap=disabled \
yes..that is spected. pipewire-jack and pipewire-jack-client is mutual conflict.
greetings
so now on makepkg -i i get this error:
looking for conflicting packages...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: pipewire-jack-git-1.3.82.r13327.8cd8138cc-1 and pipewire-jack-client-git-1.3.82.r13327.8cd8138cc-1 are in conflict
no matter. i dont need jack. so i just manually installed the packages i needed. thnx
ops. try now
I'm confused. each pipewire- package uses the same PKGBUILD? it looks like it builds all the packages even if i git clone just pipewire-pulse-git. then makepkg -i tries to install the whole pipewire group and i get this error:
==> Installing pipewire-git package group with pacman -U... loading packages... resolving dependencies... looking for conflicting packages... error: unresolvable package conflicts detected error: failed to prepare transaction (conflicting dependencies) :: pipewire-git-1.3.82.r13321.dbf0442c7-1 and pipewire-libcamera-git-1.3.82.r13321.dbf0442c7-1 are in conflict ==> WARNING: Failed to install built package(s)
do i have to manually install, instead of using makepkg -i, with pacman -U pipewire-pulse-git-1.3.82.r13321.dbf0442c7-1-x86_64.pkg.tar
Latest aur PKGBUILD update cooked building pipewire due to removed client-rt upstream config files.
First noticed builds failing due to a client-rt config file not found error during build (added traces to the _pick function):
+ local _p=libs _f _d
+ shift
+ for _f in "$@"
+ _d=/tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire/client-rt.conf
++ dirname /tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire/client-rt.conf
+ mkdir -p /tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire
+ mv usr/share/pipewire/client-rt.conf /tmp/tmp.VJcUkGmcIl/pipewire-git/src/libs/usr/share/pipewire/client-rt.conf
mv: cannot stat 'usr/share/pipewire/client-rt.conf': No such file or directory
++ error_function package_pipewire-git
Commit that removed the following files: https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/24bcacc61#a0a86475b116a93b8913918a0e8c0031a7a9faa8
- src/daemon/client-rt.conf.in
- src/daemon/client-rt.conf.avail/20-upmix.conf.in
- src/daemon/client-rt.conf.avail/meson.build
To fix the build error, I removed client-rt.conf and client-rt.conf.avail/20-upmix.conf from the package_pipewire-git() function in PKGBUILD:
diff --git a/PKGBUILD b/PKGBUILD
index 11600de..12bdee4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -117,6 +117,7 @@ check() {
}
_pick() {
+ set -x
local _p="${1}" _f _d; shift
for _f; do
_d="${srcdir}/${_p}/${_f#${pkgdir}/}"
@@ -124,6 +125,7 @@ _pick() {
mv "${_f}" "${_d}"
rmdir -p --ignore-fail-on-non-empty "$(dirname "${_f}")"
done
+ set +x
}
package_pipewire-git() {
@@ -191,8 +193,6 @@ package_pipewire-git() {
_pick libs "usr/lib/pkgconfig/libspa-${_spa_ver}.pc"
_pick libs usr/share/pipewire/client.conf
_pick libs usr/share/pipewire/client.conf.avail/20-upmix.conf
- _pick libs usr/share/pipewire/client-rt.conf
- _pick libs usr/share/pipewire/client-rt.conf.avail/20-upmix.conf
_pick libs usr/share/man/man5/pipewire-client.conf.5
_pick libs usr/share/man/man7/libpipewire-module-metadata.7
_pick libs usr/share/man/man7/libpipewire-module-client-node.7
Please add libebur128 to the dependencies.
glib2-devel should be added as a make dependency, unless any of the packaged code generators are suddenly a runtime dependency.
Pinned Comments