[ 
https://issues.apache.org/jira/browse/PROTON-2532?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andrew Stitcher resolved PROTON-2532.
-------------------------------------
    Fix Version/s: proton-c-0.38.0
       Resolution: Fixed

> 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
>             Fix For: proton-c-0.38.0
>
>
> {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-unsubscr...@qpid.apache.org
For additional commands, e-mail: dev-h...@qpid.apache.org

Reply via email to