BUILD FAILED (OS X 12.3 using python-build 20180424)
See original GitHub issueDescribe the bug
Tried building on clean M1 Mac using tools/mac_setup.sh
and ARCHFLAGS="-arch arm64" ./tools/mac_setup.sh
OS Version
macOS Monterey 12.3 (21E230)
openpilot version or commit
No response
Additional info
Homebrew Bundle complete! 23 Brewfile dependencies now installed.
[ ] finished brew install t=1
python 3.8.10 install ...
python-build: use openssl@1.1 from homebrew
python-build: use readline from homebrew
Downloading Python-3.8.10.tar.xz...
-> https://www.python.org/ftp/python/3.8.10/Python-3.8.10.tar.xz
Installing Python-3.8.10...
python-build: use readline from homebrew
python-build: use zlib from xcode sdk
BUILD FAILED (OS X 12.3 using python-build 20180424)
Inspect or clean up the working tree at /var/folders/64/36h4jv0j2ss6dl91pgvqdgv40000gn/T/python-build.20220323223505.73551
Results logged to /var/folders/64/36h4jv0j2ss6dl91pgvqdgv40000gn/T/python-build.20220323223505.73551.log
Last 10 log lines:
checking for --with-cxx-main=<compiler>... no
checking for clang++... no
configure:
By default, distutils will build C++ extension modules with "clang++".
If this is not intended, then set CXX on the configure command line.
checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please file a bug report
make: *** No targets specified and no makefile found. Stop.
cat /var/folders/64/36h4jv0j2ss6dl91pgvqdgv40000gn/T/python-build.20220323223505.73551.log
/var/folders/64/36h4jv0j2ss6dl91pgvqdgv40000gn/T/python-build.20220323223505.73551 ~/Documents/Github/openpilot
/var/folders/64/36h4jv0j2ss6dl91pgvqdgv40000gn/T/python-build.20220323223505.73551/Python-3.8.10 /var/folders/64/36h4jv0j2ss6dl91pgvqdgv40000gn/T/python-build.20220323223505.73551 ~/Documents/Github/openpilot
checking build system type... arm-apple-darwin21.4.0
checking host system type... arm-apple-darwin21.4.0
checking for python3.8... no
checking for python3... python3
checking for --enable-universalsdk... no
checking for --with-universal-archs... no
checking MACHDEP... "darwin"
checking for gcc... clang
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 clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -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=<compiler>... no
checking for clang++... no
configure:
By default, distutils will build C++ extension modules with "clang++".
If this is not intended, then set CXX on the configure command line.
checking for the platform triplet based on compiler characteristics... darwin
configure: error: internal configure error for the platform triplet, please file a bug report
make: *** No targets specified and no makefile found. Stop.
Issue Analytics
- State:
- Created a year ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
BUILD FAILED (OS X 12.0.1 using python-build 20180424 ...
Hey there, I'm trying to do a pyenv install 3.7.6 and I am getting the following error: Description Platform information (e.g. Ubuntu Linux ......
Read more >PyEnv BUILD FAILED installing Python on MacOS
This steps helped me solving BUILD FAILED (OS X 13.0.1 using python-build 20180424).
Read more >Not Able to Build Some Versions of Python on M1 at 12.3.1
I trying to build older version of python such as 3.6, 3.7, 3.8 using pyenv and having build failures. I am on apple...
Read more >Managing macOS + python issues - Medium
BUILD FAILED (OS X *.* using python-build 20180424) This issue has something to do with XCode Command Line Tools. Hence, a lot of...
Read more >build failed (os x 12.3.1 using python-build 20180424)
1 using python-build 20180424) Inspect or clean up the working tree at /var/folders/82/rky4yjcx75n1zskhy5570v0m0000gn/T/python-build.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I experienced the same issue recently after update to latest xcode command line tool 13.3 You can downgrade to 13.2 and the it will work.
First make sure to remove /Library/Developer/CommandLineTools Then download version 13.2 of Xcode build tools and install this Finally make sure to run xcode-select -s <your path to new installed version>
temporary fix for the panda compiling problem