pkgsrc-Bugs archive

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

pkg/54083: gimp build fails due to gegl segfault



>Number:         54083
>Category:       pkg
>Synopsis:       gimp build fails due to gegl segfault
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Mar 27 21:15:00 +0000 2019
>Originator:     John D. Baker
>Release:        NetBSD/amd64-8.0_STABLE, pkgsrc-HEAD (pre-pkgsrc-2019Q1)
>Organization:
>Environment:
NetBSD plex760.technoskunk.fur 8.0_STABLE NetBSD 8.0_STABLE (PLEX760) #87: Fri Mar 15 23:10:58 CDT 2019  sysop%plex760.technoskunk.fur@localhost:/r0/build/netbsd-8/obj/amd64/sys/arch/amd64/compile/PLEX760 amd64

and:

NetBSD brenowin.clamp.net 8.0_STABLE NetBSD 8.0_STABLE (KEPLER) #47: Mon Mar 25 23:28:22 CDT 2019  sysop%brenowin.clamp.net@localhost:/d0/build/netbsd-8/obj/amd64/sys/arch/amd64/compile/KEPLER amd64

>Description:
As first mentioned here:

  http://mail-index.netbsd.org/pkgsrc-users/2019/03/18/msg028166.html

Building "graphics/gimp" from pkgsrc-HEAD fails when 'gegl'
(graphics/gegl, gegl-0.4.12) segfaults.

First, during the configure phase:

[...]
checking for execinfo.h... (cached) yes
checking for matting engine Levin... [2]   Segmentation fault (core dumped) ${GEGL} --exists...
no (missing GEGL operation "gegl:matting-levin")
checking math.h usability... yes
[...]

Then, during the build phase:

[...]
Making all in Symbolic-Inverted
gmake[3]: Entering directory '/tmp/pkgsrc/graphics/gimp/work/gimp-2.10.8/icons/Symbolic-Inverted'
mkdir -p `dirname 64/gimp-error.png`; GEGL_USE_OPENCL=no GEGL_SWAP=ram /usr/pkg/bin/gegl ../../icons/Symbolic/64/gimp-error.png -o 64/gimp-error.png -- gegl:invert-gamma
[1]   Segmentation fault (core dumped) GEGL_USE_OPENCL=...
gmake[3]: *** [Makefile:2409: 64/gimp-error.png] Error 139
gmake[3]: Leaving directory '/tmp/pkgsrc/graphics/gimp/work/gimp-2.10.8/icons/Symbolic-Inverted'
gmake[2]: *** [Makefile:723: all-recursive] Error 1
gmake[2]: Leaving directory '/tmp/pkgsrc/graphics/gimp/work/gimp-2.10.8/icons'
gmake[1]: *** [Makefile:858: all-recursive] Error 1
gmake[1]: Leaving directory '/tmp/pkgsrc/graphics/gimp/work/gimp-2.10.8'
gmake: *** [Makefile:759: all] Error 2
*** Error code 2

Stop.
make[1]: stopped in /x/pkgsrc/graphics/gimp
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/graphics/gimp


'gegl' was rebuilt with:

CFLAGS+=-ggdb
CXXFLAGS+=-ggdb
INSTALL_UNSTRIPPED=yes

and the system debug sets are installed.

Loading the core file with gdb provides only a minimal backtrace:

Core was generated by `gegl'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000000000000f73c in ?? ()
(gdb) bt
#0  0x000000000000f73c in ?? ()
#1  0x00007ea1202026a4 in ?? () from /usr/lib/libgcc_s.so.1
#2  0x00007ea12d442360 in ?? ()
#3  0x00007ea120202399 in _init () from /usr/lib/libgcc_s.so.1
#4  0x0000000000000000 in ?? ()
(gdb)

>How-To-Repeat:
Attempt to build graphics/gimp from pkgsrc-HEAD from 15 March 2019 or
later.
>Fix:



Home | Main Index | Thread Index | Old Index