[PostGIS] #5999: PostGIS doesn't compile against PG19

PostGIS trac at osgeo.org
Wed Oct 8 00:08:33 PDT 2025


#5999: PostGIS doesn't compile against PG19
---------------------+---------------------------
 Reporter:  robe     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.6.1
Component:  postgis  |    Version:  3.5.x
 Keywords:           |
---------------------+---------------------------
 Just had debbie rebuild from postgres master branch and getting this error
 now during compile

 https://github.com/postgis/postgis/actions/runs/18332638595/job/52221466442


 {{{
 rep -v '^#' legacy.sql.tmp | /usr/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis-3'g;s'@extschema@\.''g" > legacy.sql
 grep -v '^#' legacy_minimal.sql.tmp | /usr/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis-3'g;s'@extschema@\.''g" >
 legacy_minimal.sql
 grep -v '^#' postgis.sql.tmp | /usr/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis-3'g;s'@extschema@\.''g" > postgis.sql
 grep -v '^#' legacy_gist.sql.tmp | /usr/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis-3'g;s'@extschema@\.''g" >
 legacy_gist.sql
 rm -f legacy.sql.tmp
 rm -f legacy_minimal.sql.tmp
 /usr/bin/perl ../utils/create_uninstall.pl legacy.sql 190 >
 uninstall_legacy.sql
 rm -f legacy_gist.sql.tmp
 rm -f postgis.sql.tmp
 /usr/bin/perl ../utils/create_uninstall.pl postgis.sql 190 >
 uninstall_postgis.sql
 /usr/bin/perl ../utils/create_upgrade.pl postgis.sql >
 postgis_upgrade.sql.in
 echo "BEGIN;" > postgis_upgrade.sql
 cat common_before_upgrade.sql postgis_before_upgrade.sql
 postgis_upgrade.sql.in postgis_after_upgrade.sql common_after_upgrade.sql
 >> postgis_upgrade.sql
 echo "COMMIT;" >> postgis_upgrade.sql
 lwgeom_transform.c: In function 'srs_tuple_from_entry':
 lwgeom_transform.c:402:17: error: implicit declaration of function
 'heap_form_tuple'; did you mean 'brin_form_tuple'? [-Wimplicit-function-
 declaration]
   402 |         tuple = heap_form_tuple(tuple_desc, tuple_data,
 tuple_null);
       |                 ^~~~~~~~~~~~~~~
       |                 brin_form_tuple
 lwgeom_transform.c:402:15: error: assignment to 'HeapTuple' {aka
 'HeapTupleData *'} from 'int' makes pointer from integer without a cast
 [-Wint-conversion]
   402 |         tuple = heap_form_tuple(tuple_desc, tuple_data,
 tuple_null);
       |               ^
 make[1]: *** [<builtin>: lwgeom_transform.o] Error 1
 make[1]: *** Waiting for unfinished jobs....
 make[1]: Leaving directory '/src/postgis/postgis'
 make: *** [GNUmakefile:36: all] Error 1
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5999>
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