[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: pyqtdeploy-sysroot sources out of sync with Python-3.8.2
From:       Patrick Stinson <patrickkidd () gmail ! com>
Date:       2020-04-28 15:16:30
Message-ID: C6277F50-5F52-4F27-9D75-BC5FB2685471 () gmail ! com
[Download RAW message or body]

Ah, OK. I guess I should stop at 3.7 for this upgrade then. Though they make odd \
releases more experimental and even releases more stable, correct? Or was that the \
linux kernel? I must be getting old and can't remember...

> On Apr 28, 2020, at 7:14 AM, Phil Thompson <phil@riverbankcomputing.com> wrote:
> 
> On 28/04/2020 15:39, Patrick Stinson wrote:
> > 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:
> > Unpacking 'Python-3.8.2.tgz'
> > Copying /Users/patrick/dev/vendor/src/Python-3.8.2.tgz to
> > /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2
> > Unpacking 'Python-3.8.2.tgz'
> > Configuring Python v3.8.2 for macos-64
> > Installing
> > /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/Modules/config.c
> >  Generating
> > /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/pyconfig.h
> >  Installing
> > /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/python.pro
> >  Running '/Users/patrick/dev/vendor/sysroot-macos-64/qt/bin/qmake
> > SYSROOT=/Users/patrick/dev/vendor/sysroot-macos-64'
> > Info: creating stash file
> > /Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/.qmake.stash
> >                 
> > WARNING: Failure to find: Parser/bitset.c
> > WARNING: Failure to find: Parser/metagrammar.c
> > WARNING: Failure to find: Parser/firstsets.c
> > WARNING: Failure to find: Parser/grammar.c
> > WARNING: Failure to find: Parser/pgen.c
> > WARNING: Failure to find: Modules/zipimport.c
> > Running 'make'
> > /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
> > /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
> > /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
> > /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
> > /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
> > /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
> > /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
> > make: *** No rule to make target `Parser/bitset.c', needed by
> > `.obj/bitset.o'.  Stop.
> > pyqtdeploy-sysroot: Execution failed: returned exit code 2
> > Then when I add the following to python.pro,
> > greaterThan(PY_MAJOR_VERSION, 2) {
> > lessThan(PY_MINOR_VERSION, 8) {
> > PARSER_SOURCES += \
> > Parser/bitset.c \
> > Parser/metagrammar.c \
> > Parser/firstsets.c \
> > Parser/grammar.c \
> > Parser/pgen.c \
> > }
> > greaterThan(PY_MINOR_VERSION, 7) {
> > PARSER_SOURCES += Parser/token.c
> > }
> > }
> > greaterThan(PY_MINOR_VERSION, 5):lessThan(PY_MINOR_VERSION, 8) {
> > MOD_SOURCES += \
> > Modules/_io/winconsoleio.c \
> > Modules/zipimport.c
> > }
> > The non-host target build fails with the following message:
> > /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
> > Parser/myreadline.c:13:10: fatal error: 'pycore_pystate.h' file not found
> > #include "pycore_pystate.h"
> > ^~~~~~~~~~~~~~~~~~
> > 1 error generated.
> > make: *** [.obj/myreadline.o] Error 1
> > pyqtdeploy-sysroot: Execution failed: returned exit code 2
> > I imagine I'm missing something basic about version compatibility here?
> 
> Yes, v3.8 isn't supported.
> 
> Phil


[Attachment #3 (unknown)]

<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="">Ah, OK. I guess I should stop at 3.7 for \
this upgrade then. Though they make odd releases more experimental and even releases \
more stable, correct? Or was that the linux kernel? I must be getting old and can't \
remember...<br class=""><div><br class=""><blockquote type="cite" class=""><div \
class="">On Apr 28, 2020, at 7:14 AM, Phil Thompson &lt;<a \
href="mailto:phil@riverbankcomputing.com" \
class="">phil@riverbankcomputing.com</a>&gt; wrote:</div><br \
class="Apple-interchange-newline"><div class=""><span style="caret-color: rgb(0, 0, \
0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: \
normal; font-weight: normal; letter-spacing: normal; text-align: start; text-indent: \
0px; text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">On 28/04/2020 15:39, Patrick Stinson wrote:</span><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-size-adjust: auto; \
-webkit-text-stroke-width: 0px; text-decoration: none;" class="">It looks like \
pyqtdeploy-sysroot (v2.4) is looking for sources that<br class="">don't exist anymore \
in Python-3.8.2. After successfully building the<br class="">host interpreter for \
"—target macos-64", building the sysroot fails<br class="">with the following \
output:<br class="">Unpacking 'Python-3.8.2.tgz'<br class="">Copying \
/Users/patrick/dev/vendor/src/Python-3.8.2.tgz to<br \
class="">/Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2<br \
class="">Unpacking 'Python-3.8.2.tgz'<br class="">Configuring Python v3.8.2 for \
macos-64<br class="">Installing<br \
class="">/Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/Modules/config.c<br \
class="">Generating<br \
class="">/Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/pyconfig.h<br \
class="">Installing<br \
class="">/Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/python.pro<br \
class="">Running '/Users/patrick/dev/vendor/sysroot-macos-64/qt/bin/qmake<br \
class="">SYSROOT=/Users/patrick/dev/vendor/sysroot-macos-64'<br class="">Info: \
creating stash file<br \
class="">/Users/patrick/dev/vendor/sysroot-macos-64/build/Python-3.8.2/Python-3.8.2/.qmake.stash<br \
class="">WARNING: Failure to find: Parser/bitset.c<br class="">WARNING: Failure to \
find: Parser/metagrammar.c<br class="">WARNING: Failure to find: \
Parser/firstsets.c<br class="">WARNING: Failure to find: Parser/grammar.c<br \
class="">WARNING: Failure to find: Parser/pgen.c<br class="">WARNING: Failure to \
find: Modules/zipimport.c<br class="">Running 'make'<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/getbuildinfo.o<br \
class="">Modules/getbuildinfo.c<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/frozen.o Python/frozen.c<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/acceler.o Parser/acceler.c<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/grammar1.o Parser/grammar1.c<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/listnode.o Parser/listnode.c<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/node.o Parser/node.c<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/parser.o Parser/parser.c<br \
class="">make: *** No rule to make target `Parser/bitset.c', needed by<br \
class="">`.obj/bitset.o'. &nbsp;Stop.<br class="">pyqtdeploy-sysroot: Execution \
failed: returned exit code 2<br class="">Then when I add the following to \
python.pro,<br class="">&nbsp;&nbsp;&nbsp;greaterThan(PY_MAJOR_VERSION, 2) {<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lessThan(PY_MINOR_VERSION, 8) {<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PARSER_SOURCES \
+= \<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parser/bitset.c \
\<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parser/metagrammar.c \
\<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parser/firstsets.c \
\<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parser/grammar.c \
\<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Parser/pgen.c \
\<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;greaterThan(PY_MINOR_VERSION, 7) \
{<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;PARSER_SOURCES \
+= Parser/token.c<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;}<br \
class="">&nbsp;&nbsp;&nbsp;}<br \
class="">&nbsp;&nbsp;&nbsp;greaterThan(PY_MINOR_VERSION, \
5):lessThan(PY_MINOR_VERSION, 8) {<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MOD_SOURCES += \<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modules/_io/winconsoleio.c \
\<br class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Modules/zipimport.c<br \
class="">&nbsp;&nbsp;&nbsp;}<br class="">The non-host target build fails with the \
following message:<br \
class="">/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang<br \
class="">-c -pipe -fwrapv -std=c99 -O3 -fPIC &nbsp;-arch x86_64 -isysroot<br \
class="">/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.15.sdk<br \
class="">-mmacosx-version-min=10.13 -w -DNDEBUG -DPy_BUILD_CORE<br \
class="">-DVERSION=\"3.8\" -DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\"<br \
class="">-DPYTHONPATH=\"/lib/python3.8\" -DPLATFORM=\"darwin\"<br \
class="">-DMULTIARCH=\"darwin\" -DABIFLAGS=\"m\" -I. -I. -IInclude<br \
class="">-I../../../qt/mkspecs/macx-clang -o .obj/myreadline.o<br \
class="">Parser/myreadline.c<br class="">Parser/myreadline.c:13:10: fatal error: \
'pycore_pystate.h' file not found<br class="">#include "pycore_pystate.h"<br \
class="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;^~~~~~~~~~~~~~~~~~<br \
class="">1 error generated.<br class="">make: *** [.obj/myreadline.o] Error 1<br \
class="">pyqtdeploy-sysroot: Execution failed: returned exit code 2<br class="">I \
imagine I'm missing something basic about version compatibility here?<br \
class=""></blockquote><br style="caret-color: rgb(0, 0, 0); font-family: Helvetica; \
font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none;" class=""><span style="caret-color: rgb(0, 0, 0); font-family: \
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; \
font-weight: normal; letter-spacing: normal; text-align: start; text-indent: 0px; \
text-transform: none; white-space: normal; word-spacing: 0px; \
-webkit-text-stroke-width: 0px; text-decoration: none; float: none; display: inline \
!important;" class="">Yes, v3.8 isn't supported.</span><br style="caret-color: rgb(0, \
0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; \
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; text-align: \
start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: \
0px; -webkit-text-stroke-width: 0px; text-decoration: none;" class=""><br \
style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; \
font-style: normal; font-variant-caps: normal; font-weight: normal; letter-spacing: \
normal; text-align: start; text-indent: 0px; text-transform: none; white-space: \
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;" \
class=""><span style="caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: \
12px; font-style: normal; font-variant-caps: normal; font-weight: normal; \
letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; \
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; \
text-decoration: none; float: none; display: inline !important;" \
class="">Phil</span></div></blockquote></div><br class=""></body></html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic