Bug 242699 - graphics/gimp-app fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: [Makefile:2411: 64/gimp-frame.png] Segmentation fault
Summary: graphics/gimp-app fails to build on FreeBSD 12.1-RELEASE-p1 32 bit: [Makefile...
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: powerpc Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
Depends on:
Reported: 2019-12-18 10:47 UTC by canardo
Modified: 2020-09-14 07:16 UTC (History)
3 users (show)

See Also:
bugzilla: maintainer-feedback? (gnome)


Note You need to log in before you can comment on or make changes to this bug.
Description canardo 2019-12-18 10:47:50 UTC
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

make: stopped in /usr/ports/graphics/gimp-app
Comment 1 Piotr Kubaj freebsd_committer 2020-01-31 13:26:07 UTC
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.
Comment 2 Piotr Kubaj freebsd_committer 2020-04-05 04:02:49 UTC
Can you try again? Gimp now builds on powerpc64 12.1-RELEASE (although meson bug still exists).
Comment 3 canardo 2020-04-05 08:10:11 UTC
(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
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 ?
Comment 4 alice382 2020-09-14 07:16:47 UTC