Bug 1653030 - Fawkes incompatible with mongo-cxx-driver 3.3.1
Summary: Fawkes incompatible with mongo-cxx-driver 3.3.1
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: fawkes
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Till Hofmann
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-24 18:15 UTC by Rich Mattes
Modified: 2019-02-12 17:25 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2019-02-12 17:25:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Rich Mattes 2018-11-24 18:15:28 UTC
Description of problem:
fawkes-1.0.1 fails to build in rawhide, due to an incompatibility with mongo-cxx-driver.  The rawhide version of mongo-cxx-driver was upgraded to version 3.3.1 from version 1.1.2.  Version 3.3.1 looks quite different in terms of the header file layout, and as a result fawkes' buildsystem skips building the mongodb plugin. From the looks of it, the build scripts and the plugin source will need to be ported to the new version of mongo-cxx-driver.

Version-Release number of selected component (if applicable):
mongo-cxx-driver-devel-3.3.1-1.fc30
fawkes-1.0.1-1.fc30

How reproducible:
Attempt to build fawkes in the f30-protobuf side tag

Steps to Reproduce:
1. fedpkg clone fawkes && cd fawkes
2. fedpkg scratch-build --target f30-protobuf

Actual results:
Fawkes fails to detect mongodb, probably due to the changed header file layout.  The package builds, but since the mongo plugin wasn't built, the RPM build fails due to the missing library.

An example build can be found here:
https://koji.fedoraproject.org/koji/taskinfo?taskID=31081022

Expected results:
Successful build

Comment 1 Till Hofmann 2018-11-24 18:34:01 UTC
We are aware upstream: https://github.com/fawkesrobotics/fawkes/issues/16

Comment 2 Rich Mattes 2019-02-12 02:34:21 UTC
In light of mongodb being phased out of the distro[1], should we just disable the fawkes mongo support in rawhide?

[1] https://pagure.io/fesco/issue/2078

Comment 3 Till Hofmann 2019-02-12 17:25:59 UTC
Yes, I just pushed a patch that adds %bcond_with mongodb so the mongodb plugins are not built by default, but we can still re-enable it if we want to:
https://src.fedoraproject.org/rpms/fawkes/c/ae2fd5bf7ef3cdf0fb709df7f189e61c7ed19e9d?branch=master


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