******************************************************************************** conan test cci-73413573/recipes/whisper-cpp/all/test_package/conanfile.py whisper-cpp/1.4.2@#38db1ecf811e6640ea9f6b3d2f6698c8 -pr /home/conan/w/prod/BuildSingleReference/248351/6e10fc39-2607-4f8e-beca-cb80def2628e/profile_linux_10_libstdcpp11_gcc_debug_64.whisper-cpp-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++11 compiler.version=10 os=Linux [options] whisper-cpp:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True whisper-cpp/1.4.2 (test package): Installing package Requirements whisper-cpp/1.4.2 from local cache - Cache Packages whisper-cpp/1.4.2:a25d6c83542b56b72fdaa05a85db5d46f5f0f71c - Cache Installing (downloading, building) binaries... whisper-cpp/1.4.2: Already installed! whisper-cpp/1.4.2 (test package): Generator 'CMakeDeps' calling 'generate()' whisper-cpp/1.4.2 (test package): Generator 'CMakeToolchain' calling 'generate()' whisper-cpp/1.4.2 (test package): Preset 'debug' added to CMakePresets.json. Invoke it manually using 'cmake --preset debug' whisper-cpp/1.4.2 (test package): If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Debug' whisper-cpp/1.4.2 (test package): Generator 'VirtualRunEnv' calling 'generate()' whisper-cpp/1.4.2 (test package): Generator txt created conanbuildinfo.txt whisper-cpp/1.4.2 (test package): Aggregating env generators whisper-cpp/1.4.2 (test package): Generated conaninfo.txt whisper-cpp/1.4.2 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug/generators/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK whisper-cpp/1.4.2 (test package): Calling build() whisper-cpp/1.4.2 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Debug" "/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 10.3.0 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: Target declared 'whisper-cpp::whisper-cpp' -- Looking for C++ include pthread.h -- Looking for C++ include pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Check if compiler accepts -pthread -- Check if compiler accepts -pthread - yes -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug whisper-cpp/1.4.2 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable test_package CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/whisper-cpp/1.4.2/_/_/package/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/lib/static/libwhisper.a(whisper.cpp.o): in function `std::thread::thread > const&, float const*, int, int, int, int, whisper_filters const&, bool, whisper_mel&), int, std::reference_wrapper > const>, float const*&, int const&, int const&, int const&, int const&, std::reference_wrapper, bool const&, std::reference_wrapper, void>(void (&)(int, std::vector > const&, float const*, int, int, int, int, whisper_filters const&, bool, whisper_mel&), int&&, std::reference_wrapper > const>&&, float const*&, int const&, int const&, int const&, int const&, std::reference_wrapper&&, bool const&, std::reference_wrapper&&)': /usr/include/c++/10/thread:142: undefined reference to `pthread_create' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/whisper-cpp/1.4.2/_/_/package/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/lib/static/libwhisper.a(whisper.cpp.o): in function `std::thread::thread(int (&)(whisper_context*, whisper_state*, whisper_full_params, float const*, int), whisper_context*&, whisper_state*&, whisper_full_params&&, float const*&&, int const&)': /usr/include/c++/10/thread:142: undefined reference to `pthread_create' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/whisper-cpp/1.4.2/_/_/package/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/lib/static/libwhisper.a(ggml.c.o): in function `ggml_graph_compute': /home/conan/w/prod/BuildSingleReference/.conan/data/whisper-cpp/1.4.2/_/_/build/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/src/ggml.c:13836: undefined reference to `pthread_create' /usr/bin/ld: /home/conan/w/prod/BuildSingleReference/.conan/data/whisper-cpp/1.4.2/_/_/build/a25d6c83542b56b72fdaa05a85db5d46f5f0f71c/src/ggml.c:14251: undefined reference to `pthread_join' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/test_package.dir/build.make:104: test_package] Error 1 make[1]: *** [CMakeFiles/Makefile2:95: CMakeFiles/test_package.dir/all] Error 2 make: *** [Makefile:103: all] Error 2 whisper-cpp/1.4.2 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior whisper-cpp/1.4.2 (test package): WARN: Using the new toolchains and generators without specifying a build profile (e.g: -pr:b=default) is discouraged and might cause failures and unexpected behavior ERROR: whisper-cpp/1.4.2 (test package): Error in build() method, line 23 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/cci-73413573/recipes/whisper-cpp/all/test_package/build/Debug" '--' '-j3'