#374·lsd

User and Group Names are not displayed with MUSL Build

Author: mathomp4Created May 19, 2020Updated May 7, 2026
Labelskind/bugos/linuxstatus/blocked

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.