/usr/bin/sparc64-linux-gnu-gfortran is in gfortran-sparc64-linux-gnu 4:5.3.1-1ubuntu1.
This file is owned by root:root, with mode 0o777.
It is a symlink to /usr/bin/sparc64-linux-gnu-gfortran-5
/usr/bin/sparc64-linux-gnu-gfortran-5