thrift-0.10.0-4.fc27 fails to build in F27: building 'thrift.protocol.fastbinary' extension creating build/temp.linux-aarch64-3.6 creating build/temp.linux-aarch64-3.6/src creating build/temp.linux-aarch64-3.6/src/ext gcc -pthread -DDYNAMIC_ANNOTATIONS_ENABLED=1 -DNDEBUG -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -D_GNU_SOURCE -fPIC -fwrapv -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -Isrc -I/usr/include/python3.6m -c src/ext/module.cpp -o build/temp.linux-aarch64-3.6/src/ext/module.o src/ext/module.cpp:20:10: fatal error: Python.h: No such file or directory #include <Python.h> ^~~~~~~~~~ It happens probably since this change <https://apps.fedoraproject.org/koschei/build/3727497>.
Can not reproduce this error from koschei. It looks like it was probably a temporarily broken buildroot.