Conversation
|
@vbraun - please have a look whether this doesn't break anything in your machinery |
|
@orlitzky - can you have a look? |
|
CI is failing in building docker images with No idea what wrapper this is. @kwankyu - do you know? |
I may not be understanding this correctly, but isn't it just referring to the file, newly created by this PR, called "configure_wrapper"? |
|
Perhaps I've broken |
No idea either.
If something is broken, the standard way is to fix it (after understanding how it went broken), not to remove it. |
Creating configure scripts using Anyhow, my latest attempt shows that it's not the issue. The issue is that the docker does not find |
|
I saw your post on the autoconf list and had been planning to try this. It's worse than you say:
|
|
|
Are we in one of these situations when our docker-based CI won't work until this PR is merged in |
|
I have no idea what you are asking... What is "these situations"? I was not following the present issue and have no background understanding. |
|
By the way, I do not object to changing "make configure" with "./bootstrap" for now if it helps. But removing the existing feature "make configure" as you seem to advocate is another matter. |
basically, running ./configure removes all the files matching to preserve our workflow, we rename configure to real_configure and install |
|
Probably #39373 , let's see. |
|
Documentation preview for this PR (built with commit e08d5cc; changes) is ready! 🎉 |
|
@user202729 - CI passes (modulo unrelated doctest failures on some platforms). Can you give this a positive review? |
I would not have any objections, either, but it is a publicly advertised way to install Sage — it's in the top-level README.md, for example — and so |
This goes without saying, certainly. The thing is that |
user202729
left a comment
There was a problem hiding this comment.
haven't actually reviewed it carefully, just a few minor changes then should be good
docker/Dockerfile
Outdated
| ARG SAGE_NUM_THREADS="2" | ||
| ENV SAGE_NUM_THREADS $SAGE_NUM_THREADS | ||
| RUN make configure | ||
| RUN ./bootstrap |
There was a problem hiding this comment.
does make configure still work? (if yes maybe leave it alone to be conservative, if not maybe we need to fix it)
There was a problem hiding this comment.
yes, make configure should still work. However, I don't know how, and trying to figure it out gives me a headache. OK, let's revert this change and see.
|
As an alternate approach, can we rename |
|
Thinking about it, maybe that can be automated with |
|
everybody is welcome to provide a better fix. I'm a bit tired of pytest now. |
|
To be fair, naming it something else might lead to some confusion. If this works we might as well merge it in until some other issue comes up. |
Do these two comments represent work that needs doing on this PR? |
well, yes - namely, the last command, |
as autoconf's generated configure clobbers conftest*, we are saving conftest.py from it by making a backup copy and then restoring it after the real configure was run.
This reverts commit 48a81bd.
f6d72ba to
e08d5cc
Compare
|
Unless I've done something stupid, will delete |
|
with this branch, or without? without this branch, anything that triggers a run of ./configure will delete it. |
|
It was with the branch which is in 10.6.rc0 |
|
Huh, apparently a copy of this was included in #39655 . But different SHA-1. Also… I notice the comment I mentioned about changing |
|
there are lots of weird switches for |
|
@vbraun - this had been merged, right? could you tag it properly, etc? |
|
That was the problem I pointed out, this somehow get merged without any positive review. Seems nobody object so... |
|
@user202729 - please feel free to do a follow-up PR. I ran (real)_configure 100s of times, and a couple of times had to restore deleted file by |
OK, I can see this - our recursive make, self-modifying build system calls |
|
The configure_wrapper swallows exit codes, so configure failures are not seen by the shell. This is fixed in #40906 |
sagemathgh-40906: Do not swallow the configure exit code in configure_wrapper Followup for sagemath#39363: do not ignore the ./configure exit code URL: sagemath#40906 Reported by: Volker Braun Reviewer(s): Dima Pasechnik
this will fix #39357
📝 Checklist
⌛ Dependencies