View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0016877 | Scribus | Build System | public | 2023-01-01 23:33 | 2023-05-29 18:56 |
Reporter | wiz | Assigned To | jghali | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 1.5.8 | ||||
Fixed in Version | 1.5.9.svn | ||||
Summary | 0016877: NetBSD: link against libexecinfo for backtrace_symbols | ||||
Description | Like on FreeBSD and OpenBSD, backtrace_symbols() on NetBSD is in libexecinfo. Linking fails on NetBSD-current with binutils 2.39 because of this. (Earlier versions of NetBSD had an older binutils where the library was pulled in automatically via a dependency, binutils 2.39 enforces direct usage of the library on the linker command line.) | ||||
Steps To Reproduce | Build scribus on NetBSD-current. | ||||
Additional Information | The attached patch handles NetBSD like FreeBSD and OpenBSD and fixes the problem. | ||||
Tags | No tags attached. | ||||
Patch | Yes | ||||
|
patch-scribus_CMakeLists.txt (536 bytes)
$NetBSD$ Link against libexecinfo for backtrace_symbols(). --- scribus/CMakeLists.txt.orig 2022-01-23 16:16:24.000000000 +0000 +++ scribus/CMakeLists.txt @@ -827,7 +827,7 @@ if(UNIX AND NOT CMAKE_SYSTEM_NAME STREQU endif() # #9311 for the OpenBSD addition -if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD") +if(CMAKE_SYSTEM_NAME STREQUAL "OpenBSD" OR CMAKE_SYSTEM_NAME STREQUAL "FreeBSD" OR CMAKE_SYSTEM_NAME STREQUAL "NetBSD") target_link_libraries(${EXE_NAME} PRIVATE util execinfo) endif() |
|
Applied, thanks! |
Date Modified | Username | Field | Change |
---|---|---|---|
2023-01-01 23:33 | wiz | New Issue | |
2023-01-01 23:33 | wiz | File Added: patch-scribus_CMakeLists.txt | |
2023-01-02 01:36 | jghali | Priority | high => normal |
2023-01-02 01:38 | jghali | Assigned To | => jghali |
2023-01-02 01:38 | jghali | Status | new => resolved |
2023-01-02 01:38 | jghali | Resolution | open => fixed |
2023-01-02 01:38 | jghali | Fixed in Version | => 1.5.9.svn |
2023-01-02 01:38 | jghali | Note Added: 0049852 | |
2023-05-29 18:56 | cbradney | Status | resolved => closed |