Closed programmingkidx closed 1 year ago
Hmm, I'll see if I can repro. Do you mind sharing the full logs from ~/Library/Logs/Homebrew/python3
too?
From Configure:
2020-04-16 15:37:32 -0400
./configure --prefix=/usr/local/Cellar/python3/3.7.7 --enable-ipv6 --datarootdir=/usr/local/Cellar/python3/3.7.7/share --datadir=/usr/local/Cellar/python3/3.7.7/share --enable-framework=/usr/local/Cellar/python3/3.7.7/Frameworks --enable-loadable-sqlite-extensions --without-ensurepip --with-openssl=/usr/local/opt/openssl MACOSX_DEPLOYMENT_TARGET=10.4
checking build system type... i386-apple-darwin8.11.1
checking host system type... i386-apple-darwin8.11.1
checking for python3.7... no
checking for python3... no
checking for python... python
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... checking for --without-gcc... no
checking for --with-icc... no
checking for gcc... /usr/local/bin/gcc-4.2
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 /usr/local/bin/gcc-4.2 accepts -g... yes
checking for /usr/local/bin/gcc-4.2 option to accept ISO C89... none needed
checking how to run the C preprocessor... /usr/local/bin/gcc-4.2 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for a sed that does not truncate output... /usr/bin/sed
checking for --with-cxx-main=
If you want a release build with all stable optimizations active (PGO, etc), please run ./configure --enable-optimizations
From make:
2020-04-16 15:39:53 -0400
make
/usr/local/bin/gcc-4.2 -c -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -DPy_BUILD_CORE -o Programs/python.o ./Programs/python.c /usr/local/bin/gcc-4.2 -c -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -DPy_BUILD_CORE -o Parser/acceler.o Parser/acceler.c /usr/local/bin/gcc-4.2 -c -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -DPy_BUILD_CORE -o Parser/grammar1.o Parser/grammar1.c /usr/local/bin/gcc-4.2 -c -Wsign-compare -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 -std=c99 -Wextra -Wno-unused-parameter -Wno-missing-field-initializers -Wstrict-prototypes -Werror=implicit-function-declaration -I. -I./Include -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks -DPy_BUILD_CORE -o Parser/listnode.o Parser/listnode.c
The Python3 (Python 3.7.0) formula does not build on Mac OS 10.4.11. Here is the output from building:
DYLD_FRAMEWORK_PATH=/private/tmp/python320200416-22330-tpibur/Python-3.7.0 ./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 generate-posix-vars failed make: *** [Makefile:595: pybuilddir.txt] Error 1 ==> Formula Path: /usr/local/Library/Formula/python3.rb ==> Configuration HOMEBREW_VERSION: 0.9.5 ORIGIN: https://github.com/mistydemeo/tigerbrew.git HEAD: e5789812d99596b9817ebb5d75672fd29034cfa9 Last commit: 5 days ago HOMEBREW_PREFIX: /usr/local HOMEBREW_REPOSITORY: /usr/local HOMEBREW_CELLAR: /usr/local/Cellar HOMEBREW_BOTTLE_DOMAIN: https://ia902307.us.archive.org/31/items/tigerbrew CPU: quad-core 32-bit dunno OS X: 10.4.11-i386 Curl: /usr/local/Library/Homebrew/vendor/portable-curl/current/bin/curl Xcode: 2.5 CLT: N/A GCC-4.0: build 5370 GCC-4.2: build 5553 Clang: N/A X11: 1.1.3 => /usr/X11R6 System Ruby: 2.3.3-222 => /usr/local/Library/Homebrew/vendor/portable-ruby/2.3.3/bin/ruby Perl: /usr/bin/perl Python: /usr/local/Cellar/python/2.7.15/bin/python => /usr/local/Cellar/python/2.7.15/Frameworks/Python.framework/Versions/2.7/bin/python2.7 Ruby: /usr/bin/ruby => /opt/local/bin Java: N/A ==> ENV CC: /usr/local/bin/gcc-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5553/bin/gcc-4.2 CXX: /usr/local/bin/g++-4.2 => /usr/local/Cellar/apple-gcc42/4.2.1-5553/bin/g++-4.2 OBJC: /usr/local/bin/gcc-4.2 OBJCXX: /usr/local/bin/g++-4.2 CFLAGS: -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 CXXFLAGS: -Os -w -pipe -march=prescott -mmacosx-version-min=10.4 CPPFLAGS: -I/usr/local/opt/sqlite/include -I/usr/local/opt/readline/include -F/usr/local/Frameworks LDFLAGS: -L/usr/local/opt/sqlite/lib -L/usr/local/opt/readline/lib -L/usr/local/lib -F/usr/local/Frameworks -Wl,-headerpad_max_install_names MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /usr/local/opt/sqlite:/usr/local/opt/readline CMAKE_FRAMEWORK_PATH: /usr/local/Frameworks MACOSX_DEPLOYMENT_TARGET: 10.4 PKG_CONFIG_PATH: /usr/local/opt/sqlite/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/local/lib/pkgconfig:/usr/local/Library/ENV/pkgconfig/10.4:/usr/lib/pkgconfig PATH: /usr/local/opt/sqlite/bin:/opt/local/bin:/usr/local/cellar/make/4.2.1/bin:/usr/local/Cellar/python/2.7.15/bin/:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/Library/Taps/caskroom/homebrew-cask/cmd:/usr/local/Library/ENV/scm CPATH: /usr/local/include
Error: python3 3.7.0 did not build