[MacPorts] #17295: Upgrading ncurses hangs if ncursesw not upgraded before
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@gmail.com | Owner: macports-tickets@lists.macosforge.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- I don't know if this is normal, but a message before staging would be nice. It doesn't seem normal that a process would take 100% CPU for several hours without any feedback… with -v it hangs after this : ** Building terminfo database, please wait... Running tic to install /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/destroot/opt/local/share/terminfo ... You may see messages regarding extended capabilities, e.g., AX. These are extended terminal capabilities which are compiled using tic -x If you have ncurses 4.2 applications, you should read the INSTALL document, and install the terminfo without the -x option. In the end I killed it, noticed that port hadn't upgraded its dependancy ncursesw first, upgraded that explicitely, retried, and it was done in minutes. Missing dependancy ? -- Ticket URL: <http://trac.macports.org/ticket/17295> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before --------------------------------------+------------------------------------- Reporter: Damien.Pollet@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Changes (by blb@macports.org): * owner: macports-tickets@lists.macosforge.org => imajes@macports.org Comment: What command did you use initially to upgrade ncurses? ncursesw is a dependency of ncurses... -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before --------------------------------------+------------------------------------- Reporter: Damien.Pollet@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Comment(by Damien.Pollet@gmail.com): Ohh right, stupid me… I've been using this for ages: {{{ sudo port -fun upgrade outdated }}} I guess -n is a bad idea actually… I think I used it like that because else it would recompile all deps, outdated or not… was that even true at some point? -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:2> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before --------------------------------------+------------------------------------- Reporter: Damien.Pollet@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Comment(by jmr@macports.org): The need for -f is a bug (#11501), and it will be fixed in 1.7. Then you will be able to just use -u and it will work as expected. For now I'd actually recommend doing it in two steps, `sudo port upgrade outdated` and then `sudo port -f uninstall inactive`. -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:3> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before --------------------------------------+------------------------------------- Reporter: Damien.Pollet@gmail.com | Owner: imajes@macports.org Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Comment(by Damien.Pollet@gmail.com): Cool, thanks! -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:4> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by north@…): I ran into the same problem using -du upgrade outdated. Eliminating the -u seems to have done the job, so I'll proceed with the two-part approach suggested above. Weirdly, -du has generally worked before. Thanks for the heads-up! -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by bazzoola@…): I am seeing the same problem I ended up deleting the port and trying port install ncurses but that doesn't work either It still gets stuck at {{{ ** Building terminfo database, please wait... Running tic to install /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/destroot/opt/local/share/terminfo ... You may see messages regarding extended capabilities, e.g., AX. These are extended terminal capabilities which are compiled using tic -x If you have ncurses 4.2 applications, you should read the INSTALL document, and install the terminfo without the -x option. }}} any ideas how to fix this? -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:6> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by takeshi@…): I experienced the same when I set universal_archs to x86_64 or PPC64 in macports.conf and build with +universal on an Intel Mac with Core 2 Duo (MacBook Pro, iMac, and Mac Pro) and on a Power Mac G5. It built without any problems with i386 or ppc. This is an obstacle using 64-bit with MacPorts. -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by TimothyC.Lee@…): I found that /opt/local/bin/tic did not exist on my install and thats why it was failing. Does ncursesw_5.7.0 not install tic for certain platforms? -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:8> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by cerieljacobs@…): In my case there is also no /opt/local/bin/tic ; This is what there is: $ ls -l /opt/local/bin total 1096 -r-xr-xr-x 1 root admin 73492 Dec 14 03:42 daemondo -rwxr-xr-x 2 root admin 105816 Feb 17 01:00 gperf lrwxr-xr-x 1 root admin 22 Feb 17 13:02 i686-apple- darwin9-captoinfo -> i686-apple-darwin9-tic -rwxr-xr-x 2 root admin 8640 Feb 17 13:01 i686-apple-darwin9-clear -rwxr-xr-x 2 root admin 54528 Feb 17 13:01 i686-apple-darwin9-infocmp lrwxr-xr-x 1 root admin 22 Feb 17 13:02 i686-apple- darwin9-infotocap -> i686-apple-darwin9-tic lrwxr-xr-x 1 root admin 23 Feb 17 13:02 i686-apple-darwin9-reset -> i686-apple-darwin9-tset -rwxr-xr-x 2 root admin 54848 Feb 17 13:01 i686-apple-darwin9-tic -rwxr-xr-x 2 root admin 14184 Feb 17 13:01 i686-apple-darwin9-toe -rwxr-xr-x 2 root admin 14032 Feb 17 13:01 i686-apple-darwin9-tput -rwxr-xr-x 2 root admin 19072 Feb 17 13:01 i686-apple-darwin9-tset -rwxr-xr-x 2 root admin 27960 Feb 17 01:01 iconv -rwxr-xr-x 2 root admin 4985 Feb 17 13:01 ncursesw5-config -r-xr-xr-x 1 root admin 106140 Dec 14 03:42 port lrwxr-xr-x 1 root admin 4 Feb 14 01:42 portf -> port -r-xr-xr-x 1 root admin 4497 Dec 14 03:42 portindex -r-xr-xr-x 1 root admin 2557 Dec 14 03:42 portmirror -rwxr-xr-x 2 root admin 24936 Feb 17 00:59 xmlwf -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:10> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by cerieljacobs@…): And now readable: {{{ $ ls -l /opt/local/bin total 1096 -r-xr-xr-x 1 root admin 73492 Dec 14 03:42 daemondo -rwxr-xr-x 2 root admin 105816 Feb 17 01:00 gperf lrwxr-xr-x 1 root admin 22 Feb 17 13:02 i686-apple- darwin9-captoinfo -> i686-apple-darwin9-tic -rwxr-xr-x 2 root admin 8640 Feb 17 13:01 i686-apple-darwin9-clear -rwxr-xr-x 2 root admin 54528 Feb 17 13:01 i686-apple-darwin9-infocmp lrwxr-xr-x 1 root admin 22 Feb 17 13:02 i686-apple- darwin9-infotocap -> i686-apple-darwin9-tic lrwxr-xr-x 1 root admin 23 Feb 17 13:02 i686-apple-darwin9-reset -> i686-apple-darwin9-tset -rwxr-xr-x 2 root admin 54848 Feb 17 13:01 i686-apple-darwin9-tic -rwxr-xr-x 2 root admin 14184 Feb 17 13:01 i686-apple-darwin9-toe -rwxr-xr-x 2 root admin 14032 Feb 17 13:01 i686-apple-darwin9-tput -rwxr-xr-x 2 root admin 19072 Feb 17 13:01 i686-apple-darwin9-tset -rwxr-xr-x 2 root admin 27960 Feb 17 01:01 iconv -rwxr-xr-x 2 root admin 4985 Feb 17 13:01 ncursesw5-config -r-xr-xr-x 1 root admin 106140 Dec 14 03:42 port lrwxr-xr-x 1 root admin 4 Feb 14 01:42 portf -> port -r-xr-xr-x 1 root admin 4497 Dec 14 03:42 portindex -r-xr-xr-x 1 root admin 2557 Dec 14 03:42 portmirror -rwxr-xr-x 2 root admin 24936 Feb 17 00:59 xmlwf }}} -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:11> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by cerieljacobs@…): But there is a run_tic.sh @ /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_devel_ncurses/work/x86_64/misc -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:12> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before -------------------------------------+-------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: new Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: | Port: ncurses -------------------------------------+-------------------------------------- Comment(by mcalhoun@…): The initial problem seems to have been fixed by a different upgrade path.[[BR]] The more recent problem should have been fixed by r46928. Can this ticket therefore be closed? -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:14> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17295: Upgrading ncurses hangs if ncursesw not upgraded before --------------------------------------+------------------------------------- Reporter: Damien.Pollet@… | Owner: imajes@… Type: defect | Status: closed Priority: Normal | Milestone: Port Bugs Component: ports | Version: 1.6.0 Resolution: fixed | Keywords: Port: ncurses | --------------------------------------+------------------------------------- Changes (by mcalhoun@…): * status: new => closed * resolution: => fixed -- Ticket URL: <http://trac.macports.org/ticket/17295#comment:16> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts