[SERVER-6111] Build fails with "Implicit dependency not found" Created: 16/Jun/12  Updated: 11/Jul/16  Resolved: 10/Jul/12

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.1.2
Fix Version/s: 2.2.0-rc0

Type: Bug Priority: Major - P3
Reporter: Uwe L. Korn Assignee: Andy Schwerin
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

An up to date Gentoo installation with GCC 4.5.3 and Boost 1.48.0


Attachments: File typescript    
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Building the current mongo git-master with

`scons --use-system-all --sharedclient --usev8 --ssl all`

ends with the error

"Implicit dependency `src/third_party/boost/libboost_filesystem.a' not found, needed by target `build/linux2/ssl/use-system-all/usev8/mongo/mongo'."

The build should use /usr/lib/libboost_filesystem.a as the '--use-system-all' is specified.

Using the v2.0-branch the build just works fine.

The included typescript is the full build log.



 Comments   
Comment by Andy Schwerin [ 10/Jul/12 ]

To test during continuous integration, we would need a buildbot that used the --use-system-all build flag. Otherwise, one can test manually by running scons --use-system-all all.

Comment by auto [ 10/Jul/12 ]

Author:

{u'date': u'2012-07-10T08:10:10-07:00', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-6111 Clarify third-party shim library names.
Branch: master
https://github.com/mongodb/mongo/commit/60ff9c389819077a563af12ba18ce355c48568cd

Comment by auto [ 10/Jul/12 ]

Author:

{u'date': u'2012-07-09T09:24:35-07:00', u'email': u'schwerin@10gen.com', u'name': u'Andy Schwerin'}

Message: SERVER-6111: Use correct third-party dependency for boost libraries.

Depending on third_party/mongo_boost instead of third_party/boost/boost_XXX
enables the use of the system version of boost libraries.
Branch: master
https://github.com/mongodb/mongo/commit/a282a39254e776c2302afb48649d7027336043b2

Generated at Thu Feb 08 03:10:46 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.