Details
Description
Upon finishing build of shiboken2 and moving on to pyside2, clang fails to find string.h:
[ 0%] Building CXX object plugins/CMakeFiles/uiplugin.dir/customwidgets.cpp.o (core) clang_parseTranslationUnit2(0x0, cmd[14]=-nostdinc -isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1 -isystem/usr/local/include -isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/10.0.1/include -isystem/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include -iframework/System/Library/Frameworks -iframework/Library/Frameworks -fPIC -Wno-expansion-to-defined -Wno-constant-logical-operand -std=c++14 -I/Users/kkyzivat/Build/Autodesk/pyside-setup/sources/pyside2/PySide2 -I/Users/kkyzivat/Build/Autodesk/pyside-setup/workdir/artifactory/qt_5.12.4/include /private/var/folders/hb/l5gg_s816gd15sl9_dk9hvpw0000gn/T/QtCore_global_kEygzw.hpp) /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/string.h:61:15: fatal error: 'string.h' file not found
Previous build of PySide ~5.12.2 from commit sha 0fc54b0 was successful, building shiboken2 and pyside2 successfully..
Current build of PySide at tip of 5.12.4 branch (commit sha b140239 fails with the above failure.
The machine and environment have not changed between builds of these two SHAs.
A git bisect lead to f4d1a606a0fe5f15ea89779ca3f1bbb9673c2cc6 being the culprit.