Opened 8 years ago

Closed 3 years ago

#50893 closed defect (fixed)

gource: build fails on OS X 10.6.8

Reported by: SlaunchaMan (Jeff Kelley) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: gource

Description

Building gource failed on a MacBook (Intel Core 2 Duo) running OS X 10.6.8. Log file to be attached.

Attachments (2)

main.log (64.9 KB) - added by SlaunchaMan (Jeff Kelley) 8 years ago.
Build log.
main.2.log (60.6 KB) - added by SlaunchaMan (Jeff Kelley) 8 years ago.
Second build log.

Download all attachments as: .zip

Change History (11)

Changed 8 years ago by SlaunchaMan (Jeff Kelley)

Attachment: main.log added

Build log.

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

Cc: ryandesign@… added

Are you using Xcode 4.x? The log shows the failure is that llvm-g++ does not understand a compiler option, but MacPorts should only be defaulting to llvm-g++ with Xcode 4.x. The recommended version of Xcode for Snow Leopard is 3.2.6, because that is the last free version.

comment:2 Changed 8 years ago by SlaunchaMan (Jeff Kelley)

Yes, it’s running Xcode 4.2.

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

Ok. Try disabling the use of llvm-g++ by running:

sudo port -s install gource compiler.blacklist=llvm-gcc-4.2

If that works, we can add that blacklisting into the Portfile.

comment:4 Changed 8 years ago by SlaunchaMan (Jeff Kelley)

I’m seeing some failures with that option. Attaching build log.

Changed 8 years ago by SlaunchaMan (Jeff Kelley)

Attachment: main.2.log added

Second build log.

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

Ok, so your old version of clang also doesn't work, maybe because it doesn't support CPATH.

I blacklisted llvm-gcc-4.2 and old clang in r146769. Wait 30 minutes, then run sudo port selfupdate and try again.

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

Actually our OS X 10.8 buildbot worker can't build this either. Looks like gource requires C++11. Added that requirement in r146770.

comment:7 Changed 8 years ago by SlaunchaMan (Jeff Kelley)

Looks like I need to follow these instructions: https://trac.macports.org/wiki/LibcxxOnOlderSystems since I’m on an old system. See you in a couple of days when this is all done building. :)

Version 0, edited 8 years ago by SlaunchaMan (Jeff Kelley) (next)

comment:8 Changed 4 years ago by SlaunchaMan (Jeff Kelley)

Sorry for the delay on this. I used Xcode 3.2.6 and it builds fine now.

comment:9 Changed 3 years ago by reneeotten (Renee Otten)

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