Package Details: lib32-faudio 24.04-1

Git Clone URL: https://aur.archlinux.org/lib32-faudio.git (read-only, click to copy)
Package Base: lib32-faudio
Description: XAudio2 reimplementation
Upstream URL: https://github.com/FNA-XNA/FAudio/
Licenses: custom:zlib
Submitter: arojas
Maintainer: jorgicio
Last Packager: jorgicio
Votes: 8
Popularity: 3.12
First Submitted: 2024-02-03 09:46 (UTC)
Last Updated: 2024-04-09 13:04 (UTC)

Latest Comments

para commented on 2024-02-15 20:11 (UTC) (edited on 2024-02-15 20:13 (UTC) by para)

When upgrading from 24.01 to 24.02 the build process with cmake can fail if you have cuda installed. It tries to use the cuda gcc and fails.

-- Check for working C compiler: /opt/cuda/bin/gcc
-- Check for working C compiler: /opt/cuda/bin/gcc - broken

CMake Error at /usr/share/cmake/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/opt/cuda/bin/gcc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/home/<usr>/.cache/paru/clone/lib32-faudio/src/build/CMakeFiles/CMakeScratch/TryCompile-F9EnNZ'

    Run Build Command(s): /usr/bin/ninja -v cmTC_c7857
    [1/2] /opt/cuda/bin/gcc  -m32 -mstackrealign   -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/<usr>/.cache/paru/clone/lib32-faudio/src=/usr/src/debug/lib32-faudio -flto=auto -o CMakeFiles/cmTC_c7857.dir/testCCompiler.c.o -c /home/<usr>/.cache/paru/clone/lib32-faudio/src/build/CMakeFiles/CMakeScratch/TryCompile-F9EnNZ/testCCompiler.c
    [2/2] : && /opt/cuda/bin/gcc  -m32 -mstackrealign -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/<usr>/.cache/paru/clone/lib32-faudio/src=/usr/src/debug/lib32-faudio -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto   -rdynamic CMakeFiles/cmTC_c7857.dir/testCCompiler.c.o -o cmTC_c7857   && :
    FAILED: cmTC_c7857
    : && /opt/cuda/bin/gcc  -m32 -mstackrealign -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -g -ffile-prefix-map=/home/<usr>/.cache/paru/clone/lib32-faudio/src=/usr/src/debug/lib32-faudio -flto=auto -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -flto=auto   -rdynamic CMakeFiles/cmTC_c7857.dir/testCCompiler.c.o -o cmTC_c7857   && :
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc: No such file or directory
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/libgcc_s.so.1 when searching for libgcc_s.so.1
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/libgcc_s.so.1 when searching for libgcc_s.so.1
    /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/libgcc.a when searching for -lgcc
    /usr/bin/ld: cannot find -lgcc: No such file or directory
    collect2: error: ld returned 1 exit status
    ninja: build stopped: subcommand failed.

My work around was uninstalling cuda, updating, and reinstalling cuda.