#40843 closed defect (worksforme)
Cannot install ncurses with OS X mavericks
Reported by: | feranick@… | Owned by: | jmroot (Joshua Root) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.0 |
Keywords: | mavericks | Cc: | |
Port: | ncurses |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
I updated from Mountain Lion to Mavericks and followed the macports migration procedure as described in the user guide. I am using the current macports 2.2.0, compiled from source. Upon trying to install ncurses, the installation fails. This is the log:
:info:build Undefined symbols for architecture x86_64: :info:build "___sincos_stret", referenced from: :info:build _main in tclock.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [tclock] Error 1 :info:build make[1]: *** Waiting for unfinished jobs.... :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sourc$ :info:build make: *** [all] Error 2 :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_$ :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsyn$ :info:build Exit code: 2 :error:build org.macports.build for port ncurses returned: command execution failed :debug:build Error code: CHILDSTATUS 37941 2 :debug:build Backtrace: command execution failed while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec build" (procedure "portbuild::build_main" line 8) invoked from within
Attachments (2)
Change History (12)
Changed 11 years ago by feranick@…
comment:1 Changed 11 years ago by feranick@…
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to jmr@… |
Please use MacPorts trunk for Mavericks; MacPorts 2.2.0 is not supported on Mavericks.
comment:4 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Works for me on Mavericks with MacPorts trunk, by the way.
comment:5 Changed 11 years ago by feranick@…
Yes, it does work after I compile the version from trunk. I guess this report can be closed.
comment:6 Changed 11 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
comment:7 Changed 11 years ago by davidfavor (David Favor)
Resolution: | worksforme |
---|---|
Status: | closed → reopened |
Bug appears to be back today.
Completely removed MacPorts + Upgraded to Mavericks + Installed Mavericks Macports package.
David-MacBookAir# port version Version: 2.2.1
:info:build Undefined symbols for architecture x86_64: :info:build "___sincos_stret", referenced from: :info:build _main in tclock.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation) :info:build make[1]: *** [tclock] Error 1 :info:build make[1]: *** Waiting for unfinished jobs....
Changed 11 years ago by davidfavor (David Favor)
Attachment: | ncurses.log added |
---|
comment:8 Changed 11 years ago by davidfavor (David Favor)
This seems to be the fix.
xcrun --show-sdk-version
must return the correct version - 10.9 - and if not, then execute xcode-select --install
selecting first install XCode + install command line tools.
Whew...
comment:9 Changed 11 years ago by jmroot (Joshua Root)
Resolution: | → worksforme |
---|---|
Status: | reopened → closed |
Yes, MacPorts still requires Xcode and the command line tools, as it always has.
comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Keywords: | mavericks added |
---|
Apologizes for the bad formatting of the log. I attached a text file with the log with the correct formatting.