Opened 9 years ago
Closed 9 years ago
#3314 closed defect (fixed)
Regression tests fail on big endian architectures
Reported by: | sebastic | Owned by: | strk |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 2.2.0 |
Component: | build | Version: | master |
Keywords: | Cc: | dustymugs |
Description
The Debian package builds for PostGIS 2.2.0rc1 failed on big endian architectures, test_116 & test_117 fail on both powerpc & s390x:
--- sfcgal/regress_expected 2013-05-09 19:38:17.000000000 +0000 +++ /tmp/pgis_reg/test_116_out 2015-10-02 23:04:49.616022595 +0000 @@ -154,7 +154,7 @@ 148|LINESTRING(0 0,5 0,10 0) 149|GEOMETRYCOLLECTION EMPTY 150|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0))) -151|0103000020E61000000100000005000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000000000000000000000000000000000000000 +151|0020000003000010E600000001000000050000000000000000000000000000000000000000000000003FF00000000000003FF00000000000003FF00000000000003FF0000000000000000000000000000000000000000000000000000000000000 152|4326 152.1|t 152.2|4326 @@ -167,7 +167,7 @@ 159|MULTIPOLYGON EMPTY 160|MULTIPOINT(1 1) 161|MULTILINESTRING((0 0,1 1),(2 2,3 3)) -162|010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0 +162|000000000200000003C02638E38DD971F74044000000000000C02638E38DD971F740518000000000004051800000000000C02638E38DD971F7 163|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 0)) 164|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 1)) ERROR: geometry contains non-closed rings ### /tmp/pgis_reg/test_117_diff ### --- sfcgal/tickets_expected 2015-06-25 20:45:35.000000000 +0000 +++ /tmp/pgis_reg/test_117_out 2015-10-02 23:04:50.000022595 +0000 @@ -114,7 +114,7 @@ #687|f #689|f #690 -010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0 +000000000200000003C02638E38DD971F74044000000000000C02638E38DD971F740518000000000004051800000000000C02638E38DD971F7 #693a|POLYGON M ((-71.1319 42.2503 1,-71.132 42.2502 3,-71.1323 42.2504 -2,-71.1322 42.2505 1,-71.1319 42.2503 0)) #693b|POLYGON M ((-71.1319 42.2512 0,-71.1318 42.2511 20,-71.1317 42.2511 -20,-71.1317 42.251 5,-71.1317 42.2509 4,-71.132 42.2511 6,-71.1319 42.2512 30)) #694 ### end of log dumps ###
Attachments (1)
Change History (14)
comment:1 by , 9 years ago
comment:2 by , 9 years ago
The tests now fail on little endian architectures too due to case mismatch:
### /tmp/pgis_reg/test_116_diff ### --- sfcgal/regress_expected 2013-05-09 19:38:17.000000000 +0000 +++ /tmp/pgis_reg/test_116_out 2015-10-04 16:28:51.890175268 +0000 @@ -154,7 +154,7 @@ 148|LINESTRING(0 0,5 0,10 0) 149|GEOMETRYCOLLECTION EMPTY 150|SRID=6;GEOMETRYCOLLECTION(POLYGON((0 0,1 0,1 1,0 1,0 0))) -151|0103000020E61000000100000005000000000000000000000000000000000000000000000000000000000000000000F03F000000000000F03F000000000000F03F000000000000F03F000000000000000000000000000000000000000000000000 +151|0103000020e61000000100000005000000000000000000000000000000000000000000000000000000000000000000f03f000000000000f03f000000000000f03f000000000000f03f000000000000000000000000000000000000000000000000 152|4326 152.1|t 152.2|4326 @@ -167,7 +167,7 @@ 159|MULTIPOLYGON EMPTY 160|MULTIPOINT(1 1) 161|MULTILINESTRING((0 0,1 1),(2 2,3 3)) -162|010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0 +162|010200000003000000f771d98de33826c00000000000004440f771d98de33826c000000000008051400000000000805140f771d98de33826c0 163|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 0)) 164|POLYGON((0 0 0,1 0 0,1 1 0,0 1 0,0 0 1)) ERROR: geometry contains non-closed rings ### /tmp/pgis_reg/test_117_diff ### --- sfcgal/tickets_expected 2015-06-25 20:45:35.000000000 +0000 +++ /tmp/pgis_reg/test_117_out 2015-10-04 16:28:52.250173418 +0000 @@ -114,7 +114,7 @@ #687|f #689|f #690 -010200000003000000F771D98DE33826C00000000000004440F771D98DE33826C000000000008051400000000000805140F771D98DE33826C0 +010200000003000000f771d98de33826c00000000000004440f771d98de33826c000000000008051400000000000805140f771d98de33826c0 #693a|POLYGON M ((-71.1319 42.2503 1,-71.132 42.2502 3,-71.1323 42.2504 -2,-71.1322 42.2505 1,-71.1319 42.2503 0)) #693b|POLYGON M ((-71.1319 42.2512 0,-71.1318 42.2511 20,-71.1317 42.2511 -20,-71.1317 42.251 5,-71.1317 42.2509 4,-71.132 42.2511 6,-71.1319 42.2512 30)) #694 ### end of log dumps ###
big-endian-regress-lowercase.patch
changes the expected hex results to use lowercase.
by , 9 years ago
Attachment: | big-endian-regress-lowercase.patch added |
---|
comment:3 by , 9 years ago
yup winnie started failing after pramsey's commit because of the lower case issue you describe. I'll commit this change in a bit.
comment:5 by , 9 years ago
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 ###
comment:6 by , 9 years ago
Cc: | added |
---|
dustymugs any thoughts on this? This looks like the new raster mapalgebra mask function which I'm still working on documenting.
comment:7 by , 9 years ago
Bug is still an endian thing, you can see the reversal in the hex… I wonder if raster output has an endian control…
comment:8 by , 9 years ago
pramsey at a quick glance, looks like raster tests usually avoid outputting the raster probably for this reason.
What I can do is rewrite the tests to do dump out the raster as an array using ST_DumpValues. Since I'm working in this area anyway not too much trouble. Is that okay with you.
comment:9 by , 9 years ago
Yes, raster tests avoid trying to do hex dumps. Value checks are how I do them.
comment:10 by , 9 years ago
okay hopefully I didn't screw that up too badly. Committed a fix at r14192.
Bas can you restest when you get a chance.
comment:12 by , 9 years ago
With the additional changes from r14192 & r14193 the tests now succeed on s390x at least, I assume it will fix the failure on powerpc, ppc64 & mips too but the build results of the new package revision are not in yet. I did have to revert some changes from r14185 that are not included in 2.2.0rc1 to get the expected results to match.
comment:13 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Bas,
Thanks. I'll close this out and reopen if we need to.
Should be fixed at r14182. This was a blind commit, I cannot run sfcgal tests on this machine.