[postgis-tickets] [PostGIS] #5099: Running make twice compiles again under postgis
PostGIS
trac at osgeo.org
Wed Feb 16 16:44:36 PST 2022
#5099: Running make twice compiles again under postgis
------------------------------------+---------------------------
Reporter: strk | Owner: strk
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.3.0
Component: build/upgrade/install | Version: master
Resolution: | Keywords:
------------------------------------+---------------------------
Comment (by strk):
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
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5099#comment:2>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list