Opened 2 years ago

#56793 new defect

Installing a port with many files appears appears hang

Reported by: yan12125 (Chih-Hsuan Yen) Owned by:
Priority: Normal Milestone:
Component: base Version: 2.5.3
Keywords: Cc: jmroot (Joshua Root)
Port:

Description

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.

Change History (0)

Note: See TracTickets for help on using tickets.