https://bz.apache.org/ooo/show_bug.cgi?id=126469

          Issue ID: 126469
        Issue Type: DEFECT
           Summary: Failing checksums in ./bootstrap due to archive
                    decompression
           Product: Build Tools
           Version: 4.1.1
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: external prerequisites
          Assignee: [email protected]
          Reporter: [email protected]

A typical ./bootstrap execution contains output like the following:

downloading to
.../ext_sources/128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar.gz.part
    MD5 checksum does not match (df9618de4c358e9918a6fa3c6a9f2256 instead of
128cfc86ed5953e57fe0f5ae98b62c2e)
downloading to
.../ext_sources/128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar.gz.part
MD5 checksum is OK

So:
1) Download is attempted from the first URL
2) Checksum does not match
3) Download is attempted from the second URL
4) Checksum matches, process continues

The reason for failure in 2) is that the file downloaded in 1), for some
reason, is the already decompressed version of the one we want to download.

Check:
$ gunzip 128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar.gz 
$ md5sum 128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar
df9618de4c358e9918a6fa3c6a9f2256 
128cfc86ed5953e57fe0f5ae98b62c2e-libtextcat-2.2.tar

(comparing the checksum it is clear that the file has already been
decompressed).

-- 
You are receiving this mail because:
You are the assignee for the issue.

Reply via email to