Skip to content

Instantly share code, notes, and snippets.

@garrettr
Created March 24, 2016 23:47
Show Gist options
  • Save garrettr/387a7f437610707db1d4 to your computer and use it in GitHub Desktop.
Save garrettr/387a7f437610707db1d4 to your computer and use it in GitHub Desktop.
Building libu2f-host fails on Mac OS 10.10
$ make -f macosx.mk VERSION=0.0
rm -rf tmp && mkdir tmp && cd tmp && \
mkdir -p root/licenses && \
cp ../json-c-0.11.tar.gz . || \
curl -O -L https://s3.amazonaws.com/json-c_releases/releases/json-c-0.11.tar.gz && \
tar xfz json-c-0.11.tar.gz && \
cd json-c-0.11 && \
./configure --prefix=/Users/garrett/code/libu2f-host/tmp/root CFLAGS=-mmacosx-version-min=10.6 && \
make install check && \
cp COPYING /Users/garrett/code/libu2f-host/tmp/root/licenses/json-c.txt && \
cd .. && \
git clone https://github.com/signal11/hidapi.git && \
cd hidapi && \
git checkout 0cbc3a409bcb45cefb3edbf144d64ddd4e0821ce && \
./bootstrap && \
./configure --prefix=/Users/garrett/code/libu2f-host/tmp/root CFLAGS=-mmacosx-version-min=10.6 && \
make install check && \
cp LICENSE-gpl3.txt /Users/garrett/code/libu2f-host/tmp/root/licenses/hidapi.txt && \
cd .. && \
cp ../libu2f-host-0.0.tar.xz . && \
tar xfJ libu2f-host-0.0.tar.xz && \
cd libu2f-host-0.0/ && \
PKG_CONFIG_PATH=/Users/garrett/code/libu2f-host/tmp/root/lib/pkgconfig ./configure --prefix=/Users/garrett/code/libu2f-host/tmp/root CFLAGS=-mmacosx-version-min=10.6 && \
make install check && \
install_name_tool -id @executable_path/../lib/libjson-c.2.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.2.dylib && \
install_name_tool -id @executable_path/../lib/libjson.0.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.0.dylib && \
install_name_tool -change /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.2.dylib @executable_path/../lib/libjson-c.2.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.dylib && \
install_name_tool -id @executable_path/../lib/libhidapi.0.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.0.dylib && \
install_name_tool -id @executable_path/../lib/libu2f-host.0.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libu2f-host.0.dylib && \
install_name_tool -change /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.2.dylib @executable_path/../lib/libjson-c.2.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libu2f-host.0.dylib && \
install_name_tool -change /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.0.dylib @executable_path/../lib/libhidapi.0.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libu2f-host.0.dylib && \
for executable in /Users/garrett/code/libu2f-host/tmp/root/bin/*; do \
install_name_tool -change /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.2.dylib @executable_path/../lib/libjson-c.2.dylib $executable ; \
install_name_tool -change /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.0.dylib @executable_path/../lib/libhidapi.0.dylib $executable ; \
install_name_tool -change /Users/garrett/code/libu2f-host/tmp/root/lib/libu2f-host.0.dylib @executable_path/../lib/libu2f-host.0.dylib $executable ; \
done && \
cp COPYING /Users/garrett/code/libu2f-host/tmp/root/licenses/libu2f-host.txt && \
cd .. && \
cd root && \
zip -r ../../libu2f-host-0.0-mac.zip *
cp: ../json-c-0.11.tar.gz: No such file or directory
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 544k 100 544k 0 0 535k 0 0:00:01 0:00:01 --:--:-- 536k
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for style of include used by make... GNU
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
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 fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking for strings.h... (cached) yes
checking syslog.h usability... yes
checking syslog.h presence... yes
checking for syslog.h... yes
checking for unistd.h... (cached) yes
checking sys/cdefs.h usability... yes
checking sys/cdefs.h presence... yes
checking for sys/cdefs.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for inttypes.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for vprintf... yes
checking for _doprnt... no
checking for working memcmp... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strndup... yes
checking for strerror... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for open... yes
checking for vsyslog... yes
checking for strncasecmp... yes
checking for setlocale... yes
checking if .gnu.warning accepts long strings... no
checking build system type... x86_64-apple-darwin14.5.0
checking host system type... x86_64-apple-darwin14.5.0
checking for a sed that does not truncate output... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
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... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.5.0 dyld
checking how to hardcode library paths into programs... immediate
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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating json.pc
config.status: creating json-c.pc
config.status: creating tests/Makefile
config.status: creating json-c-uninstalled.pc
config.status: creating config.h
config.status: config.h is unchanged
config.status: creating json_config.h
config.status: json_config.h is unchanged
config.status: executing depfiles commands
config.status: executing libtool commands
Making install in .
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c -o arraylist.lo arraylist.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c arraylist.c -fno-common -DPIC -o .libs/arraylist.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c arraylist.c -o arraylist.o >/dev/null 2>&1
mv -f .deps/arraylist.Tpo .deps/arraylist.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c -o debug.lo debug.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c -fno-common -DPIC -o .libs/debug.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT debug.lo -MD -MP -MF .deps/debug.Tpo -c debug.c -o debug.o >/dev/null 2>&1
mv -f .deps/debug.Tpo .deps/debug.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c -o json_c_version.lo json_c_version.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c json_c_version.c -fno-common -DPIC -o .libs/json_c_version.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_c_version.lo -MD -MP -MF .deps/json_c_version.Tpo -c json_c_version.c -o json_c_version.o >/dev/null 2>&1
mv -f .deps/json_c_version.Tpo .deps/json_c_version.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c -o json_object.lo json_object.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c json_object.c -fno-common -DPIC -o .libs/json_object.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_object.lo -MD -MP -MF .deps/json_object.Tpo -c json_object.c -o json_object.o >/dev/null 2>&1
mv -f .deps/json_object.Tpo .deps/json_object.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_object_iterator.lo -MD -MP -MF .deps/json_object_iterator.Tpo -c -o json_object_iterator.lo json_object_iterator.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_object_iterator.lo -MD -MP -MF .deps/json_object_iterator.Tpo -c json_object_iterator.c -fno-common -DPIC -o .libs/json_object_iterator.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_object_iterator.lo -MD -MP -MF .deps/json_object_iterator.Tpo -c json_object_iterator.c -o json_object_iterator.o >/dev/null 2>&1
mv -f .deps/json_object_iterator.Tpo .deps/json_object_iterator.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c -o json_tokener.lo json_tokener.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c json_tokener.c -fno-common -DPIC -o .libs/json_tokener.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_tokener.lo -MD -MP -MF .deps/json_tokener.Tpo -c json_tokener.c -o json_tokener.o >/dev/null 2>&1
mv -f .deps/json_tokener.Tpo .deps/json_tokener.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_util.lo -MD -MP -MF .deps/json_util.Tpo -c -o json_util.lo json_util.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_util.lo -MD -MP -MF .deps/json_util.Tpo -c json_util.c -fno-common -DPIC -o .libs/json_util.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT json_util.lo -MD -MP -MF .deps/json_util.Tpo -c json_util.c -o json_util.o >/dev/null 2>&1
mv -f .deps/json_util.Tpo .deps/json_util.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT linkhash.lo -MD -MP -MF .deps/linkhash.Tpo -c -o linkhash.lo linkhash.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT linkhash.lo -MD -MP -MF .deps/linkhash.Tpo -c linkhash.c -fno-common -DPIC -o .libs/linkhash.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT linkhash.lo -MD -MP -MF .deps/linkhash.Tpo -c linkhash.c -o linkhash.o >/dev/null 2>&1
mv -f .deps/linkhash.Tpo .deps/linkhash.Plo
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c -o printbuf.lo printbuf.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c printbuf.c -fno-common -DPIC -o .libs/printbuf.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c printbuf.c -o printbuf.o >/dev/null 2>&1
mv -f .deps/printbuf.Tpo .deps/printbuf.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -version-info 2:1:0 -no-undefined -o libjson-c.la -rpath /Users/garrett/code/libu2f-host/tmp/root/lib arraylist.lo debug.lo json_c_version.lo json_object.lo json_object_iterator.lo json_tokener.lo json_util.lo linkhash.lo printbuf.lo
libtool: link: gcc -dynamiclib -o .libs/libjson-c.2.dylib .libs/arraylist.o .libs/debug.o .libs/json_c_version.o .libs/json_object.o .libs/json_object_iterator.o .libs/json_tokener.o .libs/json_util.o .libs/linkhash.o .libs/printbuf.o -mmacosx-version-min=10.6 -install_name /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.2.dylib -compatibility_version 3 -current_version 3.1 -Wl,-single_module
libtool: link: dsymutil .libs/libjson-c.2.dylib || :
warning: no debug symbols in executable (-arch x86_64)
libtool: link: (cd ".libs" && rm -f "libjson-c.dylib" && ln -s "libjson-c.2.dylib" "libjson-c.dylib")
libtool: link: ar cru .libs/libjson-c.a arraylist.o debug.o json_c_version.o json_object.o json_object_iterator.o json_tokener.o json_util.o linkhash.o printbuf.o
libtool: link: ranlib .libs/libjson-c.a
libtool: link: ( cd ".libs" && rm -f "libjson-c.la" && ln -s "../libjson-c.la" "libjson-c.la" )
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT libjson.lo -MD -MP -MF .deps/libjson.Tpo -c -o libjson.lo libjson.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT libjson.lo -MD -MP -MF .deps/libjson.Tpo -c libjson.c -fno-common -DPIC -o .libs/libjson.o
libtool: compile: gcc -DHAVE_CONFIG_H -I. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT libjson.lo -MD -MP -MF .deps/libjson.Tpo -c libjson.c -o libjson.o >/dev/null 2>&1
mv -f .deps/libjson.Tpo .deps/libjson.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -version-info 1:0:1 -no-undefined -ljson-c -o libjson.la -rpath /Users/garrett/code/libu2f-host/tmp/root/lib libjson.lo -ljson-c
libtool: link: gcc -dynamiclib -o .libs/libjson.0.dylib .libs/libjson.o /Users/garrett/code/libu2f-host/tmp/json-c-0.11/.libs/libjson-c.dylib -mmacosx-version-min=10.6 -install_name /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.0.dylib -compatibility_version 2 -current_version 2.0 -Wl,-single_module
libtool: link: dsymutil .libs/libjson.0.dylib || :
warning: no debug symbols in executable (-arch x86_64)
libtool: link: (cd ".libs" && rm -f "libjson.dylib" && ln -s "libjson.0.dylib" "libjson.dylib")
libtool: link: ar cru .libs/libjson.a libjson.o
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libjson.a(libjson.o) has no symbols
libtool: link: ranlib .libs/libjson.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: .libs/libjson.a(libjson.o) has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: .libs/libjson.a the table of contents is empty (no object file members in the library define global symbols)
libtool: link: ( cd ".libs" && rm -f "libjson.la" && ln -s "../libjson.la" "libjson.la" )
test -z "/Users/garrett/code/libu2f-host/tmp/root/lib" || /usr/local/bin/gmkdir -p "/Users/garrett/code/libu2f-host/tmp/root/lib"
/bin/sh ./libtool --mode=install /usr/local/bin/ginstall -c libjson-c.la libjson.la '/Users/garrett/code/libu2f-host/tmp/root/lib'
libtool: install: /usr/local/bin/ginstall -c .libs/libjson-c.2.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.2.dylib
libtool: install: (cd /Users/garrett/code/libu2f-host/tmp/root/lib && { ln -s -f libjson-c.2.dylib libjson-c.dylib || { rm -f libjson-c.dylib && ln -s libjson-c.2.dylib libjson-c.dylib; }; })
libtool: install: /usr/local/bin/ginstall -c .libs/libjson-c.lai /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.la
libtool: install: /usr/local/bin/ginstall -c .libs/libjson.0.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.0.dylib
libtool: install: (cd /Users/garrett/code/libu2f-host/tmp/root/lib && { ln -s -f libjson.0.dylib libjson.dylib || { rm -f libjson.dylib && ln -s libjson.0.dylib libjson.dylib; }; })
libtool: install: /usr/local/bin/ginstall -c .libs/libjson.lai /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.la
libtool: install: /usr/local/bin/ginstall -c .libs/libjson-c.a /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.a
libtool: install: chmod 644 /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.a
libtool: install: ranlib /Users/garrett/code/libu2f-host/tmp/root/lib/libjson-c.a
libtool: install: /usr/local/bin/ginstall -c .libs/libjson.a /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.a
libtool: install: chmod 644 /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.a
libtool: install: ranlib /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.a
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: file: /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.a(libjson.o) has no symbols
warning: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib: warning for library: /Users/garrett/code/libu2f-host/tmp/root/lib/libjson.a the table of contents is empty (no object file members in the library define global symbols)
----------------------------------------------------------------------
Libraries have been installed in:
/Users/garrett/code/libu2f-host/tmp/root/lib
If you ever happen to want to link against installed libraries
in a given directory, LIBDIR, you must either use libtool, and
specify the full pathname of the library, or use the `-LLIBDIR'
flag during linking and do at least one of the following:
- add LIBDIR to the `DYLD_LIBRARY_PATH' environment variable
during execution
See any operating system documentation about shared libraries for
more information, such as the ld(1) and ld.so(8) manual pages.
----------------------------------------------------------------------
test -z "/Users/garrett/code/libu2f-host/tmp/root/include/json-c" || /usr/local/bin/gmkdir -p "/Users/garrett/code/libu2f-host/tmp/root/include/json-c"
/usr/local/bin/ginstall -c -m 644 arraylist.h bits.h debug.h json.h json_config.h json_c_version.h json_inttypes.h json_object.h json_object_iterator.h json_object_private.h json_tokener.h json_util.h linkhash.h printbuf.h '/Users/garrett/code/libu2f-host/tmp/root/include/json-c'
test -z "/Users/garrett/code/libu2f-host/tmp/root/lib/pkgconfig" || /usr/local/bin/gmkdir -p "/Users/garrett/code/libu2f-host/tmp/root/lib/pkgconfig"
/usr/local/bin/ginstall -c -m 644 json-c.pc json.pc '/Users/garrett/code/libu2f-host/tmp/root/lib/pkgconfig'
/Applications/Xcode.app/Contents/Developer/usr/bin/make install-data-hook
test \! -e "/Users/garrett/code/libu2f-host/tmp/root/include/json" || rm "/Users/garrett/code/libu2f-host/tmp/root/include/json"
ln -s json-c "/Users/garrett/code/libu2f-host/tmp/root/include/json"
Making install in tests
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
Making check in .
Making check in tests
/Applications/Xcode.app/Contents/Developer/usr/bin/make test1 test1Formatted test2 test2Formatted test4 testReplaceExisting test_parse_int64 test_null test_cast test_parse test_locale test_printbuf test_set_serializer
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test1.o -MD -MP -MF .deps/test1.Tpo -c -o test1.o test1.c
mv -f .deps/test1.Tpo .deps/test1.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test1 test1.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test1 test1.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -DTEST_FORMATTED -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test1Formatted-test1.o -MD -MP -MF .deps/test1Formatted-test1.Tpo -c -o test1Formatted-test1.o `test -f 'test1.c' || echo './'`test1.c
mv -f .deps/test1Formatted-test1.Tpo .deps/test1Formatted-test1.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DTEST_FORMATTED -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test1Formatted-parse_flags.o -MD -MP -MF .deps/test1Formatted-parse_flags.Tpo -c -o test1Formatted-parse_flags.o `test -f 'parse_flags.c' || echo './'`parse_flags.c
mv -f .deps/test1Formatted-parse_flags.Tpo .deps/test1Formatted-parse_flags.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test1Formatted test1Formatted-test1.o test1Formatted-parse_flags.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test1Formatted test1Formatted-test1.o test1Formatted-parse_flags.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test2.o -MD -MP -MF .deps/test2.Tpo -c -o test2.o test2.c
mv -f .deps/test2.Tpo .deps/test2.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test2 test2.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test2 test2.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -DTEST_FORMATTED -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test2Formatted-test2.o -MD -MP -MF .deps/test2Formatted-test2.Tpo -c -o test2Formatted-test2.o `test -f 'test2.c' || echo './'`test2.c
mv -f .deps/test2Formatted-test2.Tpo .deps/test2Formatted-test2.Po
gcc -DHAVE_CONFIG_H -I. -I.. -DTEST_FORMATTED -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test2Formatted-parse_flags.o -MD -MP -MF .deps/test2Formatted-parse_flags.Tpo -c -o test2Formatted-parse_flags.o `test -f 'parse_flags.c' || echo './'`parse_flags.c
mv -f .deps/test2Formatted-parse_flags.Tpo .deps/test2Formatted-parse_flags.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test2Formatted test2Formatted-test2.o test2Formatted-parse_flags.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test2Formatted test2Formatted-test2.o test2Formatted-parse_flags.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test4.o -MD -MP -MF .deps/test4.Tpo -c -o test4.o test4.c
mv -f .deps/test4.Tpo .deps/test4.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test4 test4.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test4 test4.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT testReplaceExisting.o -MD -MP -MF .deps/testReplaceExisting.Tpo -c -o testReplaceExisting.o testReplaceExisting.c
mv -f .deps/testReplaceExisting.Tpo .deps/testReplaceExisting.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o testReplaceExisting testReplaceExisting.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/testReplaceExisting testReplaceExisting.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test_parse_int64.o -MD -MP -MF .deps/test_parse_int64.Tpo -c -o test_parse_int64.o test_parse_int64.c
mv -f .deps/test_parse_int64.Tpo .deps/test_parse_int64.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test_parse_int64 test_parse_int64.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test_parse_int64 test_parse_int64.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test_null.o -MD -MP -MF .deps/test_null.Tpo -c -o test_null.o test_null.c
mv -f .deps/test_null.Tpo .deps/test_null.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test_null test_null.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test_null test_null.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test_cast.o -MD -MP -MF .deps/test_cast.Tpo -c -o test_cast.o test_cast.c
mv -f .deps/test_cast.Tpo .deps/test_cast.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test_cast test_cast.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test_cast test_cast.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test_parse.o -MD -MP -MF .deps/test_parse.Tpo -c -o test_parse.o test_parse.c
mv -f .deps/test_parse.Tpo .deps/test_parse.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test_parse test_parse.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test_parse test_parse.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test_locale.o -MD -MP -MF .deps/test_locale.Tpo -c -o test_locale.o test_locale.c
mv -f .deps/test_locale.Tpo .deps/test_locale.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test_locale test_locale.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test_locale test_locale.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test_printbuf.o -MD -MP -MF .deps/test_printbuf.Tpo -c -o test_printbuf.o test_printbuf.c
mv -f .deps/test_printbuf.Tpo .deps/test_printbuf.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test_printbuf test_printbuf.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test_printbuf test_printbuf.o ../.libs/libjson-c.dylib
gcc -DHAVE_CONFIG_H -I. -I.. -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -MT test_set_serializer.o -MD -MP -MF .deps/test_set_serializer.Tpo -c -o test_set_serializer.o test_set_serializer.c
mv -f .deps/test_set_serializer.Tpo .deps/test_set_serializer.Po
/bin/sh ../libtool --tag=CC --mode=link gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o test_set_serializer test_set_serializer.o ../libjson-c.la
libtool: link: gcc -Wall -Werror -Wextra -Wwrite-strings -Wno-unused-parameter -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -mmacosx-version-min=10.6 -o .libs/test_set_serializer test_set_serializer.o ../.libs/libjson-c.dylib
/Applications/Xcode.app/Contents/Developer/usr/bin/make check-TESTS
PASS: test1.test
PASS: test2.test
PASS: test4.test
PASS: testReplaceExisting.test
PASS: parse_int64.test
PASS: test_null.test
PASS: test_cast.test
PASS: test_parse.test
PASS: test_locale.test
PASS: test_printbuf.test
PASS: test_set_serializer.test
===================
All 11 tests passed
===================
Cloning into 'hidapi'...
remote: Counting objects: 1969, done.
remote: Total 1969 (delta 0), reused 0 (delta 0), pack-reused 1968
Receiving objects: 100% (1969/1969), 2.81 MiB | 1.96 MiB/s, done.
Resolving deltas: 100% (1090/1090), done.
Checking connectivity... done.
Note: checking out '0cbc3a409bcb45cefb3edbf144d64ddd4e0821ce'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
git checkout -b <new-branch-name>
HEAD is now at 0cbc3a4... libusb: Adapt to FreeBSD 10
+ autoreconf --install --verbose --force
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal --force -I m4
autoreconf: configure.ac: tracing
autoreconf: running: glibtoolize --copy --force
glibtoolize: putting auxiliary files in '.'.
glibtoolize: copying file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: copying file 'm4/libtool.m4'
glibtoolize: copying file 'm4/ltoptions.m4'
glibtoolize: copying file 'm4/ltsugar.m4'
glibtoolize: copying file 'm4/ltversion.m4'
glibtoolize: copying file 'm4/lt~obsolete.m4'
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoconf --force
autoreconf: running: /usr/local/Cellar/autoconf/2.69/bin/autoheader --force
autoreconf: running: automake --add-missing --copy --force-missing
configure.ac:25: installing './ar-lib'
configure.ac:25: installing './compile'
configure.ac:26: installing './config.guess'
configure.ac:26: installing './config.sub'
configure.ac:22: installing './install-sh'
configure.ac:22: installing './missing'
hidtest/Makefile.am: installing './depcomp'
autoreconf: Leaving directory `.'
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for style of include used by make... GNU
checking for gcc... 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... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking for ar... ar
checking the archiver (ar) interface... ar
checking build system type... x86_64-apple-darwin14.5.0
checking host system type... x86_64-apple-darwin14.5.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
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... 196608
checking how to convert x86_64-apple-darwin14.5.0 file names to x86_64-apple-darwin14.5.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin14.5.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... no
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 archiver @FILE support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm output from gcc 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... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
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 gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.5.0 dyld
checking how to hardcode library paths into programs... immediate
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) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking whether gcc understands -c and -o together... (cached) yes
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for ld used by g++... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common -DPIC
checking if g++ PIC flag -fno-common -DPIC works... yes
checking if g++ static flag -static works... no
checking if g++ supports -c -o file.o... yes
checking if g++ supports -c -o file.o... (cached) yes
checking whether the g++ linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin14.5.0 dyld
checking how to hardcode library paths into programs... immediate
checking for gcc... gcc
checking whether we are using the GNU Objective C compiler... yes
checking whether gcc accepts -g... yes
checking dependency style of gcc... gcc3
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether make supports nested variables... (cached) yes
checking operating system... x86_64-apple-darwin14.5.0
(Mac OS X back-end)
checking whether pthreads work with -pthread... yes
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking if more special flags are required for pthreads... -D_THREAD_SAFE
checking for PTHREAD_PRIO_INHERIT... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating pc/hidapi.pc
config.status: creating Makefile
config.status: creating hidtest/Makefile
config.status: creating libusb/Makefile
config.status: creating linux/Makefile
config.status: creating mac/Makefile
config.status: creating testgui/Makefile
config.status: creating windows/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
Making install in mac
CC hid.lo
CCLD libhidapi.la
clang: warning: argument unused during compilation: '-pthread'
clang: warning: argument unused during compilation: '-pthread'
/usr/local/bin/gmkdir -p '/Users/garrett/code/libu2f-host/tmp/root/lib'
/bin/sh ../libtool --mode=install /usr/local/bin/ginstall -c libhidapi.la '/Users/garrett/code/libu2f-host/tmp/root/lib'
libtool: install: /usr/local/bin/ginstall -c .libs/libhidapi.0.dylib /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.0.dylib
libtool: install: (cd /Users/garrett/code/libu2f-host/tmp/root/lib && { ln -s -f libhidapi.0.dylib libhidapi.dylib || { rm -f libhidapi.dylib && ln -s libhidapi.0.dylib libhidapi.dylib; }; })
libtool: install: /usr/local/bin/ginstall -c .libs/libhidapi.lai /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.la
libtool: install: /usr/local/bin/ginstall -c .libs/libhidapi.a /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.a
libtool: install: chmod 644 /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.a
libtool: install: ranlib /Users/garrett/code/libu2f-host/tmp/root/lib/libhidapi.a
/usr/local/bin/gmkdir -p '/Users/garrett/code/libu2f-host/tmp/root/include/hidapi'
/usr/local/bin/ginstall -c -m 644 ../hidapi/hidapi.h '/Users/garrett/code/libu2f-host/tmp/root/include/hidapi'
Making install in hidtest
CXX hidtest.o
CXXLD hidtest
clang: warning: argument unused during compilation: '-pthread'
make[3]: Nothing to be done for `install-exec-am'.
make[3]: Nothing to be done for `install-data-am'.
make[3]: Nothing to be done for `install-exec-am'.
/usr/local/bin/gmkdir -p '/Users/garrett/code/libu2f-host/tmp/root/share/doc/hidapi'
/usr/local/bin/ginstall -c -m 644 README.txt AUTHORS.txt LICENSE-bsd.txt LICENSE-gpl3.txt LICENSE-orig.txt LICENSE.txt '/Users/garrett/code/libu2f-host/tmp/root/share/doc/hidapi'
/usr/local/bin/gmkdir -p '/Users/garrett/code/libu2f-host/tmp/root/lib/pkgconfig'
/usr/local/bin/ginstall -c -m 644 pc/hidapi.pc '/Users/garrett/code/libu2f-host/tmp/root/lib/pkgconfig'
Making check in mac
make[2]: Nothing to be done for `check'.
Making check in hidtest
make[2]: Nothing to be done for `check'.
make[2]: Nothing to be done for `check-am'.
cp: ../libu2f-host-0.0.tar.xz: No such file or directory
make: *** [doit] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment