Summary
The bottle do block for xcodegen 2.46.0 contains the checksums from 2.45.4 for
all platforms. The 2.46.0 bottles were built and pushed to ghcr correctly but the formula metadata is stale.
Running install gives the error:
==> Pouring xcodegen--2.46.0.arm64_tahoe.bottle.tar.gz
Error: /opt/homebrew/Cellar/xcodegen/2.46.0 is not a directory
Evidence
Published bottle checksums for 2.46.0 (formulae.brew.sh/api/formula/xcodegen.json) vs. the sh.brew.bottle.digest annotations on each ghcr manifest:
| platform |
published for 2.46.0 |
ghcr 2.45.4 |
ghcr 2.46.0 |
| arm64_tahoe |
f8763683… |
f8763683… |
a8ff378c… |
| arm64_sequoia |
8434a5e2… |
8434a5e2… |
ebea523c… |
| arm64_sonoma |
9d15c5e0… |
9d15c5e0… |
a08243b1… |
| sonoma |
372bc632… |
372bc632… |
ca21a552… |
Every published 2.46.0 checksum matches the 2.45.4 manifest exactly.
The correct 2.46.0 bottles are present on the registry. Fetching the arm64_tahoe blob by its manifest digest confirms both the hash and the contents:
$ curl -sL -H "Authorization: Bearer $TOKEN" \
https://ghcr.io/v2/homebrew/core/xcodegen/blobs/sha256:a8ff378ca37e4ab1a156fcbe92969b494d2cb8f5baac5e495f68b2d60f5ddac0 \
-o bottle.tar.gz
$ shasum -a 256 bottle.tar.gz
a8ff378ca37e4ab1a156fcbe92969b494d2cb8f5baac5e495f68b2d60f5ddac0
$ tar tzf bottle.tar.gz | head -3
xcodegen/2.46.0/
xcodegen/2.46.0/.brew/
xcodegen/2.46.0/.brew/xcodegen.rb
Where the blob the published arm64_tahoe checksum resolves to:
$ tar tzf <blob sha256:f8763683…> | head -1
xcodegen/2.45.4/
(a8ff378c… / ebea523c… / a08243b1… / ca21a552…).
Workaround
brew install --build-from-source xcodegen succeeds, since the source tarball checksum is correct.
Summary
The
bottle doblock forxcodegen2.46.0 contains the checksums from 2.45.4 forall platforms. The 2.46.0 bottles were built and pushed to ghcr correctly but the formula metadata is stale.
Running install gives the error:
Evidence
Published bottle checksums for 2.46.0 (
formulae.brew.sh/api/formula/xcodegen.json) vs. thesh.brew.bottle.digestannotations on each ghcr manifest:f8763683…f8763683…a8ff378c…8434a5e2…8434a5e2…ebea523c…9d15c5e0…9d15c5e0…a08243b1…372bc632…372bc632…ca21a552…Every published 2.46.0 checksum matches the 2.45.4 manifest exactly.
The correct 2.46.0 bottles are present on the registry. Fetching the
arm64_tahoeblob by its manifest digest confirms both the hash and the contents:Where the blob the published
arm64_tahoechecksum resolves to:(
a8ff378c…/ebea523c…/a08243b1…/ca21a552…).Workaround
brew install --build-from-source xcodegensucceeds, since the source tarball checksum is correct.