I've found a cause of missing version in gerbv and sent a new patch: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72541
Also geos can be downgraded to 3.11.4 to successfully build pcb2gcode. So the patch proposed here is not valid for now - I'll send a new one.
