f0rmiga / gcc-toolchain

A fully-hermetic Bazel GCC toolchain for Linux.
Apache License 2.0
103 stars 24 forks source link

Moving from aspect-build to f0rmiga broke builds #165

Open chiphogg opened 7 months ago

chiphogg commented 7 months ago

This move affected the stripped prefix of the automatically generated archive files, which therefore also changes the SHA. End users will need to migrate their builds by updating both the sha256 and strip_prefix fields (and updating urls too couldn't hurt).

Here's an example.

chiphogg commented 7 months ago

By the way, while I'm at it, and for my own curiosity --- when did this repo move to a new home, and why?

f0rmiga commented 5 months ago

I am the original author and maintainer. Aspect donated this project to me.

alexeagle commented 1 month ago

This wouldn't break you if you used GitHub's archive, which has only the repo name included but not the org. https://github.com/f0rmiga/gcc-toolchain/archive/ac745d4685e2095cc4f057862800f3f0a473c201.tar.gz for example. The URL format you've used to fetch from GitHub is new to me, and certainly more brittle in this regard.

chiphogg commented 1 month ago

Thank you @alexeagle for that fantastically useful comment! I wasn't aware of that. I'm going to switch to use that format instead while we wait for the more robust solution of #166.