An interesting error indeed – if I recall correctly, it should fail a little later, particularly for (sdl2 hints) – but you're trying to build 0.4.x instead of 0.2.x ;)
Also, not that it matters too much, but the "x" tarballs correspond to the head of their branches, which are a little more volatile than the releases where x is a number.