There is an updated pull request by dkwo against master on the void-packages repository https://github.com/dkwo/void-packages singu https://github.com/void-linux/void-packages/pull/35012 update singular to 4.3.0 This now builds fine without patches also on newer musl. @tornaria Does it solve the issue with doctests in sage? A patch file from https://github.com/void-linux/void-packages/pull/35012.patch is attached