******************************************************************************** conan install efsw/1.4.0@#071b59bb0ca135045a7f780a0a089866 --build=efsw -pr /home/conan/workspace/prod-v1/bsr/104139/fcfea/profile_linux_7_libstdcpp11_gcc_release_64.efsw-shared-False.txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Auto detecting your dev setup to initialize the default profile (/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 7 gcc>=5, using the major as version ************************* WARNING: GCC OLD ABI COMPATIBILITY *********************** Conan detected a GCC version > 5 but has adjusted the 'compiler.libcxx' setting to 'libstdc++' for backwards compatibility. Your compiler is likely using the new CXX11 ABI by default (libstdc++11). If you want Conan to use the new ABI for the default profile, run: $ conan profile update settings.compiler.libcxx=libstdc++11 default Or edit '/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/profiles/default' and set compiler.libcxx=libstdc++11 ************************************************************************************ Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=gcc compiler.version=7 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] efsw:shared=False [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True efsw/1.4.0: Forced build from source Installing package: efsw/1.4.0 Requirements efsw/1.4.0 from local cache - Cache Packages efsw/1.4.0:d50a0d523d98c15bb147b18fa7d203887c38be8b - Build Installing (downloading, building) binaries... [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK efsw/1.4.0: Configuring sources in /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/source/src efsw/1.4.0: [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK [HOOK - conan-center.py] post_source(): [SHORT_PATHS USAGE (KB-H066)] OK efsw/1.4.0: Copying sources to build folder efsw/1.4.0: Building your package in /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b efsw/1.4.0: Generator txt created conanbuildinfo.txt efsw/1.4.0: Calling generate() efsw/1.4.0: Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' efsw/1.4.0: If your CMake version is not compatible with CMakePresets (<3.19) call cmake like: 'cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE=/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' efsw/1.4.0: Aggregating env generators [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK. 'fPIC' option found and apparently well managed [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK efsw/1.4.0: Calling build() efsw/1.4.0: CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/src" ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release/generators/conan_toolchain.cmake" -DCMAKE_INSTALL_PREFIX="/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/package/d50a0d523d98c15bb147b18fa7d203887c38be8b" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/src" ----------------- -- Using Conan toolchain: /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release/generators/conan_toolchain.cmake -- Conan toolchain: Setting CMAKE_POSITION_INDEPENDENT_CODE=ON (options.fPIC) -- Conan toolchain: Setting BUILD_SHARED_LIBS = OFF -- The C compiler identification is GNU 7.5.0 -- The CXX compiler identification is GNU 7.5.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- 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 -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE -- Configuring done -- Generating done -- Build files have been written to: /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release efsw/1.4.0: CMake command: cmake --build "/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release" '--' '-j3' ----------------- Scanning dependencies of target efsw Scanning dependencies of target efsw-static [ 1%] Building CXX object CMakeFiles/efsw.dir/src/efsw/Debug.cpp.o [ 3%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/Debug.cpp.o [ 5%] Building CXX object CMakeFiles/efsw.dir/src/efsw/DirectorySnapshot.cpp.o [ 7%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/DirectorySnapshot.cpp.o [ 9%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/DirectorySnapshotDiff.cpp.o [ 11%] Building CXX object CMakeFiles/efsw.dir/src/efsw/DirectorySnapshotDiff.cpp.o [ 13%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/DirWatcherGeneric.cpp.o [ 15%] Building CXX object CMakeFiles/efsw.dir/src/efsw/DirWatcherGeneric.cpp.o [ 17%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/FileInfo.cpp.o [ 19%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/FileSystem.cpp.o [ 21%] Building CXX object CMakeFiles/efsw.dir/src/efsw/FileInfo.cpp.o [ 23%] Building CXX object CMakeFiles/efsw.dir/src/efsw/FileSystem.cpp.o [ 25%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/FileWatcher.cpp.o [ 26%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/FileWatcherCWrapper.cpp.o [ 28%] Building CXX object CMakeFiles/efsw.dir/src/efsw/FileWatcher.cpp.o [ 30%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/FileWatcherGeneric.cpp.o [ 32%] Building CXX object CMakeFiles/efsw.dir/src/efsw/FileWatcherCWrapper.cpp.o [ 34%] Building CXX object CMakeFiles/efsw.dir/src/efsw/FileWatcherGeneric.cpp.o [ 36%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/FileWatcherImpl.cpp.o [ 38%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/Log.cpp.o [ 40%] Building CXX object CMakeFiles/efsw.dir/src/efsw/FileWatcherImpl.cpp.o [ 42%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/Mutex.cpp.o [ 44%] Building CXX object CMakeFiles/efsw.dir/src/efsw/Log.cpp.o [ 46%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/String.cpp.o [ 48%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/System.cpp.o [ 50%] Building CXX object CMakeFiles/efsw.dir/src/efsw/Mutex.cpp.o [ 51%] Building CXX object CMakeFiles/efsw.dir/src/efsw/String.cpp.o [ 53%] Building CXX object CMakeFiles/efsw.dir/src/efsw/System.cpp.o [ 55%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/Thread.cpp.o [ 57%] Building CXX object CMakeFiles/efsw.dir/src/efsw/Thread.cpp.o [ 59%] Building CXX object CMakeFiles/efsw.dir/src/efsw/Watcher.cpp.o [ 61%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/Watcher.cpp.o [ 63%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/WatcherGeneric.cpp.o [ 65%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/platform/posix/FileSystemImpl.cpp.o [ 67%] Building CXX object CMakeFiles/efsw.dir/src/efsw/WatcherGeneric.cpp.o [ 69%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/platform/posix/MutexImpl.cpp.o [ 71%] Building CXX object CMakeFiles/efsw.dir/src/efsw/platform/posix/FileSystemImpl.cpp.o [ 73%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/platform/posix/SystemImpl.cpp.o [ 75%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/platform/posix/ThreadImpl.cpp.o [ 76%] Building CXX object CMakeFiles/efsw.dir/src/efsw/platform/posix/MutexImpl.cpp.o [ 78%] Building CXX object CMakeFiles/efsw.dir/src/efsw/platform/posix/SystemImpl.cpp.o [ 80%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/FileWatcherInotify.cpp.o [ 82%] Building CXX object CMakeFiles/efsw-static.dir/src/efsw/WatcherInotify.cpp.o [ 84%] Building CXX object CMakeFiles/efsw.dir/src/efsw/platform/posix/ThreadImpl.cpp.o [ 86%] Building CXX object CMakeFiles/efsw.dir/src/efsw/FileWatcherInotify.cpp.o [ 88%] Building CXX object CMakeFiles/efsw.dir/src/efsw/WatcherInotify.cpp.o [ 90%] Linking CXX static library libefsw-static.a [ 90%] Built target efsw-static Scanning dependencies of target efsw-test-stdc Scanning dependencies of target efsw-test [ 92%] Building C object CMakeFiles/efsw-test-stdc.dir/src/test/efsw-test.c.o [ 94%] Building CXX object CMakeFiles/efsw-test.dir/src/test/efsw-test.cpp.o [ 96%] Linking CXX executable efsw-test-stdc CMakeFiles/efsw-test-stdc.dir/build.make:103: recipe for target 'efsw-test-stdc' failed CMakeFiles/Makefile2:181: recipe for target 'CMakeFiles/efsw-test-stdc.dir/all' failed [ 98%] Linking CXX static library libefsw.a [100%] Linking CXX executable efsw-test [100%] Built target efsw CMakeFiles/efsw-test.dir/build.make:103: recipe for target 'efsw-test' failed CMakeFiles/Makefile2:154: recipe for target 'CMakeFiles/efsw-test.dir/all' failed Makefile:148: recipe for target 'all' failed efsw/1.4.0: CMake Warning: Manually-specified variables were not used by the project: CMAKE_POLICY_DEFAULT_CMP0091 /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/src/src/test/efsw-test.c: In function ‘main’: /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/src/src/test/efsw-test.c:118:3: warning: ignoring return value of ‘getcwd’, declared with attribute warn_unused_result [-Wunused-result] getcwd( cwd, sizeof(cwd) ); ^~~~~~~~~~~~~~~~~~~~~~~~~~ libefsw-static.a(ThreadImpl.cpp.o): In function `efsw::Platform::ThreadImpl::ThreadImpl(efsw::Thread*)': ThreadImpl.cpp:(.text+0x35): undefined reference to `pthread_create' libefsw-static.a(ThreadImpl.cpp.o): In function `efsw::Platform::ThreadImpl::wait()': ThreadImpl.cpp:(.text+0x6a): undefined reference to `pthread_join' libefsw-static.a(ThreadImpl.cpp.o): In function `efsw::Platform::ThreadImpl::terminate()': ThreadImpl.cpp:(.text+0x98): undefined reference to `pthread_cancel' libefsw-static.a(MutexImpl.cpp.o): In function `efsw::Platform::MutexImpl::MutexImpl()': MutexImpl.cpp:(.text+0x22): undefined reference to `pthread_mutexattr_init' MutexImpl.cpp:(.text+0x2f): undefined reference to `pthread_mutexattr_settype' collect2: error: ld returned 1 exit status make[2]: *** [efsw-test-stdc] Error 1 make[1]: *** [CMakeFiles/efsw-test-stdc.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs.... libefsw-static.a(ThreadImpl.cpp.o): In function `efsw::Platform::ThreadImpl::ThreadImpl(efsw::Thread*)': ThreadImpl.cpp:(.text+0x35): undefined reference to `pthread_create' libefsw-static.a(ThreadImpl.cpp.o): In function `efsw::Platform::ThreadImpl::wait()': ThreadImpl.cpp:(.text+0x6a): undefined reference to `pthread_join' libefsw-static.a(ThreadImpl.cpp.o): In function `efsw::Platform::ThreadImpl::terminate()': ThreadImpl.cpp:(.text+0x98): undefined reference to `pthread_cancel' libefsw-static.a(MutexImpl.cpp.o): In function `efsw::Platform::MutexImpl::MutexImpl()': MutexImpl.cpp:(.text+0x22): undefined reference to `pthread_mutexattr_init' MutexImpl.cpp:(.text+0x2f): undefined reference to `pthread_mutexattr_settype' collect2: error: ld returned 1 exit status make[2]: *** [efsw-test] Error 1 make[1]: *** [CMakeFiles/efsw-test.dir/all] Error 2 make: *** [all] Error 2 WARN: ************************************************** WARN: *** Conan 1 is legacy and on a deprecation path ** WARN: *********** Please upgrade to Conan 2 ************ WARN: ************************************************** efsw/1.4.0: 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 efsw/1.4.0: ERROR: Package 'd50a0d523d98c15bb147b18fa7d203887c38be8b' build failed efsw/1.4.0: WARN: Build folder /home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release ERROR: efsw/1.4.0: Error in build() method, line 56 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/workspace/prod-v1/bsr/104139/abddf/.conan/data/efsw/1.4.0/_/_/build/d50a0d523d98c15bb147b18fa7d203887c38be8b/build/Release" '--' '-j3'