Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Print to stderr when unable to connect to Docker #315

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

zanieb
Copy link
Collaborator

@zanieb zanieb commented Sep 5, 2024

Instead of failing with the inscrutable:

Makefile:49: *** multiple target patterns.  Stop.

We fail with the actual error:

unable to connect to Docker: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
unable to connect to Docker: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
/big/workspace/python-build-standalone/cpython-unix/build.py --host-platform linux64 --target-triple x86_64-unknown-linux-gnu --optimizations pgo --python-source null --dest-archive /big/workspace/python-build-standalone/build/image-build.tar  --toolchain image-build
/big/workspace/python-build-standalone/cpython-unix/build.py --host-platform linux64 --target-triple x86_64-unknown-linux-gnu --optimizations pgo --python-source null --dest-archive /big/workspace/python-build-standalone/build/image-gcc.tar  --toolchain image-gcc
/big/workspace/python-build-standalone/cpython-unix/build.py --host-platform linux64 --target-triple x86_64-unknown-linux-gnu --optimizations pgo --python-source null --dest-archive /big/workspace/python-build-standalone/build/llvm-18-x86_64-linux-18.0.8+20240713-linux64.tar  --toolchain clang --target-triple x86_64-unknown-linux-gnu
/big/workspace/python-build-standalone/cpython-unix/build.py --host-platform linux64 --target-triple x86_64-unknown-linux-gnu --optimizations pgo --python-source null --dest-archive /big/workspace/python-build-standalone/build/image-xcb.tar  --toolchain image-xcb
unable to connect to Docker: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))unable to connect to Docker: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))

unable to connect to Docker: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
unable to connect to Docker: Error while fetching server API version: ('Connection aborted.', ConnectionRefusedError(111, 'Connection refused'))
make: *** [Makefile:83: /big/workspace/python-build-standalone/build/llvm-18-x86_64-linux-18.0.8+20240713-linux64.tar] Error 1
make: *** Waiting for unfinished jobs....
make: *** [Makefile:76: /big/workspace/python-build-standalone/build/image-gcc.tar] Error 1
make: *** [Makefile:76: /big/workspace/python-build-standalone/build/image-xcb.tar] Error 1
make: *** [Makefile:76: /big/workspace/python-build-standalone/build/image-build.tar] Error 1

@zanieb zanieb added the internal Internal changes related to development label Sep 7, 2024
@indygreg indygreg merged commit a1871d8 into indygreg:main Sep 7, 2024
238 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal Internal changes related to development
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants