New comment by dataCobra on void-packages repository https://github.com/void-linux/void-packages/pull/48813#issuecomment-1953870513 Comment: > Some distros are also carrying this patch https://git.alpinelinux.org/aports/tree/community/shadow/fix-undefined-reference.patch Maybe it's useful? I've added the patch and everything still builds fine. > As a reference, /usr/bin/lastlog and its manpage are now gone, and there are new /usr/bin/getsubids and its manpage Forgot to add the new configuration argument to add lastlog. Fixed with the new push. > also the file login.defs seems outdated. distros like arch and chimera patch it instead of replacing it. I've checked what Arch did and added and modified patch 2 and 3 so they fit our needs.