https://bugs.kde.org/show_bug.cgi?id=382952
Bug ID: 382952 Summary: Don't abort cmake when package is missing Product: digikam Version: 5.7.0 Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: Bundle-Tarball Assignee: [hidden email] Reporter: [hidden email] Target Milestone: --- Many calls to find_package have have the argument 'REQUIRED' set, so the process aborts if these can't be found. At the same time there is an explicit check at the end that all required dependencies were found. This is redundant and only the first missing dependency is displayed, making it harder to resolve all dependencies. I propose to remove all the 'REQUIRED' arguments (obviously making sure the check in the end includes these dependencies). Is there problem with that or can I go ahead? -- You are receiving this mail because: You are the assignee for the bug. |
https://bugs.kde.org/show_bug.cgi?id=382952
Veaceslav Munteanu <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |veaceslav.munteanu90@gmail. | |com --- Comment #1 from Veaceslav Munteanu <[hidden email]> --- On my archlinux system, opencv 2 is not even available anymore in the official repos. I think that opencv 2 was set since long time ago, and if the bootstrap enables it, we should also enable it. -- You are receiving this mail because: You are the assignee for the bug. |
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=382952
[hidden email] changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[hidden email] --- Comment #2 from [hidden email] --- Please list the the famous problematic dependencies. Look also the full DEPENDENCIES list with comments given in digiKam-SC repository : https://cgit.kde.org/digikam-software-compilation.git/tree/DEPENDENCIES Gilles Caulier -- You are receiving this mail because: You are the assignee for the bug. |
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=382952
--- Comment #3 from Simon <[hidden email]> --- I don't have a problem with the dependencies, I think this is a problem of the CMakeList.txt file. It should not stop processing when a required dependency is not found. Example: https://cgit.kde.org/digikam.git/tree/CMakeLists.txt?id=7e00441c257e7e9e5dc5ab983fc06046fb72b0c5#n205 It should simply print an error message and continue until here: https://cgit.kde.org/digikam.git/tree/CMakeLists.txt?id=7e00441c257e7e9e5dc5ab983fc06046fb72b0c5#n482 Where it stops because a required dependency isn't found. Is this sound or am I missing anything? -- You are receiving this mail because: You are the assignee for the bug. |
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=382952
--- Comment #4 from Simon <[hidden email]> --- Created attachment 106997 --> https://bugs.kde.org/attachment.cgi?id=106997&action=edit Don't abort until all dependencies were checked -- You are receiving this mail because: You are the assignee for the bug. |
In reply to this post by bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=382952
Simon <[hidden email]> changed: What |Removed |Added ---------------------------------------------------------------------------- Version Fixed In| |5.7.0 Status|UNCONFIRMED |RESOLVED Latest Commit| |https://commits.kde.org/dig | |ikam/e3c85fbd1fa892fbf82180 | |4fd892b81d00b4bb7b Resolution|--- |FIXED --- Comment #5 from Simon <[hidden email]> --- Git commit e3c85fbd1fa892fbf821804fd892b81d00b4bb7b by Simon Frei. Committed on 02/08/2017 at 09:23. Pushed by sfrei into branch 'master'. cmake: Don't abort until all dependencies have checked In effect this means: Never using the REQUIRED parameter to find_package. Only exception: ECM, as finding dependencies doesn't work without it. FIXED-IN: 5.7.0 M +25 -24 CMakeLists.txt M +2 -1 NEWS M +29 -29 cmake/modules/MacroOpenCV.cmake M +3 -3 cmake/modules/MacroUtils.cmake https://commits.kde.org/digikam/e3c85fbd1fa892fbf821804fd892b81d00b4bb7b -- You are receiving this mail because: You are the assignee for the bug. |
Free forum by Nabble | Edit this page |