[MacPorts] #40961: Can't install ncurses on OS X Mavericks
#40961: Can't install ncurses on OS X Mavericks --------------------------+-------------------------------- Reporter: fabiocap93@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Keywords: | Port: --------------------------+-------------------------------- When trying sudo port install ncurses it gets stuck here: ---> Configuring ncurses ---> Building ncurses Error: org.macports.build for port ncurses returned: command execution failed Please see the log file for port ncurses for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ncurses failed Log file attached -- Ticket URL: <https://trac.macports.org/ticket/40961> MacPorts <http://www.macports.org/> Ports system for OS X
#40961: ncurses: Undefined symbols ___sincos_stret ---------------------------+----------------------- Reporter: fabiocap93@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ncurses | ---------------------------+----------------------- Changes (by ryandesign@…): * keywords: => mavericks * owner: macports-tickets@… => jmr@… * port: => ncurses Old description:
When trying sudo port install ncurses it gets stuck here: ---> Configuring ncurses ---> Building ncurses Error: org.macports.build for port ncurses returned: command execution failed Please see the log file for port ncurses for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ncurses failed Log file attached
New description: When trying `sudo port install ncurses` it gets stuck here: {{{ ---> Configuring ncurses ---> Building ncurses Error: org.macports.build for port ncurses returned: command execution failed Please see the log file for port ncurses for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_ncurses/ncurses/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port ncurses failed }}} Log file attached -- Comment: The log says: {{{ :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 }}} This is new to me. It builds fine for me on Mavericks. Is it possible you have an old version of Xcode or its command line tools? A developer preview perhaps? Googling this error led me to this [http://stackoverflow.com/questions/19015780/sincos-stret-undefined- symbol-when-linking stack overflow post] which says uninstalling and reinstalling Xcode and the command line tools fixes this problem. -- Ticket URL: <https://trac.macports.org/ticket/40961#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40961: ncurses: Undefined symbols ___sincos_stret ---------------------------+----------------------- Reporter: fabiocap93@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ncurses | ---------------------------+----------------------- Comment (by fabiocap93@…): I have Xcode 5 and the latest command line tools...[[BR]] xcodebuild -version Xcode 5.0 Build version 5A1413 $ clang --version Apple LLVM version 5.0 (clang-500.2.76) (based on LLVM 3.3svn) Target: x86_64-apple-darwin13.0.0 Thread model: posix -- Ticket URL: <https://trac.macports.org/ticket/40961#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40961: ncurses: Undefined symbols ___sincos_stret ---------------------------+----------------------- Reporter: fabiocap93@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks Port: ncurses | ---------------------------+----------------------- Comment (by fabiocap93@…): Ok, problem solved. IT was what you said: command line tools can no longer be updated via xcode, in Xcode 5.0. So you have to do it manually: downloading this https://developer.apple.com/downloads/index.action or via the apple software centre using xcode-select --install.[[BR]] Thank you for the help. -- Ticket URL: <https://trac.macports.org/ticket/40961#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40961: ncurses: Undefined symbols ___sincos_stret ---------------------------+----------------------- Reporter: fabiocap93@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: duplicate | Keywords: mavericks Port: ncurses | ---------------------------+----------------------- Changes (by jmr@…): * status: new => closed * resolution: => duplicate Comment: #40843 (Also note that you need Xcode 5.0.1 on Mavericks.) -- Ticket URL: <https://trac.macports.org/ticket/40961#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40961: ncurses: Undefined symbols ___sincos_stret ---------------------------+----------------------- Reporter: fabiocap93@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: duplicate | Keywords: mavericks Port: ncurses | ---------------------------+----------------------- Comment (by ryandesign@…): Has duplicate #41006. -- Ticket URL: <https://trac.macports.org/ticket/40961#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts