Source: supertuxkart
Version: 1.3+dfsg1-1
Severity: serious
Tags: ftbfs
https://buildd.debian.org/status/fetch.php?pkg=supertuxkart&arch=mips64el&ver=1.3%2Bdfsg1-1&stamp=1633517199&raw=0
...
<<PKGBUILDDIR>>/src/graphics/sp/sp_texture.cpp: In member function
‘std::vector<std::pair<irr::core::dimension2d<unsigned int>, unsigned int> >
SP::SPTexture::compressTexture(std::shared_ptr<irr::video::IImage>&)’:
/<<PKGBUILDDIR>>/src/graphics/sp/sp_texture.cpp:800:14: error: expected
unqualified-id before numeric constant
800 | uint8_t* mips = new uint8_t[image->getDimension().getArea() * 4]();
| ^~~~
...
This is because on MIPS:
(sid_mipsel-dchroot)bunk@eller:~$ gcc -dM -E - < /dev/null | grep "define mips"
#define mips 1
Renaming the variable fixes the build.