Okay, so this is very late, but a workaround that I found for this is the following.
Go into the yacc.c files and find the line that calls errc(arg1, arg2, arg3), replace that call with err(arg1, "") and that fixes the issue without breaking anything. (I don't remember the specific values for the arguments, just make sure the first argument is the same for both error calls).
I'm not very experienced with this and don't know if this will cause some issues at some point, but so far it has at least allowed me to compile without the issue popping up.
Hope that helps anyone who stumbles into the same issue.