<div dir="ltr">This was actually indeed an user error. The QT maintenance tool showed that I have the iOS packages installed however I only had the clang folder in Qt/5.9.1 folder, after "removing" and installing iOS again I had an ios directory in Qt/5.9.1 and build the succeeded.<div><br></div><div>(actually Python didn't build at first with the error: "/Modules/posixmodule.c:2661:11: error: 'system' is unavailable: not available on iOS" but I patched it quickly and it seems to build now)</div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-08 15:04 GMT+01:00 Patrick Stinson <span dir="ltr"><<a href="mailto:patrickkidd@gmail.com" target="_blank">patrickkidd@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Can you post the commands you have used to run everything?<br>
<br>
That error is common when using a version of Qt built for iOS but building PyQt for macOS.<br>
<div><div class="h5"><br>
> On Nov 8, 2017, at 4:34 AM, Kálmán Viktor <<a href="mailto:viktorvector@gmail.com">viktorvector@gmail.com</a>> wrote:<br>
><br>
> Hello,<br>
><br>
> I've been trying to build Python, sip and PyQt5 on OS X (10.13.1) using the build_sysroot.py scripts but I get the following error during building PyQt5<br>
><br>
> /Applications/Xcode.app/<wbr>Contents/Developer/Toolchains/<wbr>XcodeDefault.xctoolchain/usr/<wbr>bin/clang++ -c -pipe -stdlib=libc++ -O2 -fPIC -std=gnu++11 -arch x86_64 -isysroot /Applications/Xcode.app/<wbr>Contents/Developer/Platforms/<wbr>MacOSX.platform/Developer/<wbr>SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.10 -fvisibility=hidden -fvisibility-inlines-hidden -fno-exceptions -Wall -W -DSIP_PROTECTED_IS_PUBLIC -Dprotected=public -DPy_LIMITED_API=0x03040000 -DQT_NO_EXCEPTIONS -DQT_NO_DEBUG -DQT_CORE_LIB -I. -I. -I../../../include/python3.5 -I../qpy/QtCore -I../../../../Qt/5.9.1/clang_<wbr>64/lib/QtCore.framework/<wbr>Headers -I. -I../../../../Qt/5.9.1/clang_<wbr>64/mkspecs/macx-clang -F/Users/norbert/Qt/5.9.1/<wbr>clang_64/lib -o qpycore_chimera.o ../qpy/QtCore/qpycore_chimera.<wbr>cpp<br>
> /Users/kviktor/ios_sysroot/<wbr>build/PyQt5_gpl-5.9.1/sip/<wbr>QtCore/qobject.sip:362:10: error: use of undeclared identifier 'sipName_QProcess'<br>
> {sipName_QProcess, &sipType_QProcess, -1, -1},<br>
> ^<br>
> /Users/kviktor/ios_sysroot/<wbr>build/PyQt5_gpl-5.9.1/sip/<wbr>QtCore/qobject.sip:362:29: error: use of undeclared identifier 'sipType_QProcess'<br>
> {sipName_QProcess, &sipType_QProcess, -1, -1},<br>
><br>
><br>
> I initially tried an older version but the newest package has the same issue (PyQt5_gpl-5.9.1.tar.gz downloaded from the website today)<br>
><br>
><br>
> The build command I used is: $ MAKEFLAGS="-j3" python3 build_scripts/build_sysroot.py --target ios-64 --sysroot=$SYSROOT --build pyqt5 sip --qt /Users/kviktor/Qt/5.9.1/clang_<wbr>64<br>
><br>
> Sip seems to build just fine:<br>
> $ $SYSROOT/bin/sip -V<br>
> 4.19.5<br>
><br>
</div></div>> ______________________________<wbr>_________________<br>
> PyQt mailing list <a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br>
> <a href="https://www.riverbankcomputing.com/mailman/listinfo/pyqt" rel="noreferrer" target="_blank">https://www.<wbr>riverbankcomputing.com/<wbr>mailman/listinfo/pyqt</a><br>
</blockquote></div><br></div>