******************************************************************************** conan test conan-center-index/recipes/gn/all/test_package/conanfile.py gn/cci.20210429@#0c25df0bd2d57af577123120bbf20e94 -pr /home/conan/w/prod/BuildSingleReference/72027/ead1225c-b314-4979-91ad-d4b628148687/profile_linux_11_libstdcpp_clang_debug_64..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/w/prod/BuildSingleReference/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 11.1 clang>=8, using the major as version Default settings os=Linux os_build=Linux arch=x86_64 arch_build=x86_64 compiler=clang compiler.version=11 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/w/prod/BuildSingleReference/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Debug compiler=clang compiler.libcxx=libstdc++ compiler.version=11 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True ninja/1.10.2: Not found in local cache, looking in remotes... ninja/1.10.2: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz ninja/1.10.2: Downloaded recipe revision ccfec6895c765fde3947829a2a34aa1d gn/cci.20210429 (test package): Installing package Requirements gn/cci.20210429 from local cache - Cache Packages gn/cci.20210429:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Download Build requirements ninja/1.10.2 from 'conan-center' - Downloaded Build requirements packages ninja/1.10.2:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Download Installing (downloading, building) binaries... gn/cci.20210429: Retrieving package cc9f9b2b9f92fc82888026414560bf79d8c3a052 from remote 'c3i_PR-12190' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gn/cci.20210429: Package installed cc9f9b2b9f92fc82888026414560bf79d8c3a052 gn/cci.20210429: Downloaded package revision 65ea64b7faed0b0f0ca45fadbabc1e68 ninja/1.10.2: Retrieving package cc9f9b2b9f92fc82888026414560bf79d8c3a052 from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz ninja/1.10.2: Package installed cc9f9b2b9f92fc82888026414560bf79d8c3a052 ninja/1.10.2: Downloaded package revision 4118d03014ce6d274ba7b9edba4b1645 gn/cci.20210429: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/gn/cci.20210429/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin gn/cci.20210429 (test package): Applying build-requirement: ninja/1.10.2 gn/cci.20210429 (test package): Generator txt created conanbuildinfo.txt gn/cci.20210429 (test package): Aggregating env generators gn/cci.20210429 (test package): Generated conaninfo.txt gn/cci.20210429 (test package): Generated graphinfo Using lockfile: '/home/conan/w/prod/BuildSingleReference/conan-center-index/recipes/gn/all/test_package/build/77b069ab847d6cf638c291b61c87077ca211ca33/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 gn/cci.20210429 (test package): Calling build() ----Running------ > gn gen build/77b069ab847d6cf638c291b61c87077ca211ca33/bin --args="target_os=\"linux\" target_cpu=\"x64\"" ----------------- current_os: linux current_cpu: x64 host_os: linux host_cpu: x64 target_os: linux target_cpu: linux current_os: linux current_cpu: x64 host_os: linux host_cpu: x64 target_os: linux target_cpu: linux Done. Made 3 targets from 4 files in 9ms ----Running------ > ninja -v -j3 -C bin ----------------- ninja: Entering directory `bin' [1/6] clang++ -MMD -MF obj/libtest_shared.test_shared.o.d -DTEST_SHARED_BUILD -fPIC -pthread -c ../../../test_shared.cpp -o obj/libtest_shared.test_shared.o [2/6] clang++ -MMD -MF obj/libtest_static.test_static.o.d -fPIC -pthread -c ../../../test_static.cpp -o obj/libtest_static.test_static.o [3/6] rm -f obj/libtest_static.a && ar rcs obj/libtest_static.a obj/libtest_static.test_static.o [4/6] clang++ -shared -o ./libtest_shared.so -Wl,-soname=libtest_shared.so @libtest_shared.so.rsp [5/6] clang++ -MMD -MF obj/test_package.test_package.o.d -fPIC -pthread -c ../../../test_package.cpp -o obj/test_package.test_package.o [6/6] clang++ -Wl,-rpath=\$ORIGIN/ -Wl,-rpath-link= -o test_package -Wl,--start-group @test_package.rsp -Wl,--end-group gn/cci.20210429 (test package): Running test() ----Running------ > bin/test_package ----------------- hello from the shared library! hello from the static library!