Jiri Daněk created PROTON-2532:
----------------------------------

             Summary: 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: Bug
          Components: build, proton-c
    Affects Versions: proton-c-0.37.0
            Reporter: Jiri Daněk


{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.1#820001)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to