There is a new pull request by ericonr against master on the void-packages repository https://github.com/ericonr/void-packages speedelf https://github.com/void-linux/void-packages/pull/31364 common/hooks: speed up generate-runtime-deps. Instead of using file(1) to check for ELF files, just read bytes directly from the file and check if they are the ELF magic bytes. Should probably be factored out into a common function that can be used in other places. #### General - [ ] This is a new package and it conforms to the [quality requirements](https://github.com/void-linux/void-packages/blob/master/Manual.md#quality-requirements) #### Have the results of the proposed changes been tested? - [ ] I use the packages affected by the proposed changes on a regular basis and confirm this PR works for me - [ ] I generally don't use the affected packages but briefly tested this PR A patch file from https://github.com/void-linux/void-packages/pull/31364.patch is attached