Created attachment 210994 [details]
I am regularly bitten by the issue described in bug #235174. After removing .build_done.grass._usr_local and .stage_done.grass._usr_local and then restarting the make in ports/databases/grass7, the attached log is produced.
There it seems that core dumps prevent the creation of some files?
After running this several times the port build seems to complete and the install is successful.
Please, can you attach the log when there is an error?
watershed/seg module seems flasky
I did attach it already when submitting the issue; the error is clearly visible in this log (there are core dumps). Do you need something different?