You are building in /Library - an unusual location. Perhaps you're gotten into trouble with SIP.
Could you instead try in your home directory, or somewhere in /usr/local ? On Sun, Jun 16, 2019 at 4:30 PM Alex S <sheareral...@gmail.com> wrote: > > No unusual settings I'm aware of. Here is the new log file after running that > command. Thank you. > > On Sunday, June 16, 2019 at 4:46:43 AM UTC-4, Dima Pasechnik wrote: >> >> perhaps there is a race condition in the build? >> Can you remove the log you have on python2 (rm logs/pkgs/python2*) and >> try running >> >> MAKE="make -j1" ./sage -i python2 >> >> And post the log you will get, if it still fails. >> >> >> >> On Sun, Jun 16, 2019 at 8:58 AM Dima Pasechnik <dim...@gmail.com> wrote: >> > >> > I don't think I even saw this - the Python build complains it cannot >> > find _struct.c, _ctypes/_ctypes_test.c >> > (and in fact most source files for modules) >> > >> > Do you have some unusual settins for the file system you are using for >> > the build? >> > A non-standard tar program? >> > >> > >> > .... >> > clang -L. -L/Library/SageDev/local/lib >> > -Wl,-rpath,/Library/SageDev/local/lib -o python.exe \ >> > Modules/python.o \ >> > -L. -lpython2.7 -ldl -framework CoreFoundation >> > DYLD_LIBRARY_PATH=/Library/SageDev/local/var/tmp/sage/build/python2-2.7.15.p1/src >> > ./python.exe -E -S -m sysconfig --generate-posix-vars ;\ >> > if test $? -ne 0 ; then \ >> > echo "generate-posix-vars failed" ; \ >> > rm -f ./pybuilddir.txt ; \ >> > exit 1 ; \ >> > fi >> > running build >> > running build_ext >> > building dbm using ndbm >> > building '_struct' extension >> > clang -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall >> > -Wno-unused -I/Library/SageDev/local/include -I. -IInclude -I./Include >> > -I/usr/local/include >> > -I/Library/SageDev/local/var/tmp/sage/build/python2-2.7.15.p1/src/Include >> > -I/Library/SageDev/local/var/tmp/sage/build/python2-2.7.15.p1/src -c >> > _struct.c -o build/temp.macosx-10.9-x86_64-2.7/_struct.o >> > clang: error: no such file or directory: '_struct.c' >> > clang: error: no input files >> > building '_ctypes_test' extension >> > creating build/temp.macosx-10.9-x86_64-2.7/_ctypes >> > clang -fno-strict-aliasing -g -O2 -DNDEBUG -g -fwrapv -O3 -Wall >> > -Wno-unused -I/Library/SageDev/local/include -I. -IInclude -I./Include >> > -I/usr/local/include >> > -I/Library/SageDev/local/var/tmp/sage/build/python2-2.7.15.p1/src/Include >> > -I/Library/SageDev/local/var/tmp/sage/build/python2-2.7.15.p1/src -c >> > _ctypes/_ctypes_test.c -o >> > build/temp.macosx-10.9-x86_64-2.7/_ctypes/_ctypes_test.o >> > clang: error: no such file or directory: '_ctypes/_ctypes_test.c' >> > clang: error: no input files >> > ... >> > >> > On Sun, Jun 16, 2019 at 7:00 AM Alex S <sheare...@gmail.com> wrote: >> > > >> > > Hello, >> > > >> > > I am trying to build sage on my mac os 10.14.5, and am unable to build >> > > the python2 and python3 packages. Running 'make' gives: >> > > >> > > *************************************************************** >> > > >> > > Error building Sage. >> > > >> > > >> > > The following package(s) may have failed to build (not necessarily >> > > >> > > during this run of 'make all-start'): >> > > >> > > >> > > * package: python2-2.7.15.p1 >> > > >> > > log file: /Library/SageDev/logs/pkgs/python2-2.7.15.p1.log >> > > >> > > build directory: >> > > /Library/SageDev/local/var/tmp/sage/build/python2-2.7.15.p1 >> > > >> > > >> > > * package: python3-3.7.3.p1 >> > > >> > > log file: /Library/SageDev/logs/pkgs/python3-3.7.3.p1.log >> > > >> > > build directory: >> > > /Library/SageDev/local/var/tmp/sage/build/python3-3.7.3.p1 >> > > >> > > >> > > The build directory may contain configuration files and other potentially >> > > >> > > helpful information. WARNING: if you now run 'make' again, the build >> > > >> > > directory will, by default, be deleted. Set the environment variable >> > > >> > > SAGE_KEEP_BUILT_SPKGS to 'yes' to prevent this. >> > > >> > > >> > > make[1]: *** [all-start] Error 1 >> > > >> > > make: *** [all] Error 2 >> > > >> > > >> > > Thank you much, >> > > >> > > Alex >> > > >> > > -- >> > > You received this message because you are subscribed to the Google >> > > Groups "sage-devel" group. >> > > To unsubscribe from this group and stop receiving emails from it, send >> > > an email to sage-...@googlegroups.com. >> > > To post to this group, send email to sage-...@googlegroups.com. >> > > Visit this group at https://groups.google.com/group/sage-devel. >> > > To view this discussion on the web visit >> > > https://groups.google.com/d/msgid/sage-devel/305e17da-b57d-4d86-bb5d-9690b86b6b6c%40googlegroups.com. >> > > For more options, visit https://groups.google.com/d/optout. > > -- > You received this message because you are subscribed to the Google Groups > "sage-devel" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sage-devel+unsubscr...@googlegroups.com. > To post to this group, send email to sage-devel@googlegroups.com. > Visit this group at https://groups.google.com/group/sage-devel. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sage-devel/e3afa88e-5d62-49ca-adc3-cef8e15cf252%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at https://groups.google.com/group/sage-devel. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/CAAWYfq0cPjsqPiqpMuv3bZgbrYyj5sw4zoovR-qRaMTyL9VTCQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.