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

             Summary: Incomplete dependencies between Ubuntu -dev packages for 
Proton
                 Key: PROTON-2707
                 URL: https://issues.apache.org/jira/browse/PROTON-2707
             Project: Qpid Proton
          Issue Type: Bug
          Components: proton-c, release
    Affects Versions: proton-c-0.37.0
            Reporter: Jiri Daněk


I wanted to use qpid-proton devel package when compiling qpid-cpp broker.

I installed libqpid-proton11-dev

{noformat}
Get:10 http://ppa.launchpad.net/qpid/testing/ubuntu focal/main amd64 
libqpid-proton11-dev amd64 0.37.0-1focal+qpid1 [72.0 kB]
{noformat}

and that also brought in, as a dependency

{noformat}
Get:4 http://ppa.launchpad.net/qpid/testing/ubuntu focal/main amd64 
libqpid-proton11 amd64 0.37.0-1focal+qpid1 [151 kB]
{noformat}

But then qpid-cpp broker build failed with

{noformat}
CMake Error at /usr/lib/x86_64-linux-gnu/cmake/Proton/ProtonTargets.cmake:87 
(message):
  The imported target "Proton::core" references the file

-- Configuring incomplete, errors occurred!
     "/usr/lib/x86_64-linux-gnu/libqpid-proton-core.so.10.13.0"

  but this file does not exist.  Possible reasons include:

  * The file was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and contained

     "/usr/lib/x86_64-linux-gnu/cmake/Proton/ProtonTargets.cmake"

  but not all the files it references.

Call Stack (most recent call first):
  /usr/lib/x86_64-linux-gnu/cmake/Proton/ProtonConfig.cmake:61 (include)
  CMakeModules/FindProton.cmake:24 (find_package)
{noformat}

https://github.com/jiridanek/qpid-cpp/actions/runs/4640812333/jobs/8213140438#step:12:101

I had to manually also install libqpid-proton-core10-dev to have all the 
necessary files.

Please add dependency between the dev packages.

Btw, looking at Ubuntu packages 
https://packages.ubuntu.com/source/focal/qpid-proton I noticed that they take 
them from Debian, and those packages are out-of-date (even more than I'd 
expect) and they don't include ProtonConfig.cmake, and these other cmake files 
in the -dev packages.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to