[postgis-tickets] [PostGIS] #4068: Debbie chocking on sfcgal/CGAL

PostGIS trac at osgeo.org
Mon Apr 9 08:18:40 PDT 2018


#4068: Debbie chocking on sfcgal/CGAL
-----------------------+---------------------------
 Reporter:  robe       |      Owner:  robe
     Type:  defect     |     Status:  new
 Priority:  blocker    |  Milestone:  PostGIS 2.4.5
Component:  buildbots  |    Version:  2.4.x
 Keywords:             |
-----------------------+---------------------------
 I assume this is caused by patch upgrades I did recently.

 My recent changes to 2.4 were just script changes for winnie so shouldn't
 caused this.

 Lately debbie is having problems.  It's showing just on 2.4, but expect it
 to show for 2.5 and 2.3 whenever next changes happen.


 {{{
  -------------- Dependencies --------------
   GEOS config:
 /var/lib/jenkins/workspace/geos/rel-3.7.0devw64/bin/geos-config
   GEOS version:         3.7.0dev
   GDAL config:          /var/lib/jenkins/workspace/gdal/rel-2.1w64/bin
 /gdal-config
   GDAL version:         2.1.4
   SFCGAL config:        /usr/bin/sfcgal-config
   SFCGAL version:       1.3.1
   PostgreSQL config:
 /var/lib/jenkins/workspace/pg/rel/pg10w64/bin/pg_config
   PostgreSQL version:   PostgreSQL 10.3
   PROJ4 version:        50
   Libxml2 config:       /usr/bin/xml2-config
   Libxml2 version:      2.9.4
   JSON-C support:       yes
   protobuf-c support:   yes
   PCRE support:         yes
   Perl:                 /usr/bin/perl

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

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

 /lib/libgeos_c.so -lc -lm -Wl,-rpath
 -Wl,/var/lib/jenkins/workspace/pg/rel/pg10w64/lib -Wl,-rpath
 -Wl,/var/lib/jenkins/workspace/gdal/rel-2.1w64/lib -Wl,-rpath
 -Wl,/var/lib/jenkins/workspace/geos/rel-3.7.0devw64/lib
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `operator>>(std::istream&, __mpz_struct*)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::BigFloatRep::operator new(unsigned long)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::BigFloatRep::toDouble() const'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::is_binary(std::basic_ios<char, std::char_traits<char> >&)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::Random::Random(unsigned int)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::ORIGIN'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `operator<<(std::ostream&, __mpz_struct const*)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::is_pretty(std::basic_ios<char, std::char_traits<char> >&)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::assertion_fail(char const*, char const*, int, char const*)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::BigIntRep::operator delete(void*, unsigned long)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::Random::Random()'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::NULL_VECTOR'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::BigFloatRep::sqrt(CORE::BigFloatRep const&, CORE::extLong const&)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::BigFloatRep::operator delete(void*, unsigned long)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::File_header_OFF::File_header_OFF(bool, bool, bool, bool)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::get_mode(std::basic_ios<char, std::char_traits<char> >&)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::BigIntRep::operator new(unsigned long)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::defBFsqrtAbsPrec'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CORE::BigFloatRep::BigFloatRep(double)'
 //usr/lib/x86_64-linux-gnu/libSFCGAL.so.1: undefined reference to
 `CGAL::File_writer_OFF::write_header(std::ostream&, unsigned long,
 unsigned long, unsigned long, bool)'
 collect2: error: ld returned 1 exit status
 make[2]: *** [Makefile:85: raster2pgsql] Error 1
 make[2]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/2.4/raster/loader'
 make[1]: *** [Makefile:31: rtloader] Error 2
 make[1]: Leaving directory
 '/var/lib/jenkins/workspace/postgis/branches/2.4/raster'
 make: *** [GNUmakefile:16: all] Error 1
 Build step 'Execute shell' marked build as failure
 An attempt to send an e-mail to empty list of recipients, ignored.
 }}}


 I suspect something to do with CGAL perhaps incompatible with the SFCGAL
 installed.

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4068>
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