From: "andy@... (Andy Jeffries) via ruby-core" <ruby-core@...>
Date: 2024-02-13T11:39:17+00:00
Subject: [ruby-core:116696] [Ruby master Bug#20264] Segfault installing RMagick on M1 Mac

Issue #20264 has been reported by andy@andyjeffries.co.uk (Andy Jeffries).

----------------------------------------
Bug #20264: Segfault installing RMagick on M1 Mac
https://bugs.ruby-lang.org/issues/20264

* 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/
 ______________________________________________
 ruby-core mailing list -- ruby-core@ml.ruby-lang.org
 To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
 ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/