Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icu4c@76: revision bump for icu4c alias migration #196166

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion Aliases/icu4c
3 changes: 2 additions & 1 deletion Formula/i/[email protected]
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
class Icu4cAT75 < Formula

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for icu4c@75 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for icu4c@75 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for icu4c@75 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for icu4c@75 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for icu4c@75 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Bottle cache hit

Bottle for icu4c@75 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)
desc "C/C++ and Java libraries for Unicode and globalization"
homepage "https://icu.unicode.org/home"
url "https://github.com/unicode-org/icu/releases/download/release-75-1/icu4c-75_1-src.tgz"
version "75.1"
sha256 "cb968df3e4d2e87e8b11c49a5d01c787bd13b9545280fc6642f826527618caef"
license "ICU"
revision 1

livecheck do
url :stable
Expand All @@ -24,7 +25,7 @@
sha256 cellar: :any_skip_relocation, x86_64_linux: "e7ca9ed261455d9f114079bb46b3175c57265a5e254f9d33404c10a70e5523b5"
end

keg_only :shadowed_by_macos, "macOS provides libicucore.dylib (but nothing else)"
keg_only :versioned_formula

def install
odie "Major version bumps need a new formula!" if version.major.to_s != name[/@(\d+)$/, 1]
Expand Down
5 changes: 2 additions & 3 deletions Formula/i/[email protected]
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
class Icu4cAT76 < Formula

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / Linux

Bottle cache hit

Bottle for icu4c@76 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

Bottle cache hit

Bottle for icu4c@76 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

Bottle cache hit

Bottle for icu4c@76 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

Bottle cache hit

Bottle for icu4c@76 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

Bottle cache hit

Bottle for icu4c@76 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)

Check notice on line 1 in Formula/i/[email protected]

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

Bottle cache hit

Bottle for icu4c@76 built at eb53daa0be1 (Merge 4c06ba4efbeedb137fc26d2dbe905a9ce60f2d43 into 3619085a3a58896902fcc88db091f354f29800d5, 2024-10-31)
desc "C/C++ and Java libraries for Unicode and globalization"
homepage "https://icu.unicode.org/home"
url "https://github.com/unicode-org/icu/releases/download/release-76-1/icu4c-76_1-src.tgz"
version "76.1"
sha256 "dfacb46bfe4747410472ce3e1144bf28a102feeaa4e3875bac9b4c6cf30f4f3e"
license "ICU"
revision 1

# We allow the livecheck to detect new `icu4c` major versions in order to
# automate version bumps. To make sure PRs are created correctly, we output
Expand All @@ -26,9 +27,7 @@
sha256 cellar: :any_skip_relocation, x86_64_linux: "a0e8e698c09aee143fce7529fcdf776be98d15f3a000ed8c3e74dc387ce364ac"
end

# TODO: Switch keg_only reason after renaming `icu4c` formula to `icu4c@75` and updating alias to `icu4c@76`
# keg_only :provided_by_macos, "macOS provides libicucore.dylib (but nothing else)"
keg_only :versioned_formula
keg_only :shadowed_by_macos, "macOS provides libicucore.dylib (but nothing else)"

def install
odie "Major version bumps need a new formula!" if version.major.to_s != name[/@(\d+)$/, 1]
Expand Down
13 changes: 8 additions & 5 deletions Formula/lib/libxml2.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
url "https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.4.tar.xz"
sha256 "65d042e1c8010243e617efb02afda20b85c2160acdbfbcb5b26b80cec6515650"
license "MIT"
revision 3
revision 4

# We use a common regex because libxml2 doesn't use GNOME's "even-numbered
# minor is stable" version scheme.
Expand Down Expand Up @@ -33,7 +33,6 @@

keg_only :provided_by_macos

depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "[email protected]" => [:build, :test]
depends_on "pkg-config" => :test
Expand All @@ -48,7 +47,7 @@
.map { |f| f.opt_libexec/"bin/python" }
end

def install

Check failure on line 50 in Formula/lib/libxml2.rb

View workflow job for this annotation

GitHub Actions / Linux

`brew install --verbose --formula --build-bottle libxml2` failed on Linux!

Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command Getting requirements to build wheel failed to find and generate stubs for libxml2, aborting ... <class 'ModuleNotFoundError'> No module named 'generator' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /home/linuxbrew/.linuxbrew/opt/[email protected]/bin/python3.12 /home/linuxbrew/.linuxbrew/opt/[email protected]/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /tmp/tmpmqwmaw87 cwd: /tmp/libxml2-20241102-9089-lwcq9z/libxml2-2.13.4/python Getting requirements to build wheel: finished with status 'error' [notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: pip3.12 install --upgrade pip error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ==> Formula Path: /home/linuxbrew/.linuxbrew/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lib/libxml2.rb ==> Configuration HOMEBREW_VERSION: 4.4.3-77-g4f7742b ORIGIN: https://github.com/Homebrew/brew HEAD: 4f7742b6aeb6c256fa5a41b0be20e75da52cc8ce Last commit: 27 minutes ago Core tap HEAD: 2ccd589f4975ac6ac703c5227bef5792dd554798 Core tap last commit: 8 minutes ago Core tap JSON: 02 Nov 01:40 UTC HOMEBREW_PREFIX: /home/linuxbrew/.linuxbrew HOMEBREW_BOOTSNAP: set HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 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.3.5 => /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit zen3 Clang: N/A Git: 2.47.0 => /usr/bin/git Curl: 7.81.0 => /usr/bin/curl Kernel: Linux 6.5.0-1025-azure x86_64 GNU/Linux OS: Ubuntu 22.04.5 LTS Host glibc: 2.35 /usr/bin/gcc: 11.4.0 /usr/bin/ruby: N/A glibc: N/A gcc@11: N/A gcc: N/A xorg: N/A ==> ENV HOMEBREW_CC: gcc-11 HOMEBREW_CXX: g++-11 CFLAGS: -std=gnu11 MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /home/linuxbrew/.linuxbrew PKG_CONFIG_PATH: /home/linuxbrew/.linuxbrew/opt/[email protected]/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/[email protected]/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/icu4c@76/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/ncurses/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/readline/lib/pkgconfig:/home/linuxbrew/.linuxbrew/opt/zlib/lib/pkgconfig HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git PATH: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/shims/linux/super:/home/linuxbrew/.linuxbrew/opt/[email protected]/bin:/home/linuxbrew/.linuxbrew/opt/[email protected]/bin:/home/linuxbrew/.linuxbrew/opt/icu4c@76/bin:/home/linuxbrew/.linuxbrew/opt/ncurses/bin:/home/linuxbrew/.linuxbrew/opt/[email protected]/libexec/bin:/home/linuxbrew/.linuxbrew/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /github/home/bottles/logs/libxml2/00.options.out /github/home/bottles/logs/libxml2/01.configure /github/home/bottles/logs/libxml2/01.configure.cc /github/home/bottles/logs/libxml2/02.make /github/home/bottles/logs/libxml2/02.make.cc /github/home/bottles/logs/libxml2/03.python /github/home/bottles/logs/libxml2/config.log READ THIS: https://docs.brew.sh/Troubleshooting ::error::libxml2 2.13.4 did not build

Check failure on line 50 in Formula/lib/libxml2.rb

View workflow job for this annotation

GitHub Actions / macOS 14-arm64

`brew install --verbose --formula --build-bottle libxml2` failed on macOS Sonoma (14) on Apple Silicon!

Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command Getting requirements to build wheel failed to find and generate stubs for libxml2, aborting ... <class 'ModuleNotFoundError'> No module named 'generator' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /opt/homebrew/opt/[email protected]/bin/python3.12 /opt/homebrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /private/tmp/tmpnyrr4goh cwd: /private/tmp/libxml2-20241101-12992-yvqfn9/libxml2-2.13.4/python Getting requirements to build wheel: finished with status 'error' [notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: python3.12 -m pip install --upgrade pip error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/lib/libxml2.rb ==> Configuration HOMEBREW_VERSION: 4.4.3-77-g4f7742b ORIGIN: https://github.com/Homebrew/brew HEAD: 4f7742b6aeb6c256fa5a41b0be20e75da52cc8ce Last commit: 27 minutes ago Core tap HEAD: 2ccd589f4975ac6ac703c5227bef5792dd554798 Core tap last commit: 9 minutes ago Core tap JSON: 02 Nov 01:40 UTC Core cask tap JSON: 02 Nov 01:40 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/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.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit dunno Clang: 16.0.0 build 1600 Git: 2.39.5 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 14.7-arm64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew/opt/icu4c@76:/opt/homebrew/opt/readline:/opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/[email protected]/Frameworks:/opt/homebrew/opt/[email protected]/Frameworks PKG_CONFIG_PATH: /opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/icu4c@76/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/14 HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/icu4c@76/bin:/opt/homebrew/opt/[email protected]/libexec/bin:/opt/homebrew/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/01.configure /Users/brew/actions-r

Check failure on line 50 in Formula/lib/libxml2.rb

View workflow job for this annotation

GitHub Actions / macOS 13-arm64

`brew install --verbose --formula --build-bottle libxml2` failed on macOS Ventura (13) on Apple Silicon!

Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command Getting requirements to build wheel failed to find and generate stubs for libxml2, aborting ... <class 'ModuleNotFoundError'> No module named 'generator' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /opt/homebrew/opt/[email protected]/bin/python3.12 /opt/homebrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /private/tmp/tmpgk8_8iv1 cwd: /private/tmp/libxml2-20241101-12863-1g11a1/libxml2-2.13.4/python Getting requirements to build wheel: finished with status 'error' [notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: python3.12 -m pip install --upgrade pip error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/lib/libxml2.rb ==> Configuration HOMEBREW_VERSION: 4.4.3-77-g4f7742b ORIGIN: https://github.com/Homebrew/brew HEAD: 4f7742b6aeb6c256fa5a41b0be20e75da52cc8ce Last commit: 28 minutes ago Core tap HEAD: 2ccd589f4975ac6ac703c5227bef5792dd554798 Core tap last commit: 9 minutes ago Core tap JSON: 02 Nov 01:40 UTC Core cask tap JSON: 02 Nov 01:40 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/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.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit dunno Clang: 15.0.0 build 1500 Git: 2.39.3 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 13.7-arm64 CLT: 15.1.0.0.1.1700200546 Xcode: 15.2 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew/opt/icu4c@76:/opt/homebrew/opt/readline:/opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/[email protected]/Frameworks:/opt/homebrew/opt/[email protected]/Frameworks PKG_CONFIG_PATH: /opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/icu4c@76/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/13 HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/icu4c@76/bin:/opt/homebrew/opt/[email protected]/libexec/bin:/opt/homebrew/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/01.configure /Users/brew/actions-r

Check failure on line 50 in Formula/lib/libxml2.rb

View workflow job for this annotation

GitHub Actions / macOS 15-arm64

`brew install --verbose --formula --build-bottle libxml2` failed on macOS Sequoia (15) on Apple Silicon!

Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command Getting requirements to build wheel failed to find and generate stubs for libxml2, aborting ... <class 'ModuleNotFoundError'> No module named 'generator' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /opt/homebrew/opt/[email protected]/bin/python3.12 /opt/homebrew/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /private/tmp/tmphewdxid0 cwd: /private/tmp/libxml2-20241101-12755-hmisuq/libxml2-2.13.4/python Getting requirements to build wheel: finished with status 'error' [notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: python3.12 -m pip install --upgrade pip error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ==> Formula Path: /opt/homebrew/Library/Taps/homebrew/homebrew-core/Formula/lib/libxml2.rb ==> Configuration HOMEBREW_VERSION: 4.4.3-77-g4f7742b ORIGIN: https://github.com/Homebrew/brew HEAD: 4f7742b6aeb6c256fa5a41b0be20e75da52cc8ce Last commit: 28 minutes ago Core tap HEAD: 2ccd589f4975ac6ac703c5227bef5792dd554798 Core tap last commit: 9 minutes ago Core tap JSON: 02 Nov 01:40 UTC Core cask tap JSON: 02 Nov 01:40 UTC HOMEBREW_PREFIX: /opt/homebrew HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/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.3.5 => /opt/homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: quad-core 64-bit dunno Clang: 16.0.0 build 1600 Git: 2.39.5 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 15.1-arm64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1 Rosetta 2: false ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j4 CMAKE_PREFIX_PATH: /opt/homebrew/opt/icu4c@76:/opt/homebrew/opt/readline:/opt/homebrew CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /opt/homebrew/opt/[email protected]/Frameworks:/opt/homebrew/opt/[email protected]/Frameworks PKG_CONFIG_PATH: /opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/[email protected]/lib/pkgconfig:/opt/homebrew/opt/icu4c@76/lib/pkgconfig:/opt/homebrew/opt/readline/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/15 HOMEBREW_MAKE_JOBS: 4 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX15.sdk PATH: /opt/homebrew/Library/Homebrew/shims/mac/super:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/[email protected]/bin:/opt/homebrew/opt/icu4c@76/bin:/opt/homebrew/opt/[email protected]/libexec/bin:/opt/homebrew/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/01.configure /Users/brew/actions-runner/_work/homebrew-co

Check failure on line 50 in Formula/lib/libxml2.rb

View workflow job for this annotation

GitHub Actions / macOS 13-x86_64

`brew install --verbose --formula --build-bottle libxml2` failed on macOS Ventura (13)!

Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command Getting requirements to build wheel failed to find and generate stubs for libxml2, aborting ... <class 'ModuleNotFoundError'> No module named 'generator' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/local/opt/[email protected]/bin/python3.12 /usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /private/tmp/tmpvlrbyt2n cwd: /private/tmp/libxml2-20241102-13121-vynj8g/libxml2-2.13.4/python Getting requirements to build wheel: finished with status 'error' [notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: python3.12 -m pip install --upgrade pip error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ==> Formula Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lib/libxml2.rb ==> Configuration HOMEBREW_VERSION: 4.4.3-77-g4f7742b ORIGIN: https://github.com/Homebrew/brew HEAD: 4f7742b6aeb6c256fa5a41b0be20e75da52cc8ce Last commit: 35 minutes ago Core tap HEAD: 2ccd589f4975ac6ac703c5227bef5792dd554798 Core tap last commit: 17 minutes ago Core tap JSON: 02 Nov 01:43 UTC Core cask tap JSON: 02 Nov 01:43 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs HOMEBREW_MAKE_JOBS: 6 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.3.5 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: hexa-core 64-bit penryn Clang: 15.0.0 build 1500 Git: 2.39.3 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 13.7-x86_64 CLT: 15.1.0.0.1.1700200546 Xcode: 15.2 ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j6 CMAKE_PREFIX_PATH: /usr/local/opt/icu4c@76:/usr/local/opt/readline:/usr/local CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /usr/local/opt/[email protected]/Frameworks:/usr/local/opt/[email protected]/Frameworks PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/icu4c@76/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/13 HOMEBREW_MAKE_JOBS: 6 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/[email protected]/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/icu4c@76/bin:/usr/local/opt/[email protected]/libexec/bin:/usr/local/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/01.configure /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/b

Check failure on line 50 in Formula/lib/libxml2.rb

View workflow job for this annotation

GitHub Actions / macOS 14-x86_64

`brew install --verbose --formula --build-bottle libxml2` failed on macOS Sonoma (14)!

Installing build dependencies: finished with status 'done' Getting requirements to build wheel: started Running command Getting requirements to build wheel failed to find and generate stubs for libxml2, aborting ... <class 'ModuleNotFoundError'> No module named 'generator' error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. full command: /usr/local/opt/[email protected]/bin/python3.12 /usr/local/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py get_requires_for_build_wheel /private/tmp/tmpg6f9mm_j cwd: /private/tmp/libxml2-20241102-13150-6kmajf/libxml2-2.13.4/python Getting requirements to build wheel: finished with status 'error' [notice] A new release of pip is available: 24.2 -> 24.3.1 [notice] To update, run: python3.12 -m pip install --upgrade pip error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> See above for output. note: This error originates from a subprocess, and is likely not a problem with pip. ==> Formula Path: /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core/Formula/lib/libxml2.rb ==> Configuration HOMEBREW_VERSION: 4.4.3-77-g4f7742b ORIGIN: https://github.com/Homebrew/brew HEAD: 4f7742b6aeb6c256fa5a41b0be20e75da52cc8ce Last commit: 36 minutes ago Core tap HEAD: 2ccd589f4975ac6ac703c5227bef5792dd554798 Core tap last commit: 17 minutes ago Core tap JSON: 02 Nov 01:43 UTC Core cask tap JSON: 02 Nov 01:43 UTC HOMEBREW_PREFIX: /usr/local HOMEBREW_BOOTSNAP: set HOMEBREW_CACHE: /Users/brew/Library/Caches/Homebrew HOMEBREW_CASK_OPTS: [] HOMEBREW_COLOR: set HOMEBREW_CURL_PATH: /usr/bin/curl HOMEBREW_FAIL_LOG_LINES: 150 HOMEBREW_GITHUB_API_TOKEN: set HOMEBREW_GIT_EMAIL: [email protected] HOMEBREW_GIT_NAME: BrewTestBot HOMEBREW_GIT_PATH: /usr/bin/git HOMEBREW_LOGS: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs HOMEBREW_MAKE_JOBS: 6 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.3.5 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/3.3.5/bin/ruby CPU: hexa-core 64-bit penryn Clang: 16.0.0 build 1600 Git: 2.39.5 => /usr/bin/git Curl: 8.7.1 => /usr/bin/curl macOS: 14.7-x86_64 CLT: 16.1.0.0.1.1729049160 Xcode: 16.1 ==> ENV HOMEBREW_CC: clang HOMEBREW_CXX: clang++ MAKEFLAGS: -j6 CMAKE_PREFIX_PATH: /usr/local/opt/icu4c@76:/usr/local/opt/readline:/usr/local CMAKE_INCLUDE_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Headers CMAKE_LIBRARY_PATH: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk/System/Library/Frameworks/OpenGL.framework/Versions/Current/Libraries CMAKE_FRAMEWORK_PATH: /usr/local/opt/[email protected]/Frameworks:/usr/local/opt/[email protected]/Frameworks PKG_CONFIG_PATH: /usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/[email protected]/lib/pkgconfig:/usr/local/opt/icu4c@76/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig PKG_CONFIG_LIBDIR: /usr/lib/pkgconfig:/usr/local/Homebrew/Library/Homebrew/os/mac/pkgconfig/14 HOMEBREW_MAKE_JOBS: 6 HOMEBREW_GIT: /usr/bin/git HOMEBREW_SDKROOT: /Library/Developer/CommandLineTools/SDKs/MacOSX14.sdk PATH: /usr/local/Homebrew/Library/Homebrew/shims/mac/super:/usr/local/opt/[email protected]/bin:/usr/local/opt/[email protected]/bin:/usr/local/opt/icu4c@76/bin:/usr/local/opt/[email protected]/libexec/bin:/usr/local/opt/[email protected]/libexec/bin:/usr/bin:/bin:/usr/sbin:/sbin Logs: /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/00.options.out /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/bottles/logs/libxml2/01.configure /Users/brew/actions-runner/_work/homebrew-core/homebrew-core/b
# Work around build failure due to icu4c 75+ adding -std=c11 to installed
# files when built without manually setting "-std=" in CFLAGS. This causes
# issues on Linux for `libxml2` as `addrinfo` needs GNU extensions.
Expand All @@ -56,16 +55,20 @@
ENV.append "CFLAGS", "-std=gnu11" if OS.linux?

system "autoreconf", "--force", "--install", "--verbose" if build.head?
system "./configure", *std_configure_args,
system "./configure", "--disable-silent-rules",
"--sysconfdir=#{etc}",
"--disable-silent-rules",
"--with-history",
"--with-http",
"--with-icu",
"--without-lzma",
"--without-python",
"--without-lzma"
*std_configure_args
system "make", "install"

icu4c = deps.find { |dep| dep.name.match?(/^icu4c(@\d+)?$/) }
.to_formula
inreplace [bin/"xml2-config", lib/"pkgconfig/libxml-2.0.pc"], icu4c.prefix.realpath, icu4c.opt_prefix

cd "python" do
sdk_include = if OS.mac?
sdk = MacOS.sdk_path_if_needed
Expand Down
2 changes: 1 addition & 1 deletion audit_exceptions/versioned_keg_only_allowlist.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"gcc@13",
"[email protected]",
"[email protected]",
"icu4c@75",
"icu4c@76",
"libpeas@1",
"libsigc++@2",
"libxml++@3",
Expand Down
Loading