KiCad 7 cannot compile from official documentation

See also Debian still installing Kicad 5 (about debian packages).