Bug 1692315 - missing rh-mongodb36-libbson-devel
Summary: missing rh-mongodb36-libbson-devel
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Software Collections
Classification: Red Hat
Component: libbson
Version: rh-mongodb36
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: alpha
: 3.3
Assignee: Patrik Novotný
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On:
Blocks: 1703908 1704212 1704275 1704306
TreeView+ depends on / blocked
 
Reported: 2019-03-25 10:36 UTC by Joe Orton
Modified: 2019-12-19 10:35 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1703908 1704212 (view as bug list)
Environment:
Last Closed: 2019-12-19 10:35:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.