[postgis-tickets] [PostGIS] #5263: Cirrus CI Freebsd failing on raster script builds again (FreeBSD)

PostGIS trac at osgeo.org
Fri Oct 21 07:14:22 PDT 2022


#5263: Cirrus CI Freebsd failing on raster script builds again (FreeBSD)
-----------------------------------+---------------------------
 Reporter:  robe                   |      Owner:  strk
     Type:  defect                 |     Status:  new
 Priority:  blocker                |  Milestone:  PostGIS 3.4.0
Component:  build/upgrade/install  |    Version:  master
 Keywords:                         |
-----------------------------------+---------------------------
 Just noticed cirrus is failing again.

 Assume these are upgrade script issues

 https://github.com/postgis/postgis/runs/9023245767

 {{{
 /usr/local/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis_raster-3'g;s'@extschema@\.''g" >
 rtpostgis_upgrade_cleanup.sql
 grep -v '^#' rtpostgis_drop.sql.tmp | \
 /usr/local/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis_raster-3'g;s'@extschema@\.''g" >
 rtpostgis_drop.sql
 grep -v '^#' rtpostgis_legacy.sql.tmp | \
 /usr/local/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis_raster-3'g;s'@extschema@\.''g" >
 rtpostgis_legacy.sql
 grep: rtpostgis_drop.sql.tmp: No such file or directory
 grep -v '^#' rtpostgis_legacy.sql.tmp | \
 /usr/local/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis_raster-3'g;s'@extschema@\.''g" >
 rtpostgis_legacy.sql
 grep -v '^#' rtpostgis_legacy.sql.tmp | \
 /usr/local/bin/perl -lpe
 "s'MODULE_PATHNAME'\$libdir/postgis_raster-3'g;s'@extschema@\.''g" >
 rtpostgis_legacy.sql
 rm -f rtpostgis.sql.tmp
 printf '\\echo Use "CREATE EXTENSION postgis" to load this file. \\quit\n'
 > sql/postgis--3.4.0dev.sql
 rm -f rtpostgis_drop.sql.tmp
 /usr/local/bin/perl ../../utils/create_upgrade.pl rtpostgis.sql >
 rtpostgis_upgrade.sql.in
 rm -f rtpostgis.sql.tmp
 cat sql/postgis_for_extension.sql ../../doc/postgis_comments.sql
 sql/spatial_ref_sys_config_dump.sql sql/spatial_ref_sys.sql >> sql/postgis
 --3.4.0dev.sql
 rm -f rtpostgis_legacy.sql.tmp
 /usr/local/bin/perl ../../utils/create_undef.pl rtpostgis.sql 130 >
 uninstall_rtpostgis.sql
 /usr/local/bin/perl ../../utils/create_upgrade.pl rtpostgis.sql >
 rtpostgis_upgrade.sql.in
 rm -f rtpostgis_legacy.sql.tmp
 rm -f rtpostgis_legacy.sql.tmp
 /usr/local/bin/perl ../../utils/create_upgrade.pl
 sql/postgis_for_extension.sql > sql/postgis_upgrade_for_extension.sql.in
 /usr/local/bin/perl ../../utils/create_undef.pl rtpostgis.sql 130 >
 uninstall_rtpostgis.sql
 grep: grep: rtpostgis_upgrade_cleanup.sql.tmprtpostgis.sql.tmp: No such
 file or directory
 : No such file or directory
 rm -f rtpostgis_upgrade_cleanup.sql.tmp
 rm -f rtpostgis.sql.tmp
 /usr/local/bin/perl ../../utils/create_upgrade.pl rtpostgis.sql >
 rtpostgis_upgrade.sql.in
 /usr/local/bin/perl ../../utils/create_undef.pl rtpostgis.sql 130 >
 uninstall_rtpostgis.sql
 Unable to locate target new version number in rtpostgis.sql
 gmake[3]: *** [Makefile:152: rtpostgis_upgrade.sql.in] Error 255
 gmake[3]: *** Deleting file 'rtpostgis_upgrade.sql.in'
 gmake[3]: *** Waiting for unfinished jobs....
 Unable to locate target new version number in rtpostgis.sql
 gmake[3]: *** [Makefile:152: rtpostgis_upgrade.sql.in] Error 255
 gmake[3]: *** Waiting for unfinished jobs....
 Unable to locate target new version number in rtpostgis.sql
 gmake[3]: *** [Makefile:152: rtpostgis_upgrade.sql.in] Error 255
 gmake[3]: *** Waiting for unfinished jobs....
 #strip BEGIN/COMMIT since these are not allowed in extensions
 # WARNING: we should make sure these are not internal to function bodies
 cat ../../postgis/postgis_before_upgrade.sql
 sql/postgis_upgrade_for_extension.sql.in
 ../../postgis/postgis_after_upgrade.sql | /usr/local/bin/perl -pe
 's/BEGIN\;//g ; s/COMMIT\;//g' > sql/postgis_upgrade_for_extension.sql
 gmake[3]: Leaving directory '/tmp/cirrus-ci-build/raster/rt_pg'
 gmake[2]: *** [Makefile:88: ../../raster/rt_pg/uninstall_rtpostgis.sql]
 Error 2
 gmake[2]: *** Deleting file '../../raster/rt_pg/uninstall_rtpostgis.sql'
 gmake[2]: *** Waiting for unfinished jobs....
 gmake[3]: Leaving directory '/tmp/cirrus-ci-build/raster/rt_pg'
 gmake[2]: *** [Makefile:88: ../../raster/rt_pg/rtpostgis_drop.sql] Error 2
 gmake[2]: *** Deleting file '../../raster/rt_pg/rtpostgis_drop.sql'
 gmake[3]: Leaving directory '/tmp/cirrus-ci-build/raster/rt_pg'
 gmake[2]: *** [Makefile:88:
 ../../raster/rt_pg/rtpostgis_upgrade_cleanup.sql] Error 2
 gmake[2]: *** Deleting file
 '../../raster/rt_pg/rtpostgis_upgrade_cleanup.sql'
 gmake[2]: Leaving directory '/tmp/cirrus-ci-build/extensions/postgis'
 gmake[1]: *** [Makefile:29: all] Error 1
 gmake[1]: Leaving directory '/tmp/cirrus-ci-build/extensions'
 gmake: *** [GNUmakefile:25: all] Error 1
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5263>
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