You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Andrew Stitcher (Jira)" <ji...@apache.org> on 2022/04/20 00:02:00 UTC

[jira] [Comment Edited] (PROTON-2532) CMake find_package will fail unhelpfully when user asks for component that is not provided

    [ https://issues.apache.org/jira/browse/PROTON-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524632#comment-17524632 ] 

Andrew Stitcher edited comment on PROTON-2532 at 4/20/22 12:01 AM:
-------------------------------------------------------------------

Oh that's a good plan checking for QUIET like every other FindXXX script  would be good.

[Edited because I realized that the current configure script is no longer the one I originally wrote]


was (Author: astitcher):
Oh that's a good plan checking for QUIET like every other FindXXX script  would be good - I guess I was just too lazy when I wrote the script in the beginning!

> CMake find_package will fail unhelpfully when user asks for component that is not provided
> ------------------------------------------------------------------------------------------
>
>                 Key: PROTON-2532
>                 URL: https://issues.apache.org/jira/browse/PROTON-2532
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: build, proton-c
>    Affects Versions: proton-c-0.37.0
>            Reporter: Jiri Daněk
>            Priority: Major
>
> {code}
> - find_package(Proton 0.34.0 REQUIRED COMPONENTS Core Proactor)
> + find_package(Proton 0.37.0 REQUIRED COMPONENTS Core Proactor Tls)
> {code}
> https://github.com/skupperproject/skupper-router/runs/5979935734?check_suite_focus=true#step:6:65
> {noformat}
> CMake Error at CMakeLists.txt:76 (find_package):
> -- Configuring incomplete, errors occurred!
> See also "/tmp/skupper-rpms/skupper-router/x86_64-redhat-linux-gnu/CMakeFiles/CMakeOutput.log".
> See also "/tmp/skupper-rpms/skupper-router/x86_64-redhat-linux-gnu/CMakeFiles/CMakeError.log".
>   Found package configuration file:
>     /usr/lib64/cmake/Proton/ProtonConfig.cmake
>   but it set Proton_FOUND to FALSE so package "Proton" is considered to be
>   NOT FOUND.
> error: Bad exit status from /var/tmp/rpm-tmp.01Gzla (%build)
> RPM build errors:
>     Bad exit status from /var/tmp/rpm-tmp.01Gzla (%build)
> {noformat}



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org