The source release tarball of Thrift contains hardlinks - which makes it impossible to extract on a platform where you cannot create hardlinks (e.g. on a non-root Android device). (e.g. the archive was not created with --hard-dereference)
I discovered this as a knock-on effect of trying to build Apache Arrow C++ on Android (in Termux)... The build fails because the Thrift tarball can't be extracted because of the hardlinks.