Summary: | Discount (required version >= 2) can not be found | ||
---|---|---|---|
Product: | [Applications] okular | Reporter: | Tomasz Paweł Gajc <tpgxyz> |
Component: | general | Assignee: | Okular developers <okular-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | nate, yurchor |
Priority: | NOR | ||
Version First Reported In: | 20.12.1 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/okular/commit/084631d11eddadb0802f0adbcd4a56c18ea68efc | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | Build Log |
Description
Tomasz Paweł Gajc
2021-01-08 14:41:41 UTC
Hi, It looks like the library has been built despite the CMake warning (same here under Mageia 7). Can you check it? Thanks in advance for your answer. Did you make sure to install the dev library too? Yes libmarkdown-devel is installed in buildroot, you can notice that on logs I did attach. -- Found discount: /usr/lib64/libmarkdown.so Seems like okularGenerator_md.so is linked to libmarkdown.so.2(), so came is somehow broken with its false positive tests. A possibly relevant merge request was started @ https://invent.kde.org/graphics/okular/-/merge_requests/359 Git commit 084631d11eddadb0802f0adbcd4a56c18ea68efc by Albert Astals Cid. Committed on 24/01/2021 at 11:16. Pushed by aacid into branch 'master'. Use more standard cmake functionality to search for discount Instead of rolling our own, that's harder to understand and buggy anyway M +3 -3 autotests/CMakeLists.txt M +6 -27 cmake/modules/FindDiscount.cmake M +3 -3 generators/CMakeLists.txt M +1 -1 generators/markdown/CMakeLists.txt https://invent.kde.org/graphics/okular/commit/084631d11eddadb0802f0adbcd4a56c18ea68efc |