Found local metadata for libhomfly-1.0r2 Attempting to download package libhomfly-1.0r2.tar.gz from mirrors http://files.sagemath.org/spkg/upstream/libhomfly/libhomfly-1.0r2.tar.gz [......................................................................] libhomfly-1.0r2 ==================================================== Setting up build directory for libhomfly-1.0r2 Finished extraction No patch files found in ../patches **************************************************** Host system: Darwin Jesses-MacBook-Pro.local 16.7.0 Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 x86_64 **************************************************** C compiler: gcc C compiler version: Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/Applications/SageMath-8.0.app/Contents/Resources/sage/local/libexec/gcc/x86_64-apple-darwin15.6.0/5.4.0/lto-wrapper Target: x86_64-apple-darwin15.6.0 Configured with: ../src/configure --prefix=/Applications/SageMath-8.0.app/Contents/Resources/sage/local --with-local-prefix=/Applications/SageMath-8.0.app/Contents/Resources/sage/local --with-gmp=/Applications/SageMath-8.0.app/Contents/Resources/sage/local --with-mpfr=/Applications/SageMath-8.0.app/Contents/Resources/sage/local --with-mpc=/Applications/SageMath-8.0.app/Contents/Resources/sage/local --with-system-zlib --disable-multilib --disable-nls --enable-languages=c,c++,fortran --disable-libitm --with-build-config=bootstrap-debug --without-isl --without-cloog Thread model: posix gcc version 5.4.0 (GCC) **************************************************** checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d 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 the archiver (ar) interface... ar 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 build system type... x86_64-apple-darwin16.7.0 checking host system type... x86_64-apple-darwin16.7.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... ld checking if the linker (ld) is GNU ld... no checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) 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-darwin16.7.0 file names to x86_64-apple-darwin16.7.0 format... func_convert_file_noop checking how to convert x86_64-apple-darwin16.7.0 file names to toolchain format... func_convert_file_noop checking for 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 archiver @FILE support... no checking for strip... strip checking for ranlib... ranlib checking command to parse /usr/bin/nm -B 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... 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 gcc supports -fno-rtti -fno-exceptions... no 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 (ld) supports shared libraries... yes checking dynamic linker characteristics... darwin16.7.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 that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating lib/Makefile config.status: creating test/Makefile config.status: executing depfiles commands config.status: executing libtool commands Making all in lib /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT bound.lo -MD -MP -MF .deps/bound.Tpo -c -o bound.lo bound.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT bound.lo -MD -MP -MF .deps/bound.Tpo -c bound.c -fno-common -DPIC -o .libs/bound.o libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT bound.lo -MD -MP -MF .deps/bound.Tpo -c bound.c -o bound.o >/dev/null 2>&1 mv -f .deps/bound.Tpo .deps/bound.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT control.lo -MD -MP -MF .deps/control.Tpo -c -o control.lo control.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT control.lo -MD -MP -MF .deps/control.Tpo -c control.c -fno-common -DPIC -o .libs/control.o libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT control.lo -MD -MP -MF .deps/control.Tpo -c control.c -o control.o >/dev/null 2>&1 mv -f .deps/control.Tpo .deps/control.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT dllink.lo -MD -MP -MF .deps/dllink.Tpo -c -o dllink.lo dllink.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT dllink.lo -MD -MP -MF .deps/dllink.Tpo -c dllink.c -fno-common -DPIC -o .libs/dllink.o libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT dllink.lo -MD -MP -MF .deps/dllink.Tpo -c dllink.c -o dllink.o >/dev/null 2>&1 mv -f .deps/dllink.Tpo .deps/dllink.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT homfly.lo -MD -MP -MF .deps/homfly.Tpo -c -o homfly.lo homfly.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT homfly.lo -MD -MP -MF .deps/homfly.Tpo -c homfly.c -fno-common -DPIC -o .libs/homfly.o libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT homfly.lo -MD -MP -MF .deps/homfly.Tpo -c homfly.c -o homfly.o >/dev/null 2>&1 mv -f .deps/homfly.Tpo .deps/homfly.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT knot.lo -MD -MP -MF .deps/knot.Tpo -c -o knot.lo knot.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT knot.lo -MD -MP -MF .deps/knot.Tpo -c knot.c -fno-common -DPIC -o .libs/knot.o knot.c: In function 'k_read': knot.c:90:7: warning: implicit declaration of function 'fmemopen' [-Wimplicit-function-declaration] f = fmemopen(filename, strlen(filename), "r"); ^ knot.c:90:5: warning: assignment makes pointer from integer without a cast [-Wint-conversion] f = fmemopen(filename, strlen(filename), "r"); ^ libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT knot.lo -MD -MP -MF .deps/knot.Tpo -c knot.c -o knot.o >/dev/null 2>&1 mv -f .deps/knot.Tpo .deps/knot.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT model.lo -MD -MP -MF .deps/model.Tpo -c -o model.lo model.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT model.lo -MD -MP -MF .deps/model.Tpo -c model.c -fno-common -DPIC -o .libs/model.o libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT model.lo -MD -MP -MF .deps/model.Tpo -c model.c -o model.o >/dev/null 2>&1 mv -f .deps/model.Tpo .deps/model.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT order.lo -MD -MP -MF .deps/order.Tpo -c -o order.lo order.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT order.lo -MD -MP -MF .deps/order.Tpo -c order.c -fno-common -DPIC -o .libs/order.o order.c: In function 'o_make': order.c:269:12: warning: passing argument 1 of 'o_order2' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_order2(k, order2, order1, num_crossings); ^ order.c:28:13: note: expected 'crossing * {aka struct crossing *}' but argument is of type 'const crossing * {aka const struct crossing *}' static void o_order2( ^ order.c:270:12: warning: passing argument 1 of 'o_order1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_order1(k, order1, order2, num_crossings); ^ order.c:72:13: note: expected 'crossing * {aka struct crossing *}' but argument is of type 'const crossing * {aka const struct crossing *}' static void o_order1(crossing *k, ^ order.c:271:12: warning: passing argument 1 of 'o_order1' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_order1(k, order2, order1, num_crossings); ^ order.c:72:13: note: expected 'crossing * {aka struct crossing *}' but argument is of type 'const crossing * {aka const struct crossing *}' static void o_order1(crossing *k, ^ order.c:279:40: warning: passing argument 4 of 'o_one_make' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] o_one_make(&n, boundary, going_in, k, order1[i], (l+i)); ^ order.c:229:13: note: expected 'crossing * {aka struct crossing *}' but argument is of type 'const crossing * {aka const struct crossing *}' static void o_one_make(word *n, ^ libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT order.lo -MD -MP -MF .deps/order.Tpo -c order.c -o order.o >/dev/null 2>&1 mv -f .deps/order.Tpo .deps/order.Plo /bin/sh ../libtool --tag=CC --mode=compile gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" -DPACKAGE_STRING=\"libhomfly\ 1.0r2\" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT poly.lo -MD -MP -MF .deps/poly.Tpo -c -o poly.lo poly.c libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT poly.lo -MD -MP -MF .deps/poly.Tpo -c poly.c -fno-common -DPIC -o .libs/poly.o poly.c: In function 'p_show': poly.c:74:12: warning: implicit declaration of function 'open_memstream' [-Wimplicit-function-declaration] stream = open_memstream(&bp, &size); ^ poly.c:74:10: warning: assignment makes pointer from integer without a cast [-Wint-conversion] stream = open_memstream(&bp, &size); ^ poly.c:79:5: warning: 'return' with no value, in function returning non-void return; ^ libtool: compile: gcc -DPACKAGE_NAME=\"libhomfly\" -DPACKAGE_TARNAME=\"libhomfly\" -DPACKAGE_VERSION=\"1.0r2\" "-DPACKAGE_STRING=\"libhomfly 1.0r2\"" -DPACKAGE_BUGREPORT=\"mmarco@unizar.es\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libhomfly\" -DVERSION=\"1.0r2\" -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/\" -I. -g -O2 -MT poly.lo -MD -MP -MF .deps/poly.Tpo -c poly.c -o poly.o >/dev/null 2>&1 mv -f .deps/poly.Tpo .deps/poly.Plo /bin/sh ../libtool --tag=CC --mode=link gcc -g -O2 -lgc -export-symbols-regex '(c_)?homfly' -L/Applications/SageMath-8.0.app/Contents/Resources/sage/local/lib -Wl,-rpath,/Applications/SageMath-8.0.app/Contents/Resources/sage/local/lib -o libhomfly.la -rpath /Applications/SageMath-8.0.app/Contents/Resources/sage/local/lib bound.lo control.lo dllink.lo homfly.lo knot.lo model.lo order.lo poly.lo libtool: link: /usr/bin/nm -B .libs/bound.o .libs/control.o .libs/dllink.o .libs/homfly.o .libs/knot.o .libs/model.o .libs/order.o .libs/poly.o | sed -n -e 's/^.*[ ]\([BCDEGRST][BCDEGRST]*\)[ ][ ]*_\([_A-Za-z][_A-Za-z0-9]*\)$/\1 _\2 \2/p' | sed '/ __gnu_lto/d' | /usr/bin/sed 's/.* //' | sort | uniq > .libs/libhomfly.exp libtool: link: /usr/bin/grep -E -e "(c_)?homfly" ".libs/libhomfly.exp" > ".libs/libhomfly.expT" libtool: link: mv ".libs/libhomfly.expT" ".libs/libhomfly.exp" libtool: link: sed 's|^|_|' < .libs/libhomfly.exp > .libs/libhomfly-symbols.expsym libtool: link: gcc -dynamiclib -Wl,-undefined -Wl,dynamic_lookup -o .libs/libhomfly.0.dylib .libs/bound.o .libs/control.o .libs/dllink.o .libs/homfly.o .libs/knot.o .libs/model.o .libs/order.o .libs/poly.o -lgc -L/Applications/SageMath-8.0.app/Contents/Resources/sage/local/lib -g -O2 -Wl,-rpath -Wl,/Applications/SageMath-8.0.app/Contents/Resources/sage/local/lib -install_name /Applications/SageMath-8.0.app/Contents/Resources/sage/local/lib/libhomfly.0.dylib -compatibility_version 1 -current_version 1.0 -Wl,-single_module -Wl,-exported_symbols_list,.libs/libhomfly-symbols.expsym duplicate symbol _first in: .libs/bound.o .libs/control.o duplicate symbol _list in: .libs/bound.o .libs/control.o duplicate symbol _right in: .libs/bound.o .libs/control.o duplicate symbol _llminus in: .libs/bound.o .libs/control.o duplicate symbol _llplus in: .libs/bound.o .libs/control.o duplicate symbol _newcross in: .libs/bound.o .libs/control.o duplicate symbol _oldcross in: .libs/bound.o .libs/control.o duplicate symbol _map in: .libs/bound.o .libs/control.o duplicate symbol _newin in: .libs/bound.o .libs/control.o duplicate symbol _oldin in: .libs/bound.o .libs/control.o duplicate symbol _old_going_in in: .libs/bound.o .libs/control.o duplicate symbol _going_in in: .libs/bound.o .libs/control.o duplicate symbol _plan in: .libs/bound.o .libs/control.o duplicate symbol _lminusm in: .libs/bound.o .libs/control.o duplicate symbol _lplusm in: .libs/bound.o .libs/control.o duplicate symbol _mll in: .libs/bound.o .libs/control.o duplicate symbol _second in: .libs/bound.o .libs/control.o duplicate symbol _total_weaves_handled in: .libs/bound.o .libs/control.o duplicate symbol _list2 in: .libs/bound.o .libs/control.o duplicate symbol _first in: .libs/bound.o .libs/homfly.o duplicate symbol _list in: .libs/bound.o .libs/homfly.o duplicate symbol _right in: .libs/bound.o .libs/homfly.o duplicate symbol _llminus in: .libs/bound.o .libs/homfly.o duplicate symbol _llplus in: .libs/bound.o .libs/homfly.o duplicate symbol _newcross in: .libs/bound.o .libs/homfly.o duplicate symbol _oldcross in: .libs/bound.o .libs/homfly.o duplicate symbol _map in: .libs/bound.o .libs/homfly.o duplicate symbol _newin in: .libs/bound.o .libs/homfly.o duplicate symbol _oldin in: .libs/bound.o .libs/homfly.o duplicate symbol _old_going_in in: .libs/bound.o .libs/homfly.o duplicate symbol _going_in in: .libs/bound.o .libs/homfly.o duplicate symbol _plan in: .libs/bound.o .libs/homfly.o duplicate symbol _lminusm in: .libs/bound.o .libs/homfly.o duplicate symbol _lplusm in: .libs/bound.o .libs/homfly.o duplicate symbol _mll in: .libs/bound.o .libs/homfly.o duplicate symbol _second in: .libs/bound.o .libs/homfly.o duplicate symbol _total_weaves_handled in: .libs/bound.o .libs/homfly.o duplicate symbol _list2 in: .libs/bound.o .libs/homfly.o duplicate symbol _first in: .libs/bound.o .libs/model.o duplicate symbol _list in: .libs/bound.o .libs/model.o duplicate symbol _right in: .libs/bound.o .libs/model.o duplicate symbol _llminus in: .libs/bound.o .libs/model.o duplicate symbol _llplus in: .libs/bound.o .libs/model.o duplicate symbol _newcross in: .libs/bound.o .libs/model.o duplicate symbol _oldcross in: .libs/bound.o .libs/model.o duplicate symbol _map in: .libs/bound.o .libs/model.o duplicate symbol _newin in: .libs/bound.o .libs/model.o duplicate symbol _oldin in: .libs/bound.o .libs/model.o duplicate symbol _old_going_in in: .libs/bound.o .libs/model.o duplicate symbol _going_in in: .libs/bound.o .libs/model.o duplicate symbol _plan in: .libs/bound.o .libs/model.o duplicate symbol _lminusm in: .libs/bound.o .libs/model.o duplicate symbol _lplusm in: .libs/bound.o .libs/model.o duplicate symbol _mll in: .libs/bound.o .libs/model.o duplicate symbol _second in: .libs/bound.o .libs/model.o duplicate symbol _total_weaves_handled in: .libs/bound.o .libs/model.o duplicate symbol _list2 in: .libs/bound.o .libs/model.o duplicate symbol _first in: .libs/bound.o .libs/order.o duplicate symbol _list in: .libs/bound.o .libs/order.o duplicate symbol _right in: .libs/bound.o .libs/order.o duplicate symbol _newcross in: .libs/bound.o .libs/order.o duplicate symbol _oldcross in: .libs/bound.o .libs/order.o duplicate symbol _map in: .libs/bound.o .libs/order.o duplicate symbol _newin in: .libs/bound.o .libs/order.o duplicate symbol _oldin in: .libs/bound.o .libs/order.o duplicate symbol _old_going_in in: .libs/bound.o .libs/order.o duplicate symbol _going_in in: .libs/bound.o .libs/order.o duplicate symbol _second in: .libs/bound.o .libs/order.o duplicate symbol _list2 in: .libs/bound.o .libs/order.o ld: 69 duplicate symbols for architecture x86_64 collect2: error: ld returned 1 exit status make[3]: *** [libhomfly.la] Error 1 make[2]: *** [all-recursive] Error 1 Error building libhomfly. real 0m16.451s user 0m8.062s sys 0m6.714s ************************************************************************ Error installing package libhomfly-1.0r2 ************************************************************************ Please email sage-devel (http://groups.google.com/group/sage-devel) explaining the problem and including the log file /Applications/SageMath-8.0.app/Contents/Resources/sage/logs/pkgs/libhomfly-1.0r2.log Describe your computer, operating system, etc. If you want to try to fix the problem yourself, *don't* just cd to /Applications/SageMath-8.0.app/Contents/Resources/sage/local/var/tmp/sage/build/libhomfly-1.0r2 and type 'make' or whatever is appropriate. Instead, the following commands setup all environment variables correctly and load a subshell for you to debug the error: (cd '/Applications/SageMath-8.0.app/Contents/Resources/sage/local/var/tmp/sage/build/libhomfly-1.0r2' && '/Applications/SageMath-8.0.app/Contents/Resources/sage/sage' --sh) When you are done debugging, you can type "exit" to leave the subshell. ************************************************************************