lsd
lsd copied to clipboard
User and Group Names are not displayed with MUSL Build
This is an odd one. I seem to not be able to see user and group names with lsd on a computing cluster I am on, but only when using the MUSL build.
On my local macOS laptop, all is well, but on this SLES 12 cluster, all I see are the numeric UID/GID when I use the MUSL
Expected behavior
Using GNU ls:
$ \ls -l
total 3600
drwxr-xr-x 3 mathomp4 g0620 512 May 19 15:46 lsd-0.17.0-x86_64-unknown-linux-gnu
-rw-r--r-- 1 mathomp4 g0620 930577 May 19 15:46 lsd-0.17.0-x86_64-unknown-linux-gnu.tar.gz
drwxr-xr-x 3 mathomp4 g0620 512 May 19 15:48 lsd-0.17.0-x86_64-unknown-linux-musl
-rw-r--r-- 1 mathomp4 g0620 904892 May 19 15:48 lsd-0.17.0-x86_64-unknown-linux-musl.tar.gz
Using "gnu" lsd:
$ ./lsd-0.17.0-x86_64-unknown-linux-gnu/lsd -l
drwxr-xr-x mathomp4 g0620 512 B Tue May 19 15:46:55 2020 lsd-0.17.0-x86_64-unknown-linux-gnu
.rw-r--r-- mathomp4 g0620 908.8 KB Tue May 19 15:46:48 2020 lsd-0.17.0-x86_64-unknown-linux-gnu.tar.gz
drwxr-xr-x mathomp4 g0620 512 B Tue May 19 15:48:19 2020 lsd-0.17.0-x86_64-unknown-linux-musl
.rw-r--r-- mathomp4 g0620 883.7 KB Tue May 19 15:48:08 2020 lsd-0.17.0-x86_64-unknown-linux-musl.tar.gz
Actual behavior (using MUSL)
$ ./lsd-0.17.0-x86_64-unknown-linux-musl/lsd -l
drwxr-xr-x 31128555 20620 512 B Tue May 19 15:46:55 2020 lsd-0.17.0-x86_64-unknown-linux-gnu
.rw-r--r-- 31128555 20620 908.8 KB Tue May 19 15:46:48 2020 lsd-0.17.0-x86_64-unknown-linux-gnu.tar.gz
drwxr-xr-x 31128555 20620 512 B Tue May 19 15:48:19 2020 lsd-0.17.0-x86_64-unknown-linux-musl
.rw-r--r-- 31128555 20620 883.7 KB Tue May 19 15:48:08 2020 lsd-0.17.0-x86_64-unknown-linux-musl.tar.gz
(where the boxes are the Nerd Font icons that don't seem to render).
Obviously for now my "solution" is to use the GNU build, but I thought I'd inform you of this.
as the PR merged and a version newer than 0.18.0 not yet released, I mark this issue as blocked.
after releasing a new version, we can check and verify this.
In MUSL buid 0.20.1 I am seeing this issue again. Has this been solved?
I'm seeing this with lsd 1.0.0 on SUSE Linux Enterprise Server 15 (x86_64), having installed lsd via the homebrew/linuxbrew formula. I'm not sure if this is related, but could not find anything better yet.
I can confirm I see it as well with the MUSL build:
$ lsd -l
drwxr-xr-x 31128555 20620 512 B Wed Oct 18 09:04:36 2023 autocomplete
.rw-r--r-- 31128555 20620 11 KB Sun Aug 27 12:53:04 2023 LICENSE
.rw-r--r-- 31128555 20620 20 KB Sun Aug 27 12:53:04 2023 README.md
As can be seen above, I see it also with eza so this must be a dependent crate issue?