Author fangyizhou
Recipients ezio.melotti, fangyizhou, jonathaneunice, mrabarnett, serhiy.storchaka
Date 2018-02-10.00:31:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1518222680.62.0.467229070634.issue30688@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2018-02-10 00:31:20fangyizhousetrecipients: + fangyizhou, ezio.melotti, mrabarnett, serhiy.storchaka, jonathaneunice
2018-02-10 00:31:20fangyizhousetmessageid: <1518222680.62.0.467229070634.issue30688@psf.upfronthosting.co.za>
2018-02-10 00:31:20fangyizhoulinkissue30688 messages
2018-02-10 00:31:20fangyizhoucreate