<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Further to this issue, the problem seems to originate in this line: <br class=""><br class=""><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class="">Running 'make'<br class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -c -pipe -fwrapv -std=c99 -O3 -fPIC  -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -mmacosx-version-min=10.11 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.7\" -DVPATH=\".\” -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.7\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I/Users/David/OpenSource/Qt5.11.0/5.11.0/clang_64/mkspecs/macx-clang -o .obj/getbuildinfo.o Modules/getbuildinfo.c</blockquote><div class=""><br class=""></div><div class="">This contains “-isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk”. However, in Xcode 10 the directory is called “MacOSX.sdk” not “MacOSX10.13.sdk”.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class=""><br class=""></div><div class="">David</div><div class=""><br class=""><blockquote type="cite" class=""><br class="">Message: 5<br class="">Date: Sat, 29 Sep 2018 12:07:38 -0600<br class="">From: David Beck <<a href="mailto:dbeck@ualberta.ca" class="">dbeck@ualberta.ca</a>><br class="">To: <a href="mailto:pyqt@riverbankcomputing.com" class="">pyqt@riverbankcomputing.com</a><br class="">Subject: [PyQt] pyqtdeploy-sysroot error<br class="">Message-ID: <<a href="mailto:09673AAC-8F83-42F4-BCBE-305291900C31@ualberta.ca" class="">09673AAC-8F83-42F4-BCBE-305291900C31@ualberta.ca</a>><br class="">Content-Type: text/plain; charset="utf-8"<br class=""><br class="">Hello,<br class=""><br class="">I’m trying to work through the pyqt-demo from the User guide online and I’m having trouble with pyqt-sysroot, which doesn’t seem to want to build Python 3.7.0. When I try running pyqt-sysroot, I get “execution failed: returned exit code 2” in the context below:<br class=""><br class="">iMac-2:demo David$ pyqtdeploy-sysroot sysroot.json --source-dir /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/src --component python<br class="">Installing an existing Python v3.7.0 as the host Python<br class="">Building the target Python from source<br class="">Configuring Python v3.7.0 for macos-64<br class="">Installing /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/Modules/config.c<br class="">Generating /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/pyconfig.h<br class="">Installing /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/python.pro<br class="">pyqtdeploy-sysroot: Execution failed: returned exit code 2<br class=""><br class="">pyqtdeploy-sysroot has no problem building OpenSSL, ZLib, or Qt (though I do have to point it to a static build using qt_dir in the .json file), but it bugs out when it gets to Python.<br class=""><br class="">I’m working on MacOS 10.13.6 and have Qt 5.11.0 and PyQt 5.11.2 installed. The Python in the source directory is Python-3.7.0.tar.xz, downloaded a couple of days ago. XCode and the commandline tools are all up to date. Any suggestions about what might be going on would be appreciated.<br class=""><br class="">Cheers,<br class=""><br class="">David<br class="">-------------- next part --------------<br class="">An HTML attachment was scrubbed...<br class="">URL: <<a href="https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180929/f71c3aa8/attachment-0001.html" class="">https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20180929/f71c3aa8/attachment-0001.html</a>><br class=""><br class="">------------------------------<br class=""><br class="">Message: 6<br class="">Date: Sat, 29 Sep 2018 19:17:30 +0100<br class="">From: Phil Thompson <<a href="mailto:phil@riverbankcomputing.com" class="">phil@riverbankcomputing.com</a>><br class="">To: David Beck <<a href="mailto:dbeck@ualberta.ca" class="">dbeck@ualberta.ca</a>><br class="">Cc: <a href="mailto:pyqt@riverbankcomputing.com" class="">pyqt@riverbankcomputing.com</a><br class="">Subject: Re: [PyQt] pyqtdeploy-sysroot error<br class="">Message-ID:<br class=""><span class="Apple-tab-span" style="white-space:pre">    </span><<a href="mailto:996F03DB-66C1-463B-8F05-80899A58105C@riverbankcomputing.com" class="">996F03DB-66C1-463B-8F05-80899A58105C@riverbankcomputing.com</a>><br class="">Content-Type: text/plain;<span class="Apple-tab-span" style="white-space:pre"> </span>charset=utf-8<br class=""><br class="">On 29 Sep 2018, at 7:07 pm, David Beck <<a href="mailto:dbeck@ualberta.ca" class="">dbeck@ualberta.ca</a>> wrote:<br class=""><blockquote type="cite" class=""><br class="">Hello,<br class=""><br class="">I’m trying to work through the pyqt-demo from the User guide online and I’m having trouble with pyqt-sysroot, which doesn’t seem to want to build Python 3.7.0. When I try running pyqt-sysroot, I get “execution failed: returned exit code 2” in the context below:<br class=""><br class="">iMac-2:demo David$ pyqtdeploy-sysroot sysroot.json --source-dir /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/src --component python<br class="">Installing an existing Python v3.7.0 as the host Python<br class="">Building the target Python from source<br class="">Configuring Python v3.7.0 for macos-64<br class="">Installing /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/Modules/config.c<br class="">Generating /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/pyconfig.h<br class="">Installing /Users/David/OpenSource/ELFBDeployment/pyqtdeploy-2.2/demo/sysroot-macos-64/build/Python-3.7.0/python.pro<br class="">pyqtdeploy-sysroot: Execution failed: returned exit code 2<br class=""><br class="">pyqtdeploy-sysroot has no problem building OpenSSL, ZLib, or Qt (though I do have to point it to a static build using qt_dir in the .json file), but it bugs out when it gets to Python.<br class=""><br class="">I’m working on MacOS 10.13.6 and have Qt 5.11.0 and PyQt 5.11.2 installed. The Python in the source directory is Python-3.7.0.tar.xz, downloaded a couple of days ago. XCode and the commandline tools are all up to date. Any suggestions about what might be going on would be appreciated.<br class=""></blockquote><br class="">Run with the --verbose flag to see what's going on.<br class=""><br class="">Use of XCode 10 is completely untested.<br class=""><br class="">Phil<br class=""><br class="">------------------------------<br class=""><br class="">Subject: Digest Footer<br class=""><br class="">_______________________________________________<br class="">PyQt mailing list<br class=""><a href="mailto:PyQt@riverbankcomputing.com" class="">PyQt@riverbankcomputing.com</a><br class="">https://www.riverbankcomputing.com/mailman/listinfo/pyqt<br class=""><br class="">------------------------------<br class=""><br class="">End of PyQt Digest, Vol 170, Issue 48<br class="">*************************************<br class=""></blockquote><br class=""></div></body></html>