[MacPorts] #56793: Installing a port with many files appears appears hang

MacPorts noreply at macports.org
Tue Jul 10 08:36:47 UTC 2018


#56793: Installing a port with many files appears appears hang
----------------------+--------------------
 Reporter:  yan12125  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  base      |    Version:  2.5.3
 Keywords:            |       Port:
----------------------+--------------------
 I'm trying to install texlive-fonts-extra, which has 61748 files in its
 destroot/ folder. `port -d install texlive-fonts-extra` appears hang - no
 messages for several minutes and the CPU usage keeps high at around ~98%.

 I found that the installation process is running the loop at
 https://github.com/macports/macports-
 base/blob/8a67087e2194acf3d0037097b0cd7f1e5477e401/src/port1.0/portinstall.tcl#L416.
 If the loop is inevitable, how about adding some messages saying that the
 port process is busy doing something? It will improve the user experience
 greatly.

 /cc the author of the aforementioned loop.

-- 
Ticket URL: <https://trac.macports.org/ticket/56793>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list