Skip to content

zlib port download hits unexpected hash, probably GitHub issue #16164

@akoeplinger

Description

@akoeplinger

Sometime in the last few hours we're seeing this:

ports:INFO: retrieving port: zlib from https://github.com/madler/zlib/archive/v1.2.11.zip
emcc: error: Unexpected hash: 9ec7c573fac2cd4d6ba64dd4dfd7330f317be75367575013da4004d7da7ff51b70b85783dc8533df081e70527135cdbf2ffc12b40f2d011fd7fbe6cb52d2f47d

It looks like https://github.com/madler/zlib/archive/v1.2.11.zip started returning a file with a different SHA512 hash now:

  • Before: a42b8359e76cf7b3ae70bf31f0f8a8caa407ac80e8fe08b838076cd5e45ac2e685dae45eb59db2d25543fb3b5bd13b843a02bb8373cda704d7238be50d5e9c68
  • After: 9ec7c573fac2cd4d6ba64dd4dfd7330f317be75367575013da4004d7da7ff51b70b85783dc8533df081e70527135cdbf2ffc12b40f2d011fd7fbe6cb52d2f47d

Interestingly https://github.com/madler/zlib/archive/refs/tags/v1.2.11.zip still returns the "expected" SHA512 hash.


The /archive/v1.2.10 for the earlier zlib tag returns the expected content on both URLs so it looks like a GitHub bug to me and I opened a ticket with GitHub support: 1485268

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions