Opened 14 years ago

Closed 14 years ago

#28883 closed defect (fixed)

mongodb: build fails with latest boost

Reported by: koba@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version: 1.9.2
Keywords: boost Cc: nils.ohlmeier@…, tim.julien@…
Port: mongodb

Description

I am not able to build the mongodb port on a MacBook Pro (Early 2011) with Core I7. Build fails: Error: Status 1 encountered during processing.

Attachments (1)

main.log (31.5 KB) - added by koba@… 14 years ago.
Log of the build

Download all attachments as: .zip

Change History (12)

Changed 14 years ago by koba@…

Attachment: main.log added

Log of the build

comment:1 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: boost added; mongodb core i7 removed
Summary: Mongodb Port fails to build on new MBP (2011) with Core I7mongodb: build fails with latest boost

Same happens on my older MacBook Pro. It's probably the latest boost update that caused this. mongodb should be updated to 1.8.0 which might fix this.

comment:2 Changed 14 years ago by nils.ohlmeier@…

Cc: nils.ohlmeier@… added

Cc Me!

comment:3 Changed 14 years ago by tim.julien@…

I'm also seeing this.

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

comment:5 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: assignedclosed

Updated to 1.8.0 and fixed this problem in r77327.

comment:6 Changed 14 years ago by koba@…

1.8.0 build fails, when staging into destroot:

:info:destroot scons: Reading SConscript files ...
:info:destroot scons version: 2.0.1
:info:destroot python version: 2 6 6 'final' 0
:info:destroot KeyError: 'TERM':
:info:destroot   File "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_databases_mongodb/work/mongodb-src-r1.8.0/SConstruct", line 675:
:info:destroot     env['ENV']['TERM'] = os.environ['TERM']
:info:destroot   File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/UserDict.py", line 22:
:info:destroot     raise KeyError(key)

You want me to open a new ticket with complete main.log ?

comment:7 Changed 14 years ago by tim.julien@…

I'm also seeing this new error

comment:8 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: closedreopened

Shoot. I saw that too initially, but thought I had overcome it with build.env TERM=xterm. My understanding was that it was looking for a TERM environment variable, which doesn't exist when building via MacPorts, so I just set it to a common value, and it then worked on my system. But I see you're getting the error in the destroot phase, not the build phase. See if r77342 has helped.

comment:9 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: tim.julien@… added

comment:10 Changed 14 years ago by koba@…

r77342 fixed it for me, thanks for your time and help.

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

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.