[MacPorts] #35118: mongodb @2.0.6_0 broken after boost @1.50.0_0 update

MacPorts noreply at macports.org
Sun Jul 8 09:53:42 PDT 2012


#35118: mongodb @2.0.6_0 broken after boost @1.50.0_0 update
--------------------------------------+-------------------------------------
 Reporter:  brian.fujikawa@…          |       Owner:  macports-tickets@…                   
     Type:  defect                    |      Status:  new                                  
 Priority:  Normal                    |   Milestone:                                       
Component:  ports                     |     Version:  2.1.1                                
 Keywords:                            |        Port:  mongodb                              
--------------------------------------+-------------------------------------
 OS X 10.7.4, Xcode 4.3.3,
 I had installed mongodb a few weeks ago and it was running without
 problems.
 After performing a recent macports update:
 {{{
 $sudo port -v selfupdate;sudo port -sv upgrade outdated;
 }}}
 mongodb started to fail with the following error:
 {{{
 $ port installed |grep mongodb
   mongodb @2.0.6_0 (active)
 $ port installed |grep boost
   boost @1.50.0_0 (active)
 $ mongo
 dyld: Symbol not found:
 __ZNK5boost15program_options16validation_error4whatEv
   Referenced from: /opt/local/bin/mongo
   Expected in: /opt/local/lib/libboost_program_options-mt.dylib
  in /opt/local/bin/mongo
 }}}
 A clean re-install of mongodb also now fails:
 {{{
 $ sudo port uninstall mongodb
 $ sudo port clean --all mongodb
 $ sudo port -sv install mongodb
 --->  Computing dependencies for mongodb.
 --->  Fetching distfiles for mongodb
 --->  mongodb-src-r2.0.6.tar.gz doesn't seem to exist in
 /opt/local/var/macports/distfiles/mongodb
 --->  Attempting to fetch mongodb-src-r2.0.6.tar.gz from
 http://distfiles.macports.org/mongodb
   % Total    % Received % Xferd  Average Speed   Time    Time     Time
 Current
                                  Dload  Upload   Total   Spent    Left
 Speed
 100 2903k  100 2903k    0     0  1369k      0  0:00:02  0:00:02 --:--:--
 1655k
 --->  Verifying checksum(s) for mongodb
 --->  Checksumming mongodb-src-r2.0.6.tar.gz
 --->  Extracting mongodb
 --->  Extracting mongodb-src-r2.0.6.tar.gz
 --->  Applying patches to mongodb
 --->  Applying patch-SConstruct.diff
 patching file SConstruct
 --->  Applying patch-distsrc-client-SConstruct.diff
 patching file distsrc/client/SConstruct
 --->  Applying patch-util-compress.cpp.diff
 patching file util/compress.cpp
 --->  Configuring mongodb
 --->  Building mongodb
 scons: Reading SConscript files ...
 scons version: 2.0.1
 python version: 2 7 3 'final' 0
 using system version of: pcre
 using system version of: sm
 using system version of: snappy
 Checking whether the C++ compiler worksyes
 Checking for C library stdc++... yes
 Checking for C++ header file boost/filesystem/operations.hpp... yes
 Checking for C library boost_system-mt... yes
 Checking for C library boost_thread-mt... yes
 Checking for C library boost_filesystem-mt... yes
 Checking for C library boost_program_options-mt... yes
 Checking for C++ header file execinfo.h... yes
 Checking for C library pcap... yes
 Checking whether the C++ compiler worksyes
 Checking for C++ header file boost/filesystem/operations.hpp... yes
 Checking for C library boost_system-mt... yes
 Checking for C library boost_thread-mt... yes
 Checking for C library boost_filesystem-mt... yes
 Checking for C library boost_program_options-mt... yes
 Checking for C++ header file execinfo.h... yes
 Checking for C library pcap... yes
 scons: done reading SConscript files.
 scons: Building targets ...
 /usr/bin/clang++ -o pch.o -c -arch x86_64 -Wnon-virtual-dtor
 -I/opt/local/include/js -fPIC -fno-strict-aliasing -ggdb -pthread -Wall
 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS
 -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DXP_UNIX -I.
 -I/opt/local/include pch.cpp
 clang: warning: argument unused during compilation: '-ggdb'
 /usr/bin/clang++ -o buildinfo.o -c -arch x86_64 -Wnon-virtual-dtor
 -I/opt/local/include/js -fPIC -fno-strict-aliasing -ggdb -pthread -Wall
 -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS
 -DMONGO_EXPOSE_MACROS -D_FILE_OFFSET_BITS=64 -DXP_UNIX -I.
 -I/opt/local/include buildinfo.cpp
 clang: warning: argument unused during compilation: '-ggdb'
 In file included from pch.cpp:18:
 In file included from ./pch.h:83:
 In file included from
 /opt/local/include/boost/filesystem/convenience.hpp:22:
 In file included from
 /opt/local/include/boost/filesystem/operations.hpp:24:
 /opt/local/include/boost/filesystem/config.hpp:16:5: error: #error
 Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined
 != 3
 In file included from buildinfo.cpp:1:
 In file included from ./pch.h:83:
 In file included from
 /opt/local/include/boost/filesystem/convenience.hpp:22:
 In file included from
 /opt/local/include/boost/filesystem/operations.hpp:24:
 /opt/local/include/boost/filesystem/config.hpp:16:5: error: #error
 Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined
 != 3
 #   error Compiling Filesystem version 3 file with
 BOOST_FILESYSTEM_VERSION defined != 3
     ^
 #   error Compiling Filesystem version 3 file with
 BOOST_FILESYSTEM_VERSION defined != 3
     ^
 In file included from pch.cpp:18:
 In file included from ./pch.h:161:
 In file included from ./util/goodies.h:22:
 ./util/concurrency/mutex.h:32:38: error: no member named 'TIME_UTC' in
 namespace 'boost'; did you mean 'TIME_UTC_'?
         boost::xtime_get(&xt, boost::TIME_UTC);
                               ~~~~~~~^~~~~~~~
                                      TIME_UTC_
 /opt/local/include/boost/thread/xtime.hpp:23:5: note: 'TIME_UTC_' declared
 here
     TIME_UTC_=1
     ^
 In file included from buildinfo.cpp:1:
 In file included from ./pch.h:161:
 In file included from ./util/goodies.h:22:
 ./util/concurrency/mutex.h:32:38: error: no member named 'TIME_UTC' in
 namespace 'boost'; did you mean 'TIME_UTC_'?
         boost::xtime_get(&xt, boost::TIME_UTC);
                               ~~~~~~~^~~~~~~~
                                      TIME_UTC_
 /opt/local/include/boost/thread/xtime.hpp:23:5: note: 'TIME_UTC_' declared
 here
     TIME_UTC_=1
     ^
 2 errors generated.
 2 errors generated.
 scons: *** [buildinfo.o] Error 1
 scons: *** [pch.o] Error 1
 scons: building terminated because of errors.
 Command failed:  cd
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/work
 /mongodb-src-r2.0.6" && scons -j2 all mongobridge mongosniff
 --cxx=/usr/bin/clang++ --full --use-system-all --usesm
 Exit code: 2
 Error: org.macports.build for port mongodb returned: command execution
 failed
 Warning: targets not executed for mongodb: org.macports.activate
 org.macports.build org.macports.destroot org.macports.install
 Please see the log file for port mongodb for details:
 /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log
 To report a bug, follow the instructions in the guide:
     http://guide.macports.org/#project.tickets
 Error: Processing of port mongodb failed
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/35118>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list