Skip to content

MacOS CI failing during homebrew update and openssl installation. #1812

@lucasssvaz

Description

@lucasssvaz

The MacOS CI is failing while installing openssl and homebrew update.

OpenSSL installation:

==> Downloading https://ghcr.io/v2/homebrew/core/u-boot-tools/blobs/sha256:d9441454506ac196e7ca0b86867cdd2b28e64efc845f37674448382d01548dba
Already downloaded: /Users/runner/work/nuttx-apps/nuttx-apps/sources/tools/homebrew/downloads/5c0c7a43db5c54cb3ba4753104693568884c41d9d856084fb2777935c8a49b5e--u-boot-tools--2023.04.monterey.bottle.tar.gz
==> Installing dependencies for u-boot-tools: openssl@3
==> Installing u-boot-tools dependency: openssl@3
==> Pouring openssl@3--3.1.1_1.monterey.bottle.tar.gz
Error: same file: /usr/local/bin/openssl and /Users/runner/work/nuttx-apps/nuttx-apps/sources/tools/homebrew/Backup/bin/openssl
Do not report this issue until you've run `brew update` and tried again.
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1557:in `block in fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1574:in `fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:1556:in `fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fileutils.rb:520:in `mv'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:993:in `rescue in link'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:986:in `link'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:782:in `finish'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:743:in `install_dependency'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:662:in `block in install_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:662:in `each'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:662:in `install_dependencies'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:408:in `install'
/usr/local/Homebrew/Library/Homebrew/upgrade.rb:203:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/install.rb:358:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/install.rb:303:in `block in install_formulae'
/usr/local/Homebrew/Library/Homebrew/install.rb:302:in `each'
/usr/local/Homebrew/Library/Homebrew/install.rb:302:in `install_formulae'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:274:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:94:in `<main>'
Error: Process completed with exit code 1.

Homebrew Update:

+ brew update --quiet
remote: fatal: object 379af1d081fb8e3369cd97c328b2a68600132b63 cannot be read        
remote: aborting due to possible repository corruption on the remote side.
fatal: protocol error: bad pack header
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!
Updated 5 taps (homebrew/cask, homebrew/bundle, homebrew/services, mongodb/brew and aws/tap).
Error: Process completed with exit code 1.

This is happening in multiple PRs since yesterday:
#1809 #1810 #1811

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions