Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Formula/s/swift-protobuf.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
class SwiftProtobuf < Formula
desc "Plugin and runtime library for using protobuf with Swift"
homepage "https://github.com/apple/swift-protobuf"
url "https://github.com/apple/swift-protobuf/archive/refs/tags/1.32.0.tar.gz"
sha256 "630887931bb51260f1602d2641e4a1dff3db260ed8ba62092cb9651007d7a115"
url "https://github.com/apple/swift-protobuf/archive/refs/tags/1.33.1.tar.gz"
sha256 "442b9b90725fe6bae0b1269f434c37f24b7d6a29ad71348d8f6a84dab1d9c11b"
license "Apache-2.0"
head "https://github.com/apple/swift-protobuf.git", branch: "main"

Expand All @@ -25,7 +25,7 @@

uses_from_macos "swift" => :build

def install

Check failure on line 28 in Formula/s/swift-protobuf.rb

View workflow job for this annotation

GitHub Actions / Linux x86_64

`brew install --verbose --formula --build-bottle swift-protobuf` failed on Linux x86_64!

warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-5f8rv6/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/common/names.cc': File not found. warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-5f8rv6/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/file_layout.cc': File not found. warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-5f8rv6/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/minitable/names.cc': File not found. warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-5f8rv6/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/minitable/names_internal.cc': File not found. warning: 'swift-protobuf-1.33.1': Source files for target protoc should be located under 'Sources/protoc', or a custom sources path can be set with the 'path' property in Package.swift error: 'swift-protobuf-1.33.1': target 'protoc' referenced in product 'protoc' is empty ==> Formula Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/s/swift-protobuf.rb ==> Configuration HOMEBREW_VERSION: 4.6.18-54-g8f67192 ORIGIN: https://github.com/Homebrew/brew HEAD: 8f6719274133c5bcc24c058c5a6bcbb3b0cd48b3 Last commit: 13 hours ago Branch: main Core tap HEAD: b060124bdb3a1b99d24ab056a0cf2e0df2fdb3d8 Core tap last commit: 8 minutes ago Core tap JSON: 27 Oct 20:45 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_DOWNLOAD_CONCURRENCY: 8 HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /github/home/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.4.5 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.5/bin/ruby CPU: quad-core 64-bit zen3 Clang: N/A Git: 2.51.1 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.11.0-1018-azure x86_64 GNU/Linux OS: Ubuntu 22.04.5 LTS Host glibc: 2.35 Host libstdc++: 6.0.30 /usr/bin/gcc-12: 12.3.0 /usr/bin/ruby: N/A glibc: N/A gcc@12: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-12 HOMEBREW_CXX: g++-12 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/abseil/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/protobuf/lib/pkgconfig PKG_CONFIG_LIBDIR: HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git ACLOCAL_PATH: /home/linuxbrew/.linuxbrew/share/aclocal PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/protobuf/bin:/home/linuxbrew/.linuxbrew/opt/swift/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /github/home/bottles/logs/swift-protobuf/00.options.out /github/home/bottles/logs/swift-protobuf/01.swift.log READ THIS: https://docs.brew.sh/Troubleshooting ::error::swift-protobuf 1.33.1 did not build

Check failure on line 28 in Formula/s/swift-protobuf.rb

View workflow job for this annotation

GitHub Actions / Linux arm64

`brew install --verbose --formula --build-bottle swift-protobuf` failed on Linux arm64!

warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-czngeg/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/common/names.cc': File not found. warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-czngeg/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/file_layout.cc': File not found. warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-czngeg/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/minitable/names.cc': File not found. warning: 'swift-protobuf-1.33.1': Invalid Source '/var/tmp/swift-protobuf-20251027-8189-czngeg/swift-protobuf-1.33.1/Sources/protobuf/protobuf/upb_generator/minitable/names_internal.cc': File not found. warning: 'swift-protobuf-1.33.1': Source files for target protoc should be located under 'Sources/protoc', or a custom sources path can be set with the 'path' property in Package.swift error: 'swift-protobuf-1.33.1': target 'protoc' referenced in product 'protoc' is empty ==> Formula Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/s/swift-protobuf.rb ==> Configuration HOMEBREW_VERSION: 4.6.18-54-g8f67192 ORIGIN: https://github.com/Homebrew/brew HEAD: 8f6719274133c5bcc24c058c5a6bcbb3b0cd48b3 Last commit: 13 hours ago Branch: main Core tap HEAD: b060124bdb3a1b99d24ab056a0cf2e0df2fdb3d8 Core tap last commit: 9 minutes ago Core tap JSON: 27 Oct 20:45 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_DOWNLOAD_CONCURRENCY: 8 HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_FORBID_PACKAGES_FROM_PATHS: set HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /github/home/bottles/logs HOMEBREW_MAKE_JOBS: 4 HOMEBREW_NO_AUTO_UPDATE: set HOMEBREW_NO_EMOJI: set HOMEBREW_NO_ENV_HINTS: set HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: set HOMEBREW_NO_INSTALL_FROM_API: set HOMEBREW_SORBET_RUNTIME: set HOMEBREW_VERIFY_ATTESTATIONS: set Homebrew Ruby: 3.4.5 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.4.5/bin/ruby CPU: quad-core 64-bit arm Clang: N/A Git: 2.34.1 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.8.0-1031-azure aarch64 GNU/Linux OS: Ubuntu 22.04.5 LTS Host glibc: 2.35 Host libstdc++: 6.0.30 /usr/bin/gcc-12: 12.3.0 /usr/bin/ruby: N/A glibc: N/A gcc@12: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-12 HOMEBREW_CXX: g++-12 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/abseil/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/protobuf/lib/pkgconfig PKG_CONFIG_LIBDIR: HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git ACLOCAL_PATH: /home/linuxbrew/.linuxbrew/share/aclocal PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/protobuf/bin:/home/linuxbrew/.linuxbrew/opt/swift/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /github/home/bottles/logs/swift-protobuf/00.options.out /github/home/bottles/logs/swift-protobuf/01.swift.log READ THIS: https://docs.brew.sh/Troubleshooting ::error::swift-protobuf 1.33.1 did not build ::error::Your CPU architecture (arm64) is not supported. We only support%0Ax86_64 CPU architectures. You will be unable to use binary packages (bottles).%0A%0AThis is a Tier 2 configuration:%0A https://docs.brew.sh/Support-Tiers#tier-2%0AYou can report Tier 2 unrelated issues to Homebrew/* repositories!%0ARead the above document before opening any issues or PRs.%0A%0A
args = if OS.mac?
["--disable-sandbox"]
else
Expand Down
Loading