[postgis-tickets] [PostGIS] #4102: rt_grayscale fails on raspberrypi

PostGIS trac at osgeo.org
Sun Jul 15 13:15:20 PDT 2018


#4102: rt_grayscale fails on raspberrypi
---------------------+---------------------------
  Reporter:  komzpa  |      Owner:  Bborie Park
      Type:  defect  |     Status:  new
  Priority:  medium  |  Milestone:  PostGIS 2.5.0
 Component:  raster  |    Version:  trunk
Resolution:          |   Keywords:
---------------------+---------------------------

Comment (by komzpa):

 Same thing happens on ppc64el:

 {{{
 2018-07-05 13:58:41.641 UTC [7785] buildd at postgis_reg STATEMENT:  SELECT
 make_test_raster('big', 1, -12345678901234567890.0);
 2018-07-05 13:58:41.642 UTC [7785] buildd at postgis_reg WARNING:  Unable to
 add constraint: 'scale_x'.  Skipping
 2018-07-05 13:58:41.642 UTC [7785] buildd at postgis_reg CONTEXT:  PL/pgSQL
 function addrasterconstraints(name,name,name,text[]) line 113 at RAISE
 2018-07-05 13:58:41.645 UTC [7785] buildd at postgis_reg ERROR:  new row for
 relation "test_raster_scale_small" violates check constraint
 "enforce_scaley_rast"
 2018-07-05 13:58:41.645 UTC [7785] buildd at postgis_reg DETAIL:  Failing row
 contains (3,
 0100000100F168E388B5F8E43E72C45A7C0A00F03F0000000000000000000000...).
 2018-07-05 13:58:41.645 UTC [7785] buildd at postgis_reg CONTEXT:  SQL
 statement "INSERT INTO test_raster_scale_small VALUES ('3',
 '0100000100F168E388B5F8E43E72C45A7C0A00F03F00000000000000000000000000000000000000000000000000000000000000000000000002000200440001010101')"
         PL/pgSQL function make_test_raster(text,integer,double
 precision,double precision) line 16 at EXECUTE
 2018-07-05 13:58:41.645 UTC [7785] buildd at postgis_reg STATEMENT:  SELECT
 make_test_raster('small', 3, 0.00001, 1.00001);
 Dropping cluster 10/regress ...
  ### /tmp/pgis_reg/test_74_diff ###
 --- rt_grayscale_expected       2018-07-03 20:26:25.000000000 +0000
 +++ /tmp/pgis_reg/test_74_out   2018-07-05 13:58:40.508123178 +0000
 @@ -8,17 +8,17 @@
  1|1|1|{{NULL,128},{254,255}}
  1|2|1|{{NULL,128},{254,255}}
  1|3|1|{{NULL,0},{254,254}}
 -1|4|1|{{NULL,0},{254,254}}
 +1|4|1|{{0,0},{254,254}}
  1|5|1|{{NULL,NULL},{128,128},{255,255}}
  2|1|1|{{NULL,128},{254,255}}
  2|2|1|{{NULL,128},{254,255}}
  2|3|1|{{NULL,0},{254,254}}
 -2|4|1|{{NULL,0},{254,254}}
 +2|4|1|{{0,0},{254,254}}
  2|5|1|{{NULL,NULL},{128,128},{255,255}}
  3|1|1|{{NULL,128},{254,255}}
  3|2|1|{{NULL,128},{254,255}}
  3|3|1|{{NULL,0},{254,254}}
 -3|4|1|{{NULL,0},{254,254}}
 +3|4|1|{{0,0},{254,254}}
  3|5|1|{{NULL,NULL},{128,128},{255,255}}
  BEGIN
  ERROR:  'rastbandargset' must have three bands for red, green and blue
  ### end of log dumps ###
 make[1]: *** [debian/rules:208: override_dh_auto_test] Error 2
 make[1]: Leaving directory '/<<BUILDDIR>>/postgis-2.5.0~beta1+dfsg'
 make: *** [debian/rules:119: build-arch] Error 2
 dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit
 status 2
 --------------------------------------------------------------------------------
 Build finished at 2018-07-05T13:58:46Z

 }}}

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