I have: PKGSRC_COMPILER= ccache gcc and on another machine PKGSRC_COMPILER= distcc gcc and it works fine. I don't have any real clues about what you are doing. What else is in mk.conf? NetBSD 7? native install in /usr/pkg, or did you do a bootstrap, or ?
Attachment:
pgpuecrtiPLhp.pgp
Description: PGP signature