Bug 1194307

Summary: mongodb fails to start on i686
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: mongodbAssignee: Marek Skalický <mskalick>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: admiller, jdornak, jim, johan.o.hedin, jpacner, mskalick, nathaniel, ppisar, strobert, tdawson, vondruch
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-19 10:10:22 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: 855072    

Description Vít Ondruch 2015-02-19 14:26:40 UTC
Description of problem:

$ mongod --dbpath data --logpath data/log --fork --auth
mongod: symbol lookup error: mongod: undefined symbol: _ZN5boost15program_options20invalid_option_valueC1ERKSs



Version-Release number of selected component (if applicable):
$ rpm -q mongodb-server
mongodb-server-2.6.7-4.fc22.i686

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.

Actual results:
Fails to start

Expected results:
Starts


Additional info:
This happens when Koschei rebuilds rubygem-mongo:

http://koschei.cloud.fedoraproject.org/package/rubygem-mongo

Comment 1 Marek Skalický 2015-02-23 10:55:08 UTC
Do you mean f22? I guess yes. In rawhide (=f23) mongodb is failing to build (because of gcc changes and gnu11 dafault) and latest version is 2.6.7-2.

In f22 mongoDB is working for me.

I had the same problem when I tried it. But removing boost-* + mongodb* and installing mongodb fixed it.

My problem was that in my rawhide virtual machine during f22 branching I didn't updated repos and I had boost installed from f23. After I changed it and installed mongodb this problem appeared. But reinstalling solved it...

Could you have the same problem?

Comment 2 Vít Ondruch 2015-02-23 11:05:12 UTC
I am speaking about Rawhide and Koschei rebuilds of rubygem-mongo, which need MongoDB to execute its test suite. E.g. this is today's failed scratch build:

http://koji.fedoraproject.org/koji/taskinfo?taskID=9034576

Comment 3 Marek Skalický 2015-02-23 14:34:10 UTC
Thanks for clarification.

I've asked maintainers of packages required by mongodb to f23 rebuild. Without this it is not possible to build mongodb for f23...

Comment 4 Marek Skalický 2015-03-13 09:14:23 UTC
To update: mongodb is failing to build on rawhide.

Mongodb 2.6 also Mongodb 3.0 are failing with this error https://jira.mongodb.org/browse/SERVER-17511

Comment 5 Marek Skalický 2015-05-14 13:08:42 UTC
MongoDB should be working in rawhide. Please test it...

Comment 6 Vít Ondruch 2015-05-15 08:11:03 UTC
Seems that builds of rubygem-mongo on Koschei get past that point since 2015-05-04. Thanks for fixing this issue.

Comment 7 Marek Skalický 2015-05-19 10:10:22 UTC
2015-05-03 Kalev Lember rebuilt packages (also MongoDB) for C++11 ABI changes, so MongoDB now works.

Feel free to reopen.