[postgis-tickets] [PostGIS] #3314: Regression tests fail on big endian architectures

PostGIS trac at osgeo.org
Sun Oct 4 11:33:41 PDT 2015


#3314: Regression tests fail on big endian architectures
------------------------------------+---------------------------
  Reporter:  sebastic               |      Owner:  strk
      Type:  defect                 |     Status:  new
  Priority:  medium                 |  Milestone:  PostGIS 2.2.0
 Component:  build/upgrade/install  |    Version:  trunk
Resolution:                         |   Keywords:
------------------------------------+---------------------------

Comment (by sebastic):

 With the changes from r14182 & r14184, the regression tests now fail
 test_64:
 {{{
  ### /tmp/pgis_reg/test_64_diff ###
 --- rt_mapalgebra_mask_expected 2014-01-07 04:16:00.000000000 +0000
 +++ /tmp/pgis_reg/test_64_out   2015-10-04 18:27:06.264919995 +0000
 @@ -46,10 +46,10 @@
  NOTICE:  value = {{{2}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  ERROR:  RASTER_nMapAlgerbra: Mask Must be a 2D array.
 @@ -95,10 +95,10 @@
  NOTICE:  value = {{{2}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -138,10 +138,10 @@
  NOTICE:  value = {{{NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -181,10 +181,10 @@
  NOTICE:  value = {{{2,2,NULL},{2,2,NULL},{NULL,NULL,NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -224,10 +224,10 @@
  NOTICE:  value = {{{2,NULL,NULL},{NULL,NULL,NULL},{NULL,NULL,NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  ERROR:  RASTER_nMapAlgerbra: Mask dimenstions must be odd.
 @@ -273,10 +273,10 @@
  NOTICE:  value = {{{2}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  ERROR:  RASTER_nMapAlgerbra: Mask Must be a 2D array.
 @@ -322,10 +322,10 @@
  NOTICE:  value = {{{2}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -365,10 +365,10 @@
  NOTICE:  value = {{{NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -408,10 +408,10 @@
  NOTICE:  value = {{{2,2,NULL},{2,2,NULL},{NULL,NULL,NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -451,10 +451,10 @@
  NOTICE:  value = {{{2,0,NULL},{0,0,NULL},{NULL,NULL,NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  ERROR:  RASTER_nMapAlgerbra: Mask dimenstions must be odd.
 @@ -503,10 +503,10 @@
  NOTICE:  value = {{{1}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -546,10 +546,10 @@
  NOTICE:  value = {{{1,1,NULL},{1,1,NULL},{NULL,NULL,NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  NOTICE:  First argument (nband) of rastbandarg at index 0 is NULL.
 Assuming NULL raster
  NOTICE:  All input rasters are NULL. Returning NULL
  NOTICE:  All input rasters do not have bands at indicated indexes.
 Returning empty raster
 @@ -589,7 +589,7 @@
  NOTICE:  value = {{{1,0,NULL},{0,0,NULL},{NULL,NULL,NULL}}}
  NOTICE:  pos = [0:1][1:2]={{2,2},{2,2}}
  NOTICE:  userargs = <NULL>
 -0100000000000000000000F03F000000000000F0BF00000000000000000000000000000000000000000000000000000000000000000000000000000000
 -0100000100000000000000F03F000000000000F0BF000000000000000000000000000000000000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 -0100000100000000000000F03F000000000000F0BF000000000000F03F000000000000F0BF0000000000000000000000000000000000000000020002004400FFFFFFFF
 +00000000003FF0000000000000BFF000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
 +00000000013FF0000000000000BFF0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
 +00000000013FF0000000000000BFF00000000000003FF0000000000000BFF00000000000000000000000000000000000000000000000000000000200024400FFFFFFFF
  ### end of log dumps ###
 }}}
 Full build logs:
 [https://buildd.debian.org/status/fetch.php?pkg=postgis&arch=powerpc&ver=2.2.0~rc1%2Bdfsg-1~exp2&stamp=1443983250
 powerpc],
 [https://buildd.debian.org/status/fetch.php?pkg=postgis&arch=s390x&ver=2.2.0~rc1%2Bdfsg-1~exp2&stamp=1443983005
 s390x]

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