Summary: | devel/qt6-base: Prefer the shared version of libzstd over the static one | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Daniel Engberg <diizzy> | ||||
Component: | Individual Port(s) | Assignee: | freebsd-kde (group) <kde> | ||||
Status: | Closed FIXED | ||||||
Severity: | Affects Only Me | CC: | eduardo, fluffy, madpilot, tcberner, transitive | ||||
Priority: | --- | Flags: | tcberner:
maintainer-feedback+
|
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Bug Depends on: | |||||||
Bug Blocks: | 270690 | ||||||
Attachments: |
|
Description
Daniel Engberg
![]() ![]() Thanks a lot for the fast patch! I'm running it with success here. Hope this can be approved and committed soon! BTW, with zstd fully converted to cmake this issue didn't rise up at all. This is an autocrap tools failure not a qt of zstd itself I can confirm the patch works on 13.2 stable amd64 using poudriere here as well. Thanks for the quick patch. It should be fixed in ports 454e3c91ae9105a9af1939c9632424083ed3bbdb. According to upstream the commited fix (adding -fPIC) is not recommended, https://github.com/facebook/zstd/issues/2233#issuecomment-655600389 Friendly ping kde@ Team Ship it. mfg Tobias A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=93865c964d29fb5d49b7b2651735f955ead4d019 commit 93865c964d29fb5d49b7b2651735f955ead4d019 Author: Daniel Engberg <diizzy@FreeBSD.org> AuthorDate: 2023-04-15 17:57:41 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2023-04-15 18:03:57 +0000 devel/qt6-base: Prefer shared library for libzstd Backport upstream commit 3f45905953d57e0174059d7d9d6bc75c3c1c406c as without this patch QT by default pulls in (lib)zstd's static library when CMake files are available which causes build failure unless (lib)zstd is compiled with -fPIC (non standard option) and is inconsistent with behaviour using pkgconfig PR: 270664 Approved by: kde (tcberner) devel/qt6-base/Makefile | 3 +++ devel/qt6-base/distinfo | 4 +++- 2 files changed, 6 insertions(+), 1 deletion(-) Thanks |