>>> liboauth 1.0.3 Extracting gzip -d -c /home/buildroot/instance-0/dl/liboauth/liboauth-1.0.3.tar.gz | /home/buildroot/instance-0/output-1/host/bin/tar --strip-components=1 -C /home/buildroot/instance-0/output-1/build/liboauth-1.0.3 -xf - >>> liboauth 1.0.3 Patching Applying 0001-Fixes-build-issue-with-OpenSSL-1.1.0.patch using patch: patching file src/hash.c >>> liboauth 1.0.3 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/buildroot/instance-0/output-1/build/liboauth-1.0.3 -name $file); do cp support/gnuconfig/$file $i; done; done >>> liboauth 1.0.3 Patching libtool patching file /home/buildroot/instance-0/output-1/build/liboauth-1.0.3/ltmain.sh Hunk #7 succeeded at 6699 (offset 3 lines). Hunk #8 succeeded at 9280 (offset 6 lines). >>> liboauth 1.0.3 Configuring >>> liboauth 1.0.3 Checking configure (powerpc64/powerpc64le) support/scripts/fix-configure-powerpc64.sh /home/buildroot/instance-0/output-1/build/liboauth-1.0.3 patching file /home/buildroot/instance-0/output-1/build/liboauth-1.0.3/./configure Hunk #1 succeeded at 6460 with fuzz 1 (offset 2027 lines). (cd /home/buildroot/instance-0/output-1/build/liboauth-1.0.3/ && rm -rf config.cache && GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" AR="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-ar" AS="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-as" LD="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-ld" NM="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-nm" CC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc" GCC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc" CPP="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-cpp" CXX="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-g++" FC="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gfortran" F77="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gfortran" RANLIB="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-ranlib" READELF="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-readelf" STRIP="/bin/true" OBJCOPY="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-objcopy" OBJDUMP="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/buildroot/instance-0/output-1/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/buildroot/instance-0/output-1/host/include" LDFLAGS_FOR_BUILD="-L/home/buildroot/instance-0/output-1/host/lib -Wl,-rpath,/home/buildroot/instance-0/output-1/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-as" DEFAULT_LINKER="/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 " LDFLAGS="" FCFLAGS=" -O2 -g0" FFLAGS=" -O2 -g0" PKG_CONFIG="/home/buildroot/instance-0/output-1/host/bin/pkg-config" STAGING_DIR="/home/buildroot/instance-0/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl CXX=no ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=powerpc64le-buildroot-linux-gnu --host=powerpc64le-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --enable-nls --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls checking for sed... /bin/sed checking liboauth version... 1.0.3 checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64le-buildroot-linux-gnu checking target system type... powerpc64le-buildroot-linux-gnu checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for powerpc64le-buildroot-linux-gnu-strip... /bin/true checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for powerpc64le-buildroot-linux-gnu-gcc... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc 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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc accepts -g... yes checking for /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc... none checking whether make sets $(MAKE)... (cached) yes checking whether ln -s works... yes checking how to print strings... printf checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-ld checking if the linker (/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-nm checking the name lister (/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-nm) interface... BSD nm checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-pc-linux-gnu file names to powerpc64le-buildroot-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-ld option to reload object files... -r checking for powerpc64le-buildroot-linux-gnu-objdump... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for powerpc64le-buildroot-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for powerpc64le-buildroot-linux-gnu-ar... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-ar checking for archiver @FILE support... @ checking for powerpc64le-buildroot-linux-gnu-strip... (cached) /bin/true checking for powerpc64le-buildroot-linux-gnu-ranlib... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-ranlib checking command to parse /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc-nm output from /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc object... ok checking for sysroot... no checking for powerpc64le-buildroot-linux-gnu-mt... no checking for mt... mt configure: WARNING: using cross tools not prefixed with host triplet checking if mt is a manifest tool... no checking how to run the C preprocessor... /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-cpp checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc static flag -static works... yes checking if /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc supports -c -o file.o... yes checking if /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc linker (/home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-ld) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... no checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc and cc understand -c and -o together... yes checking for ANSI C header files... (cached) yes checking for unistd.h... (cached) yes checking time.h usability... yes checking time.h presence... yes checking for time.h... yes checking for string.h... (cached) yes checking alloca.h usability... yes checking alloca.h presence... yes checking for alloca.h... yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking whether sys/types.h defines makedev... no checking sys/mkdev.h usability... no checking sys/mkdev.h presence... no checking for sys/mkdev.h... no checking sys/sysmacros.h usability... yes checking sys/sysmacros.h presence... yes checking for sys/sysmacros.h... yes checking for size_t... yes checking for working alloca.h... yes checking for alloca... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct stat.st_blocks... yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking whether closedir returns void... yes checking if -Wl,--as-needed works... yes checking for curl... /usr/bin/curl checking pkg-config is at least version 0.9.0... yes checking for CURL... yes checking openssl/hmac.h usability... yes checking openssl/hmac.h presence... yes checking for openssl/hmac.h... yes configure: NOTE: OpenSSL is not compatible with GPL applications. Even if only linked with GPL code you are not allowed to distibute your app. However liboauth provides an exeption (to the GPL) to circumvent this issue (see README, src/hash.c). Nevertheless, double-check your licensing. liboauth itself is licensed under MIT license and comatible with the GPL. Either way, you are probably better off using NSS (configure --enable-nss); future versions of liboauth will default to the Mozilla NSS. see http://people.gnome.org/~markmc/openssl-and-the-gpl.html checking for doxygen... no checking for dot... no checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating tests/Makefile config.status: creating liboauth.lsm config.status: creating oauth.pc config.status: creating Doxyfile config.status: creating doc/mainpage.dox config.status: creating src/config.h config.status: executing tests/atconfig commands config.status: executing depfiles commands config.status: executing libtool commands configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --enable-nls configure: liboauth configured: ----------------------- version: 1.0.3 interface revision: 8:7:8 hash/signature: OpenSSL http integration: libcurl libcurl-timeout: - generate documentation: no installation prefix: /usr CFLAGS: -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 LDFLAGS: -Wall -export-symbols-regex '^oauth_.*' -Wl,--as-needed type "make" followed my "make install" as root. >>> liboauth 1.0.3 Building GIT_DIR=. PATH="/home/buildroot/instance-0/output-1/host/bin:/home/buildroot/instance-0/output-1/host/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" /usr/bin/make -j17 -C /home/buildroot/instance-0/output-1/build/liboauth-1.0.3/ make[1]: Entering directory '/home/buildroot/instance-0/output-1/build/liboauth-1.0.3' Making all in src make[2]: Entering directory '/home/buildroot/instance-0/output-1/build/liboauth-1.0.3/src' /usr/bin/make all-am make[3]: Entering directory '/home/buildroot/instance-0/output-1/build/liboauth-1.0.3/src' /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c -o liboauth_la-oauth.lo `test -f 'oauth.c' || echo './'`oauth.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c -o liboauth_la-hash.lo `test -f 'hash.c' || echo './'`hash.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c -o liboauth_la-xmalloc.lo `test -f 'xmalloc.c' || echo './'`xmalloc.c /bin/sh ../libtool --tag=CC --mode=compile /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c -o liboauth_la-oauth_http.lo `test -f 'oauth_http.c' || echo './'`oauth_http.c libtool: compile: /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c xmalloc.c -fPIC -DPIC -o .libs/liboauth_la-xmalloc.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c oauth.c -fPIC -DPIC -o .libs/liboauth_la-oauth.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c hash.c -fPIC -DPIC -o .libs/liboauth_la-hash.o libtool: compile: /home/buildroot/instance-0/output-1/host/bin/powerpc64le-buildroot-linux-gnu-gcc -DHAVE_CONFIG_H -I. -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -g0 -c oauth_http.c -fPIC -DPIC -o .libs/liboauth_la-oauth_http.o hash.c: In function 'oauth_verify_rsa_sha1': hash.c:463:19: error: passing argument 1 of 'EVP_MD_CTX_free' from incompatible pointer type [-Wincompatible-pointer-types] 463 | EVP_MD_CTX_free(pkey); | ^~~~ | | | EVP_PKEY * {aka struct evp_pkey_st *} In file included from /home/buildroot/instance-0/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/openssl/hmac.h:21, from hash.c:363: /home/buildroot/instance-0/output-1/host/powerpc64le-buildroot-linux-gnu/sysroot/usr/include/openssl/evp.h:704:34: note: expected 'EVP_MD_CTX *' {aka 'struct evp_md_ctx_st *'} but argument is of type 'EVP_PKEY *' {aka 'struct evp_pkey_st *'} 704 | void EVP_MD_CTX_free(EVP_MD_CTX *ctx); | ~~~~~~~~~~~~^~~ make[3]: *** [Makefile:384: liboauth_la-hash.lo] Error 1 make[3]: *** Waiting for unfinished jobs.... make[3]: Leaving directory '/home/buildroot/instance-0/output-1/build/liboauth-1.0.3/src' make[2]: *** [Makefile:257: all] Error 2 make[2]: Leaving directory '/home/buildroot/instance-0/output-1/build/liboauth-1.0.3/src' make[1]: *** [Makefile:390: all-recursive] Error 1 make[1]: Leaving directory '/home/buildroot/instance-0/output-1/build/liboauth-1.0.3' make: *** [package/pkg-generic.mk:289: /home/buildroot/instance-0/output-1/build/liboauth-1.0.3/.stamp_built] Error 2 make: Leaving directory '/home/buildroot/instance-0/buildroot'