Thanks. There is only +%limit_build left as macro in this package. I'll try with --- Mesa.spec (revision 1078) +++ Mesa.spec (working copy) @@ -142,6 +142,7 @@ BuildRequires: glslang-devel BuildRequires: imake BuildRequires: libtool +BuildRequires: memory-constraints BuildRequires: meson BuildRequires: pkgconfig BuildRequires: python3-base @@ -788,6 +789,11 @@ %endif %build +# try to avoid OOM on ppc64 (boo#1194739) +%ifarch ppc64 ppc64le +%limit_build -m 12000 +%endif + egl_platforms=x11,wayland %meson \ Then we'll see whether this helps or not ...