/usr/bin/gcc-ranlib-6 is in gcc-6 6.3.0-18+deb9u1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/x86_64-linux-gnu-gcc-ranlib-6
/usr/bin/x86_64-linux-gnu-gcc-ranlib-6