Message311923
Hello
This leads to build failures due to circular dependency
At generate-posix-vars stage, unicodedata is imported (due to import pprint)but it has not been built due to it being a C module. However, building C modules happen after generate-posix-vars.
See full message below.
./python.exe -E -S -m sysconfig --generate-posix-vars ;\
if test $? -ne 0 ; then \
echo "generate-posix-vars failed" ; \
rm -f ./pybuilddir.txt ; \
exit 1 ; \
fi
Traceback (most recent call last):
File "/Users/fangyi/cpython/Lib/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/Users/fangyi/cpython/Lib/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/Users/fangyi/cpython/Lib/sysconfig.py", line 700, in <module>
_main()
File "/Users/fangyi/cpython/Lib/sysconfig.py", line 688, in _main
_generate_posix_vars()
File "/Users/fangyi/cpython/Lib/sysconfig.py", line 350, in _generate_posix_vars
import pprint
File "/Users/fangyi/cpython/Lib/pprint.py", line 38, in <module>
import re
File "/Users/fangyi/cpython/Lib/re.py", line 123, in <module>
import sre_compile
File "/Users/fangyi/cpython/Lib/sre_compile.py", line 14, in <module>
import sre_parse
File "/Users/fangyi/cpython/Lib/sre_parse.py", line 16, in <module>
import unicodedata
ModuleNotFoundError: No module named 'unicodedata'
generate-posix-vars failed |
|
Date |
User |
Action |
Args |
2018-02-10 00:31:20 | fangyizhou | set | recipients:
+ fangyizhou, ezio.melotti, mrabarnett, serhiy.storchaka, jonathaneunice |
2018-02-10 00:31:20 | fangyizhou | set | messageid: <1518222680.62.0.467229070634.issue30688@psf.upfronthosting.co.za> |
2018-02-10 00:31:20 | fangyizhou | link | issue30688 messages |
2018-02-10 00:31:20 | fangyizhou | create | |
|