[MacPorts] #40843: Cannot install ncurses with OS X mavericks
#40843: Cannot install ncurses with OS X mavericks ------------------------+-------------------------------- Reporter: feranick@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Keywords: | Port: ncurses ------------------------+-------------------------------- 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 -- Ticket URL: <https://trac.macports.org/ticket/40843> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+-------------------------------- Reporter: feranick@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ncurses | -------------------------+-------------------------------- Comment (by feranick@…): Apologizes for the bad formatting of the log. I attached a text file with the log with the correct formatting. -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ncurses | -------------------------+------------------- Changes (by ryandesign@…): * owner: macports-tickets@… => jmr@… Old description:
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
New description: 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 }}} -- Comment: Please use MacPorts trunk for Mavericks; MacPorts 2.2.0 is not supported on Mavericks. -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ncurses | -------------------------+------------------- Comment (by jmr@…): Attach the complete log please. -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ncurses | -------------------------+------------------- Comment (by ryandesign@…): Works for me on Mavericks with MacPorts trunk, by the way. -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ncurses | -------------------------+------------------- Comment (by feranick@…): Yes, it does work after I compile the version from trunk. I guess this report can be closed. -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:5> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+-------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: worksforme | Keywords: Port: ncurses | -------------------------+-------------------- Changes (by jmr@…): * status: new => closed * resolution: => worksforme -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+---------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ncurses | -------------------------+---------------------- Changes (by david@…): * status: closed => reopened * resolution: worksforme => Comment: 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.... }}} -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:7> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+---------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: reopened Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: | Keywords: Port: ncurses | -------------------------+---------------------- Comment (by david@…): 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... -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+-------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: worksforme | Keywords: Port: ncurses | -------------------------+-------------------- Changes (by jmr@…): * status: reopened => closed * resolution: => worksforme Comment: Yes, MacPorts still requires Xcode and the command line tools, as it always has. -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:9> MacPorts <http://www.macports.org/> Ports system for OS X
#40843: Cannot install ncurses with OS X mavericks -------------------------+----------------------- Reporter: feranick@… | Owner: jmr@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.0 Resolution: worksforme | Keywords: mavericks Port: ncurses | -------------------------+----------------------- Changes (by ryandesign@…): * keywords: => mavericks -- Ticket URL: <https://trac.macports.org/ticket/40843#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts