Hi, I am failing to build from scratch Sage 9.2 beta11 since beta10 or perhaps even earlier beta. My system is macOS 10.15.6 with Xcode 11.7. The log follows: ............... ............... [gf2x-1.3.0] /Users/kwankyu/GitHub/sage/build/bin/sage-spkg: line 73: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory [gf2x-1.3.0] Found local metadata for gf2x-1.3.0 [gf2x-1.3.0] Using cached file /Users/kwankyu/GitHub/sage/upstream/gf2x-1.3.0.tar.gz [gf2x-1.3.0] gf2x-1.3.0 [gf2x-1.3.0] ==================================================== [gf2x-1.3.0] Setting up build directory for gf2x-1.3.0 [gf2x-1.3.0] Finished extraction [gf2x-1.3.0] bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory [gf2x-1.3.0] Applying patches from ../patches... [gf2x-1.3.0] Applying ../patches/0001-src-tunetoom.c-delete-duplicate-definition-of-rp.patch [gf2x-1.3.0] patching file src/tunetoom.c [gf2x-1.3.0] **************************************************** [gf2x-1.3.0] Host system: [gf2x-1.3.0] Darwin Hera.local 19.6.0 Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64 x86_64 [gf2x-1.3.0] **************************************************** [gf2x-1.3.0] C compiler: gcc [gf2x-1.3.0] C compiler version: [gf2x-1.3.0] Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1 [gf2x-1.3.0] Apple clang version 12.0.0 (clang-1200.0.31.1) [gf2x-1.3.0] Target: x86_64-apple-darwin19.6.0 [gf2x-1.3.0] Thread model: posix [gf2x-1.3.0] InstalledDir: /Library/Developer/CommandLineTools/usr/bin [gf2x-1.3.0] **************************************************** [gf2x-1.3.0] Package 'gf2x' is currently not installed [gf2x-1.3.0] No legacy uninstaller found for 'gf2x'; nothing to do [gf2x-1.3.0] bash: warning: setlocale: LC_ALL: cannot change locale (C.UTF-8): No such file or directory [gf2x-1.3.0] Deleting old gf2x files. [gf2x-1.3.0] Configuring gf2x-1.3.0 [gf2x-1.3.0] checking build system type... x86_64-apple-darwin19.6.0 [gf2x-1.3.0] checking host system type... x86_64-apple-darwin19.6.0 [gf2x-1.3.0] checking target system type... x86_64-apple-darwin19.6.0 [gf2x-1.3.0] checking for gcc... gcc [gf2x-1.3.0] checking whether the C compiler works... yes [gf2x-1.3.0] checking for C compiler default output file name... a.out [gf2x-1.3.0] checking for suffix of executables... [gf2x-1.3.0] checking whether we are cross compiling... no [gf2x-1.3.0] checking for suffix of object files... o [gf2x-1.3.0] checking whether we are using the GNU C compiler... yes [gf2x-1.3.0] checking whether gcc accepts -g... yes [gf2x-1.3.0] checking for gcc option to accept ISO C89... none needed [gf2x-1.3.0] checking whether gcc understands -c and -o together... rm: conftest.dSYM: is a directory [gf2x-1.3.0] yes [gf2x-1.3.0] checking how to run the C preprocessor... gcc -E [gf2x-1.3.0] checking for grep that handles long lines and -e... /usr/bin/grep [gf2x-1.3.0] checking for egrep... /usr/bin/grep -E [gf2x-1.3.0] checking for ANSI C header files... rm: conftest.dSYM: is a directory [gf2x-1.3.0] rm: conftest.dSYM: is a directory [gf2x-1.3.0] yes [gf2x-1.3.0] checking for sys/types.h... yes [gf2x-1.3.0] checking for sys/stat.h... yes [gf2x-1.3.0] checking for stdlib.h... yes [gf2x-1.3.0] checking for string.h... yes [gf2x-1.3.0] checking for memory.h... yes [gf2x-1.3.0] checking for strings.h... yes [gf2x-1.3.0] checking for inttypes.h... yes [gf2x-1.3.0] checking for stdint.h... yes [gf2x-1.3.0] checking for unistd.h... yes [gf2x-1.3.0] checking for size_t... yes [gf2x-1.3.0] checking for working alloca.h... yes [gf2x-1.3.0] checking for alloca... yes [gf2x-1.3.0] checking for a BSD-compatible install... /usr/bin/install -c [gf2x-1.3.0] checking whether build environment is sane... yes [gf2x-1.3.0] checking for a thread-safe mkdir -p... config/install-sh -c -d [gf2x-1.3.0] checking for gawk... no [gf2x-1.3.0] checking for mawk... no [gf2x-1.3.0] checking for nawk... no [gf2x-1.3.0] checking for awk... awk [gf2x-1.3.0] checking whether make sets $(MAKE)... yes [gf2x-1.3.0] checking whether make supports the include directive... yes (GNU style) [gf2x-1.3.0] checking whether make supports nested variables... yes [gf2x-1.3.0] checking dependency style of gcc... none [gf2x-1.3.0] checking whether to enable maintainer-specific portions of Makefiles... no [gf2x-1.3.0] checking how to print strings... printf [gf2x-1.3.0] checking for a sed that does not truncate output... /usr/bin/sed [gf2x-1.3.0] checking for fgrep... /usr/bin/grep -F [gf2x-1.3.0] checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld [gf2x-1.3.0] checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no [gf2x-1.3.0] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B [gf2x-1.3.0] checking the name lister (/usr/bin/nm -B) interface... BSD nm [gf2x-1.3.0] checking whether ln -s works... yes [gf2x-1.3.0] checking the maximum length of command line arguments... 196608 [gf2x-1.3.0] checking how to convert x86_64-apple-darwin19.6.0 file names to x86_64-apple-darwin19.6.0 format... func_convert_file_noop [gf2x-1.3.0] checking how to convert x86_64-apple-darwin19.6.0 file names to toolchain format... func_convert_file_noop [gf2x-1.3.0] checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r [gf2x-1.3.0] checking for objdump... objdump [gf2x-1.3.0] checking how to recognize dependent libraries... pass_all [gf2x-1.3.0] checking for dlltool... no [gf2x-1.3.0] checking how to associate runtime and link libraries... printf %s\n [gf2x-1.3.0] checking for archiver @FILE support... no [gf2x-1.3.0] checking for strip... strip [gf2x-1.3.0] checking for ranlib... ranlib [gf2x-1.3.0] checking command to parse /usr/bin/nm -B output from gcc object... ok [gf2x-1.3.0] checking for sysroot... no [gf2x-1.3.0] checking for a working dd... /bin/dd [gf2x-1.3.0] checking how to truncate binary pipes... /bin/dd bs=4096 count=1 [gf2x-1.3.0] checking for mt... no [gf2x-1.3.0] checking if : is a manifest tool... no [gf2x-1.3.0] checking for dsymutil... dsymutil [gf2x-1.3.0] checking for nmedit... nmedit [gf2x-1.3.0] checking for lipo... lipo [gf2x-1.3.0] checking for otool... otool [gf2x-1.3.0] checking for otool64... no [gf2x-1.3.0] checking for -single_module linker flag... yes [gf2x-1.3.0] checking for -exported_symbols_list linker flag... yes [gf2x-1.3.0] checking for -force_load linker flag... yes [gf2x-1.3.0] checking for dlfcn.h... yes [gf2x-1.3.0] checking for objdir... .libs [gf2x-1.3.0] checking if gcc supports -fno-rtti -fno-exceptions... yes [gf2x-1.3.0] checking for gcc option to produce PIC... -fno-common -DPIC [gf2x-1.3.0] checking if gcc PIC flag -fno-common -DPIC works... yes [gf2x-1.3.0] checking if gcc static flag -static works... no [gf2x-1.3.0] checking if gcc supports -c -o file.o... yes [gf2x-1.3.0] checking if gcc supports -c -o file.o... (cached) yes [gf2x-1.3.0] checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes [gf2x-1.3.0] checking dynamic linker characteristics... darwin19.6.0 dyld [gf2x-1.3.0] checking how to hardcode library paths into programs... immediate [gf2x-1.3.0] checking whether stripping libraries is possible... yes [gf2x-1.3.0] checking if libtool supports shared libraries... yes [gf2x-1.3.0] checking whether to build shared libraries... yes [gf2x-1.3.0] checking whether to build static libraries... yes [gf2x-1.3.0] checking for gcc... (cached) gcc [gf2x-1.3.0] checking whether we are using the GNU C compiler... (cached) yes [gf2x-1.3.0] checking whether gcc accepts -g... (cached) yes [gf2x-1.3.0] checking for gcc option to accept ISO C89... (cached) none needed [gf2x-1.3.0] checking whether gcc understands -c and -o together... (cached) yes [gf2x-1.3.0] checking whether we are using the GNU C++ compiler... yes [gf2x-1.3.0] checking whether g++ -std=gnu++11 accepts -g... yes [gf2x-1.3.0] checking dependency style of g++ -std=gnu++11... none [gf2x-1.3.0] checking how to run the C++ preprocessor... g++ -std=gnu++11 -E [gf2x-1.3.0] checking for ld used by g++ -std=gnu++11... /Library/Developer/CommandLineTools/usr/bin/ld [gf2x-1.3.0] checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no [gf2x-1.3.0] checking whether the g++ -std=gnu++11 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes [gf2x-1.3.0] checking for g++ -std=gnu++11 option to produce PIC... -fno-common -DPIC [gf2x-1.3.0] checking if g++ -std=gnu++11 PIC flag -fno-common -DPIC works... yes [gf2x-1.3.0] checking if g++ -std=gnu++11 static flag -static works... no [gf2x-1.3.0] checking if g++ -std=gnu++11 supports -c -o file.o... yes [gf2x-1.3.0] checking if g++ -std=gnu++11 supports -c -o file.o... (cached) yes [gf2x-1.3.0] checking whether the g++ -std=gnu++11 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes [gf2x-1.3.0] checking dynamic linker characteristics... darwin19.6.0 dyld [gf2x-1.3.0] checking how to hardcode library paths into programs... immediate [gf2x-1.3.0] checking warning verbosity option... -Wall -W for C++ -Wall -W for C [gf2x-1.3.0] checking for gcc option to accept ISO C99... none needed [gf2x-1.3.0] checking how to run the C preprocessor... gcc -E [gf2x-1.3.0] checking build system compiler gcc... no [gf2x-1.3.0] checking build system compiler gcc -O2 -g -Wall -W ... no [gf2x-1.3.0] checking build system compiler cc... no [gf2x-1.3.0] checking build system compiler gcc... no [gf2x-1.3.0] checking build system compiler c89... no [gf2x-1.3.0] checking build system compiler c99... no [gf2x-1.3.0] configure: error: Cannot find a build system compiler [gf2x-1.3.0] checking build system type... x86_64-apple-darwin19.6.0 [gf2x-1.3.0] checking host system type... x86_64-apple-darwin19.6.0 [gf2x-1.3.0] checking target system type... x86_64-apple-darwin19.6.0 [gf2x-1.3.0] checking for gcc... gcc [gf2x-1.3.0] checking whether the C compiler works... yes [gf2x-1.3.0] checking for C compiler default output file name... a.out [gf2x-1.3.0] checking for suffix of executables... [gf2x-1.3.0] checking whether we are cross compiling... no [gf2x-1.3.0] checking for suffix of object files... o [gf2x-1.3.0] checking whether we are using the GNU C compiler... yes [gf2x-1.3.0] checking whether gcc accepts -g... yes [gf2x-1.3.0] checking for gcc option to accept ISO C89... none needed [gf2x-1.3.0] checking whether gcc understands -c and -o together... rm: conftest.dSYM: is a directory [gf2x-1.3.0] yes [gf2x-1.3.0] checking how to run the C preprocessor... gcc -E [gf2x-1.3.0] checking for grep that handles long lines and -e... /usr/bin/grep [gf2x-1.3.0] checking for egrep... /usr/bin/grep -E [gf2x-1.3.0] checking for ANSI C header files... rm: conftest.dSYM: is a directory [gf2x-1.3.0] rm: conftest.dSYM: is a directory [gf2x-1.3.0] yes [gf2x-1.3.0] checking for sys/types.h... yes [gf2x-1.3.0] checking for sys/stat.h... yes [gf2x-1.3.0] checking for stdlib.h... yes [gf2x-1.3.0] checking for string.h... yes [gf2x-1.3.0] checking for memory.h... yes [gf2x-1.3.0] checking for strings.h... yes [gf2x-1.3.0] checking for inttypes.h... yes [gf2x-1.3.0] checking for stdint.h... yes [gf2x-1.3.0] checking for unistd.h... yes [gf2x-1.3.0] checking for size_t... yes [gf2x-1.3.0] checking for working alloca.h... yes [gf2x-1.3.0] checking for alloca... yes [gf2x-1.3.0] checking for a BSD-compatible install... /usr/bin/install -c [gf2x-1.3.0] checking whether build environment is sane... yes [gf2x-1.3.0] checking for a thread-safe mkdir -p... config/install-sh -c -d [gf2x-1.3.0] checking for gawk... no [gf2x-1.3.0] checking for mawk... no [gf2x-1.3.0] checking for nawk... no [gf2x-1.3.0] checking for awk... awk [gf2x-1.3.0] checking whether make sets $(MAKE)... yes [gf2x-1.3.0] checking whether make supports the include directive... yes (GNU style) [gf2x-1.3.0] checking whether make supports nested variables... yes [gf2x-1.3.0] checking dependency style of gcc... gcc3 [gf2x-1.3.0] checking whether to enable maintainer-specific portions of Makefiles... yes [gf2x-1.3.0] checking how to print strings... printf [gf2x-1.3.0] checking for a sed that does not truncate output... /usr/bin/sed [gf2x-1.3.0] checking for fgrep... /usr/bin/grep -F [gf2x-1.3.0] checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld [gf2x-1.3.0] checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no [gf2x-1.3.0] checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B [gf2x-1.3.0] checking the name lister (/usr/bin/nm -B) interface... BSD nm [gf2x-1.3.0] checking whether ln -s works... yes [gf2x-1.3.0] checking the maximum length of command line arguments... 196608 [gf2x-1.3.0] checking how to convert x86_64-apple-darwin19.6.0 file names to x86_64-apple-darwin19.6.0 format... func_convert_file_noop [gf2x-1.3.0] checking how to convert x86_64-apple-darwin19.6.0 file names to toolchain format... func_convert_file_noop [gf2x-1.3.0] checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r [gf2x-1.3.0] checking for objdump... objdump [gf2x-1.3.0] checking how to recognize dependent libraries... pass_all [gf2x-1.3.0] checking for dlltool... no [gf2x-1.3.0] checking how to associate runtime and link libraries... printf %s\n [gf2x-1.3.0] checking for archiver @FILE support... no [gf2x-1.3.0] checking for strip... strip [gf2x-1.3.0] checking for ranlib... ranlib [gf2x-1.3.0] checking command to parse /usr/bin/nm -B output from gcc object... ok [gf2x-1.3.0] checking for sysroot... no [gf2x-1.3.0] checking for a working dd... /bin/dd [gf2x-1.3.0] checking how to truncate binary pipes... /bin/dd bs=4096 count=1 [gf2x-1.3.0] checking for mt... no [gf2x-1.3.0] checking if : is a manifest tool... no [gf2x-1.3.0] checking for dsymutil... dsymutil [gf2x-1.3.0] checking for nmedit... nmedit [gf2x-1.3.0] checking for lipo... lipo [gf2x-1.3.0] checking for otool... otool [gf2x-1.3.0] checking for otool64... no [gf2x-1.3.0] checking for -single_module linker flag... yes [gf2x-1.3.0] checking for -exported_symbols_list linker flag... yes [gf2x-1.3.0] checking for -force_load linker flag... yes [gf2x-1.3.0] checking for dlfcn.h... yes [gf2x-1.3.0] checking for objdir... .libs [gf2x-1.3.0] checking if gcc supports -fno-rtti -fno-exceptions... yes [gf2x-1.3.0] checking for gcc option to produce PIC... -fno-common -DPIC [gf2x-1.3.0] checking if gcc PIC flag -fno-common -DPIC works... yes [gf2x-1.3.0] checking if gcc static flag -static works... no [gf2x-1.3.0] checking if gcc supports -c -o file.o... yes [gf2x-1.3.0] checking if gcc supports -c -o file.o... (cached) yes [gf2x-1.3.0] checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes [gf2x-1.3.0] checking dynamic linker characteristics... darwin19.6.0 dyld [gf2x-1.3.0] checking how to hardcode library paths into programs... immediate [gf2x-1.3.0] checking whether stripping libraries is possible... yes [gf2x-1.3.0] checking if libtool supports shared libraries... yes [gf2x-1.3.0] checking whether to build shared libraries... yes [gf2x-1.3.0] checking whether to build static libraries... yes [gf2x-1.3.0] checking for gcc... (cached) gcc [gf2x-1.3.0] checking whether we are using the GNU C compiler... (cached) yes [gf2x-1.3.0] checking whether gcc accepts -g... (cached) yes [gf2x-1.3.0] checking for gcc option to accept ISO C89... (cached) none needed [gf2x-1.3.0] checking whether gcc understands -c and -o together... (cached) yes [gf2x-1.3.0] checking whether we are using the GNU C++ compiler... yes [gf2x-1.3.0] checking whether g++ -std=gnu++11 accepts -g... yes [gf2x-1.3.0] checking dependency style of g++ -std=gnu++11... gcc3 [gf2x-1.3.0] checking how to run the C++ preprocessor... g++ -std=gnu++11 -E [gf2x-1.3.0] checking for ld used by g++ -std=gnu++11... /Library/Developer/CommandLineTools/usr/bin/ld [gf2x-1.3.0] checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no [gf2x-1.3.0] checking whether the g++ -std=gnu++11 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes [gf2x-1.3.0] checking for g++ -std=gnu++11 option to produce PIC... -fno-common -DPIC [gf2x-1.3.0] checking if g++ -std=gnu++11 PIC flag -fno-common -DPIC works... yes [gf2x-1.3.0] checking if g++ -std=gnu++11 static flag -static works... no [gf2x-1.3.0] checking if g++ -std=gnu++11 supports -c -o file.o... yes [gf2x-1.3.0] checking if g++ -std=gnu++11 supports -c -o file.o... (cached) yes [gf2x-1.3.0] checking whether the g++ -std=gnu++11 linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes [gf2x-1.3.0] checking dynamic linker characteristics... darwin19.6.0 dyld [gf2x-1.3.0] checking how to hardcode library paths into programs... immediate [gf2x-1.3.0] checking warning verbosity option... -Wall -W for C++ -Wall -W for C [gf2x-1.3.0] checking for gcc option to accept ISO C99... none needed [gf2x-1.3.0] checking how to run the C preprocessor... gcc -E [gf2x-1.3.0] checking build system compiler gcc... no [gf2x-1.3.0] checking build system compiler gcc -O2 -g -Wall -W ... no [gf2x-1.3.0] checking build system compiler cc... no [gf2x-1.3.0] checking build system compiler gcc... no [gf2x-1.3.0] checking build system compiler c89... no [gf2x-1.3.0] checking build system compiler c99... no [gf2x-1.3.0] configure: error: Cannot find a build system compiler [gf2x-1.3.0] ******************************************************************************** [gf2x-1.3.0] Error configuring gf2x-1.3.0 See the file [gf2x-1.3.0] /Users/kwankyu/GitHub/sage/local/var/tmp/sage/build/gf2x-1.3.0/src/config.log [gf2x-1.3.0] for details. [gf2x-1.3.0] ******************************************************************************** [gf2x-1.3.0] [gf2x-1.3.0] real 0m11.823s [gf2x-1.3.0] user 0m5.516s [gf2x-1.3.0] sys 0m5.460s [gf2x-1.3.0] ************************************************************************ [gf2x-1.3.0] Error installing package gf2x-1.3.0 [gf2x-1.3.0] ************************************************************************ [gf2x-1.3.0] Please email sage-devel (http://groups.google.com/group/sage-devel) [gf2x-1.3.0] explaining the problem and including the log file [gf2x-1.3.0] /Users/kwankyu/GitHub/sage/logs/pkgs/gf2x-1.3.0.log [gf2x-1.3.0] Describe your computer, operating system, etc. [gf2x-1.3.0] If you want to try to fix the problem yourself, *don't* just cd to [gf2x-1.3.0] /Users/kwankyu/GitHub/sage/local/var/tmp/sage/build/gf2x-1.3.0 and type 'make' or whatever is appropriate. [gf2x-1.3.0] Instead, the following commands setup all environment variables [gf2x-1.3.0] correctly and load a subshell for you to debug the error: [gf2x-1.3.0] (cd '/Users/kwankyu/GitHub/sage/local/var/tmp/sage/build/gf2x-1.3.0' && '/Users/kwankyu/GitHub/sage/sage' --buildsh) [gf2x-1.3.0] When you are done debugging, you can type "exit" to leave the subshell. [gf2x-1.3.0] ************************************************************************ make[4]: *** [gf2x-no-deps] Error 1 make[3]: *** [/Users/kwankyu/GitHub/sage/local/var/lib/sage/installed/gf2x-1.3.0] Error 2 make[2]: *** [all-start] Error 2
real 0m13.092s user 0m6.148s sys 0m6.089s *************************************************************** Error building Sage. The following package(s) may have failed to build (not necessarily during this run of 'make all-start'): * package: gf2x-1.3.0 last build time: Sep 4 10:51 log file: /Users/kwankyu/GitHub/sage/logs/pkgs/gf2x-1.3.0.log build directory: /Users/kwankyu/GitHub/sage/local/var/tmp/sage/build/gf2x-1.3.0 It is safe to delete any log files and build directories, but they contain information that is helpful for debugging build problems. WARNING: If you now run 'make' again, the build directory of the same version of the package will, by default, be deleted. Set the environment variable SAGE_KEEP_BUILT_SPKGS=yes to prevent this. make[1]: *** [all-start] Error 1 make: *** [all] Error 2 also I get this: $ gcc --version Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include/c++/4.2.1 Apple clang version 12.0.0 (clang-1200.0.31.1) Target: x86_64-apple-darwin19.6.0 Thread model: posix InstalledDir: /Library/Developer/CommandLineTools/usr/bin What should I do? Thank you in advance for your help. -- You received this message because you are subscribed to the Google Groups "sage-release" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-release+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-release/d563bc4f-20a5-4195-a4c7-cfb2a062712cn%40googlegroups.com.