Skip to content
This repository was archived by the owner on Apr 15, 2026. It is now read-only.

QPID-7148: Use more modern CMake install machinery for better QpidConfig.cmake - #33

Closed
jiridanek wants to merge 1 commit into
apache:mainfrom
jiridanek:jd_2022_10_22_qpid_7148_QpidConfig.cmake
Closed

QPID-7148: Use more modern CMake install machinery for better QpidConfig.cmake#33
jiridanek wants to merge 1 commit into
apache:mainfrom
jiridanek:jd_2022_10_22_qpid_7148_QpidConfig.cmake

Conversation

@jiridanek

jiridanek commented Oct 22, 2022

Copy link
Copy Markdown
ContributorAuthor

TODO

@jiridanekjiridanek self-assigned this Oct 22, 2022
@jiridanek

Copy link
Copy Markdown
ContributorAuthor

It appears that this really fixes the build for me rh-messaging/cli-cpp#71

The issue is that Bazel moves the installed library around, and requires QpidConfig.cmake to contain relative paths. Otherwise, attempt is made to fetch libraries from original install location, which is prevented by Bazel sandbox and therefore build fails.

@jiridanek

Copy link
Copy Markdown
ContributorAuthor

As far as I can remember, federation tests are broken and failure can be ignored

6: federation.FederationTests.test_dynamic_direct_shared_queue ............. fail
6: Error during test: Traceback (most recent call last):
6: File "/home/travis/.local/bin/qpid-python-test", line 340, in run
6: phase()
6: File "/home/travis/build/apache/qpid-cpp/Build/src/tests/federation.py", line 2592, in test_dynamic_direct_shared_queue
6: self.assertNotEqual(_c.msgsToClient, 0, "Messages did not pass over link as expected.")
6: File "/usr/lib/python2.7/unittest/case.py", line 522, in assertNotEqual
6: raise self.failureException(msg)
6: AssertionError: Messages did not pass over link as expected.

https://app.travis-ci.com/github/apache/qpid-cpp/builds/256978344#L2108

@jiridanekjiridanek changed the title QPID-7148 Use more modern CMake install machinery for better QpidConfig.cmakeQPID-7148: Use more modern CMake install machinery for better QpidConfig.cmakeApr 8, 2023
@jiridanek
jiridanekforce-pushed the jd_2022_10_22_qpid_7148_QpidConfig.cmake branch from f8ed352 to e781482CompareApril 8, 2023 13:51
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

@jiridanek@gemmellr