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/07 19:44:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17709767#comment-17709767 ] 

Jiri Daněk commented on PROTON-2707:
------------------------------------

And then

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

     "/usr/lib/x86_64-linux-gnu/libqpid-proton-proactor.so.1.8.3"

  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)
  src/amqp.cmake:22 (find_package)
{noformat}

https://github.com/jiridanek/qpid-cpp/actions/runs/4640835700/jobs/8213186979#step:12:97

So I have to explicitly install also libqpid-proton-proactor1-dev

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



--
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