===> License MIT accepted by the user ===> cjose-0cipiertest_1 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by cjose-0cipiertest_1 for building ===> Extracting for cjose-0cipiertest_1 => SHA256 Checksum OK for cisco-cjose-0cipiertest_GH0.tar.gz. ===> Patching for cjose-0cipiertest_1 ===> cjose-0cipiertest_1 depends on package: pkgconf>=1.3.0_1 - found ===> cjose-0cipiertest_1 depends on shared library: libjansson.so - found (/usr/local/lib/libjansson.so) ===> Configuring for cjose-0cipiertest_1 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... amd64-portbld-freebsd11.1 checking host system type... amd64-portbld-freebsd11.1 checking how to print strings... printf checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking whether cc understands -c and -o together... yes checking dependency style of cc... gcc3 checking for a sed that does not truncate output... (cached) /usr/bin/sed checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for fgrep... (cached) /usr/bin/fgrep checking for ld used by cc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm checking the name lister (/usr/bin/nm) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 262144 checking how to convert amd64-portbld-freebsd11.1 file names to amd64-portbld-freebsd11.1 format... func_convert_file_noop checking how to convert amd64-portbld-freebsd11.1 file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for ar... ar checking for archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm output from cc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for mt... mt checking if mt is a manifest tool... no checking how to run the C preprocessor... cpp checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) yes checking for objdir... .libs checking if cc supports -fno-rtti -fno-exceptions... yes checking for cc option to produce PIC... -fPIC -DPIC checking if cc PIC flag -fPIC -DPIC works... yes checking if cc static flag -static works... yes checking if cc supports -c -o file.o... yes checking if cc supports -c -o file.o... (cached) yes checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... freebsd11.1 ld.so checking how to hardcode library paths into programs... immediate checking for shl_load... no checking for shl_load in -ldld... no checking for dlopen... (cached) yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking whether cc understands -c and -o together... (cached) yes checking dependency style of cc... (cached) gcc3 checking for doxygen... no checking for perl... no checking pkg-config is at least version 0.9.0... yes checking for check >= 0.9.4... no checking for --with-openssl... /usr checking for CRYPTO_new_ex_data in -lcrypto... yes checking openssl/fec.h usability... no checking openssl/fec.h presence... no checking for openssl/fec.h... no checking for --with-jansson... /usr/local checking for json_object in -ljansson... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating include/Makefile config.status: creating include/cjose/version.h config.status: creating src/Makefile config.status: creating test/Makefile config.status: creating doc/Makefile config.status: creating doc/Doxyfile config.status: creating platform/Makefile config.status: creating platform/centos/Makefile config.status: creating platform/debian/Makefile config.status: creating cjose.pc config.status: executing depfiles commands config.status: executing libtool commands (cjose) version 0.5.1 Prefix.........: /usr/local Using OpenSSL..: /usr Using Jansson..: /usr/local Unit tests.....: no ===> Building for cjose-0cipiertest_1 --- all-recursive --- Making all in . Making all in include Making all in src --- libcjose_la-version.lo --- --- libcjose_la-util.lo --- --- libcjose_la-base64.lo --- --- libcjose_la-jwk.lo --- --- libcjose_la-version.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"cjose\ 0.5.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-version.lo -MD -MP -MF .deps/libcjose_la-version.Tpo -c -o libcjose_la-version.lo `test -f 'version.c' || echo './'`version.c --- libcjose_la-util.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"cjose\ 0.5.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-util.lo -MD -MP -MF .deps/libcjose_la-util.Tpo -c -o libcjose_la-util.lo `test -f 'util.c' || echo './'`util.c --- libcjose_la-base64.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"cjose\ 0.5.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-base64.lo -MD -MP -MF .deps/libcjose_la-base64.Tpo -c -o libcjose_la-base64.lo `test -f 'base64.c' || echo './'`base64.c --- libcjose_la-jwk.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"cjose\ 0.5.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-jwk.lo -MD -MP -MF .deps/libcjose_la-jwk.Tpo -c -o libcjose_la-jwk.lo `test -f 'jwk.c' || echo './'`jwk.c --- libcjose_la-version.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"cjose 0.5.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-version.lo -MD -MP -MF .deps/libcjose_la-version.Tpo -c version.c -fPIC -DPIC -o .libs/libcjose_la-version.o --- libcjose_la-util.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"cjose 0.5.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-util.lo -MD -MP -MF .deps/libcjose_la-util.Tpo -c util.c -fPIC -DPIC -o .libs/libcjose_la-util.o --- libcjose_la-base64.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"cjose 0.5.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-base64.lo -MD -MP -MF .deps/libcjose_la-base64.Tpo -c base64.c -fPIC -DPIC -o .libs/libcjose_la-base64.o --- libcjose_la-jwk.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"cjose 0.5.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-jwk.lo -MD -MP -MF .deps/libcjose_la-jwk.Tpo -c jwk.c -fPIC -DPIC -o .libs/libcjose_la-jwk.o --- libcjose_la-version.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"cjose 0.5.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-version.lo -MD -MP -MF .deps/libcjose_la-version.Tpo -c version.c -o libcjose_la-version.o >/dev/null 2>&1 mv -f .deps/libcjose_la-version.Tpo .deps/libcjose_la-version.Plo --- libcjose_la-jwe.lo --- /bin/sh ../libtool --tag=CC --mode=compile cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" -DPACKAGE_STRING=\"cjose\ 0.5.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-jwe.lo -MD -MP -MF .deps/libcjose_la-jwe.Tpo -c -o libcjose_la-jwe.lo `test -f 'jwe.c' || echo './'`jwe.c --- libcjose_la-util.lo --- util.c:53:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ 1 error generated. *** [libcjose_la-util.lo] Error code 1 make[2]: stopped in /wrkdirs/cjose-0cipiertest-port/work/cjose-0cipiertest/src --- libcjose_la-jwk.lo --- jwk.c:57:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ jwk.c:81:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ jwk.c:93:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ jwk.c:110:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ jwk.c:120:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ jwk.c:141:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ 6 errors generated. *** [libcjose_la-jwk.lo] Error code 1 make[2]: stopped in /wrkdirs/cjose-0cipiertest-port/work/cjose-0cipiertest/src --- libcjose_la-base64.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"cjose 0.5.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-base64.lo -MD -MP -MF .deps/libcjose_la-base64.Tpo -c base64.c -o libcjose_la-base64.o >/dev/null 2>&1 --- libcjose_la-jwe.lo --- libtool: compile: cc -DPACKAGE_NAME=\"cjose\" -DPACKAGE_TARNAME=\"cjose\" -DPACKAGE_VERSION=\"0.5.1\" "-DPACKAGE_STRING=\"cjose 0.5.1\"" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"cjose\" -DVERSION=\"0.5.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_LIBCRYPTO=1 -DHAVE_LIBJANSSON=1 -I. -I/include -I/usr/include/ -I/usr/local/include/ -std=gnu99 --pedantic -Wall -Werror -g -O2 -I../include -O2 -pipe -fstack-protector -fno-strict-aliasing -I/usr/include/ -I/usr/local/include/ -MT libcjose_la-jwe.lo -MD -MP -MF .deps/libcjose_la-jwe.Tpo -c jwe.c -fPIC -DPIC -o .libs/libcjose_la-jwe.o --- libcjose_la-base64.lo --- mv -f .deps/libcjose_la-base64.Tpo .deps/libcjose_la-base64.Plo --- libcjose_la-jwe.lo --- jwe.c:701:6: error: macro expansion producing 'defined' has undefined behavior [-Werror,-Wexpansion-to-defined] #if (CJOSE_OPENSSL_11X) ^ ../include/cjose/util.h:27:69: note: expanded from macro 'CJOSE_OPENSSL_11X' #define CJOSE_OPENSSL_11X OPENSSL_VERSION_NUMBER >= 0x10100005L && !defined(LIBRESSL_VERSION_NUMBER) ^ 1 error generated. *** [libcjose_la-jwe.lo] Error code 1 make[2]: stopped in /wrkdirs/cjose-0cipiertest-port/work/cjose-0cipiertest/src 3 errors make[2]: stopped in /wrkdirs/cjose-0cipiertest-port/work/cjose-0cipiertest/src *** [all-recursive] Error code 1 make[1]: stopped in /wrkdirs/cjose-0cipiertest-port/work/cjose-0cipiertest make[1]: stopped in /wrkdirs/cjose-0cipiertest-port/work/cjose-0cipiertest ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /cjose-0cipiertest-port 1