[PostGIS] #6043: PostGIS 3.2 broken on debbie error: assignment of read-only member ‘postgis_flatbuffers::span<T, Extent>::count_’

PostGIS trac at osgeo.org
Sun Feb 8 00:24:13 PST 2026


#6043: PostGIS 3.2 broken on debbie error: assignment of read-only member
‘postgis_flatbuffers::span<T, Extent>::count_’
---------------------+---------------------------
 Reporter:  robe     |      Owner:  robe
     Type:  defect   |     Status:  assigned
 Priority:  blocker  |  Milestone:  PostGIS 3.2.9
Component:  build    |    Version:  3.5.x
 Keywords:           |
---------------------+---------------------------
 Getting a flatgeobuf error


 {{{
 14:53:39 make[1]: Entering directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/postgis'
 14:53:39 make -C ../deps/wagyu all
 14:53:39 make[2]: Entering directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/deps/wagyu'
 14:53:39 gcc -std=c++11 -x c++ -I../../liblwgeom -Iinclude
 -I/var/lib/jenkins/workspace/geos/rel-3.10w64/include
 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/include
 /mit-krb5 -I/usr/include/p11-kit-1   -I/usr/include/libxml2 -I/usr/include
 -I/usr/include/json-c   -DNDEBUG    -fPIC -DPIC -c -o lwgeom_wagyu.o
 lwgeom_wagyu.cpp
 14:53:41 ar rs libwagyu.la lwgeom_wagyu.o
 14:53:41 ar: creating libwagyu.la
 14:53:41 make[2]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/deps/wagyu'
 14:53:41 make -C ../deps/flatgeobuf all
 14:53:41 make[2]: Entering directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/deps/flatgeobuf'
 14:53:41 gcc -std=c++11 -x c++ -I../../liblwgeom -Iinclude
 -I../../liblwgeom -I/include
 -I/var/lib/jenkins/workspace/geos/rel-3.10w64/include
 -I/usr/include/x86_64-linux-gnu -I/usr/include/webp -isystem /usr/include
 /mit-krb5 -I/usr/include/p11-kit-1   -I/usr/include/libxml2 -I/usr/include
 -I/usr/include/json-c   -DNDEBUG    -fPIC -DPIC
 -Dflatbuffers=postgis_flatbuffers -c -o flatgeobuf_c.o flatgeobuf_c.cpp
 14:53:42 In file included from include/flatbuffers/flatbuffers.h:21,
 14:53:42                  from feature_generated.h:7,
 14:53:42                  from flatgeobuf_c.cpp:26:
 14:53:42 include/flatbuffers/stl_emulation.h: In member function
 ‘postgis_flatbuffers::span<T, Extent>& postgis_flatbuffers::span<T,
 Extent>::operator=(const postgis_flatbuffers::span<T, Extent>&)’:
 14:53:42 include/flatbuffers/stl_emulation.h:549:12: error: assignment of
 read-only member ‘postgis_flatbuffers::span<T, Extent>::count_’
 14:53:42   549 |     count_ = other.count_;
 14:53:42       |     ~~~~~~~^~~~~~~~~~~~~~
 14:53:42 make[2]: *** [Makefile:54: flatgeobuf_c.o] Error 1
 14:53:42 make[2]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/deps/flatgeobuf'
 14:53:42 make[1]: *** [Makefile:213: ../deps/flatgeobuf/libflatgeobuf.la]
 Error 2
 14:53:42 make[1]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/3.2/postgis'
 14:53:42 make: *** [GNUmakefile:22: all] Error 1
 14:53:42 Build step 'Execute shell' marked build as failure
 14:53:42 [Gitea] do not publish assets due to build being non-Successfully
 14:53:42 Triggering a new bui
 }}}

 Last success was in october.

 This is on PostgreSQL 14.20 and 11 at least.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/6043>
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