-
-
Notifications
You must be signed in to change notification settings - Fork 31.3k
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
touch profile-run-stamp exit code 2 for 3.11 in Dockerfile using ubuntu:22.04 #103090
Comments
It seems that the linker was runed before the object was compiled on my machine. The dependency might not be handled correctly.
|
I don't know if it was documented, but by analyzing the generated Makefile, you can run
to handle the dependency correctly. As in your case, just do
|
The doc says the same thing: Use
|
See also gh-104523. FTR, I don't think we'll be backporting those changes to 3.11. |
Error
Steps to reproduce
This works
docker build --build-arg PYTHON_VERSION=3.10.10 -t python3.10 -f Dockerfile .
but this errors out as above
docker build --build-arg PYTHON_VERSION=3.11.2 -t python3.11-touch-bug -f Dockerfile .
I've also observed this error when setting
PYTHON_VERSION
to3.11.1
,3.11.0
. Am I missing something or is there a bug?The text was updated successfully, but these errors were encountered: