I guess this is due to https://bugs.gentoo.org/96515 it came up in https://github.com/gentoo/portage-utils/pull/22 For a symlink like /usr/bin/ar, which is created by binutils-config, equery belongs returns the package that is currently linked to, while this package doesn't own the file /usr/bin/ar. I feel this is wrong output, it shouldn't match as it doesn't belong to a package, while the issue from 96515 seems to be more of the kind that is correct in that the path leading up to the file pointed to was symlinked somewhere.