[MacPorts] #56793: macports base: installing a port with many files appears to hang; file registration loop slows dramatically for file counts > 10,000
MacPorts
noreply at macports.org
Sun May 23 21:05:39 UTC 2021
#56793: macports base: installing a port with many files appears to hang; file
registration loop slows dramatically for file counts > 10,000
-----------------------+----------------------
Reporter: yan12125 | Owner: mascguy
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: base | Version: 2.7.0
Resolution: | Keywords:
Port: |
-----------------------+----------------------
Description changed by mascguy:
Old 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.
New description:
I'm trying to install texlive-fonts-extra, which has 87,000 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#comment:15>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list