-
-
Notifications
You must be signed in to change notification settings - Fork 377
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
Remove extraneous #if in postgis.sql.in #706
Conversation
Oversight in commit 3e38e0b.
356098c
to
c477d54
Compare
On Wed, Sep 14, 2022 at 09:38:47PM -0700, Julien Rouhaud wrote:
For the record the CI does notice this problem but keeps going.
For instance https://github.com/postgis/postgis/actions/runs/3057481917/jobs/4932676006 in the "Build & Test" item line 646:
This is a bug on itself, could you please file it ? Or fix it :)
Is it only in CI or in any build process ? (bug in Makefile?)
…--strk;
|
This happens in any build process. I just happened to saw it after a "make -s" while pretty much everything else was already compiled so it was kind of obvious. Is comes from https://github.com/postgis/postgis/blob/master/postgis/Makefile.in#L239-L241:
the SQLPP command itselfs errors out, but since the output is piped make sees the result of the last command, which doesn't fail. I'm not really sure how to fix it. I could add this after:
but I don't know how portable it's (especially on windows). Note that the same pattern is used in many other makefiles. |
I'm not really sure how to fix it. I could add this after:
How about 97903f8 ?
|
It works too :) Isn't it missing the Note that for postgis.sql it leaks the .tmp file in case of error, but it will eventually be cleaned up once the source file is fixed so it doesn't seem like a problem. |
Isn't it missing the `rm -f ***@***.***` in the other makefiles?
Yeah, I was wondering if this would have been best done
by "make clean" (and I think it would, yes). But I was too lazy
to fix that. Unless there's a "distcheck" rule that spots this
problem I'll leave this as an excercise for the readers :)
|
This was merged as 229eeb7 |
I love our testsuite. THere IS actually a bot running My .tmp files didn't go unnoticed there! |
Oversight in commit 3e38e0b.
For the record the CI does notice this problem but keeps going. For instance https://github.com/postgis/postgis/actions/runs/3057481917/jobs/4932676006 in the "Build & Test" item line 646: