Auto detecting your dev setup to initialize the default profile (/tmp/c3ipr/pr_1314_13_0_12/.conan/profiles/default) CC and CXX: /usr/bin/gcc, /usr/bin/g++ Found gcc 7 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_13_0_12/.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=7 compiler.libcxx=libstdc++ build_type=Release *** You can change them in /tmp/c3ipr/pr_1314_13_0_12/.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: 3.99609375 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/20200418 exports: File 'conandata.yml' found. Exporting it... cose-c/20200418 exports: Copied 1 '.yml' file: conandata.yml cose-c/20200418 exports_sources: Copied 1 '.txt' file: CMakeLists.txt [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] Saving conandata.yml: {'sources': {'20200418': {'sha256': '98f45cead44b2d52056e2afc187b4224fe3fc852f7e950c46bc6ef7a493a95f2', 'url': 'https://github.com/cose-wg/COSE-C/archive/f207f3f10e237be740eb41de156a297ced503a8a.zip'}}} [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] New conandata.yml contents: sources: '20200418': sha256: 98f45cead44b2d52056e2afc187b4224fe3fc852f7e950c46bc6ef7a493a95f2 url: https://github.com/cose-wg/COSE-C/archive/f207f3f10e237be740eb41de156a297ced503a8a.zip [HOOK - conan-center.py] post_export(): [CONANDATA.YML REDUCE (KB-H031)] OK cose-c/20200418: A new conanfile.py version was exported cose-c/20200418: Folder: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/export cose-c/20200418: Using the exported files summary hash as the recipe revision: 0100f93de44d2cb24c4eac102b20b0d3 cose-c/20200418: Exported revision: 0100f93de44d2cb24c4eac102b20b0d3 Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Debug compiler=gcc compiler.libcxx=libstdc++ compiler.version=7 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_184032d523f0c62498c9b5b3b90eff18c5b2c26e'... 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.1f: Not found in local cache, looking in remotes... openssl/1.1.1f: Trying with 'c3i_PR-1314_184032d523f0c62498c9b5b3b90eff18c5b2c26e'... openssl/1.1.1f: Trying with 'central'... Downloading conanmanifest.txt Downloading conanfile.py Downloading conan_export.tgz openssl/1.1.1f: Downloaded recipe revision 1224b65a9a457233ef6f3f38188f13fb cose-c/20200418: Forced build from source cose-c/20200418 (test package): Installing package Requirements cn-cbor/1.0.0 from 'central' - Downloaded cose-c/20200418 from local cache - Cache openssl/1.1.1f from 'central' - Downloaded Packages cn-cbor/1.0.0:db2ca884c9793e0b0fb54ec3f846326d1addacc8 - Download cose-c/20200418:83ae5a41d1292be21f9740cccff6dd0faf5d45d4 - Build openssl/1.1.1f:db2ca884c9793e0b0fb54ec3f846326d1addacc8 - Download Installing (downloading, building) binaries... cn-cbor/1.0.0: Retrieving package db2ca884c9793e0b0fb54ec3f846326d1addacc8 from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz cn-cbor/1.0.0: Package installed db2ca884c9793e0b0fb54ec3f846326d1addacc8 cn-cbor/1.0.0: Downloaded package revision 9642ac7ddb28e73f7e743d25de06b94f openssl/1.1.1f: Retrieving package db2ca884c9793e0b0fb54ec3f846326d1addacc8 from remote 'central' Downloading conanmanifest.txt Downloading conaninfo.txt Downloading conan_package.tgz openssl/1.1.1f: Package installed db2ca884c9793e0b0fb54ec3f846326d1addacc8 openssl/1.1.1f: Downloaded package revision 600eea7e1bbf9f0224bdfbb36bcab184 [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/20200418: Configuring sources in /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/source Unzipping 526.4KB, 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/20200418: Copying sources to build folder cose-c/20200418: Building your package in /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4 cose-c/20200418: Generator cmake created conanbuildinfo.cmake cose-c/20200418: Generator cmake_find_package created Findcn-cbor.cmake cose-c/20200418: Generator cmake_find_package created FindOpenSSL.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/20200418: Calling build() ----Running------ > cd '/tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/build_subfolder' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="7" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="/tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4" -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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -DCOSE_C_COVERALLS="False" -DCOSE_C_BUILD_TESTS="False" -DCOSE_C_BUILD_DOCS="False" -DCOSE_C_BUILD_DUMPER="False" -DCOSE_C_USE_MBEDTLS="False" -DCOSE_C_USE_FIND_PACKAGE="True" -Wno-dev '/tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.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 7 -- Conan: Checking correct version: 7 Build type: Debug -- adding GCC/Clang options -- 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_13_0_12/.conan/data/cn-cbor/1.0.0/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libcn-cbor.a -- Found: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cn-cbor/1.0.0/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libcn-cbor.a -- Conan: Using autogenerated FindOpenSSL.cmake -- Found OpenSSL: 1.1.1f (found version "1.1.1f") -- Library ssl found /tmp/c3ipr/pr_1314_13_0_12/.conan/data/openssl/1.1.1f/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libssl.a -- Found: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/openssl/1.1.1f/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libssl.a -- Library crypto found /tmp/c3ipr/pr_1314_13_0_12/.conan/data/openssl/1.1.1f/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libcrypto.a -- Found: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/openssl/1.1.1f/_/_/package/db2ca884c9793e0b0fb54ec3f846326d1addacc8/lib/libcrypto.a -- COSE_C_INCLUDE_ENCRYPT:..........ON -- COSE_C_INCLUDE_ENCRYPT0:.........ON -- COSE_C_INCLUDE_MAC:..............ON -- COSE_C_INCLUDE_MAC0:.............ON -- COSE_C_INCLUDE_SIGN:.............ON -- COSE_C_INCLUDE_SIGN0:............ON -- COSE_C_INCLUDE_SIGN1:............ON -- COSE_C_USE_CONTEXT:..............ON -- COSE_C_FATAL_WARNINGS:...........OFF -- COSE_C_BUILD_TESTS:..............False -- COSE_C_BUILD_DOCS:...............False -- COSE_C_USE_MBEDTLS:..............False -- COSE_C_USE_FIND_PACKAGE:.........True -- COSE_C_BUILD_DUMPER:.............False -- CMAKE_BUILD_TYPE:................Debug -- BUILD_SHARED_LIBS:...............ON -- COSE_VERSION:....................0.1.0 -- 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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/build_subfolder ----Running------ > cmake --build '/tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/build_subfolder' '--' '-j3' ----------------- Scanning dependencies of target cose-c [ 8%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/Cose.c.o [ 25%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/MacMessage0.c.o [ 25%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/MacMessage.c.o In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/MacMessage0.c:14:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/MacMessage0.c: In function ‘COSE_Mac0_Free’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/MacMessage.c:14:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/MacMessage.c: In function ‘COSE_Mac_Free’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/MacMessage.c:14:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/MacMessage.c: In function ‘_COSE_Mac_Build_AAD’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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;}} ^~~~~~~~~ [ 33%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/Sign.c.o In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign.c:8:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign.c: In function ‘COSE_Sign_Free’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign.c:130:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE(pMessage, &context); ^~~~~~~~~ [ 41%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/Sign1.c.o [ 50%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/cbor.c.o In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign1.c:8:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign1.c: In function ‘COSE_Sign1_Free’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign1.c:115:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE(pMessage, &context); ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign1.c:8:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign1.c: In function ‘CreateSign1AAD’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Sign1.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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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;}} ^~~~~~~~~ [ 58%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/Encrypt.c.o [ 66%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/Encrypt0.c.o In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Encrypt.c:15:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Encrypt.c: In function ‘COSE_Enveloped_Free’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Encrypt.c:151:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE((COSE_Enveloped *)h, &context); ^~~~~~~~~ [ 75%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/Recipient.c.o In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Encrypt0.c:13:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Encrypt0.c: In function ‘COSE_Encrypt_Free’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Encrypt0.c:145:2: note: in expansion of macro ‘COSE_FREE’ COSE_FREE((COSE_Encrypt *)h, &context); ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Recipient.c:7:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Recipient.c: In function ‘_COSE_Recipient_decrypt’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Recipient.c:7:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Recipient.c: In function ‘_COSE_RecipientInfo_generateKey’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/Recipient.c: In function ‘BuildContextBytes’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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;}} ^~~~~~~~~ [ 83%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/SignerInfo.c.o [ 91%] Building C object source_subfolder/src/CMakeFiles/cose-c.dir/openssl.c.o In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/SignerInfo.c:11:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/SignerInfo.c: In function ‘BuildToBeSigned’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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;}} ^~~~~~~~~ In file included from /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/openssl.c:3:0: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/openssl.c: In function ‘ECDSA_Verify’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/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_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/openssl.c: In function ‘EdDSA_Verify’: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/source_subfolder/src/openssl.c:1201:19: warning: unused variable ‘context’ [-Wunused-variable] cn_cbor_context* context = &pSigner->m_allocContext; ^~~~~~~ [100%] Linking C shared library ../../lib/libcose-c.so [100%] Built target cose-c cose-c/20200418: Package '83ae5a41d1292be21f9740cccff6dd0faf5d45d4' built cose-c/20200418: Build folder /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4 cose-c/20200418: Generated conaninfo.txt cose-c/20200418: Generated conanbuildinfo.txt cose-c/20200418: Generating the package cose-c/20200418: Package folder /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4 cose-c/20200418: Calling package() ----Running------ > cmake --build '/tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/build/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/build_subfolder' '--target' 'install' '--' '-j3' ----------------- [100%] Built target cose-c Install the project... -- Install configuration: "Debug" -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/lib/libcose-c.so -- Set runtime path of "/tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/lib/libcose-c.so" to "" -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/lib/cmake/cose-c/cose-cTargets.cmake -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/lib/cmake/cose-c/cose-cTargets-debug.cmake -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/lib/cmake/cose-c/cose-cConfig.cmake -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/lib/cmake/cose-c/cose-cConfigVersion.cmake -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/include/cose -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/include/cose/cose_configure.h -- Installing: /tmp/c3ipr/pr_1314_13_0_12/.conan/data/cose-c/20200418/_/_/package/83ae5a41d1292be21f9740cccff6dd0faf5d45d4/include/cose/cose.h [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/20200418 package(): Packaged 1 '.so' file: libcose-c.so cose-c/20200418 package(): Packaged 2 '.h' files: cose_configure.h, cose.h cose-c/20200418 package(): Packaged 1 file: LICENSE cose-c/20200418: Package '83ae5a41d1292be21f9740cccff6dd0faf5d45d4' created cose-c/20200418: Created package revision 5240ad430ec9a957871f14d3fe0f9cea [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK cose-c/20200418 (test package): Generator cmake created conanbuildinfo.cmake cose-c/20200418 (test package): Generator txt created conanbuildinfo.txt cose-c/20200418 (test package): Generated conaninfo.txt cose-c/20200418 (test package): Generated graphinfo Using lockfile: '/tmp/c3ipr/co_pr_1314_13_0_12/recipes/cose-c/all/test_package/build/68ad4dc128b73565df23f5fa2a5361b72b7f9c40/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/20200418 (test package): Calling build() ----Running------ > cd '/tmp/c3ipr/co_pr_1314_13_0_12/recipes/cose-c/all/test_package/build/68ad4dc128b73565df23f5fa2a5361b72b7f9c40' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Debug" -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++" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/tmp/c3ipr/co_pr_1314_13_0_12/recipes/cose-c/all/test_package' ----------------- -- The C compiler identification is GNU 7.2.0 -- The CXX compiler identification is GNU 7.2.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 7 -- Conan: Checking correct version: 7 -- Conan: C++ stdlib: libstdc++ -- 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/co_pr_1314_13_0_12/recipes/cose-c/all/test_package/build/68ad4dc128b73565df23f5fa2a5361b72b7f9c40 ----Running------ > cmake --build '/tmp/c3ipr/co_pr_1314_13_0_12/recipes/cose-c/all/test_package/build/68ad4dc128b73565df23f5fa2a5361b72b7f9c40' '--' '-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/20200418 (test package): Running test() ----Running------ > bin/test_package ----------------- JSON file created at '/tmp/c3ipr/pr_1314_13_0_12/_create.json'