[MacPorts] #35726: mongodb @2.0.7 boost 1.49 Mountain Lion - build failure
MacPorts
noreply at macports.org
Fri Aug 24 08:12:21 PDT 2012
#35726: mongodb @2.0.7 boost 1.49 Mountain Lion - build failure
-------------------------------+--------------------------------------------
Reporter: kinergy@… | Owner: ryandesign@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.1.2
Keywords: | Port: mongodb
-------------------------------+--------------------------------------------
Comment(by vkuznet@…):
I have Lion and mongodb fails to upgrade. Initial error message is the
following:
---> Configuring mongodb
Error: mongodb 2.0.7 requires boost 1.49.x or older but you have boost
1.50.0.
Error: To downgrade boost, see
https://trac.macports.org/wiki/howto/InstallingOlderPort
Error: or more specifically
https://trac.macports.org/ticket/35118#comment:12
Error: org.macports.configure for port mongodb returned: boost 1.50.0 is
too new
Please see the log file for port mongodb for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/mongodb/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
I have
vk at localhost(11:01:05)> sudo port installed | grep boost
boost @1.50.0_0 (active)
boost-jam @3.1.18_0 (active)
so I don't know why mongodb port complains about boost. Then I tried to
install previous boost and to my surprise it did not pick up correct
version
vk at localhost(11:01:36)> sudo port install boost @1.49.0_0
---> Computing dependencies for boost
---> Fetching archive for boost
---> Attempting to fetch
boost-1.50.0_0+no_single+no_static.darwin_11.x86_64.tbz2 from
http://packages.macports.org/boost
---> Attempting to fetch
boost-1.50.0_0+no_single+no_static.darwin_11.x86_64.tbz2.rmd160 from
http://packages.macports.org/boost
---> Installing boost @1.50.0_0+no_single+no_static
---> Deactivating boost @1.50.0_0
---> Cleaning boost
---> Activating boost @1.50.0_0+no_single+no_static
---> Cleaning boost
---> Updating database of binaries: 100.0%
---> Scanning binaries for linking errors: 100.0%
---> No broken files found.
So when I checked what I have I got the following
vk at localhost(11:08:04)> sudo port installed | grep boost
Password:
boost @1.50.0_0
boost @1.50.0_0+no_single+no_static (active)
boost-jam @3.1.18_0 (active)
Certainly there are two problems here.
1. MongoDB asks for boost 1.49.x or newer and if system has newer version
MongoDB port fails to install
2. Asking to install boost 1.49.0 installs the wrong version of boost.
--
Ticket URL: <https://trac.macports.org/ticket/35726#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list