Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2707

Incomplete dependencies between Ubuntu -dev packages for Proton

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • proton-c-0.37.0
    • None
    • proton-c, release
    • None

    Description

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

      I installed libqpid-proton11-dev

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

      and that also brought in, as a dependency

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

      But then qpid-cpp broker build failed with

      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)
      

      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.

      Also, there are no Ubuntu Jammy packages in the Qpid PPA yet, https://launchpad.net/~qpid/+archive/ubuntu/testing/+packages

      Attachments

        Activity

          People

            Unassigned Unassigned
            jdanek Jiri Daněk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: