New comment by st3r4g on void-packages repository https://github.com/void-linux/void-packages/issues/15104#issuecomment-539245536 Comment: I think this is due to the fact that the `xorg/modules/drivers/*.so` are created as hard links by Mesa. Output of `ls masterdir/usr/lib/xorg/modules/drivers/ -i1`: > 394315 i915_dri.so 394315 i965_dri.so 394316 kms_swrast_dri.so 394316 nouveau_dri.so 394315 nouveau_vieux_dri.so 394315 r200_dri.so 394316 r300_dri.so 394316 r600_dri.so 394315 radeon_dri.so 394316 radeonsi_dri.so 394316 swrast_dri.so 394316 virtio_gpu_dri.so 394316 vmwgfx_dri.so They result from https://gitlab.freedesktop.org/mesa/mesa/blob/master/src/mesa/drivers/dri/meson.build and https://gitlab.freedesktop.org/mesa/mesa/blob/master/bin/install_megadrivers.py. This causes `xbps-src` to output lines like `objcopy: /destdir//mesa-ati-dri-19.2.0/usr/lib/xorg/modules/drivers/stDAOeBg: debuglink section already exists` because of a previous `attach_debug` which refers to the same underlying file.