[PostGIS] #5880: compile errors on PostGIS 3.1

PostGIS trac at osgeo.org
Mon Apr 14 20:39:14 PDT 2025


#5880: compile errors on PostGIS 3.1
----------------------+----------------------------
  Reporter:  robe     |      Owner:  robe
      Type:  defect   |     Status:  assigned
  Priority:  blocker  |  Milestone:  PostGIS 3.1.13
 Component:  postgis  |    Version:  3.1.x
Resolution:           |   Keywords:
----------------------+----------------------------
Comment (by robe):

 Nope for the debbie case, flipping to the same GEOS version as I could
 have possibly built gdal with did not fix the issue.


 {{{
 23:35:11  -------------- Dependencies --------------
 23:35:11   GEOS config:
 /var/lib/jenkins/workspace/geos/rel-3.11w64/bin/geos-config
 23:35:11   GEOS version:         3.11.4
 23:35:11   GDAL config:
 /var/lib/jenkins/workspace/gdal/rel-3.10w64/bin/gdal-config
 23:35:11   GDAL version:         3.10.3dev
 23:35:11   SFCGAL config:        /usr/bin/sfcgal-config
 23:35:11   SFCGAL version:       1.3.8
 23:35:11   PostgreSQL config:
 /var/lib/jenkins/workspace/pg/rel/pg13w64/bin/pg_config
 23:35:11   PostgreSQL version:   PostgreSQL 13.20
 23:35:11   PROJ4 version:        72
 23:35:11   Libxml2 config:       /usr/bin/xml2-config
 23:35:11   Libxml2 version:      2.9.14
 23:35:11   JSON-C support:       yes
 23:35:11   protobuf support:     yes
 23:35:11   protobuf-c version:   1003003
 23:35:11   PCRE support:         no
 23:35:11   Perl:                 /usr/bin/perl
 23:35:11   Wagyu:                yes

 23:36:44 gcc  -std=gnu99 -g -O2 -fno-math-errno -fno-signed-zeros  -fPIC
 -DPIC -I../rt_core -I../../liblwgeom
 -I/var/lib/jenkins/workspace/gdal/rel-3.10w64/include
 -I/var/lib/jenkins/workspace/geos/rel-3.11w64/include   -c raster2pgsql.c
 23:36:45 /bin/bash ../../libtool --mode=link gcc -std=gnu99 -g -O2 -fno-
 math-errno -fno-signed-zeros  -fPIC -DPIC -I../rt_core -I../../liblwgeom
 -I/var/lib/jenkins/workspace/gdal/rel-3.10w64/include
 -I/var/lib/jenkins/workspace/geos/rel-3.11w64/include
 ../rt_core/librtcore.a raster2pgsql.o -lm -static
 ../../liblwgeom/liblwgeom.la
 -L/var/lib/jenkins/workspace/gdal/rel-3.10w64/lib -lgdal
 -L/var/lib/jenkins/workspace/geos/rel-3.11w64/lib -lgeos_c  -lc -o
 raster2pgsql
 23:36:45 libtool: link: gcc -std=gnu99 -g -O2 -fno-math-errno -fno-signed-
 zeros -fPIC -DPIC -I../rt_core -I../../liblwgeom
 -I/var/lib/jenkins/workspace/gdal/rel-3.10w64/include
 -I/var/lib/jenkins/workspace/geos/rel-3.11w64/include raster2pgsql.o -o
 raster2pgsql  ../rt_core/librtcore.a ../../liblwgeom/.libs/liblwgeom.a -lm
 -L/var/lib/jenkins/workspace/geos/rel-3.11w64/lib /usr/lib/x86_64-linux-
 gnu/libproj.so -ljson-c -L/usr/lib/x86_64-linux-gnu -lSFCGAL -lgmpxx
 -L/var/lib/jenkins/workspace/gdal/rel-3.10w64/lib -lgdal -lgeos_c -lc
 23:36:45 /usr/bin/ld: ../../liblwgeom/.libs/liblwgeom.a(lwgeom_api.o): in
 function `getPoint4d_p':
 23:36:45
 /var/lib/jenkins/workspace/postgis/branches/3.1/liblwgeom/lwgeom_api.c:139:
 undefined reference to `lerror'
 23:36:45 collect2: error: ld returned 1 exit status
 23:36:45 make[2]: *** [Makefile:84: raster2pgsql] Error 1
 23:36:45 make[2]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/3.1/raster/loader'
 23:36:45 make[1]: *** [Makefile:35: rtloader] Error 2
 23:36:45 make[1]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/3.1/raster'
 23:36:45 make: *** [GNUmakefile:22: all] Error 1
 23:36:45 Build step 'Execute shell' marked build as failure
 23:36:45 [Gitea] do not publish assets due to build being non-Successfully
 23:36:45 Triggering a new build of PostgreSQL stop
 23:36:45 Finished: FAILURE
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5880#comment:1>
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