<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">It looks like pyqtdeploy-sysroot (v2.4) is looking for sources that don’t exist anymore in Python-3.8.2. After successfully building the host interpreter for "—target macos-64", building the sysroot fails with the following output:<div class=""><br class=""></div><div class=""><div class=""><span style="font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class="">Unpacking 'Python-3.8.2.tgz'</span></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Copying /Users/patrick/dev/vendor/src/Python-3.8.2.tgz to /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Unpacking 'Python-3.8.2.tgz'</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Configuring Python v3.8.2 for macos-64</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Installing /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/Modules/config.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Generating /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/pyconfig.h</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Installing /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/python.pro</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Running '/Users/patrick/dev/vendor/sysroot-macos-64/qt/bin/qmake SYSROOT=/Users/patrick/dev/vendor/sysroot-macos-64'</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Info: creating stash file /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/.qmake.stash</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">WARNING: Failure to find: Parser/bitset.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">WARNING: Failure to find: Parser/metagrammar.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">WARNING: Failure to find: Parser/firstsets.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">WARNING: Failure to find: Parser/grammar.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">WARNING: Failure to find: Parser/pgen.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">WARNING: Failure to find: Modules/zipimport.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">Running 'make'</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/getbuildinfo.o Modules/getbuildinfo.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/frozen.o Python/frozen.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/acceler.o Parser/acceler.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/grammar1.o Parser/grammar1.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/listnode.o Parser/listnode.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/node.o Parser/node.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/parser.o Parser/parser.c</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">make: *** No rule to make target `Parser/bitset.c', needed by `.obj/bitset.o'.  Stop.</font></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><font face="Menlo" class="">pyqtdeploy-sysroot: Execution failed: returned exit code 2</font></span></div></div></div><div class=""><br class=""></div><div class="">Then when I add the following to python.pro,</div><div class=""><br class=""></div><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    greaterThan(PY_MAJOR_VERSION, 2) {                                                                                                                                            </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        lessThan(PY_MINOR_VERSION, 8) {                                                                                                                                           </span></div><p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22); min-height: 18px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                                                                                                                                                                                  </span><br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">            PARSER_SOURCES += \                                                                                                                                                   </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                Parser/bitset.c \                                                                                                                                                 </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                Parser/metagrammar.c \                                                                                                                                            </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                Parser/firstsets.c \                                                                                                                                              </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                Parser/grammar.c \                                                                                                                                                </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                Parser/pgen.c \                                                                                                                                                   </span></div><p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22); min-height: 18px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                                                                                                                                                                                  </span><br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        }                                                                                                                                                                         </span></div><p style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22); min-height: 18px;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">                                                                                                                                                                                  </span><br class="webkit-block-placeholder"></p><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        greaterThan(PY_MINOR_VERSION, 7) {                                                                                                                                        </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">            PARSER_SOURCES += Parser/</span><span style="font-variant-ligatures: no-common-ligatures; color: #a0cdff; background-color: #a100a3" class="">token.</span><span style="font-variant-ligatures: no-common-ligatures" class="">c                                                                                                                                      </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        }                                                                                                                                                                         </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    } </span></div></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><br class=""></span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(176, 47, 127); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures" class=""><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    greaterThan(PY_MINOR_VERSION, 5):lessThan(PY_MINOR_VERSION, 8) {                                                                                                              </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">        MOD_SOURCES += \                                                                                                                                                          </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">            Modules/_io/winconsoleio.c \                                                                                                                                          </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">            Modules/zipimport.c                                                                                                                                                   </span></div><div style="margin: 0px; font-stretch: normal; line-height: normal;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">    }</span></div></span></div><div class=""><br class=""></div><div class="">The non-host target build fails with the following message:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><div class=""><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" 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.15.sdk -mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" -DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\" -DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude -I../../../qt/mkspecs/macx-clang -o .obj/myreadline.o Parser/myreadline.c</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">Parser/myreadline.c:13:10: fatal error: 'pycore_pystate.h' file not found</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">#include "pycore_pystate.h"</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">         ^~~~~~~~~~~~~~~~~~</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">1 error generated.</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">make: *** [.obj/myreadline.o] Error 1</span></div><div style="margin: 0px; font-stretch: normal; line-height: normal; font-family: Menlo; color: rgb(242, 242, 242); background-color: rgb(22, 22, 22);" class=""><span style="font-variant-ligatures: no-common-ligatures;" class="">pyqtdeploy-sysroot: Execution failed: returned exit code 2</span></div></div></div><div class=""><span style="font-variant-ligatures: no-common-ligatures;" class=""><br class=""></span></div><div class=""><br class=""></div><div class="">I imagine I’m missing something basic about version compatibility here?</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">-Patrick</div></body></html>