[PostGIS] #6150: MVT error with GEOS 3.16
PostGIS
trac at osgeo.org
Sat Oct 24 01:29:09 PDT 2026
#6150: MVT error with GEOS 3.16
---------------------+--------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS GEOS
Component: postgis | Version: 3.6.x
Keywords: |
---------------------+--------------------------
This is a little odd. Started seeing this error on debbie despite no real
changes since yesterday in this area. Looks like a GEOS 3.16 issue
{{{
04:15:44 -------------- Dependencies --------------
04:15:44 GEOS config:
/var/lib/jenkins/workspace/geos/rel-3.15w64/bin/geos-config
04:15:44 GEOS version: 3.16.0dev (31600)
04:15:44 GDAL config:
/var/lib/jenkins/workspace/gdal/rel-3.14w64/bin/gdal-config
04:15:44 GDAL version: 3.14.0dev (31400)
04:15:44 SFCGAL config: /usr/bin/sfcgal-config
04:15:44 SFCGAL version: 2.0.0
04:15:44 CGAL version: 0
04:15:44 PostgreSQL config:
/var/lib/jenkins/workspace/pg/rel/pg19w64/bin/pg_config
04:15:44 PostgreSQL version: PostgreSQL 19rc1
04:15:44 PostgreSQL bindir:
/var/lib/jenkins/workspace/pg/rel/pg19w64/bin
04:15:44 PostGIS utilities: ${exec_prefix}/bin
04:15:44 PROJ version: 9.6.0 (90600)
04:15:44 Libxml2 config: /usr/bin/xml2-config
04:15:44 Libxml2 version: 2.9.14
04:15:44 JSON-C support: yes
04:15:44 protobuf support: yes
04:15:44 protobuf-c version: 1005001
04:15:44 Perl: /usr/bin/perl
}}}
I know folder says 3.15, but that's cause I forgot to flip geos master to
write into folder geos 3.16, going to fix that now, and then keep master
testing again 3.16, but change the 3.7.0 to use the real geos 3.15
{{{
internal -D_GNU_SOURCE -c -o mvt.o mvt.c -MMD -MP -MF .deps/mvt.Po
04:16:57 In file included from ../liblwgeom/lwgeom_geos.h:31,
04:16:57 from lwgeom_geos.h:29,
04:16:57 from mvt.c:31:
04:16:57
/var/lib/jenkins/workspace/geos/rel-3.15w64/include/geos_c.h:6551:1:
warning: function declaration isn’t a prototype [-Wstrict-prototypes]
04:16:57 6551 | extern GEOSCurveToLineParams GEOS_DLL
*GEOSCurveToLineParams_create();
04:16:57 | ^~~~~~
04:16:57
/var/lib/jenkins/workspace/geos/rel-3.15w64/include/geos_c.h:6593:1:
warning: function declaration isn’t a prototype [-Wstrict-prototypes]
04:16:57 6593 | extern GEOSLineToCurveParams GEOS_DLL
*GEOSLineToCurveParams_create();
04:16:57 | ^~~~~~
04:16:57 In file included from mvt.c:42:
04:16:57 mvt.c: In function ‘add_key’:
04:16:57 ../deps/uthash/include/uthash.h:672:20: warning: this statement
may fall through [-Wimplicit-fallthrough=]
04:16:57 672 | case 11: hashv += ( (unsigned)_hj_key[10] << 24 ); /*
FALLTHROUGH */ \
04:16:57 | ^
04:16:57 ../deps/uthash/include/uthash.h:88:46: note: in expansion of
macro ‘HASH_JEN’
04:16:57 88 | #define UTHASH_FUNCTION(keyptr,keylen,hashv)
HASH_JEN(keyptr, keylen, hashv)
04:16:57 | ^~~~~~~~
04:16:57 ../deps/uthash/include/uthash.h:150:3: note: in expansion of
macro ‘UTHASH_FUNCTION’
04:16:57 150 | UTHASH_FUNCTION(keyptr, keylen, hashv);
\
04:16:57 | ^~~~~~~~~~~~~~~
04:16:57 ../deps/uthash/include/uthash.h:420:3: note: in expansion of
macro ‘HASH_VALUE’
04:16:57 420 | HASH_VALUE(keyptr, keylen_in, _ha_hashv);
\
04:16:57 | ^~~~~~~~~~
04:16:57 mvt.c:332:9: note: in expansion of macro ‘HASH_ADD_KEYPTR’
04:16:57 332 | HASH_ADD_KEYPTR(hh, ctx->keys_hash, name, size,
kv);
04:16:57 | ^~~~~~~~~~~~~~~
04:16:57 ../deps/uthash/include/uthash.h:673:5: note: here
04:16:57 673 | case 10: hashv += ( (unsigned)_hj_key[9] << 16 ); /*
FALLTHROUGH */ \
04:16:57 | ^~~~
04:16:57 ../deps/uthash/include/uthash.h:88:46: note: in expansion of
macro ‘HASH_JEN’
04:16:57 88 | #define UTHASH_FUNCTION(keyptr,keylen,hashv)
HASH_JEN(keyptr, keylen, hashv)
04:16:57 | ^~~~~~~~
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6150>
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