#5099 closed defect (fixed)
Running make twice compiles again under postgis
Reported by: | strk | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.4.0 |
Component: | build | Version: | master |
Keywords: | Cc: |
Description
Running make
a second time after the first make
, in top-level dir, results in some files being built again. This should NOT happen, in a sane system. Files that are built again are under the postgis/ directory.
I was under the impression that I already filed this ticket but upon looking I could not find a precedent one.
Change History (8)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
The *first* run of make
already builds both vector_tile.pb-c.o
and geobuf.pb-c.o
.
The second run reports (make --dry-run --trace geobuf-pb-c.o
) that geobuf-pb.c.o is being rebuilt due to geobuf-pb-c.c
being newer.
For some reason, the first make invocation is running protoc-c for producing those two .c files twice:
$ grep -n protoc-c make.log 325:/usr/bin/protoc-c -I../../postgis --c_out=. ../../postgis/vector_tile.proto 327:/usr/bin/protoc-c -I../../postgis --c_out=. ../../postgis/geobuf.proto 329:/usr/bin/protoc-c -I../../postgis --c_out=. ../../postgis/vector_tile.proto 332:/usr/bin/protoc-c -I../../postgis --c_out=. ../../postgis/geobuf.proto
comment:4 by , 2 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
This is happening again on my system as of [adfa7138aba1c486e6bda495e112738892fec94b/git]
comment:5 by , 2 years ago
Milestone: | PostGIS 3.3.0 → PostGIS 3.4.0 |
---|
comment:6 by , 16 months ago
This might have been fixed again with [a05989263dcb62b77ac5740f1b8ea2a025b9c9df/git] I'll see how to have a bot guard after this (marking build dir read-only after initial build sounds like a possible way to do it)
comment:7 by , 16 months ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
I'm going to close. We can reopen if it is still an issue.
This is what's being re-built:
So it's basically:
The two object files above, when rebuilt, trigger also rebuilding postgis-3.3.so