Bug 253788 - [PATCH] graphics/gegl: add dependency on execinfo in case of WITH_DEBUG
Summary: [PATCH] graphics/gegl: add dependency on execinfo in case of WITH_DEBUG
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-02-23 09:15 UTC by Michael Zhilin
Modified: 2021-02-23 09:15 UTC (History)
0 users

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


Attachments
SVN diff (393 bytes, patch)
2021-02-23 09:15 UTC, Michael Zhilin
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Zhilin freebsd_committer 2021-02-23 09:15:25 UTC
Created attachment 222749 [details]
SVN diff

Hi,

In case of usage "WITH_DEBUG", gegl requires libexecinfo.so for build. 
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:(gegl_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:(gegl_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:(gegl_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:(gegl_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