[postgis-tickets] [PostGIS] #5233: gitlab debian:bookworm not compiling against 3.4.0 - GCC 11 Bug

PostGIS trac at osgeo.org
Thu Sep 15 14:57:32 PDT 2022


#5233: gitlab debian:bookworm not compiling against 3.4.0 - GCC 11 Bug
------------------------+---------------------------
  Reporter:  robe       |      Owner:  pramsey
      Type:  defect     |     Status:  reopened
  Priority:  low        |  Milestone:  PostGIS 3.4.0
 Component:  buildbots  |    Version:  master
Resolution:             |   Keywords:
------------------------+---------------------------
Changes (by robe):

 * status:  closed => reopened
 * resolution:  fixed =>

Comment:

 Flipping to bullesye yields yet another warning.



 {{{
 /usr/include/gdal/cpl_config.h:299: error: "PACKAGE_URL" redefined
 [-Werror]
   299 | #define PACKAGE_URL ""
       |
 In file included from /usr/include/postgresql/13/server/c.h:54,
                  from /usr/include/postgresql/13/server/postgres.h:46,
                  from
 /builds/postgis/postgis/raster/rt_pg/rtpostgis.c:132:
 /usr/include/postgresql/13/server/pg_config.h:769: note: this is the
 location of the previous definition
   769 | #define PACKAGE_URL "https://www.postgresql.org/"
       |
 cc1: all warnings being treated as errors
 make[2]: *** [<builtin>: rtpostgis.o] Error 1
 make[2]: Leaving directory '/tmp/build/raster/rt_pg'
 make[1]: *** [Makefile:32: pglib] Error 2
 make[1]: Leaving directory '/tmp/build/raster'
 make: *** [GNUmakefile:24: all] Error 1
 }}}

 https://gitlab.com/postgis/postgis/-/jobs/3036670441

 I feel like maybe the only option is to turn off that wall.
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5233#comment:6>
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