Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_1314_7_0_0/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 6.4 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 '/tmp/c3ipr/pr_1314_7_0_0/.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=6 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_1314_7_0_0/.conan/profiles/default *** *** Or override with -s compiler='other' -s ...s*** [HOOK - conan-center.py] pre_export(): [DEPRECATED GLOBAL CPPSTD (KB-H001)] OK [HOOK - conan-center.py] pre_export(): [REFERENCE LOWERCASE (KB-H002)] OK [HOOK - conan-center.py] pre_export(): [RECIPE METADATA (KB-H003)] OK [HOOK - conan-center.py] pre_export(): [HEADER_ONLY, NO COPY SOURCE (KB-H005)] OK [HOOK - conan-center.py] pre_export(): [FPIC OPTION (KB-H006)] OK [HOOK - conan-center.py] pre_export(): [VERSION RANGES (KB-H008)] OK [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] Total recipe size: 5.7685546875 KB [HOOK - conan-center.py] pre_export(): [RECIPE FOLDER SIZE (KB-H009)] OK [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: None [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] exports: ['CMakeLists.txt'] [HOOK - conan-center.py] pre_export(): [EXPORT LICENSE (KB-H023)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE FOLDER (KB-H024)] OK [HOOK - conan-center.py] pre_export(): [META LINES (KB-H025)] OK [HOOK - conan-center.py] pre_export(): [CONAN CENTER INDEX URL (KB-H027)] OK [HOOK - conan-center.py] pre_export(): [CMAKE MINIMUM VERSION (KB-H028)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - RUN ENVIRONMENT (KB-H029)] OK [HOOK - conan-center.py] pre_export(): [SYSTEM REQUIREMENTS (KB-H032)] OK [HOOK - conan-center.py] pre_export(): [CONANDATA.YML FORMAT (KB-H030)] OK [HOOK - conan-center.py] pre_export(): [TEST PACKAGE - NO IMPORTS() (KB-H034)] OK [HOOK - conan-center.py] pre_export(): [NO AUTHOR (KB-H037)] OK [HOOK - conan-center.py] pre_export(): [NO TARGET NAME (KB-H040)] OK Exporting package recipe cose-c/20200403 exports: File 'conandata.yml' found. Exporting it... cose-c/20200403 exports: Copied 1 '.yml' file: conandata.yml cose-c/20200403 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20200403': {'sha256': '08da5a6a5a33a41e4c49074392fa4093f861ae271ba7d6ff19cd8e4c76fbceb0', 'url': 'https://github.com/gocarlos/COSE-C/archive/0f8adc40c021bd4c0c3e7a827b49e74c44f57d94.zip'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: '20200403': sha256: 08da5a6a5a33a41e4c49074392fa4093f861ae271ba7d6ff19cd8e4c76fbceb0 url: https://github.com/gocarlos/COSE-C/archive/0f8adc40c021bd4c0c3e7a827b49e74c44f57d94.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK cose-c/20200403: A new conanfile.py version was exported cose-c/20200403: Folder: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/export cose-c/20200403: Using the exported files summary hash as the recipe revision: 5abea6c8d2f253035cd417c593d627a9 cose-c/20200403: Exported revision: 5abea6c8d2f253035cd417c593d627a9 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=gcc compiler.libcxx=libstdc++11 compiler.version=6 os=Linux os_build=Linux [options] cose-c:shared=True [build_requires] [env] cn-cbor/1.0.0: Not found in local cache, looking in remotes... cn-cbor/1.0.0: Trying with 'c3i_PR-1314_d63088a58aea32b1c62ea9f51f228a6d38ddfa03'... cn-cbor/1.0.0: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz cn-cbor/1.0.0: Downloaded recipe revision 768e6e4066c608894cc36894505c6fed openssl/1.1.1d: Not found in local cache, looking in remotes... openssl/1.1.1d: Trying with 'c3i_PR-1314_d63088a58aea32b1c62ea9f51f228a6d38ddfa03'... openssl/1.1.1d: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1d: Downloaded recipe revision 3396ac49b14ec839d374d1eef85f77aa zlib/1.2.11: Not found in local cache, looking in remotes... zlib/1.2.11: Trying with 'c3i_PR-1314_d63088a58aea32b1c62ea9f51f228a6d38ddfa03'... zlib/1.2.11: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz zlib/1.2.11: Downloaded recipe revision ddccdddea098293f5202c5e8eb29967b cose-c/20200403: Forced build from source cose-c/20200403 (test package): Installing package Requirements cn-cbor/1.0.0 from 'central' - Downloaded cose-c/20200403 from local cache - Cache openssl/1.1.1d from 'central' - Downloaded zlib/1.2.11 from 'central' - Downloaded Packages cn-cbor/1.0.0:f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb - Download cose-c/20200403:c7fcfeb399101d32babd96b7c61abd38fe96fb9e - Build openssl/1.1.1d:008f1a2b119556f550c1109663570e0f5040c13f - Download zlib/1.2.11:f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb - Download Installing (downloading, building) binaries... cn-cbor/1.0.0: Retrieving package f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cn-cbor/1.0.0: Package installed f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb cn-cbor/1.0.0: Downloaded package revision f3ac08d914191565d25b450e42c9c124 zlib/1.2.11: Retrieving package f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz zlib/1.2.11: Package installed f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb zlib/1.2.11: Downloaded package revision 6ea6dd3d4e6c16a1f47ad6348542a17e openssl/1.1.1d: Retrieving package 008f1a2b119556f550c1109663570e0f5040c13f from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1d: Package installed 008f1a2b119556f550c1109663570e0f5040c13f openssl/1.1.1d: Downloaded package revision 6221558981fe12a9e0d1058aa7425204 [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] pre_source(): [IMMUTABLE SOURCES (KB-H010)] OK cose-c/20200403: Configuring sources in /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/source Unzipping 451.2KB, this can take a while [HOOK - conan-center.py] post_source(): [LIBCXX MANAGEMENT (KB-H011)] OK [HOOK - conan-center.py] post_source(): [CPPSTD MANAGEMENT (KB-H022)] OK cose-c/20200403: Copying sources to build folder cose-c/20200403: Building your package in /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e cose-c/20200403: Generator cmake created conanbuildinfo.cmake cose-c/20200403: Generator cmake_find_package created Findcn-cbor.cmake cose-c/20200403: Generator cmake_find_package created FindOpenSSL.cmake cose-c/20200403: Generator cmake_find_package created FindZLIB.cmake [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 cose-c/20200403: Calling build() ----Running------ > cd '/tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="6" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e" -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" -DCONAN_CMAKE_POSITION_INDEPENDENT_CODE="ON" -DCMAKE_MODULE_PATH="/tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Dcoveralls="False" -DCOSE_C_BUILD_TESTS="False" -DCOSE_C_BUILD_DOCS="False" -DCOSE_C_BUILD_DUMPER="False" -DCOSE_C_USE_MBEDTLS="False" -DCOSE_C_USE_PROJECT_ADD="False" -Wno-dev '/tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e' ----------------- -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: called inside local cache -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Adjusting fPIC flag (ON) -- Conan: Compiler GCC>=5, checking major version 6 -- Conan: Checking correct version: 6 Build type: Release -- adding GCC/Clang options -- Conan: Using autogenerated FindOpenSSL.cmake -- Found OpenSSL: 1.1.1d (found version "1.1.1d") -- Library ssl found /tmp/c3ipr/pr_1314_7_0_0/.conan/data/openssl/1.1.1d/_/_/package/008f1a2b119556f550c1109663570e0f5040c13f/lib/libssl.a -- Found: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/openssl/1.1.1d/_/_/package/008f1a2b119556f550c1109663570e0f5040c13f/lib/libssl.a -- Library crypto found /tmp/c3ipr/pr_1314_7_0_0/.conan/data/openssl/1.1.1d/_/_/package/008f1a2b119556f550c1109663570e0f5040c13f/lib/libcrypto.a -- Found: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/openssl/1.1.1d/_/_/package/008f1a2b119556f550c1109663570e0f5040c13f/lib/libcrypto.a -- Conan: Using autogenerated FindZLIB.cmake -- Found ZLIB: 1.2.11 (found version "1.2.11") -- Library z found /tmp/c3ipr/pr_1314_7_0_0/.conan/data/zlib/1.2.11/_/_/package/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/lib/libz.a -- Found: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/zlib/1.2.11/_/_/package/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/lib/libz.a -- Conan: Using autogenerated Findcn-cbor.cmake -- Found cn-cbor: 1.0.0 (found version "1.0.0") -- Library cn-cbor found /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cn-cbor/1.0.0/_/_/package/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/lib/libcn-cbor.a -- Found: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cn-cbor/1.0.0/_/_/package/f7e573cb501ccfc49e9e4d84de886bc1ef2e6ebb/lib/libcn-cbor.a -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/build_subfolder ----Running------ > cmake --build '/tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target cose-c [ 7%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/Cose.c.o [ 15%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/MacMessage.c.o [ 23%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/MacMessage0.c.o In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage0.c:14:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage0.c: In function ‘COSE_Mac0_Free’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:129:32: warning: the address of ‘context’ will always evaluate as ‘true’ [-Waddress] #define COSE_FREE(ptr, ctx) ((((ctx) && (ctx)->free_func)) ? \ ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage0.c:122:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE(p, &context); ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage.c:14:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage.c: In function ‘COSE_Mac_Free’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:129:32: warning: the address of ‘context’ will always evaluate as ‘true’ [-Waddress] #define COSE_FREE(ptr, ctx) ((((ctx) && (ctx)->free_func)) ? \ ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage.c:135:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE((COSE_MacMessage *)h, &context); ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage.c:14:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage.c: In function ‘_COSE_Mac_Build_AAD’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/MacMessage.c:289:78: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CHECK_CONDITION(cn_cbor_encoder_write(pbAuthData, 0, cbAuthData, pAuthData) == cbAuthData, COSE_ERR_CBOR); ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:240:51: note: in definition of macro ‘CHECK_CONDITION’ #define CHECK_CONDITION(condition, error) { if (!(condition)) { DO_ASSERT; if (perr != NULL) {perr->err = error;} goto errorReturn;}} ^~~~~~~~~ [ 30%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/Sign.c.o In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign.c:8:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign.c: In function ‘COSE_Sign_Free’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:129:32: warning: the address of ‘context’ will always evaluate as ‘true’ [-Waddress] #define COSE_FREE(ptr, ctx) ((((ctx) && (ctx)->free_func)) ? \ ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign.c:130:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE(pMessage, &context); ^~~~~~~~~ [ 38%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/Sign0.c.o In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign0.c:8:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign0.c: In function ‘COSE_Sign0_Free’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:129:32: warning: the address of ‘context’ will always evaluate as ‘true’ [-Waddress] #define COSE_FREE(ptr, ctx) ((((ctx) && (ctx)->free_func)) ? \ ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign0.c:115:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE(pMessage, &context); ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign0.c:8:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign0.c: In function ‘CreateSign0AAD’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Sign0.c:297:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CHECK_CONDITION(cn_cbor_encoder_write(pbToSign, 0, cbToSign, pArray) == cbToSign, COSE_ERR_CBOR); ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:240:51: note: in definition of macro ‘CHECK_CONDITION’ #define CHECK_CONDITION(condition, error) { if (!(condition)) { DO_ASSERT; if (perr != NULL) {perr->err = error;} goto errorReturn;}} ^~~~~~~~~ [ 46%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/cbor.c.o [ 53%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/Encrypt.c.o [ 61%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/Encrypt0.c.o In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Encrypt.c:15:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Encrypt.c: In function ‘COSE_Enveloped_Free’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:129:32: warning: the address of ‘context’ will always evaluate as ‘true’ [-Waddress] #define COSE_FREE(ptr, ctx) ((((ctx) && (ctx)->free_func)) ? \ ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Encrypt.c:151:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE((COSE_Enveloped *)h, &context); ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Encrypt0.c:13:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Encrypt0.c: In function ‘COSE_Encrypt_Free’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:129:32: warning: the address of ‘context’ will always evaluate as ‘true’ [-Waddress] #define COSE_FREE(ptr, ctx) ((((ctx) && (ctx)->free_func)) ? \ ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Encrypt0.c:145:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE((COSE_Encrypt *)h, &context); ^~~~~~~~~ [ 69%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/Recipient.c.o In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c:7:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c: In function ‘_COSE_Recipient_decrypt’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c:282:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CHECK_CONDITION((cn->length == (unsigned int)cbitKeyOut / 8), COSE_ERR_INVALID_PARAMETER); ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:240:51: note: in definition of macro ‘CHECK_CONDITION’ #define CHECK_CONDITION(condition, error) { if (!(condition)) { DO_ASSERT; if (perr != NULL) {perr->err = error;} goto errorReturn;}} ^~~~~~~~~ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c:235:80: warning: unused parameter ‘pRecipUse’ [-Wunused-parameter] bool _COSE_Recipient_decrypt(COSE_RecipientInfo * pRecip, COSE_RecipientInfo * pRecipUse, int algIn, size_t cbitKeyOut, byte * pbKeyOut, cose_errback * perr) ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c:7:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c: In function ‘_COSE_RecipientInfo_generateKey’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c:884:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CHECK_CONDITION(pK->length == cbitKeySize / 8, COSE_ERR_INVALID_PARAMETER); ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:240:51: note: in definition of macro ‘CHECK_CONDITION’ #define CHECK_CONDITION(condition, error) { if (!(condition)) { DO_ASSERT; if (perr != NULL) {perr->err = error;} goto errorReturn;}} ^~~~~~~~~ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c: In function ‘BuildContextBytes’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/Recipient.c:1353:73: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CHECK_CONDITION(cn_cbor_encoder_write(pbContext, 0, cbContext, pArray) == cbContext, COSE_ERR_CBOR); ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:240:51: note: in definition of macro ‘CHECK_CONDITION’ #define CHECK_CONDITION(condition, error) { if (!(condition)) { DO_ASSERT; if (perr != NULL) {perr->err = error;} goto errorReturn;}} ^~~~~~~~~ [ 76%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/SignerInfo.c.o In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/SignerInfo.c:11:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/SignerInfo.c: In function ‘BuildToBeSigned’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/SignerInfo.c:156:71: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CHECK_CONDITION(cn_cbor_encoder_write(pbToSign, 0, cbToSign, pArray) == cbToSign, COSE_ERR_CBOR); ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:240:51: note: in definition of macro ‘CHECK_CONDITION’ #define CHECK_CONDITION(condition, error) { if (!(condition)) { DO_ASSERT; if (perr != NULL) {perr->err = error;} goto errorReturn;}} ^~~~~~~~~ [ 84%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/mbedtls.c.o [ 92%] Building C object source_subfolder/CMakeFiles/cose-c.dir/src/openssl.c.o In file included from /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/openssl.c:3:0: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/openssl.c: In function ‘ECDSA_Verify’: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/openssl.c:1102:34: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] CHECK_CONDITION(cbSignature / 2 == cbR, COSE_ERR_INVALID_PARAMETER); ^ /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/source_subfolder/src/cose_int.h:240:51: note: in definition of macro ‘CHECK_CONDITION’ #define CHECK_CONDITION(condition, error) { if (!(condition)) { DO_ASSERT; if (perr != NULL) {perr->err = error;} goto errorReturn;}} ^~~~~~~~~ [100%] Linking C shared library ../lib/libcose-c.so [100%] Built target cose-c cose-c/20200403: Package 'c7fcfeb399101d32babd96b7c61abd38fe96fb9e' built cose-c/20200403: Build folder /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e cose-c/20200403: Generated conaninfo.txt cose-c/20200403: Generated conanbuildinfo.txt cose-c/20200403: Generating the package cose-c/20200403: Package folder /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e cose-c/20200403: Calling package() ----Running------ > cmake --build '/tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/build/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/build_subfolder' '--target' 'install' '--' '-j3' ----------------- [100%] Built target cose-c Install the project... -- Install configuration: "Release" -- Installing: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/lib/cmake/cose-c/cose-cConfig.cmake -- Installing: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/lib/cmake/cose-c/cose-cConfigVersion.cmake -- Installing: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/include -- Installing: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/include/cose.h -- Installing: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/include/configure.h -- Installing: /tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/lib/libcose-c.so -- Set runtime path of "/tmp/c3ipr/pr_1314_7_0_0/.conan/data/cose-c/20200403/_/_/package/c7fcfeb399101d32babd96b7c61abd38fe96fb9e/lib/libcose-c.so" to "" [HOOK - conan-center.py] post_package(): [PACKAGE LICENSE (KB-H012)] OK [HOOK - conan-center.py] post_package(): [DEFAULT PACKAGE LAYOUT (KB-H013)] OK [HOOK - conan-center.py] post_package(): [MATCHING CONFIGURATION (KB-H014)] OK [HOOK - conan-center.py] post_package(): [SHARED ARTIFACTS (KB-H015)] OK [HOOK - conan-center.py] post_package(): [PC-FILES (KB-H020)] OK [HOOK - conan-center.py] post_package(): [CMAKE-MODULES-CONFIG-FILES (KB-H016)] OK [HOOK - conan-center.py] post_package(): [PDB FILES NOT ALLOWED (KB-H017)] OK [HOOK - conan-center.py] post_package(): [LIBTOOL FILES PRESENCE (KB-H018)] OK [HOOK - conan-center.py] post_package(): [MS RUNTIME FILES (KB-H021)] OK cose-c/20200403 package(): Packaged 1 '.so' file: libcose-c.so cose-c/20200403 package(): Packaged 2 '.h' files: cose.h, configure.h cose-c/20200403 package(): Packaged 1 file: LICENSE cose-c/20200403: Package 'c7fcfeb399101d32babd96b7c61abd38fe96fb9e' created cose-c/20200403: Created package revision 8e1899b977fc85aa66f0a26f3f0afc3a [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK cose-c/20200403 (test package): Generator cmake created conanbuildinfo.cmake cose-c/20200403 (test package): Generator txt created conanbuildinfo.txt cose-c/20200403 (test package): Generated conaninfo.txt cose-c/20200403 (test package): Generated graphinfo Using lockfile: '/tmp/c3ipr/pr_1314_7_0_0/test_package/build/8053e80b6fbafebe91fa05a5aa81b1131bb500a5/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 cose-c/20200403 (test package): Calling build() ----Running------ > cd '/tmp/c3ipr/pr_1314_7_0_0/test_package/build/8053e80b6fbafebe91fa05a5aa81b1131bb500a5' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="6" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++11" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/tmp/c3ipr/pr_1314_7_0_0/test_package' ----------------- -- The C compiler identification is GNU 6.4.0 -- The CXX compiler identification is GNU 6.4.0 -- Check for working C compiler: /usr/bin/gcc -- Check for working C compiler: /usr/bin/gcc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/g++ -- Check for working CXX compiler: /usr/bin/g++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Conan: Compiler GCC>=5, checking major version 6 -- Conan: Checking correct version: 6 -- Conan: C++ stdlib: libstdc++11 -- Configuring done -- Generating done CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY -- Build files have been written to: /tmp/c3ipr/pr_1314_7_0_0/test_package/build/8053e80b6fbafebe91fa05a5aa81b1131bb500a5 ----Running------ > cmake --build '/tmp/c3ipr/pr_1314_7_0_0/test_package/build/8053e80b6fbafebe91fa05a5aa81b1131bb500a5' '--' '-j3' ----------------- Scanning dependencies of target test_package [ 50%] Building CXX object CMakeFiles/test_package.dir/test_package.cpp.o [100%] Linking CXX executable bin/test_package [100%] Built target test_package cose-c/20200403 (test package): Running test() ----Running------ > bin/test_package ----------------- JSON file created at '/tmp/c3ipr/pr_1314_7_0_0/_create.json'