Robbllle opened a new issue, #35916:
URL: https://github.com/apache/beam/issues/35916
For reference I'm on MacOS 15.6 with an M4 Max SoC.
1. Run the `start-build-env` script
2. Build fails at step 10. The Python wheels can't be build with error
```
aarch64-linux-gnu-gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g
-fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security
-g -fwrapv -O2 -g -fstack-protector-strong -Wformat -Werror=format-security
-Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DHAVE_PTHREAD=1 -I. -Igrpc_root
-Igrpc_root/include -Ithird_party/abseil-cpp -Ithird_party/protobuf
-Ithird_party/protobuf/src -Ithird_party/protobuf/upb
-Ithird_party/protobuf/third_party/utf8_range -I/usr/include/python3.8 -c
third_party/protobuf/src/google/protobuf/extension_set.cc -o
build/temp.linux-aarch64-3.8/third_party/protobuf/src/google/protobuf/extension_set.o
-std=c++17 -fno-wrapv -frtti -O1
52.62 error: command 'aarch64-linux-gnu-gcc' failed with exit status 1
52.62 ----------------------------------------
52.62 ERROR: Failed building wheel for grpcio-tools
52.62 Running setup.py clean for grpcio-tools
52.75 Building wheel for grpcio (setup.py): started
112.8 Building wheel for grpcio (setup.py): still running...
152.6 Building wheel for grpcio (setup.py): finished with status 'error'
152.6 ERROR: Command errored out with exit status 1:
152.6 command: /usr/bin/python3 -u -c 'import sys, setuptools, tokenize;
sys.argv[0] = '"'"'/tmp/pip-install-mpuz4ay1/grpcio/setup.py'"'"';
__file__='"'"'/tmp/pip-install-mpuz4ay1/grpcio/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"',
'"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))'
bdist_wheel -d /tmp/pip-wheel-pkq0wdu9
152.6 cwd: /tmp/pip-install-mpuz4ay1/grpcio/
152.6 Complete output (5481 lines):
152.6 SSE2 not enabled on linux-aarch64 platform
152.6 Found cython-generated files...
152.6 running bdist_wheel
152.6 running build
152.6 running build_py
152.6 running build_project_metadata
_..._
```
And eventually fails with
```
Dockerfile:65
--------------------
63 | # Install grpcio-tools mypy-protobuf for `python3
sdks/python/setup.py sdist` to work
64 | ###
65 | >>> RUN pip3 install grpcio-tools mypy-protobuf
66 |
67 | ###
--------------------
ERROR: failed to solve: process "/bin/bash -o pipefail -c pip3 install
grpcio-tools mypy-protobuf" did not complete successfully: exit code: 1
```
I couldn't find anything that says that MacOS with ARM CPUs is unsupported
for this image.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]