Merge pull request #7869 from Moisan/bottle_publish_failed_doc

docs/Common-Issues-for-Core-Contributors: add steps to fix failed bottle publish
This commit is contained in:
Mike McQuaid 2020-07-02 09:54:15 +01:00 committed by GitHub
commit 3a23d07356
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,13 @@ 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:
* `git reset --hard <SHA>` in homebrew/core to reset to the commit before before all the commits created by `brew pr-pull`.
* `brew pr-pull <options>` to upload the right bottles. Add the `--warn-on-upload-failure` flag if the bottles have been partially uploaded and you're certain that the bottle checksums will match the checksums already present in the `bottle do` block of the formula.
* `git reset --hard origin/master` to return to the latest commit and discard the commits made by `brew pr-pull`.
### `ld: internal error: atom not found in symbolIndex(__ZN10SQInstance3GetERK11SQObjectPtrRS0_) for architecture x86_64`
The exact atom may be different.