******************************************************************************** conan test cci-c84a6eaf/recipes/gn/all/test_package/conanfile.py gn/cci.20210429@#066e7db8b18cfad93df06371eeb10e7b -pr /home/conan/workspace/prod-v1/bsr/73827/dbdfc/profile_linux_13_libstdcpp_clang_release_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/workspace/prod-v1/bsr/73827/ebbdb/.conan/profiles/default) CC and CXX: clang, clang++ Found clang 13.0 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=13 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /home/conan/workspace/prod-v1/bsr/73827/ebbdb/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** Configuration: [settings] arch=x86_64 build_type=Release compiler=clang compiler.libcxx=libstdc++ compiler.version=13 os=Linux [options] [build_requires] [env] [conf] tools.system.package_manager:mode=install tools.system.package_manager:sudo=True ninja/1.11.1: Not found in local cache, looking in remotes... ninja/1.11.1: Trying with 'conan-center'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz ninja/1.11.1: Downloaded recipe revision 77587f8c8318662ac8e5a7867eb4be21 gn/cci.20210429 (test package): Installing package Requirements Packages Build requirements gn/cci.20210429 from local cache - Cache ninja/1.11.1 from 'conan-center' - Downloaded Build requirements packages gn/cci.20210429:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download ninja/1.11.1:24647d9fe8ec489125dfbae4b3ebefaf7581674c - Download Installing (downloading, building) binaries... gn/cci.20210429: Retrieving package 24647d9fe8ec489125dfbae4b3ebefaf7581674c from remote 'c3i_PR-24738' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz gn/cci.20210429: Package installed 24647d9fe8ec489125dfbae4b3ebefaf7581674c gn/cci.20210429: Downloaded package revision dc8cd1a6f5e483d7a0e76771e1740483 ninja/1.11.1: Retrieving package 24647d9fe8ec489125dfbae4b3ebefaf7581674c from remote 'conan-center' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz ninja/1.11.1: Package installed 24647d9fe8ec489125dfbae4b3ebefaf7581674c ninja/1.11.1: Downloaded package revision e4a9f8b7c5c614f750ecc9bdc6341a01 gn/cci.20210429: Appending PATH environment variable: /home/conan/workspace/prod-v1/bsr/73827/ebbdb/.conan/data/gn/cci.20210429/_/_/package/24647d9fe8ec489125dfbae4b3ebefaf7581674c/bin gn/cci.20210429 (test package): Applying build-requirement: gn/cci.20210429 gn/cci.20210429 (test package): Applying build-requirement: ninja/1.11.1 gn/cci.20210429 (test package): Generator 'VCVars' calling 'generate()' gn/cci.20210429 (test package): Generator txt created conanbuildinfo.txt gn/cci.20210429 (test package): Calling generate() 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/workspace/prod-v1/bsr/cci-c84a6eaf/recipes/gn/all/test_package/build-release/conan/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------ > . "/home/conan/workspace/prod-v1/bsr/cci-c84a6eaf/recipes/gn/all/test_package/build-release/conan/conanbuild.sh" && gn gen . --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 3ms ----Running------ > . "/home/conan/workspace/prod-v1/bsr/cci-c84a6eaf/recipes/gn/all/test_package/build-release/conan/conanbuild.sh" && ninja -v -j4 -C . ----------------- ninja: Entering directory `.' [1/6] clang++ -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] 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 [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------ > . "/home/conan/workspace/prod-v1/bsr/cci-c84a6eaf/recipes/gn/all/test_package/build-release/conan/conanrun.sh" && ./test_package ----------------- hello from the shared library! hello from the static library! WARN: *** Conan 1 is legacy and on a deprecation path *** WARN: *** Please upgrade to Conan 2 ***