
Issue #20264 has been updated by byroot (Jean Boussier). Coincidentally, I'm pretty sure that code is useless: https://github.com/ruby-gnome/pkg-config/pull/25. ---------------------------------------- Bug #20264: Segfault in Enumerator#next while installing RMagick on M1 Mac https://bugs.ruby-lang.org/issues/20264#change-106713 * Author: andy@andyjeffries.co.uk (Andy Jeffries) * Status: Open * Priority: Normal * ruby -v: 3.3 * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- I raised a bug at RMagick, they said to go to pkg-config. I raised a bug there, and they said to raise it here. Hopefully this is the right place... https://github.com/ruby-gnome/pkg-config/issues/24 Simplest reproduction steps (although a full backtrace of a Rails app trying to do it is at the link above): ``` $ docker run -it --platform=linux/arm64 registry.docker.com/library/ruby:3.3-slim bash root@163711a82570:/# apt-get update root@163711a82570:/# apt-get install --no-install-recommends -y build-essential pkg-config libmagickwand-dev root@163711a82570:/# gem install rmagick ``` -- https://bugs.ruby-lang.org/