[postgis-tickets] [PostGIS] #4379: Raster unit tests failing with GDAL master

PostGIS trac at osgeo.org
Mon Aug 26 05:05:37 PDT 2019


#4379: Raster unit tests failing with GDAL master
-------------------------+---------------------------
  Reporter:  Algunenano  |      Owner:  Bborie Park
      Type:  defect      |     Status:  reopened
  Priority:  medium      |  Milestone:  PostGIS 3.0.0
 Component:  raster      |    Version:  trunk
Resolution:              |   Keywords:
-------------------------+---------------------------
Changes (by Algunenano):

 * status:  closed => reopened
 * resolution:  worksforme =>


Comment:

 I've rebuilt with gdal release/3.0 and I reproduce it again:
 {{{
   Test: test_raster_compute_skewed_raster ...FAILED
     1. cu_raster_misc.c:199  -
 CU_ASSERT_EQUAL(rt_raster_get_width(rast),2)
 }}}

 Using:
 - Gdal release/3.0 currently at
 https://github.com/OSGeo/gdal/commit/eeff82f5a22d1816ff6882b9c0710195d0b7fc41.
 - PROJ 6.1.0 (not sure if it matters)
 - Postgis trunk, currently at
 https://github.com/postgis/postgis/commit/7bab445476440f30c9a06996a9bd4d3c762e790e

 I have a feeling that this might depend on GDAL compilation options
 (CFLAGS / CXXFLAGS) since I couldn't reproduce it with the distribution
 packages but I do when building the package myself.
 {{{
   C compiler:                gcc -DHAVE_AVX_AT_COMPILE_TIME
 -DHAVE_SSSE3_AT_COMPILE_TIME -march=native -mtune=native -O3 -pipe -fno-
 plt -Wall -Wextra -Wno-unused-parameter -g3 -gdwarf-4 -fno-omit-frame-
 pointer -mno-omit-leaf-frame-pointer
   C++ compiler:              g++ -DHAVE_AVX_AT_COMPILE_TIME
 -DHAVE_SSSE3_AT_COMPILE_TIME -march=native -mtune=native -O3 -pipe -fno-
 plt -Wall -Wextra -Wno-unused-parameter -g3 -gdwarf-4 -fno-omit-frame-
 pointer -mno-omit-leaf-frame-pointer
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4379#comment:3>
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