Opened 10 years ago

Closed 8 years ago

#45626 closed defect (invalid)

source-highlight @3.1.7 build failure

Reported by: jds.register@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.2
Keywords: Cc:
Port: source-highlight

Description

Linking fails with the following error message (full build log attached):

Undefined symbols for architecture x86_64:
  "std::terminate()", referenced from:
      ___clang_call_terminate in source-highlight-settings.o
ld: symbol(s) not found for architecture x86_64

I'm on OS X Yosemite with Xcode 6.1. clang --version outputs

Apple LLVM version 6.0 (clang-600.0.54) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix

Attachments (1)

main.log (162.1 KB) - added by jds.register@… 10 years ago.
build log

Download all attachments as: .zip

Change History (6)

Changed 10 years ago by jds.register@…

Attachment: main.log added

build log

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

source-highlight installs fine for me on Yosemite.

I see lots of mentions of /usr/local in the log. Do you have anything installed in that prefix that might be conflicting?

comment:2 Changed 10 years ago by jds.register@…

I had an older/self-built version of boost lurking around in /usr/local. I removed this and source-highlight built fine.

But shouldn't this be handled by macports? I mean using the things built/installed via macports?

comment:3 in reply to:  2 Changed 10 years ago by larryv (Lawrence Velázquez)

Replying to jds.register@…:

But shouldn't this be handled by macports? I mean using the things built/installed via macports?

Using our own tools is one thing. Avoiding external ones is quite another.

comment:4 Changed 10 years ago by neverpanic (Clemens Lang)

You can use port -t to avoid other stuff, but it comes with a performance overhead.

comment:5 Changed 8 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Closing based on comment:2.

Note: See TracTickets for help on using tickets.