You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Jiri Daněk (Jira)" <ji...@apache.org> on 2023/04/08 12:54:00 UTC

[jira] [Updated] (PROTON-2707) Incomplete dependencies between Ubuntu -dev packages for Proton

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

Jiri Daněk updated PROTON-2707:
-------------------------------
    Description: 
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.

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

  was:
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.


> 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
>            Priority: Major
>
> 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.
> Also, there are no Ubuntu Jammy packages in the Qpid PPA yet, https://launchpad.net/~qpid/+archive/ubuntu/testing/+packages



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

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