[MacPorts] #63422: xdiskusage 1.54: extraneous boxes with a "?" appended to directory names

MacPorts noreply at macports.org
Mon Aug 30 20:34:24 UTC 2021


#63422: xdiskusage 1.54: extraneous boxes with a "?" appended to directory names
--------------------+--------------------
 Reporter:  q2go    |      Owner:  (none)
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.7.1
 Keywords:          |       Port:
--------------------+--------------------
 Hi there, I am new to MacPorts; I just installed 2.7.1 from scratch on
 Mojave 10.14.6 in order to install and use the xdiskusage 1.54 port.

 So after installing the .pkg installation package provided on
 https://www.macports.org/install.php the first and only MacPort command
 I've ever run was "port install xdiskusage".

 The /opt/local/bin/xdiskusage command does work, but for almost all
 directories it creates a second "phantom" box with question mark appended
 to the directory name.

 This happens no matter whether I run "xdiskusage" (i.e. no arguments),
 "xdiskusage /some/path" or "df -k /some/path | xdiskusage -"; also adding
 a trailing slash to /some/path does not make a difference.

 I wonder whether this is maybe caused by improper handling of line
 endings, as "echo -n '4711 local' | xdiskusage -" shows a box named
 "local" while the usual "echo '4711 local' | xdiskusage -" names it
 "local?".

 Please see attached screenshots.

 IMHO the purpose of "xdiskusage" — to provide a clean visual
 representation of file system usage — is quite significantly affected by
 this defect, so I set the priority to "normal" instead of "low".

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


More information about the macports-tickets mailing list