make sharedinstall
does not return failure if install commands fail
#100220
Labels
type-bug
An unexpected behavior, bug, or error
mgorny commentedDec 13, 2022
•
edited by bedevere-bot
Bug report
If
make sharedinstall
fails to install some Python extensions, the make target wrongly succeeds. For example, I'm seeing:Nevertheless,
make install
returns successfully in this case. This causes major problems for automated builds since they end up with broken Python installs when the make target should have failed.I need to investigate why it's failing but that's a separate issue.
Complete build log (1.2M): dev-lang:python-3.12.0_alpha3:20221207-142002.log
The problem seems to be that the
sharedinstall
targets runs a single shell command and make doesn't check the exit status until its very end.I suspect the same problem may apply to other install rules.
Your environment
Linked PRs
The text was updated successfully, but these errors were encountered: