gdalchecksum mismatch for translated file on ppc64le

Asked by Priya Seth

I am translating a tiff file on Ubuntu 15.04, ppc64le using the following command:

gdal_translate -of HF2 data/byte.tif data/byte.tif.tst

When I run gdalchecksum.py on the input and output files, the output is different.

The output of gdalchecksum.py post translation on x86 is same. The md5sum of the files is different for the two files but is consistent for the corresponding files for x86 and ppc64LE

Is this a known issue?

Thanks!

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu gdal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Bas Couwenberg (sebastic) said :
#1

On 20-08-15 09:41, Priya Seth wrote:
> New question #270571 on gdal in Ubuntu:
> https://answers.launchpad.net/ubuntu/+source/gdal/+question/270571
>
> I am translating a tiff file on Ubuntu 15.04, ppc64le using the following command:
>
> gdal_translate -of HF2 data/byte.tif data/byte.tif.tst
>
> When I run gdalchecksum.py on the input and output files, the output is different.
>
> The output of gdalchecksum.py post translation on x86 is same. The md5sum of the files is different for the two files but is consistent for the corresponding files for x86 and ppc64LE
>
> Is this a known issue?

AFAIK it's not a known issue, but is probably explained by not properly
handling endian differences in the checksum algorithm.

GDAL upstream should be able to answer this question more in depth.

Revision history for this message
Johan Van de Wauw (johanvdw) said :
#2

Perhaps provide an input and the two output files with different md5 sum. Then it will be easier to determine where the actual difference is.

I agree it is probably best to post this to the gdal-dev mailinglist:
https://lists.osgeo.org/listinfo/gdal-dev

Revision history for this message
Priya Seth (seth-osc) said :
#3

 Thanks, Bas and Johan for your prompt reply
I will follow up with the gdal-dev mailing list for this.

On Thu, Aug 20, 2015 at 1:47 PM, Johan Van de Wauw
<email address hidden> wrote:
> Your question #270571 on gdal in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/gdal/+question/270571
>
> Johan Van de Wauw posted a new comment:
> Perhaps provide an input and the two output files with different md5
> sum. Then it will be easier to determine where the actual difference is.
>
> I agree it is probably best to post this to the gdal-dev mailinglist:
> https://lists.osgeo.org/listinfo/gdal-dev
>
> --
> You received this question notification because you asked the question.

Revision history for this message
Launchpad Janitor (janitor) said :
#4

This question was expired because it remained in the 'Open' state without activity for the last 15 days.