quick fix I used when I saw the same error, when building a new system.... cd /usr/pkgsrc git checkout master