Untested is broken:This is via the .app bundle, I think. What could have changed to make this not work?
is it notebook-specfic, or a not working OSX binary?
Yes, sage from sage-7.0-osx-10.11.2-x86_64.app.dmg as well as sage from the sage-7.0-osx-10.11.2-x86_64.dmg do not import "sage.all". They return an import error on cliquer.so even though the library exists.
I've deleted the Sage-7.0 OSX binaries
****************************************************
dyld: lazy symbol binding failed: Symbol not found: _openat
Referenced from: /Applications/Sage/sage-7.0/local/bin/patch
Expected in: /usr/lib/libSystem.B.dylib
dyld: Symbol not found: _openat
Referenced from: /Applications/Sage/sage-7.0/local/bin/patch
Expected in: /usr/lib/libSystem.B.dylib
./spkg-install: line 13: 87768 Trace/BPT trap: 5 patch -p1 < "$patch"
Error applying '../patches/mpc_mul_faster.patch'
/usr/bin/clang++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -I. -I../../src/gcc -I../../src/gcc/. -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Applications/Sage/sage-7.0/local/include -I/Applications/Sage/sage-7.0/local/include -I/Applications/Sage/sage-7.0/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o darwin-driver.o -MT darwin-driver.o -MMD -MP -MF ./.deps/darwin-driver.TPo ../../src/gcc/config/darwin-driver.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
/usr/bin/clang++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Applications/Sage/sage-7.0/local/lib -Wl,-rpath,/Applications/Sage/sage-7.0/local/lib -o xgcc gcc.o ggc-none.o \
c/gccspec.o driver-i386.o darwin-driver.o libcommon-target.a \
libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
/usr/bin/clang++ -c -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -I. -Ic-family -I../../src/gcc -I../../src/gcc/c-family -I../../src/gcc/../include -I../../src/gcc/../libcpp/include -I/Applications/Sage/sage-7.0/local/include -I/Applications/Sage/sage-7.0/local/include -I/Applications/Sage/sage-7.0/local/include -I../../src/gcc/../libdecnumber -I../../src/gcc/../libdecnumber/dpd -I../libdecnumber -I../../src/gcc/../libbacktrace -o c-family/cppspec.o -MT c-family/cppspec.o -MMD -MP -MF c-family/.deps/cppspec.TPo ../../src/gcc/c-family/cppspec.c
clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated
/usr/bin/clang++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -Wl,-no_pie -L/Applications/Sage/sage-7.0/local/lib -Wl,-rpath,/Applications/Sage/sage-7.0/local/lib -o cpp gcc.o ggc-none.o \
c-family/cppspec.o driver-i386.o darwin-driver.o libcommon-target.a \
libcommon.a ../libcpp/libcpp.a -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/xgcc -B/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/ -dumpspecs > tmp-specs
mv tmp-specs specs
: > tmp-libgcc.mvars
echo GCC_CFLAGS = '-g -O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include ' >> tmp-libgcc.mvars
echo INHIBIT_LIBC_CFLAGS = '' >> tmp-libgcc.mvars
echo TARGET_SYSTEM_ROOT = '' >> tmp-libgcc.mvars
mv tmp-libgcc.mvars libgcc.mvars
echo | /Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/xgcc -B/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/ -E -dM - | \
sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
-e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
sort -u > tmp-macro_list
/bin/sh ../../src/gcc/../move-if-change tmp-macro_list macro_list
echo timestamp > s-macro_list
if /Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/xgcc -B/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/ -print-sysroot-headers-suffix > /dev/null 2>&1; then \
set -e; for ml in `/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/xgcc -B/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/ -print-multi-lib`; do \
multi_dir=`echo ${ml} | sed -e 's/;.*$//'`; \
flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
sfx=`/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/xgcc -B/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1/gcc-build/./gcc/ ${flags} -print-sysroot-headers-suffix`; \
if [ "${multi_dir}" = "." ]; \
then multi_dir=""; \
else \
multi_dir=/${multi_dir}; \
fi; \
echo "${sfx};${multi_dir}"; \
done; \
else \
echo ";"; \
fi > tmp-fixinc_list
/bin/sh ../../src/gcc/../move-if-change tmp-fixinc_list fixinc_list
echo timestamp > s-fixinc_list
rm -rf include-fixed; mkdir include-fixed
chmod a+rx include-fixed
if [ -d ../prev-gcc ]; then \
cd ../prev-gcc && \
make real-install-headers-tar DESTDIR=`pwd`/../gcc/ \
libsubdir=. ; \
else \
set -e; for ml in `cat fixinc_list`; do \
sysroot_headers_suffix=`echo ${ml} | sed -e 's/;.*$//'`; \
multi_dir=`echo ${ml} | sed -e 's/^[^;]*;//'`; \
fix_dir=include-fixed${multi_dir}; \
if ! false && test ! -d `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`; then \
echo The directory that should contain system headers does not exist: >&2 ; \
echo " `echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" >&2 ; \
tooldir_sysinc=`echo "/Applications/Sage/sage-7.0/local/lib/gcc/x86_64-apple-darwin15.3.0/4.9.3/../../../../x86_64-apple-darwin15.3.0/sys-include" | sed -e :a -e "s,[^/]*/\.\.\/,," -e ta`; \
if test "x`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta`" = "x${tooldir_sysinc}"; \
then sleep 1; else exit 1; fi; \
fi; \
/bin/sh ../../src/gcc/../mkinstalldirs ${fix_dir}; \
chmod a+rx ${fix_dir} || true; \
(TARGET_MACHINE='x86_64-apple-darwin15.3.0'; srcdir=`cd ../../src/gcc; ${PWDCMD-pwd}`; \
SHELL='/bin/sh'; MACRO_LIST=`${PWDCMD-pwd}`/macro_list ; \
gcc_dir=`${PWDCMD-pwd}` ; \
export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
cd ../build-x86_64-apple-darwin15.3.0/fixincludes && \
/bin/sh ./fixinc.sh "${gcc_dir}/${fix_dir}" \
`echo /usr/include | sed -e :a -e 's,[^/]*/\.\.\/,,' -e ta` ); \
rm -f ${fix_dir}/syslimits.h; \
if [ -f ${fix_dir}/limits.h ]; then \
mv ${fix_dir}/limits.h ${fix_dir}/syslimits.h; \
else \
cp ../../src/gcc/gsyslimits.h ${fix_dir}/syslimits.h; \
fi; \
chmod a+r ${fix_dir}/syslimits.h; \
done; \
fi
The directory that should contain system headers does not exist:
/usr/include
make[6]: *** [stmp-fixinc] Error 1
make[5]: *** [all-stage1-gcc] Error 2
make[4]: *** [stage1-bubble] Error 2
make[3]: *** [all] Error 2
real 6m28.766s
user 4m59.615s
sys 1m11.163s
************************************************************************
Error installing package gcc-4.9.3.p1
************************************************************************
Please email sage-devel (http://groups.google.com/group/sage-devel)
explaining the problem and including the relevant part of the log file
/Applications/Sage/sage-7.0/logs/pkgs/gcc-4.9.3.p1.log
Describe your computer, operating system, etc.
If you want to try to fix the problem yourself, *don't* just cd to
/Applications/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1 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/Sage/sage-7.0/local/var/tmp/sage/build/gcc-4.9.3.p1' && '/Applications/Sage/sage-7.0/sage' --sh)
When you are done debugging, you can type "exit" to leave the subshell.