Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#30263 closed defect (fixed)

mongodb @1.8.2 Build failure in Lion (10.7)

Reported by: philion@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: lion Cc: ryandesign (Ryan Schmidt), conradwt (Conrad Taylor), squiter85@…
Port: mongodb

Description (last modified by ryandesign (Ryan Schmidt))

While performing "port install mongodb":

% sudo port install mongodb 
--->  Computing dependencies for mongodb
--->  Building mongodb
Error: Target org.macports.build returned: shell command failed (see log for details)
Log for mongodb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

The contents of the log file:

version:1
:debug:main epoch: in tree: 0 installed: 0
:debug:main scons 2.0.1_0 exists in the ports tree
:debug:main scons 2.0.1_0  is the latest installed
:debug:main scons 2.0.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/scons
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/python26-1.0.tcl
:debug:main only one arch supported, so not adding the default universal variant
:debug:main No need to upgrade! scons 2.0.1_0 >= scons 2.0.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main python26 2.6.7_0 exists in the ports tree
:debug:main python26 2.6.7_0  is the latest installed
:debug:main python26 2.6.7_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/python26
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! python26 2.6.7_0 >= python26 2.6.7_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main gettext 0.18.1.1_2 exists in the ports tree
:debug:main gettext 0.18.1.1_2  is the latest installed
:debug:main gettext 0.18.1.1_2  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/gettext
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/archcheck-1.0.tcl
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! gettext 0.18.1.1_2 >= gettext 0.18.1.1_2
:debug:main epoch: in tree: 0 installed: 0
:debug:main libiconv 1.13.1_0 exists in the ports tree
:debug:main libiconv 1.13.1_0  is the latest installed
:debug:main libiconv 1.13.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/libiconv
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! libiconv 1.13.1_0 >= libiconv 1.13.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main ncurses 5.9_0 exists in the ports tree
:debug:main ncurses 5.9_0  is the latest installed
:debug:main ncurses 5.9_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/ncurses
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! ncurses 5.9_0 >= ncurses 5.9_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main expat 2.0.1_1 exists in the ports tree
:debug:main expat 2.0.1_1  is the latest installed
:debug:main expat 2.0.1_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/textproc/expat
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! expat 2.0.1_1 >= expat 2.0.1_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main zlib 1.2.5_0 exists in the ports tree
:debug:main zlib 1.2.5_0  is the latest installed
:debug:main zlib 1.2.5_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/zlib
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/xcodeversion-1.0.tcl
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! zlib 1.2.5_0 >= zlib 1.2.5_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main openssl 1.0.0d_0 exists in the ports tree
:debug:main openssl 1.0.0d_0  is the latest installed
:debug:main openssl 1.0.0d_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/openssl
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! openssl 1.0.0d_0 >= openssl 1.0.0d_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main sqlite3 3.7.7.1_0 exists in the ports tree
:debug:main sqlite3 3.7.7.1_0  is the latest installed
:debug:main sqlite3 3.7.7.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/sqlite3
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! sqlite3 3.7.7.1_0 >= sqlite3 3.7.7.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main readline 6.2.000_0 exists in the ports tree
:debug:main readline 6.2.000_0  is the latest installed
:debug:main readline 6.2.000_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/readline
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! readline 6.2.000_0 >= readline 6.2.000_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main db46 4.6.21_6 exists in the ports tree
:debug:main db46 4.6.21_6  is the latest installed
:debug:main db46 4.6.21_6  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/db46
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! db46 4.6.21_6 >= db46 4.6.21_6
:debug:main epoch: in tree: 0 installed: 0
:debug:main gdbm 1.8.3_3 exists in the ports tree
:debug:main gdbm 1.8.3_3  is the latest installed
:debug:main gdbm 1.8.3_3  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/databases/gdbm
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! gdbm 1.8.3_3 >= gdbm 1.8.3_3
:debug:main epoch: in tree: 0 installed: 0
:debug:main bzip2 1.0.6_0 exists in the ports tree
:debug:main bzip2 1.0.6_0  is the latest installed
:debug:main bzip2 1.0.6_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/archivers/bzip2
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! bzip2 1.0.6_0 >= bzip2 1.0.6_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main python_select 0.3_1 exists in the ports tree
:debug:main python_select 0.3_1  is the latest installed
:debug:main python_select 0.3_1  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/sysutils/python_select
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/select-1.0.tcl
:debug:main universal_variant is false, so not adding the default universal variant
:debug:main No need to upgrade! python_select 0.3_1 >= python_select 0.3_1
:debug:main epoch: in tree: 0 installed: 0
:debug:main boost 1.47.0_0 exists in the ports tree
:debug:main boost 1.47.0_0  is the latest installed
:debug:main boost 1.47.0_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/boost
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! boost 1.47.0_0 >= boost 1.47.0_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main icu 4.6.1_0 exists in the ports tree
:debug:main icu 4.6.1_0  is the latest installed
:debug:main icu 4.6.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/icu
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! icu 4.6.1_0 >= icu 4.6.1_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main pcre 8.12_0 exists in the ports tree
:debug:main pcre 8.12_0  is the latest installed
:debug:main pcre 8.12_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/pcre
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! pcre 8.12_0 >= pcre 8.12_0
:debug:main epoch: in tree: 1 installed: 1
:debug:main spidermonkey 1.7.0_5 exists in the ports tree
:debug:main spidermonkey 1.7.0_5  is the latest installed
:debug:main spidermonkey 1.7.0_5  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/lang/spidermonkey
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! spidermonkey 1.7.0_5 >= spidermonkey 1.7.0_5
:debug:main epoch: in tree: 0 installed: 0
:debug:main nspr 4.8.8_0 exists in the ports tree
:debug:main nspr 4.8.8_0  is the latest installed
:debug:main nspr 4.8.8_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/devel/nspr
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main Using group file /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/group/muniversal-1.0.tcl
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main universal variant already exists, so not adding the default one
:debug:main No need to upgrade! nspr 4.8.8_0 >= nspr 4.8.8_0
:debug:main epoch: in tree: 0 installed: 0
:debug:main libpcap 1.1.1_0 exists in the ports tree
:debug:main libpcap 1.1.1_0  is the latest installed
:debug:main libpcap 1.1.1_0  is active
:debug:main Merging existing variants '' into variants
:debug:main new fully merged portvariants: 
:debug:main Changing to port directory: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/net/libpcap
:debug:main OS darwin/11.0.0 (Mac OS X 10.7) arch i386
:debug:main org.macports.load registered provides 'load', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.unload registered provides 'unload', a pre-existing procedure. Target override will not be provided
:debug:main org.macports.distfiles registered provides 'distfiles', a pre-existing procedure. Target override will not be provided
:debug:main adding the default universal variant
:debug:main Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/_resources/port1.0/variant_descriptions.conf
:debug:main No need to upgrade! libpcap 1.1.1_0 >= libpcap 1.1.1_0
:msg:main --->  Computing dependencies for mongodb:info:main .:debug:main Searching for dependency: scons
:debug:main Found Dependency: receipt exists for scons
:debug:main Searching for dependency: boost
:debug:main Found Dependency: receipt exists for boost
:debug:main Searching for dependency: pcre
:debug:main Found Dependency: receipt exists for pcre
:debug:main Searching for dependency: spidermonkey
:debug:main Found Dependency: receipt exists for spidermonkey
:debug:main Searching for dependency: libpcap
:debug:main Found Dependency: receipt exists for libpcap
:debug:main Searching for dependency: readline
:debug:main Found Dependency: receipt exists for readline
:msg:main 
:debug:main Executing org.macports.main (mongodb)
:debug:main changing euid/egid - current euid: 0 - current egid: 0
:debug:main egid changed to: 502
:debug:main euid changed to: 503
:debug:main Skipping completed org.macports.archivefetch (mongodb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.fetch (mongodb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.checksum (mongodb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.extract (mongodb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.patch (mongodb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:main Skipping completed org.macports.configure (mongodb)
:debug:main Privilege de-escalation not attempted as not running as root.
:debug:build build phase started at Wed Jul 20 17:28:19 PDT 2011
:notice:build --->  Building mongodb
:debug:build Executing org.macports.build (mongodb)
:debug:build Environment: CPATH='/opt/local/include' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/work/.CC_PRINT_OPTIONS' CXXFLAGS='-arch x86_64' CFLAGS='-arch x86_64' TERM='xterm' LIBRARY_PATH='/opt/local/lib' CC_PRINT_OPTIONS='YES' MACOSX_DEPLOYMENT_TARGET='10.7' LINKFLAGS='-arch x86_64'
:debug:build Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/work/mongodb-src-r1.8.2" && scons -j2 all mongobridge mongosniff --usesm --cxx=/Developer/usr/bin/llvm-g++-4.2 --full'
:debug:build Executing command line:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/work/mongodb-src-r1.8.2" && scons -j2 all mongobridge mongosniff --usesm --cxx=/Developer/usr/bin/llvm-g++-4.2 --full 
:info:build [?1034hscons: Reading SConscript files ...
:info:build scons version: 2.0.1
:info:build python version: 2 6 7 'final' 0
:info:build Checking whether the C++ compiler works(cached) yes
:info:build Checking for C library stdc++... (cached) yes
:info:build Checking for C++ header file pcrecpp.h... (cached) yes
:info:build Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes
:info:build Checking for C library boost_system-mt... (cached) yes
:info:build Checking for C library boost_thread-mt... (cached) yes
:info:build Checking for C library boost_filesystem-mt... (cached) yes
:info:build Checking for C library boost_program_options-mt... (cached) yes
:info:build Checking for C++ header file execinfo.h... (cached) yes
:info:build Checking for C library pcrecpp... (cached) yes
:info:build Checking for C library pcre... (cached) yes
:info:build Checking for C library pcap... (cached) yes
:info:build Checking for C library mozjs... (cached) no
:info:build Checking for C library js... (cached) yes
:info:build Checking for C header file js/jsapi.h... (cached) yes
:info:build Checking whether the C++ compiler works(cached) yes
:info:build Checking for C++ header file boost/filesystem/operations.hpp... (cached) yes
:info:build Checking for C library boost_system-mt... (cached) yes
:info:build Checking for C library boost_thread-mt... (cached) yes
:info:build Checking for C library boost_filesystem-mt... (cached) yes
:info:build Checking for C library boost_program_options-mt... (cached) yes
:info:build Checking for C++ header file execinfo.h... (cached) yes
:info:build Checking for C library pcap... (cached) yes
:info:build Checking for C library mozjs... (cached) no
:info:build Checking for C library js... (cached) yes
:info:build Checking for C header file js/jsapi.h... (cached) yes
:info:build scons: done reading SConscript files.
:info:build scons: Building targets ...
:info:build /Developer/usr/bin/llvm-g++-4.2 -o util/processinfo_darwin.o -c -arch x86_64 -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/opt/local/include util/processinfo_darwin.cpp
:info:build /Developer/usr/bin/llvm-g++-4.2 -o db/stats/snapshots.o -c -arch x86_64 -Wnon-virtual-dtor -fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch -O3 -D_SCONS -DMONGO_EXPOSE_MACROS -DXP_UNIX -I. -I/opt/local/include db/stats/snapshots.cpp
:info:build In file included from util/processinfo_darwin.cpp:30:
:info:build /usr/include/mach/shared_memory_server.h:48:2: warning: #warning "<mach/shared_memory_server.h> is deprecated.  Please use <mach/shared_region.h> instead."
:info:build In file included from util/processinfo_darwin.cpp:23:
:info:build /usr/include/mach/task_info.h:252: error: 'vm_extmod_statistics_data_t' does not name a type
:info:build /opt/local/include/boost/system/error_code.hpp:214: warning: 'boost::system::posix_category' defined but not used
:info:build /opt/local/include/boost/system/error_code.hpp:215: warning: 'boost::system::errno_ecat' defined but not used
:info:build /opt/local/include/boost/system/error_code.hpp:216: warning: 'boost::system::native_ecat' defined but not used
:info:build scons: *** [util/processinfo_darwin.o] Error 1
:info:build scons: building terminated because of errors.
:info:build shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/work/mongodb-src-r1.8.2" && scons -j2 all mongobridge mongosniff --usesm --cxx=/Developer/usr/bin/llvm-g++-4.2 --full " returned error 2
:error:build Target org.macports.build returned: shell command failed (see log for details)
:debug:build Backtrace: shell command failed (see log for details)
    while executing
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: the following items did not execute (for mongodb): org.macports.activate org.macports.build org.macports.destroot org.macports.install
:notice:build Log for mongodb is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_databases_mongodb/mongodb/main.log

In summary, I think the problem is:

:info:build In file included from util/processinfo_darwin.cpp:30:
:info:build /usr/include/mach/shared_memory_server.h:48:2: warning: #warning "<mach/shared_memory_server.h> is deprecated.  Please use <mach/shared_region.h> instead."
:info:build In file included from util/processinfo_darwin.cpp:23:
:info:build /usr/include/mach/task_info.h:252: error: 'vm_extmod_statistics_data_t' does not name a type

}}}

Change History (11)

comment:1 Changed 7 years ago by philion@…

Looks like that's it.

In util/processinfo_darwin.cpp,

Add

#include <mach/vm_statistics.h>

I also changed #include <mach/shared_memory_server.h> to #include <mach/shared_region.h>, but I don't think that makes a difference.

comment:2 Changed 7 years ago by philion@…

I just confirmed that the problem is in the MongoDB source base. I will be submitting the patch to MongoDB.

comment:3 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: ryandesign@… added
Description: modified (diff)

comment:4 in reply to:  description ; Changed 7 years ago by dejager.jc@…

Noob question! Where does one edit this file. found it under "/opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mongodb/work/mongodb-src-r1.8.2/util" but editing it here makes no difference?

comment:5 in reply to:  4 Changed 7 years ago by ryandesign (Ryan Schmidt)

Replying to philion@…:

I just confirmed that the problem is in the MongoDB source base. I will be submitting the patch to MongoDB.

This appears to be it: https://jira.mongodb.org/browse/SERVER-3460

Replying to dejager.jc@…:

Noob question! Where does one edit this file. found it under "/opt/local/var/macports/sources/rsync.macports.org/release/ports/databases/mongodb/work/mongodb-src-r1.8.2/util"

Yes, that's where it would be.

but editing it here makes no difference?

Editing it should make a difference. Try again. Clean the port, extract it, then make the prescribed changes (perhaps using the patch attached to the upstream ticket mentioned above), then proceed with the rest of the install.

sudo port clean mongodb
sudo port extract mongodb
cd $(port work mongodb)/mongodb*
sudo curl -O https://jira.mongodb.org/secure/attachment/12395/lion.patch
sudo patch -p1 < lion.patch
cd
sudo port install mongodb

comment:6 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: conradwt@… added

Has duplicate #30482.

comment:7 Changed 7 years ago by conradwt (Conrad Taylor)

The above steps worked for me.

comment:8 Changed 7 years ago by squiter85@…

And how do I get a new installation??

comment:9 in reply to:  8 Changed 7 years ago by ryandesign (Ryan Schmidt)

Cc: squiter85@… added

Replying to squiter85@…:

And how do I get a new installation??

I don't know what that means.

comment:10 in reply to:  2 Changed 7 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: newclosed

Replying to philion@…:

I just confirmed that the problem is in the MongoDB source base. I will be submitting the patch to MongoDB.

No movement from them yet on this issue, so I committed it to the port in r81580.

comment:11 Changed 7 years ago by ryandesign (Ryan Schmidt)

Keywords: lion added
Note: See TracTickets for help on using tickets.