There's a closed pull request on the void-packages repository yosys: fix build generating files containing /usr/local https://github.com/void-linux/void-packages/pull/27348 Description: Without this, yosys-config (and probably some other things) refer to /usr/local rather than /usr