Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Feb 2021 09:15:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 253788] [PATCH] graphics/gegl: add dependency on execinfo in case of WITH_DEBUG
Message-ID:  <bug-253788-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253788

            Bug ID: 253788
           Summary: [PATCH] graphics/gegl: add dependency on execinfo in
                    case of WITH_DEBUG
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome@FreeBSD.org
          Reporter: mizhka@gmail.com
          Assignee: gnome@FreeBSD.org
             Flags: maintainer-feedback?(gnome@FreeBSD.org)

Created attachment 222749
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D222749&action=
=3Dedit
SVN diff

Hi,

In case of usage "WITH_DEBUG", gegl requires libexecinfo.so for build.=20
Here is error message occuried:

ld: error: undefined symbol: backtrace_symbols_fd
>>> referenced by gegl-buffer.c:349 (../gegl/buffer/gegl-buffer.c:349)
>>>               gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(geg=
l_buffer_leaks)
>>> referenced by gegl-buffer.c:939 (../gegl/buffer/gegl-buffer.c:939)
>>>               gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(geg=
l_bt)

ld: error: undefined symbol: backtrace
>>> referenced by gegl-buffer.c:938 (../gegl/buffer/gegl-buffer.c:938)
>>>               gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(geg=
l_bt)
>>> referenced by gegl-buffer.c:922 (../gegl/buffer/gegl-buffer.c:922)
>>>               gegl/libgegl-0.4.so.0.427.1.p/buffer_gegl-buffer.c.o:(geg=
l_buffer_set_alloc_stack)
cc: error: linker command failed with exit code 1 (use -v to see invocation)

To fix it the patch adds lexecinfo into LDFLAGS.

Testport is done on 12.2 and 13.0-BETA1.

Thanks

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253788-7788>