Uploaded image for project: 'Apache Avro'
  1. Apache Avro
  2. AVRO-657

md5/sha1 files not being generated correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.4.0
    • 1.4.1
    • build
    • None

    Description

      The md5/sha1 files are not being generated correctly:

      cat avro-src-1.4.0.tar.gz.md5
      e614c3e5173293b35f4f25a6e15e131b dist/avro-src-1.4.0.tar.gz

      notice the file path is prefixed with "dist/". This causes a problem when downloading the md5/sha1 along with the archive itself, and then using the md5sum or sha1sum tools to verify:

      md5sum -c avro-src-1.4.0.tar.gz.md5
      md5sum: dist/avro-src-1.4.0.tar.gz: No such file or directory
      dist/avro-src-1.4.0.tar.gz: FAILED open or read
      md5sum: WARNING: 1 of 1 listed file could not be read

      (the md5 and tar.gz file exist in the same download directory)

      Note that the sums are correct, however the -c option does not work as intended given the path prefix.

      Attachments

        1. AVRO-657.patch
          3 kB
          Doug Cutting

        Activity

          People

            cutting Doug Cutting
            phunt Patrick D. Hunt
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: