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 <sheareral...@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-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/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/CAAWYfq1sn8KA2mrTieXPprAfaRmO7-eayWsxwOoo8xiQsme51A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to