View Issue Details

IDProjectCategoryView StatusLast Update
0006544The Dark ModDesign/Codingpublic16.06.2024 16:33
Reporteres20490446e Assigned To 
PriorityhighSeveritycrashReproducibilityalways
Status newResolutionopen 
PlatformLinuxOSArch LinuxOS VersionStable
Product VersionSVN 
Summary0006544: fails to build: ThirdParty/custom/openal
Description-- Performing Test HAVE___RESTRICT
-- Performing Test HAVE___RESTRICT - Success
-- Performing Test HAVE_LIBATOMIC
-- Performing Test HAVE_LIBATOMIC - Success
-- Performing Test HAVE_FNO_MATH_ERRNO
-- Performing Test HAVE_FNO_MATH_ERRNO - Success
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY
-- Performing Test HAVE_GCC_PROTECTED_VISIBILITY - Success
-- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH
-- Performing Test HAVE_VISIBILITY_HIDDEN_SWITCH - Success
-- Performing Test HAVE_MSSE2_SWITCH
-- Performing Test HAVE_MSSE2_SWITCH - Success
-- Looking for xmmintrin.h
-- Looking for xmmintrin.h - found
-- Looking for emmintrin.h
-- Looking for emmintrin.h - found
-- Looking for pmmintrin.h
-- Looking for pmmintrin.h - found
-- Looking for smmintrin.h
-- Looking for smmintrin.h - found
-- Looking for arm_neon.h
-- Looking for arm_neon.h - not found
-- Performing Test HAVE_SSE_INTRINSICS
-- Performing Test HAVE_SSE_INTRINSICS - Success
-- Looking for malloc.h
-- Looking for malloc.h - found
-- Looking for cpuid.h
-- Looking for cpuid.h - found
-- Looking for intrin.h
-- Looking for intrin.h - not found
-- Looking for guiddef.h
-- Looking for guiddef.h - not found
-- Looking for initguid.h
-- Looking for initguid.h - not found
-- Looking for pow in m
-- Looking for pow in m - found
-- Looking for clock_gettime in rt
-- Looking for clock_gettime in rt - found
-- Looking for dlfcn.h
-- Looking for dlfcn.h - found
-- Looking for dlopen in dl
-- Looking for dlopen in dl - found
-- Performing Test HAVE_GCC_GET_CPUID
-- Performing Test HAVE_GCC_GET_CPUID - Success
-- Looking for posix_memalign
-- Looking for posix_memalign - found
-- Looking for _aligned_malloc
-- Looking for _aligned_malloc - not found
-- Looking for proc_pidpath
-- Looking for proc_pidpath - not found
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test HAVE_PTHREAD
-- Performing Test HAVE_PTHREAD - Success
-- Looking for pthread_setschedparam
-- Looking for pthread_setschedparam - found
-- Looking for include files pthread.h, pthread_np.h
-- Looking for include files pthread.h, pthread_np.h - not found
-- Looking for pthread_setname_np
-- Looking for pthread_setname_np - not found
-- Looking for pthread_set_name_np
-- Looking for pthread_set_name_np - not found
-- Looking for getopt
-- Looking for getopt - found
-- Found ALSA: /home/es20490446e/Documents/Projects/Ikigai/darkmod/darkmod-linux/_CONAN/p/b/libal3355143772e2e/p/lib/libasound.a (found version "1.2.7.2")
-- Found OSS: /usr/include
-- Checking for module 'libpipewire-0.3>=0.3.23'
-- Found libpipewire-0.3, version 1.0.7
-- Could NOT find AudioIO (missing: AUDIOIO_INCLUDE_DIR)
-- Found PortAudio: /usr/lib/libportaudio.so
CMake Error at CMakeLists.txt:1054 (add_backend_libs):
  add_backend_libs Macro invoked with incorrect arguments for macro named:
  ADD_BACKEND_LIBS


-- Found JACK: /usr/lib/libjack.so
-- Could NOT find OpenSL (missing: OPENSL_LIBRARY OPENSL_INCLUDE_DIR OPENSL_ANDROID_INCLUDE_DIR)
-- Found Git: /usr/bin/git (found version "2.45.2")
--
-- Building OpenAL with support for the following backends:
-- ALSA, OSS, PipeWire, PortAudio, PulseAudio, JACK, WaveFile, Null
--
-- Building with support for CPU extensions:
-- Default, SSE, SSE2, SSE3, SSE4.1
--
-- Embedding HRTF datasets
--
-- Installing library and headers
-- Installing sample configuration
-- Installing HRTF data files
-- Installing AmbDec presets
--
-- Configuring incomplete, errors occurred!

openal/1.22.2@thedarkmod: ERROR:
Package 'f5a5246e333724a93dfc65f7419727e303185881' build failed
openal/1.22.2@thedarkmod: WARN: Build folder /home/es20490446e/Documents/Projects/Ikigai/darkmod/darkmod-linux/_CONAN/p/b/opena490e2921c17bc/b/build/Release
ERROR: openal/1.22.2@thedarkmod: Error in build() method, line 108
        cmake.configure()
        ConanException: Error 1 while executing
Steps To Reproducerm --recursive "artefacts"
yes "yes"| so python "1_export_custom.py"

so conan install . \
    --profile:build profiles/base_linux \
    --profile profiles/os_linux \
    --profile profiles/arch_64 \
    --profile profiles/build_release \
    --settings thedarkmod/*:build_type=Release \
    --output-folder artefacts/linux_64 \
    --build missing
Additional Informationconan 2.4.1
gcc 14.1.1
TagsNo tags attached.

Activities

stgatilov

stgatilov

16.06.2024 09:16

administrator   ~0016744

Looks like some issue with PulseAudio on your machine.
Or more likely: an issue with OpenAL cmake file which only happens if the machine has PulseAudio libs.

What if you just run "conan create conanfile.py --version 1.22.2" in ThirdParty/custom/openal?
And if you switch to other versions written in conandata.yaml?
stgatilov

stgatilov

16.06.2024 09:19

administrator   ~0016745

You can also try to set ALSOFT_BACKEND_PULSEAUDIO to OFF.
For this to happen, add the following in conanfile.py:generate:
  tc.variables["ALSOFT_BACKEND_PULSEAUDIO "] = False

You can retry with "conan create" the recipe directly if it fails now...
es20490446e

es20490446e

16.06.2024 16:33

reporter   ~0016746

Let me check...

Issue History

Date Modified Username Field Change
16.06.2024 00:12 es20490446e New Issue
16.06.2024 09:16 stgatilov Note Added: 0016744
16.06.2024 09:19 stgatilov Note Added: 0016745
16.06.2024 16:33 es20490446e Note Added: 0016746