Bug 242699 - graphics/gimp-app: 32-bit PowerPC 12.1-RELEASE-p1: build failures
Summary: graphics/gimp-app: 32-bit PowerPC 12.1-RELEASE-p1: build failures
Status: Open
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)
URL:
Keywords: needs-qa
Depends on:
Blocks:
 
Reported: 2019-12-18 10:47 UTC by canardo
Modified: 2023-06-20 16:44 UTC (History)
4 users (show)

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


Attachments

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

Stop.
make: stopped in /usr/ports/graphics/gimp-app
Comment 1 Piotr Kubaj freebsd_committer freebsd_triage 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 freebsd_triage 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
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 ?
Comment 4 alice382 2020-09-14 07:16:47 UTC
MARKED AS SPAM
Comment 5 Graham Perrin freebsd_committer freebsd_triage 2022-10-22 06:54:48 UTC
(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.
Comment 6 Piotr Kubaj freebsd_committer freebsd_triage 2022-10-22 11:11:27 UTC
On 12.3-RELEASE ports-mgmt/pkg doesn't build due to old toolchain. On 13.1-RELEASE gimp builds fine.
Comment 7 Graham Perrin freebsd_committer freebsd_triage 2022-10-22 17:01:09 UTC
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).
Comment 8 Piotr Kubaj freebsd_committer freebsd_triage 2022-10-22 21:38:49 UTC
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.