[MacPorts] #48627: ncurses @6.0_0 clang++: error: undefined symbols
MacPorts
noreply at macports.org
Thu Aug 20 04:35:58 PDT 2015
#48627: ncurses @6.0_0 clang++: error: undefined symbols
-----------------------+-------------------
Reporter: Damien@… | Owner: jmr@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.3
Resolution: | Keywords: lion
Port: ncurses |
-----------------------+-------------------
Comment (by william@…):
I also see this on a fully updated Mac OS 10.10 system using Xcode 6.4:
{{{
$ xcodebuild -version
Xcode 6.4
Build version 6E35b
$ uname -a
Darwin forth.lan 14.5.0 Darwin Kernel Version 14.5.0: Wed Jul 29 02:26:53
PDT 2015; root:xnu-2782.40.9~1/RELEASE_X86_64 x86_64
}}}
This therefore isn't just a problem on older systems. For what it's worth,
I do also have the following lines in my macports.conf:
{{{
buildfromsource always
macosx_deployment_target 10.8
configure.macosx_deployment_target 10.8
cxx_stdlib libc++
configure.cxx_stdlib libc++
cxxflags -std=c++14
configure.cxxflags -std=c++14
delete_la_files yes
}}}
I'll attach my config.log and main.log, for completeness. It appears that
we're explicitly linking libstdc++ when building the demo, which is
clearly wrong if we're trying to do a libc++ build … config parameters not
making it sufficiently deep into ncurses' build? All the config test
results saying that we /are/ using the GNU C Compiler, when in fact we're
using clang, are a worrying signal too …
--
Ticket URL: <https://trac.macports.org/ticket/48627#comment:7>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list