Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#3831 closed defect (wontfix)

protobuf warning

Reported by: robe Owned by: Björn Harrtell
Priority: high Milestone: PostGIS 2.4.0
Component: postgis Version: master
Keywords: Cc:

Description

Should we be concerned about these?

-DHAVE_SFCGAL    -fPIC -I/usr/include -DHAVE_SFCGAL -I. -I./ -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal  -D_GNU_SOURCE   -c -o postgis_libprotobuf.o postgis_libprotobuf.c
/usr/bin/protoc-c --c_out=. vector_tile.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: vector_tile.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
gcc -I../liblwgeom  -fPIC -I../libpgcommon  -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include   -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -fPIC -I/usr/include -DHAVE_SFCGAL -I. -I./ -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal  -D_GNU_SOURCE   -c -o vector_tile.pb-c.o vector_tile.pb-c.c
/usr/bin/protoc-c --c_out=. geobuf.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: geobuf.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
gcc -I../liblwgeom  -fPIC -I../libpgcommon  -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include   -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -fPIC -I/usr/include -DHAVE_SFCGAL -I. -I./ -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal  -D_GNU_SOURCE   -c -o geobuf.pb-c.o geobuf.pb-c.c
/usr/bin/protoc-c --c_out=. vector_tile.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: vector_tile.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)
gcc -I../liblwgeom  -fPIC -I../libpgcommon  -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include   -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -fPIC -I/usr/include -DHAVE_SFCGAL -I. -I./ -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal  -D_GNU_SOURCE   -c -o mvt.o mvt.c
gcc -I../liblwgeom  -fPIC -I../libpgcommon  -I/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/include   -I/usr/include/libxml2 -I/usr/include -DHAVE_SFCGAL    -fPIC -I/usr/include -DHAVE_SFCGAL -I. -I./ -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/server -I/var/lib/jenkins/workspace/pg/rel/pg11.0w64/include/postgresql/internal  -D_GNU_SOURCE   -c -o lwgeom_out_mvt.o lwgeom_out_mvt.c
/usr/bin/protoc-c --c_out=. geobuf.proto
[libprotobuf WARNING google/protobuf/compiler/parser.cc:547] No syntax specified for the proto file: geobuf.proto. Please use 'syntax = "proto2";' or 'syntax = "proto3";' to specify a syntax version. (Defaulted to proto2 syntax.)

Change History (7)

comment:1 by robe, 7 years ago

I suppose this is harmless since it defaults to proto2. Are we using proto2?

comment:2 by Björn Harrtell, 7 years ago

Yeah this is harmless and also an upstream warning. proto files come from upstream and they are implicitly proto2, but at some point it became a warning to not spec it explicitly.

comment:3 by Björn Harrtell, 7 years ago

Resolution: wontfix
Status: assignedclosed

comment:4 by strk, 6 years ago

Where is the upstream ?

comment:7 by strk, 6 years ago

Can people with very old protoc versions try https://git.osgeo.org/gitea/postgis/postgis/pulls/32 ?

Note: See TracTickets for help on using tickets.