Opened 7 years ago

Closed 7 years ago

#3938 closed defect (fixed)

Bessie FreeBSD and SFCGAL build unpackaged script issue

Reported by: robe Owned by: strk
Priority: medium Milestone: PostGIS 2.3.6
Component: build Version: 2.4.x
Keywords: Cc:

Description

Okay I did

pkg install sfcgal

on bessie, and now she's blowing on building SFCGAL uninstall scripts.

PostGIS is now configured for amd64-unknown-freebsd11.1

 -------------- Compiler Info ------------- 
  C compiler:           cc -g -O2
  SQL preprocessor:     /usr/bin/cpp -traditional-cpp -w -P

 -------------- Dependencies -------------- 
  GEOS config:          /usr/local/bin/geos-config
  GEOS version:         3.6.2
  GDAL config:          /usr/local/bin/gdal-config
  GDAL version:         2.2.2
  SFCGAL config:        /usr/local/bin/sfcgal-config
  SFCGAL version:       1.3.1
  PostgreSQL config:    /usr/local/bin/pg_config
  PostgreSQL version:   PostgreSQL 10.1
  PROJ4 version:        49
  Libxml2 config:       /usr/local/bin/xml2-config
  Libxml2 version:      2.9.4
  JSON-C support:       no
  protobuf-c support:   no
  PCRE support:         no
  Perl:                 /usr/local/bin/perl

 --------------- Extensions --------------- 
  PostGIS Raster:       enabled
  PostGIS Topology:     enabled
  SFCGAL support:       enabled
  Address Standardizer support:       disabled

 -------- Documentation Generation -------- 
  xsltproc:             /usr/local/bin/xsltproc
  xsl style sheets:     
  dblatex:              
  convert:              /usr/local/bin/convert
  mathml2.dtd:          http://www.w3.org/Math/DTD/mathml2/mathml2.dtd

configure: WARNING:  --------- GEOS VERSION WARNING ------------ 
configure: WARNING:   You are building against GEOS 3.6.2 
configure: WARNING:   To take advantage of all the features of 
configure: WARNING:   this PostGIS version requires GEOS 3.7.0 or higher which is not out yet.
configure: WARNING:   To take advantage of most of the features of this PostGIS
configure: WARNING:   we recommend GEOS 3.6 or higher
configure: WARNING:   You can download the latest versions from 
configure: WARNING:   http://trac.osgeo.org/geos 
configure: WARNING: 
cat sql_bits/sfcgal.sql | ../../utils/create_unpackaged.pl postgis_sfcgal > sql/postgis_sfcgal--unpackaged--2.5.0dev.sql
/bin/sh: ../../utils/create_unpackaged.pl: not found
gmake[3]: *** [Makefile:67: sql/postgis_sfcgal--unpackaged--2.5.0dev.sql] Error 127
gmake[3]: *** Deleting file 'sql/postgis_sfcgal--unpackaged--2.5.0dev.sql'
gmake[3]: Leaving directory '/usr/home/jenkins/workspace/Test_Slave/trunk/extensions/postgis_sfcgal'
gmake[2]: *** [Makefile:26: all] Error 1
gmake[2]: Leaving directory '/usr/home/jenkins/workspace/Test_Slave/trunk/extensions'
gmake[1]: *** [GNUmakefile:16: all] Error 1
gmake[1]: Leaving directory '/usr/home/jenkins/workspace/Test_Slave/trunk'
*** Error code 2

I recall seeing this particular error before but can't remember where

Change History (6)

comment:1 by robe, 7 years ago

Component: buildbotsbuild/upgrade/install
Owner: changed from robe to strk
Summary: Bessie and SFCGAL build unpackaged script issueBessie FreeBSD and SFCGAL build unpackaged script issue

I think I found the issue, for the SFCGAL build we are not explicitly specifying $(PERL) as we doe for the postgis unstall build.

I think Greg complained about this a long time ago, and perhaps issue wasn't noticed being same on SFCGAL cause he wasn't building with sfcgal support.

comment:2 by robe, 7 years ago

In 16118:

Explicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd it fails
References #3938 for PostGIS 2.5

comment:3 by robe, 7 years ago

In 16123:

Explicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd it fails
Also get rid of 9.1 check, we don't support 9.1 anymore.
References #3938 for PostGIS 2.4.3

comment:4 by robe, 7 years ago

Milestone: PostGIS 2.5.0PostGIS 2.3.5

comment:5 by robe, 7 years ago

Milestone: PostGIS 2.3.5PostGIS 2.3.6

comment:6 by robe, 7 years ago

Resolution: fixed
Status: newclosed

In 16124:

Explicitly specify $(PERL) to call create_unpackaged.pl otherwise at least on freebsd it fails (and backport other minor changes like remove of 9.1 which support was dropped in 2.2)
Closes #3938 for PostGIS 2.3.6
Also add the Bessie sisters to battery testing

Note: See TracTickets for help on using tickets.