mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 07:59:02 +08:00

Homebrew/brew has moved to a `main` default branch so we can more move references from `master` to `main`.
1.2 KiB
1.2 KiB
last_review_date
last_review_date |
---|
1970-01-01 |
Common Issues for Maintainers
Overview
This is a page for maintainers to diagnose certain build errors.
Issues
Bottle publishes failed but the commits are correct in the git history
Follow these steps to fix this issue:
- Download and extract the bottle artifact.
brew pr-upload --no-commit
in the bottle directory.
Alternative instructions using pr-pull
:
git reset --hard <SHA>
inhomebrew/core
to reset to the commit before all the commits created bybrew pr-pull
.brew pr-pull <options>
to upload the right bottles. Add the--warn-on-upload-failure
switch if the bottles have been partially uploaded and you're certain that the bottle checksums will match the checksums already present in thebottle do
block of the formula.git reset --hard origin/HEAD
to return to the latest commit and discard the commits made bybrew pr-pull
.
ld: internal error: atom not found in symbolIndex(__ZN10SQInstance3GetERK11SQObjectPtrRS0_) for architecture x86_64
The exact atom may be different.
This can be caused by passing the obsolete -s
option to the linker and can be fixed using inreplace
.