Closed issue by ejolson2005 on void-packages repository https://github.com/void-linux/void-packages/issues/23418 Description: ### System ``` # xuname Void 5.4.50_1 x86_64-musl AuthenticAMD notuptodate rF # xbps-query -p pkgver qemu-user-static qemu-user-static-5.0.0_2 ``` ### Expected behavior The installed files /bin/qemu-*-static are statically linked. ### Actual behavior All the binaries are dynamically linked. ``` # file /bin/qemu-*-static /bin/qemu-aarch64-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=8fcc876ee19d03df45ca3b9633c713421425fda4, stripped /bin/qemu-aarch64_be-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=021fac44423f7a1ab52d1c876c6c2ff735af2843, stripped /bin/qemu-alpha-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=37aab9879fdbe3913a5cc8049473a7d93b6295fe, stripped /bin/qemu-arm-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=19a48d0e0df6c46aa2f7a08bff70b39781dea74f, stripped /bin/qemu-armeb-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=83b44811a851f59713b2f7354e8f57d2622ef11e, stripped /bin/qemu-cris-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e302af9da439fd31e264a83be7f691aff5b8c85a, stripped /bin/qemu-hppa-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3f041cbbdb7abeffecdeb113b47c23fef51e6425, stripped /bin/qemu-i386-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=d51d23d0483559fa735e9c2f6bfc6bd62bb280c4, stripped /bin/qemu-m68k-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e956836d0a6905e07284e83816d3ea2e4a62ce60, stripped /bin/qemu-microblaze-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=1ebb14e9545f70b436020e0e59b0de549836f5fd, stripped /bin/qemu-microblazeel-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=25b2cb3d42b38fe256b0db89fec3946843ccf83f, stripped /bin/qemu-mips-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e23e5e1911ab572e233c810990c7d2000649c3c8, stripped /bin/qemu-mips64-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=3360e42773b5c48dc50fc73b6cb355cd95463a4a, stripped /bin/qemu-mips64el-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=fd5748639cfb40caa66f08b8525bb670acc7815c, stripped /bin/qemu-mipsel-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=dfce3989dc0f5b842d99f74b8549308371d51de0, stripped /bin/qemu-mipsn32-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=62ba872323b8aea6102a8187b8a3b5ebe542ec79, stripped /bin/qemu-mipsn32el-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=00aad6a0f6359957137f9c274f0a8ab0b8803a2c, stripped /bin/qemu-nios2-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=e16b7d72ecb153e2696dc13b78ee873cbd41df22, stripped /bin/qemu-or1k-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=4e89fec9e66d8c07fc72dee3b467c2f9195b85a7, stripped /bin/qemu-ppc-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=5167e839dc255592cdf1f6ce58f0764abc15e147, stripped /bin/qemu-ppc64-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=2e71ea558c3f7ab906f27eacf0d465e9d2fd9fea, stripped /bin/qemu-ppc64abi32-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=66347a03f1efab0163d4f0b69865d3e6d8c3f565, stripped /bin/qemu-ppc64le-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=71ab4892e808cff9df255bf6d490f0be4dc9af4d, stripped /bin/qemu-riscv32-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=8961565bb0eede2a9e2fc9e7db08146142b00857, stripped /bin/qemu-riscv64-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=7dd2f1b166acbe24b6e124dbf60d39e0b1fb0679, stripped /bin/qemu-s390x-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=aa8bde9218bc66b38c6316b00a183578c0416a1c, stripped /bin/qemu-sh4-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=8dc709ce53e31ea2c9599c7110941ee8ea217a4b, stripped /bin/qemu-sh4eb-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=492750248b3da371dfd3eb9699110f7143de05ba, stripped /bin/qemu-sparc-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=8f0e02d6c23f19aa43b38ccc6e6c306c05b15a39, stripped /bin/qemu-sparc32plus-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=dd58f7b6fad0ab3c4961abe5f23341a0dddcf0e8, stripped /bin/qemu-sparc64-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=4a3643f28a3ebe091ffe6f606b8cd3a0b03a9e5e, stripped /bin/qemu-tilegx-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=b126a629a71fc9442fb6f3caa2d22052fe74a51f, stripped /bin/qemu-x86_64-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=2355ce6822e5c2f54f713f1473cbb4669e7f7cf9, stripped /bin/qemu-xtensa-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=4bd01d9158a517a9f61632772241e25380ef583d, stripped /bin/qemu-xtensaeb-static: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, BuildID[sha1]=7dbf8a05ea5ce7be20def8efedc118323c6519cd, stripped ``` ### Steps to reproduce the behavior Install the package and check the executables with file.