filing this just for reference. i have filed an issue upstream. the problem is ragel 7.0.0.12 replaced `ragel -C` with `ragel-c` which brakes the compilation. inkscape compiles fine with ragel 7.0.0.10-r2 (and probably the older versions, but i tested just this one). i did not test other than the 9999 version of inkscape so not sure 1.0-r1 is affected aswell.
the issue has been fixed by upstream