You are not logged in.
Dear all
When I do a yay update I get the below error and I can no longer play youtube videos in Google Chrome or use mplayer. If I however use "mplayer -nosound" the video plays, but no sound of course.
Have anyone seen the below error before and therefore knows what to do about it?
:: Synchronising package databases...
core is up to date
extra 7.7 MiB 38.8 MiB/s 00:00 [#####################################################################################] 100%
multilib is up to date
:: Searching AUR for updates...
:: Searching databases for updates...
-> Packages not in AUR: podman-dnsname wlroots0.16
-> Flagged Out Of Date AUR Packages: lib32-faudio
:: 1 package to upgrade/install.
1 aur/faudio 25.01-1 -> 25.03-1
==> Packages to exclude: (eg: "1 2 3", "1-3", "^4" or repo name)
-> Excluding packages may cause partial upgrades and break systems
==>
AUR Dependency (1): faudio-25.03-1
:: PKGBUILD up to date, skipping download: faudio
1 faudio (Installed) (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
1 faudio (Installed) (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==>
==> Making package: faudio 25.03-1 (Sun 30 Mar 2025 15:14:52 CEST)
==> Retrieving sources...
-> Found faudio-25.03.tar.gz
==> WARNING: Skipping verification of source file PGP signatures.
==> Validating source files with sha512sums...
faudio-25.03.tar.gz ... Passed
:: (1/1) Parsing SRCINFO: faudio
==> Making package: faudio 25.03-1 (Sun 30 Mar 2025 15:14:53 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Found faudio-25.03.tar.gz
==> Validating source files with sha512sums...
faudio-25.03.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Extracting faudio-25.03.tar.gz with bsdtar
==> Sources are ready.
==> Making package: faudio 25.03-1 (Sun 30 Mar 2025 15:14:55 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Starting build()...
CMake Error at CMakeLists.txt:3 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
-- Configuring incomplete, errors occurred!
==> ERROR: A failure occurred in build().
Aborting...
-> error making: faudio-exit status 4
-> Failed to install the following packages. Manual intervention is required:
faudio - exit status 4
~> 1 30/03/25 15:14:55
Last edited by LittleSandra (2025-03-30 18:28:05)
Offline
https://lists.archlinux.org/archives/li … YFUQMGQKZ/
https://github.com/FNA-XNA/FAudio/commi … 3ba4bb7ad8
Last edited by Scimmia (2025-03-30 13:40:13)
Offline
I sounds like the project needs to fix something.
Is there anything I can do on my machine to work around this?
Offline
Mod note: moving to AUR Issues
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
The change needs to be applied in the prepare function in the PKGBUILD until upstream makes another release. You can do that locally, or you can make the change directly then run makepkg with the option to not re-extract the source. You won't be able to do either with yay AFAIK.
Offline
When I change
cmake_minimum_required(VERSION 2.8.12)
to
cmake_minimum_required(VERSION 3.5)
and do
makepkg -si
I get the same error again, and the line I changed have been changed back.
Any ideas what I can try now?
Offline
then run makepkg with the option to not re-extract the source.
Offline
Did you pass the -e option to makepkg so it would use you adjusted src or was the change being applied in a patch. An alternative is to follow the advice from cmake:
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
Diff of change to PKGBUILD:
diff --git a/PKGBUILD b/PKGBUILD
index f53b325..e2d33d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,6 +17,7 @@ sha512sums=('ec1f37a73aa5ad57841e297d8ee730b8b161144bc0624e29e9ba7b86c6f2d8657b2
build() {
cmake -B build -S FAudio-$pkgver --fresh \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DBUILD_SDL3=ON
cmake --build build
}
Offline
That worked. Thanks a lot
Offline