******************************************************************************** conan test conan-center-index/recipes/gn/all/test_package/conanfile.py gn/cci.20210429@#1a3da5806572f593409d4b814effbab3 -pr /home/conan/w/prod/BuildSingleReference/72031/96925153-971e-4e5b-980d-7e721e579b3f/profile_linux_7_libstdcpp11_gcc_debug_64..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=7 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True gn/cci.20210429 (test package): Installing package Requirements gn/cci.20210429 from local cache - Cache Packages gn/cci.20210429:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Cache Build requirements ninja/1.10.2 from 'conan-center' - Cache Build requirements packages ninja/1.10.2:cc9f9b2b9f92fc82888026414560bf79d8c3a052 - Cache Installing (downloading, building) binaries... gn/cci.20210429: Already installed! gn/cci.20210429: Appending PATH environment variable: /home/conan/w/prod/BuildSingleReference/.conan/data/gn/cci.20210429/_/_/package/cc9f9b2b9f92fc82888026414560bf79d8c3a052/bin ninja/1.10.2: Already installed! 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/4bf6beaa0cec7f4fb87ac4b37369c1d8f626ec5b/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/4bf6beaa0cec7f4fb87ac4b37369c1d8f626ec5b/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] /usr/bin/g++ -MMD -MF obj/libtest_static.test_static.o.d -fPIC -pthread -c ../../../test_static.cpp -o obj/libtest_static.test_static.o [2/6] rm -f obj/libtest_static.a && ar rcs obj/libtest_static.a obj/libtest_static.test_static.o [3/6] /usr/bin/g++ -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 [4/6] /usr/bin/g++ -shared -o ./libtest_shared.so -Wl,-soname=libtest_shared.so @libtest_shared.so.rsp [5/6] /usr/bin/g++ -MMD -MF obj/test_package.test_package.o.d -fPIC -pthread -c ../../../test_package.cpp -o obj/test_package.test_package.o [6/6] /usr/bin/g++ -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!