Recent Homebrew builds of zbar 0.23.93 crash with SIGSEGV inside
zbar_scan_image() on Apple Silicon Macs (observed on macOS 26 "Tahoe",
arm64, with the current Apple clang). This breaks everything that links
libzbar: zbarimg, Python pyzbar, the Ruby qrscan gem, etc.
This guide shows how to install a patched zbar through Homebrew, from scratch, on a clean machine. It is a temporary workaround until the upstream fix is released — see Upstream below.