Repository: Homebrew/homebrew-core

Issue #116910: Tracking Ventura bottling issues for top-usage formulas
Created: 2022-11-29T18:17:32Z
The idea of this issue is to track and solve the build issues for macOS Ventura on our most used formulas. We already have an issue where all bottling failures are reported (#113717), this one is to keep an eye on the most important formulas (top 1500 in analytics). This top post can be edited with a short summary of current status, while our efforts and discussion of each formula can take place below.

Fail on both ARM and Intel

 r (https://bugs.r-project.org/show_bug.cgi?id=18426) #116998
 ncdu (zig errors; different one on Intel and ARM) (https://code.blicky.net/yorhel/ncdu/issues/213) - #121034
 gtk-vnc (and therefore virt-manager): https://gitlab.gnome.org/GNOME/gtk-vnc/-/issues/21 - #116964
 swiftgen - (upstream issue, SwiftGen/SwiftGen#1030)
 octant: npm ERR! Invalid Version: ^3.0.8 - #117430
 xapian
 notmuch, mu ... all depend on xapian
 sdl_sound (Libraries were compiled with a flat namespace): #123161 deprecated

Fail on ARM only

 ghc (https://gitlab.haskell.org/ghc/ghc/-/issues/21964)
 git-annex, pandoc, cabal-install, jupyterlab, exa, shellcheck, hadolint… all depend on ghc
 mono
 btop (console-related test error; program builds and runs fine locally)
 bazel (bazelbuild/bazel#13944)
 hashcat
 haskell-stack
 ipmitool #117205
 nb

Fail on Intel only

 pyqt@5 #117149
 vtk, opencv, octave, qscintilla2, … all depend on pyqt@5
 poetry
 mono (mono/mono#21567) #117052
 vault - #117298
 ruby@2.7
 upx upx/upx#612
 volk
 gnuradio
 meilisearch
 pcl

Duplicate issue #113717: Ventura bottling
Created: 2022-10-21T17:45:18Z
This is a tracking issue on Ventura bottling process and will be used as a dump for build failures.
If you are a user of Homebrew, this isn't where to seek help or report issues. You can get support via the discussions forum or if you believe you are facing a reproducible bug then you can open a new issue.
If you would like to contribute to Homebrew, open pull requests to fix build failures. If the build works on Ventura but there's no bottle, that likely means we just haven't got around to bottling that particular formula yet and we will get there eventually!

Maintainers: please read all of this before continuing!
As is now standard, we will be bottling for both x86_64 and arm64. However, Intel CI is not yet available so please bottle for 13-arm64 only at this time. There is no definitive ETA for Intel CI as it is outside our control, apologies.
To start a bottle build, run brew dispatch-build-bottle --macos=13-arm64 --issue=113717 --upload <formula> or use the equivalent UI over at the Actions workflow runs page.
Please do not bottle something until all its dependencies have been bottled and their associated bottle commits have been pushed to master. brew unbottled --tag=(arm64_)ventura is a useful tool for checking this. A build will take the state of homebrew-core at the time it was dispatched - not the time it actually starts building.
Please take care to watch the queue over on our dashboard (available to maintainers only) or on the Actions workflow runs page. Avoid running duplicated runs and and avoid excessively adding to a queue that may already be massive.
If a build failure occurs, logs will be posted as comments here (if you configured it to do so when starting the build). Please check those comments before dispatching a build for a formula that may have already been attempted. To help with this I have created a tracker page to iterate over the comments and extract failing build logs for formulae that have not had a successful bottle build yet (available to maintainers only; page may be slow so avoid refreshing too much). Items will disappear from that webpage when a bottle has been successfully built for both x86_64 and arm64, and formulae.brew.sh has been updated to reflect that. Hiding comments as "resolved" also removes it from the page, so please try do that if possible - the page will link directly to the comments for you to find.
Shortly, I will start by focussing on popular formula with a high number of dependents while closely monitoring to see if everything is working ok. Feel free to join in after a few hours when it's clear it's all working.

Update (2022-11-15): Intel Ventura CI is now available.
Instructions for Intel is as the same as arm64. The label to use is 13.
There is one additional point to note: if building for both 13 and 13-arm64 at the same time, you must dispatch the build in one by passing --macos=13,13-arm64. Separate builds will cause conflicts on upload - so if you need to build for both and forget to dispatch for one, wait until the other is finished!

Closing comment (2022-12-11T13:16:12Z): Closing the issue. At this stage most bottles are built, remaining top issues are tracked in #116910