Opened 2 years ago

Closed 2 years ago

#5263 closed defect (fixed)

Cirrus CI Freebsd failing on raster script builds again (FreeBSD)

Reported by: robe Owned by: strk
Priority: blocker Milestone: PostGIS 3.4.0
Component: build Version: master
Keywords: Cc:

Description

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

Change History (2)

comment:1 by Sandro Santilli <strk@…>, 2 years ago

In 510d8d7/git:

[cirrus-ci] Stop using parallel make

References #5263

comment:2 by strk, 2 years ago

Resolution: fixed
Status: newclosed

Disabling parallel make fixed buildi on CirrusCI, see https://cirrus-ci.com/github/postgis/postgis — closing as fixed

Note: See TracTickets for help on using tickets.