- Create state files in $wrksrc for $sourcepkg and $subpackages to see if the phase needs to be re-run.