New comment by tornaria on void-packages repository https://github.com/void-linux/void-packages/pull/46109#issuecomment-1732370229 Comment: > Rebasing should allow you to drop everything outside of the original scope of this PR. Thanks for your participation in improving the build helpers to make mesonpy builds less painful. > > Whereas your pybind11 change put cmake and pkg-config files in `/usr/lib`, I kept them in `/usr/share` simply because they are in `share/` in the python package hierarchy. Hopefully this doesn't cause any problems with contourpy. (Most packages favor `/usr/lib` over `/usr/share` for these files, but there are some that stick to `/usr/share`.) We can move them if it causes a problem. I think you missed the `--follow-symlinks` in `common/hooks/post-install/13-pkg-config-clean-xbps-cross-base-ref.sh`. Aren't you getting a non-symlink file at `/usr/share/pkgconfig/pybind11.pc`?