Bug 1317356

Summary: qpid-proton-c package includes CMake files that should only be in qpid-proton-c-devel
Product: [Fedora] Fedora Reporter: Andrew Stitcher <astitcher>
Component: qpid-protonAssignee: Irina Boverman <iboverma>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: high Docs Contact:
Priority: unspecified    
Version: 23CC: iboverma, kgiusti
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: qpid-proton-0.13.0-1.el7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-20 04:49:38 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Andrew Stitcher 2016-03-14 04:57:16 UTC
Description of problem:
qpid-proton-c-0.12.0-1.x86_64 files:
  /usr/lib64/cmake/Proton/ProtonConfig.cmake
  /usr/lib64/cmake/Proton/ProtonConfigVersion.cmake
This means that any cmake builds that look for the proton development libraries will think that it is installed when only the shared library is installed (not the headers or the linkable library)

Version-Release number of selected component (if applicable):
0.12.0-1

How reproducible:
every cmake build

Steps to Reproduce:
Using qpid source build as an example (which should already be installed)
1. dnf install qpid-proton-c [but *not* qpid-proton-c-devel]
2. mkdir qpid-bld; cmake <path to qpid/cpp directory in qpid source>
3. make

Actual results:

Fail at make stage with cannot find /usr/lib64/libqpid-proton.so.

Expected results:

Should fail at cmake stage with cannot find Proton.

Additional info:
This packaging bug makes it harder to install your own version of proton to compile against and have the system library installed too for other reasons.

Comment 1 Fedora Update System 2016-06-30 19:00:28 UTC
qpid-proton-0.13.0-1.el7 has been submitted as an update to Fedora EPEL 7. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-08de998477

Comment 2 Fedora Update System 2016-07-02 20:21:01 UTC
qpid-proton-0.13.0-1.el7 has been pushed to the Fedora EPEL 7 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2016-08de998477

Comment 3 Fedora Update System 2016-07-20 04:49:36 UTC
qpid-proton-0.13.0-1.el7 has been pushed to the Fedora EPEL 7 stable repository. If problems still persist, please make note of it in this bug report.