| Summary: | cmake: FindProtobuf.cmake returns an error instead of noting the library as missing if protobuf-devel is not installed | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Samuel Verschelde <stormi-mageia> |
| Component: | RPM Packages | Assignee: | Nicolas Lécureuil <mageia> |
| Status: | RESOLVED OLD | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | geiger.david68210 |
| Version: | Cauldron | Keywords: | UPSTREAM |
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | cmake | CVE: | |
| Status comment: | |||
|
Description
Samuel Verschelde
2017-06-27 14:21:12 CEST
Samuel Verschelde
2017-06-27 14:22:05 CEST
Assignee:
bugsquad =>
mageia This happens when protobuf-devel is not installed, I think, because ${Protobuf_LIB_VERSION} is empty. It should fail gently instead.
Should be reported upstream, they should handle a missing stubs/common.h in https://github.com/Kitware/CMake/blob/1ee2019239751f91958a390aa3dfa24ea603f2f5/Modules/FindProtobuf.cmake#L397-L408 and return that the protobuf library was not found (ideally with an explicit comment about what was missing). Keywords:
(none) =>
UPSTREAM
Rémi Verschelde
2017-06-27 14:47:59 CEST
Summary:
cmake: Syntax error in FindProtobuf.cmake =>
cmake: FindProtobuf.cmake returns an error instead of noting the library as missing if protobuf-devel is not installed Seems fixed in current cmake from mga9! Resolution:
(none) =>
OLD |