pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: 'gegl' segfault breaks "gimp" build



On Wed, 23 Mar 2022, Tobias Nygren wrote:

> Please try to put this snippet in babl's Makefile.
> Report back if it helps so it can go in before 2022Q1.

I patched as follows:

+Index: graphics/babl/Makefile
+===================================================================
+RCS file: /cvsroot/pkgsrc/graphics/babl/Makefile,v
+retrieving revision 1.44
+diff -u -p -r1.44 Makefile
+--- graphics/babl/Makefile      5 Mar 2022 12:19:41 -0000       1.44
++++ graphics/babl/Makefile      23 Mar 2022 17:12:48 -0000
+@@ -16,6 +16,12 @@ USE_LANGUAGES=       c99
+ MESON_ARGS+=   -Dwith-docs=false
+ MESON_ARGS+=   -Denable-gir=false
+ 
++.include "../../mk/compiler.mk"
++.if (${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64") && \
++    !empty(CC_VERSION:Mgcc-7.*)
++MESON_ARGS+=    -Denable-mmx=false
++.endif
++
+ PKGCONFIG_OVERRIDE+=   babl.pc.in
+ 
+ PYTHON_FOR_BUILD_ONLY= tool

and rebuilt both babl and gegl.  Building "gimp" now succeeds on i386.
Will return to amd64 once my usual complement of packages for i386 is
finished updating.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index