Problem found when building graphics/gimp-app on FreeBSD 12.1-RELEASE-p1 powerpc 32 bit, running on Apple Powerbook 17". (graphics/gimp-app is required to build graphics/gimp) # cd /usr/ports/graphics/gimp-app # make install clean ===> Building for gimp-app-2.10.12_5,1 gmake[1]: Entering directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12' gmake all-recursive ..... ..... gmake[4]: Entering directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12/icons/Symbolic' gmake[4]: Nothing to be done for 'all'. gmake[4]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12/icons/Symbolic' Making all in Symbolic-Inverted gmake[4]: Entering directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12/icons/Symbolic-Inverted' mkdir -p `dirname 64/gimp-frame.png`; GEGL_USE_OPENCL=no GEGL_SWAP=ram /usr/local/bin/gegl ../../icons/Symbolic/64/gimp-frame.png -o 64/gimp-frame.png -- gegl:invert-gamma gmake[4]: *** [Makefile:2411: 64/gimp-frame.png] Segmentation fault (core dumped) gmake[4]: *** Deleting file '64/gimp-frame.png' gmake[4]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12/icons/Symbolic-Inverted' gmake[3]: *** [Makefile:717: all-recursive] Error 1 gmake[3]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12/icons' gmake[2]: *** [Makefile:852: all-recursive] Error 1 gmake[2]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12' gmake[1]: *** [Makefile:753: all] Error 2 gmake[1]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.12' ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop. make: stopped in /usr/ports/graphics/gimp-app
It fails because of meson bug https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238128. It will likely work once meson is fixed. Note that this meson bug only concerns stable branches, head is ok, so you can try upgrading to head.
Can you try again? Gimp now builds on powerpc64 12.1-RELEASE (although meson bug still exists).
(In reply to Piotr Kubaj from comment #2) I don't have the error above anymore, but another one :( (I performed a 'make clean' on graphics/gimp and graphics/gimp-app before testing) gmake[5]: Entering directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.18/icons/Symbolic-High-Contrast' mkdir -p `dirname 64/gimp-frame.png` && GEGL_USE_OPENCL=no GEGL_SWAP=ram /usr/local/bin/gegl ../../icons/Symbolic/64/gimp-frame.png -o 64/gimp-frame.png -- cast-format input-format="R'G'B'A float" output-format="RGBA float" brightness-contrast contrast=1.5 cast-format input-format="RGBA float" output-format="R'G'B'A float" GEGL-Message: 09:55:39.612: Module '/usr/local/lib/gegl-0.4/exr-save.so' load error: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.21 required by /usr/local/lib/gegl-0.4/exr-save.so not found GEGL-Message: 09:55:40.200: Module '/usr/local/lib/gegl-0.4/exr-load.so' load error: /usr/lib/libstdc++.so.6: version GLIBCXX_3.4.20 required by /usr/local/lib/libIlmImf-2_4.so.24 not found gmake[5]: *** [Makefile:2433: 64/gimp-frame.png] Illegal instruction (core dumped) gmake[5]: Leaving directory '/usr/ports/graphics/gimp-app/work/gimp-2.10.18/icons/Symbolic-High-Contrast' gmake[4]: *** [Makefile:716: all-recursive] Error 1 It looks related to graphics/gegl. Current version on my machine is the latest one # pkg info gegl gegl-0.4.22_2 Name : gegl Version : 0.4.22_2 Installed on : Sat Apr 4 03:07:57 2020 CEST Origin : graphics/gegl Architecture : FreeBSD:12:powerpc Prefix : /usr/local Categories : graphics Any idea what to try to solve that problem ?
MARKED AS SPAM
(In reply to canardo from comment #3) > … another … looks related to graphics/gegl. … Is this other issue reproducible with 12.3-RELEASE-p7 or 13.1-RELEASE-p1? No relevant bug report at <https://www.freshports.org/graphics/gegl/> If there is any additional issue, please make a separate bug report. Thank you.
On 12.3-RELEASE ports-mgmt/pkg doesn't build due to old toolchain. On 13.1-RELEASE gimp builds fine.
Thanks, (In reply to Piotr Kubaj from comment #6) > ports-mgmt/pkg Please make a separate bug report (at a glance, I don't see one for what's described).
I don't think that's necessary. I don't really have resources to keep fixing ports with GCC 4.2 and people should really use 13.1 at this point. Also no one from PPC src people does MFC's to stable/12 or does any testing of it.