Bug 1692315

Summary: missing rh-mongodb36-libbson-devel
Product: Red Hat Software Collections Reporter: Joe Orton <jorton>
Component: libbsonAssignee: Patrik Novotný <panovotn>
Status: CLOSED CURRENTRELEASE QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rh-mongodb36CC: asabadra, hhorak, tborcin
Target Milestone: alpha   
Target Release: 3.3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1703908 1704212 (view as bug list) Environment:
Last Closed: 2019-12-19 10:35:48 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:
Bug Depends On:    
Bug Blocks: 1703908, 1704212, 1704275, 1704306    

Description Joe Orton 2019-03-25 10:36:35 UTC
Description of problem:
rh-mongodb36-libbson-devel isn't shipped but should be, it appears to be required to link against libmongoc.

Version-Release number of selected component (if applicable):
rh-mongodb36-libbson-devel-1.9.2-1.el7

How reproducible:
always

Steps to Reproduce:
1. yum install rh-mongodb36-mongo-c-driver-devel
2. gcc -c -xc /dev/null -om.o $(scl enable rh-mongodb36 - pkg-config --cflags libmongoc-1.0) 

Actual results:
Package libbson-1.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `libbson-1.0.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libbson-1.0', required by 'libmongoc', not found

Expected results:
success

Additional info:
Main bug here is that we don't ship rh-mongodb36-libbson-devel.

Also noted that rh-mongodb34-mongo-c-driver-devel doesn't Require: rh-mongodb34-mongo-c-driver-devel but seems like it should - 

/opt/rh/rh-mongodb34/root/usr/include/libmongoc-1.0/mongoc.h:#include <bson.h>

and likewise -

/opt/rh/rh-mongodb36/root/usr/include/libmongoc-1.0/mongoc.h:#include <bson.h>

Comment 2 Joe Orton 2019-03-25 10:37:17 UTC
^ -mongo-c-driver-devel doesn't require -libbson-devel but seems like it should.

Comment 6 Honza Horak 2019-12-19 10:35:48 UTC
There was no change in libbson spec needed, closing this tracker as the RCM changes are in effect for further RHSCL releases as well.