******************************************************************************** conan test cci-9eb6d68c/recipes/nameof/all/test_package/conanfile.py nameof/0.10.2@#3463741cbfe9f428866c0346226e0daf -pr /home/conan/w/prod/BuildSingleReference/218224/6a4a7fb0-8f35-4b81-ae91-992e1ef70020/profile_linux_7_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True nameof/0.10.2 (test package): Installing package Requirements nameof/0.10.2 from local cache - Cache Packages nameof/0.10.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... nameof/0.10.2: Already installed! nameof/0.10.2 (test package): Generator txt created conanbuildinfo.txt nameof/0.10.2 (test package): Generator 'CMakeDeps' calling 'generate()' nameof/0.10.2 (test package): Generator 'VirtualRunEnv' calling 'generate()' nameof/0.10.2 (test package): Generator 'CMakeToolchain' calling 'generate()' nameof/0.10.2 (test package): Preset 'release' added to CMakePresets.json. Invoke it manually using 'cmake --preset release' nameof/0.10.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-9eb6d68c/recipes/nameof/all/test_package/build/Release/generators/conan_toolchain.cmake -DCMAKE_POLICY_DEFAULT_CMP0091=NEW -DCMAKE_BUILD_TYPE=Release' nameof/0.10.2 (test package): Aggregating env generators nameof/0.10.2 (test package): Generated conaninfo.txt nameof/0.10.2 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release/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 nameof/0.10.2 (test package): Calling build() nameof/0.10.2 (test package): CMake command: cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/." ----Running------ > cmake -G "Unix Makefiles" -DCMAKE_TOOLCHAIN_FILE="/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release/generators/conan_toolchain.cmake" -DCMAKE_POLICY_DEFAULT_CMP0091="NEW" -DCMAKE_BUILD_TYPE="Release" "/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/." ----------------- -- Using Conan toolchain: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release/generators/conan_toolchain.cmake -- The CXX compiler identification is GNU 7.2.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 'nameof::nameof' -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release nameof/0.10.2 (test package): CMake command: cmake --build "/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release" '--' '-j3' ----Running------ > cmake --build "/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release" '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o CMakeFiles/test_package.dir/build.make:81: recipe for target 'CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:94: recipe for target 'CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed In file included from /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:1:0: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:10:25: error: non-constant condition for static assertion constexpr auto name = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:10:25: error: unable to deduce lambda return type from ‘_nameof’ constexpr auto name = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:10:18: error: ‘constexpr const void name’ has incomplete type constexpr auto name = NAMEOF(structvar); ^~~~ In file included from /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:1:0: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:13:15: error: non-constant condition for static assertion auto res1 = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:13:15: error: unable to deduce lambda return type from ‘_nameof’ auto res1 = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:13:8: error: ‘void res1’ has incomplete type auto res1 = NAMEOF(structvar); ^~~~ In file included from /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:1:0: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:14:15: error: non-constant condition for static assertion auto res2 = NAMEOF(::structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:14:15: error: unable to deduce lambda return type from ‘_nameof’ auto res2 = NAMEOF(::structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:14:8: error: ‘void res2’ has incomplete type auto res2 = NAMEOF(::structvar); ^~~~ make[2]: *** [CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 nameof/0.10.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 nameof/0.10.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: nameof/0.10.2 (test package): Error in build() method, line 20 cmake.build() ConanException: Error 2 while executing cmake --build "/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/build/Release" '--' '-j3' ******************************************************************************** conan test cci-9eb6d68c/recipes/nameof/all/test_v1_package/conanfile.py nameof/0.10.2@#3463741cbfe9f428866c0346226e0daf -pr /home/conan/w/prod/BuildSingleReference/218224/6a4a7fb0-8f35-4b81-ae91-992e1ef70020/profile_linux_7_libstdcpp11_gcc_release_64..txt -c tools.system.package_manager:mode=install -c tools.system.package_manager:sudo=True ******************************************************************************** Configuration: [settings] arch=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=7 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True nameof/0.10.2 (test package): Installing package Requirements nameof/0.10.2 from local cache - Cache Packages nameof/0.10.2:5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - Cache Installing (downloading, building) binaries... nameof/0.10.2: Already installed! nameof/0.10.2 (test package): Generator cmake_find_package_multi created nameof-config-version.cmake nameof/0.10.2 (test package): Generator cmake_find_package_multi created nameof-config.cmake nameof/0.10.2 (test package): Generator cmake_find_package_multi created nameofTargets.cmake nameof/0.10.2 (test package): Generator cmake_find_package_multi created nameofTarget-release.cmake nameof/0.10.2 (test package): Generator txt created conanbuildinfo.txt nameof/0.10.2 (test package): Generator cmake created conanbuildinfo.cmake nameof/0.10.2 (test package): Aggregating env generators nameof/0.10.2 (test package): Generated conaninfo.txt nameof/0.10.2 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867/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 nameof/0.10.2 (test package): Calling build() ----Running------ > cd '/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_INSTALL_PREFIX="/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867/package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_PREFIX_PATH="/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867" -DCMAKE_MODULE_PATH="/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.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 -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake targets configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done -- Build files have been written to: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867 ----Running------ > cmake --build '/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object test_package/CMakeFiles/test_package.dir/test_package.cpp.o test_package/CMakeFiles/test_package.dir/build.make:81: recipe for target 'test_package/CMakeFiles/test_package.dir/test_package.cpp.o' failed CMakeFiles/Makefile2:112: recipe for target 'test_package/CMakeFiles/test_package.dir/all' failed Makefile:102: recipe for target 'all' failed CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR In file included from /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:1:0: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:10:25: error: non-constant condition for static assertion constexpr auto name = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:10:25: error: unable to deduce lambda return type from ‘_nameof’ constexpr auto name = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:10:18: error: ‘constexpr const void name’ has incomplete type constexpr auto name = NAMEOF(structvar); ^~~~ In file included from /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:1:0: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:13:15: error: non-constant condition for static assertion auto res1 = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:13:15: error: unable to deduce lambda return type from ‘_nameof’ auto res1 = NAMEOF(structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:13:8: error: ‘void res1’ has incomplete type auto res1 = NAMEOF(structvar); ^~~~ In file included from /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:1:0: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In lambda function: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:14:15: error: non-constant condition for static assertion auto res2 = NAMEOF(::structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:14:15: error: unable to deduce lambda return type from ‘_nameof’ auto res2 = NAMEOF(::structvar); ^ /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp: In function ‘int main()’: /home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_package/test_package.cpp:14:8: error: ‘void res2’ has incomplete type auto res2 = NAMEOF(::structvar); ^~~~ make[2]: *** [test_package/CMakeFiles/test_package.dir/test_package.cpp.o] Error 1 make[1]: *** [test_package/CMakeFiles/test_package.dir/all] Error 2 make: *** [all] Error 2 ERROR: nameof/0.10.2 (test package): Error in build() method, line 13 cmake.build() ConanException: Error 2 while executing cmake --build '/home/conan/w/prod/BuildSingleReference/cci-9eb6d68c/recipes/nameof/all/test_v1_package/build/ac8e5b135bec2d2511377cc6fdda763812fc2867' '--' '-j3'