Skip to content

Conversation

vbraun
Copy link
Member

@vbraun vbraun commented Sep 28, 2025

Followup for #39363: do not ignore the ./configure exit code

Copy link

Documentation preview for this PR (built with commit 1f1fa4f; changes) is ready! 🎉
This preview will update shortly after each push to this PR.

@dimpase
Copy link
Member

dimpase commented Sep 28, 2025

@vbraun - you have lost somewhere in the release process 72876f0 from #40765

configure_wrapper should already be

#! /bin/sh
cp conftest.py bak_conftest.py
./real_configure $@
realconf_result=$?
mv bak_conftest.py conftest.py
exit $realconf_result

@dimpase
Copy link
Member

dimpase commented Sep 28, 2025

Perhaps your fix here is better than 72876f0 - but you should not just silently drop commits while making a beta!!!

@user202729
Copy link
Contributor

some notes.

@user202729
Copy link
Contributor

@vbraun - you have lost somewhere in the release process 72876f0 from #40765

it was dropped in #40877 .

As for comment on which fix is better, I'd say this one, because it's preferable to restore the backup on ctrl-C interruption.

@dimpase
Copy link
Member

dimpase commented Sep 28, 2025

Well, @vbraun - I congratulate you on giving everyone extra work to do with your meaningless reverts

@dimpase
Copy link
Member

dimpase commented Sep 28, 2025

the most satisfying solution is of course to slowly cook in boiling oil the guy who refused to even consider fixing pytest to avoid this nonsense...

(his name means "maker of pans", so that would be particularly fitting)

@dimpase
Copy link
Member

dimpase commented Sep 28, 2025

I complain in particular as you reverted what I did in #40765 to fix @mezzarobba 's forkbomb problem reported there.

Marc, does this PR fix work for you too?

@dimpase dimpase requested a review from mezzarobba September 28, 2025 20:44
@dimpase
Copy link
Member

dimpase commented Sep 29, 2025

Unfortunately this does not quite cut it. Indeed, interrupting ./configure with Ctlr-C does not get conftest.py, but I still get conftest.py deleted if ./bootstrap && ./configure is triggered by make.

The latter happens after one, say, updates an spkg. and then hits make.
Seen on macOS with zsh.

And also on Linux with bash.

helaas-we-zijn

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants