Michael Felt <[email protected]> added the comment:
More `make test` output:
1 test failed:
test_peg_generator
18 tests skipped:
test_devpoll test_epoll test_gdb test_ioctl test_kqueue
test_msilib test_ossaudiodev test_spwd test_startfile test_tix
test_tk test_ttk_guionly test_unicode_file
test_unicode_file_functions test_winconsoleio test_winreg
test_winsound test_zipfile64
0:05:24
0:05:24 Re-running failed tests in verbose mode
0:05:24 Re-running test_peg_generator in verbose mode
test_advanced_left_recursive
(test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_c_parser (test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_cut (test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_error_in_rules (test.test_peg_generator.test_c_parser.TestCParser) ...
ERROR
test_gather (test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_gather_action_ast (test.test_peg_generator.test_c_parser.TestCParser) ...
ERROR
test_headers_and_trailer (test.test_peg_generator.test_c_parser.TestCParser)
... ok
test_if_stmt_action (test.test_peg_generator.test_c_parser.TestCParser) ...
ERROR
test_left_recursion (test.test_peg_generator.test_c_parser.TestCParser) ...
ERROR
test_lookahead (test.test_peg_generator.test_c_parser.TestCParser) ...
/tmp/tmpte0se473/parse.c: In function 'start_rule':
/tmp/tmpte0se473/parse.c:32:35: warning: passing argument 2 of
'_PyPegen_lookahead' from incompatible pointer type
[-Wincompatible-pointer-types]
_PyPegen_lookahead(1, _PyPegen_name_token, p)
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/tmpte0se473/parse.c:2:0:
/home/aixtools/python/cpython-master/Parser/pegen/pegen.h:90:5: note: expected
'void * (*)(Parser *) {aka void * (*)(struct <anonymous> *)}' but argument is
of type 'struct _expr * (*)(Parser *) {aka struct _expr * (*)(struct
<anonymous> *)}'
int _PyPegen_lookahead(int, void *(func)(Parser *), Parser *);
^~~~~~~~~~~~~~~~~~
ERROR
test_mutually_left_recursive
(test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_nasty_mutually_left_recursive
(test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_negative_lookahead (test.test_peg_generator.test_c_parser.TestCParser) ...
/tmp/tmpyyc57e2e/parse.c: In function 'start_rule':
/tmp/tmpyyc57e2e/parse.c:32:35: warning: passing argument 2 of
'_PyPegen_lookahead' from incompatible pointer type
[-Wincompatible-pointer-types]
_PyPegen_lookahead(0, _PyPegen_name_token, p)
^~~~~~~~~~~~~~~~~~~
In file included from /tmp/tmpyyc57e2e/parse.c:2:0:
/home/aixtools/python/cpython-master/Parser/pegen/pegen.h:90:5: note: expected
'void * (*)(Parser *) {aka void * (*)(struct <anonymous> *)}' but argument is
of type 'struct _expr * (*)(Parser *) {aka struct _expr * (*)(struct
<anonymous> *)}'
int _PyPegen_lookahead(int, void *(func)(Parser *), Parser *);
^~~~~~~~~~~~~~~~~~
ERROR
test_pass_stmt_action (test.test_peg_generator.test_c_parser.TestCParser) ...
ERROR
test_return_stmt_noexpr_action
(test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_same_name_different_types
(test.test_peg_generator.test_c_parser.TestCParser) ... ERROR
test_syntax_error_for_string
(test.test_peg_generator.test_c_parser.TestCParser) ... []
ERROR
test_ternary_operator (test.test_peg_generator.test_c_parser.TestCParser) ...
ERROR
test_with_stmt_with_paren (test.test_peg_generator.test_c_parser.TestCParser)
... ERROR
test_advance_left_recursion
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_alternatives (test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_epsilon_production_in_start_rule
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_gather (test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_left_recursion (test.test_peg_generator.test_first_sets.TestFirstSets) ...
ok
test_multiple_nullable_rules
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_mutual_left_recursion
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_nasty_left_recursion
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_negative_lookahead (test.test_peg_generator.test_first_sets.TestFirstSets)
... ok
test_nullable_rule (test.test_peg_generator.test_first_sets.TestFirstSets) ...
ok
test_optional_after (test.test_peg_generator.test_first_sets.TestFirstSets) ...
ok
test_optional_before (test.test_peg_generator.test_first_sets.TestFirstSets)
... ok
test_optional_literal (test.test_peg_generator.test_first_sets.TestFirstSets)
... ok
test_optional_operator (test.test_peg_generator.test_first_sets.TestFirstSets)
... ok
test_optionals (test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_positive_lookahead (test.test_peg_generator.test_first_sets.TestFirstSets)
... ok
test_repeat_0 (test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_repeat_0_with_group
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_repeat_1 (test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_repeat_1_with_group
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_repeat_with_separator
(test.test_peg_generator.test_first_sets.TestFirstSets) ... ok
test_deep_nested_rule
(test.test_peg_generator.test_pegen.TestGrammarVisualizer) ...
\u2514\u2500\u2500Rule
\u2514\u2500\u2500Rhs
\u2514\u2500\u2500Alt
\u251c\u2500\u2500NamedItem
\u2502 \u2514\u2500\u2500StringLeaf("'a'")
\u2514\u2500\u2500NamedItem
\u2514\u2500\u2500Opt
\u2514\u2500\u2500Rhs
\u2514\u2500\u2500Alt
\u251c\u2500\u2500NamedItem
\u2502 \u2514\u2500\u2500StringLeaf("'b'")
\u2514\u2500\u2500NamedItem
\u2514\u2500\u2500Opt
\u2514\u2500\u2500Rhs
\u2514\u2500\u2500Alt
\u251c\u2500\u2500NamedItem
\u2502 \u2514\u2500\u2500StringLeaf("'c'")
\u2514\u2500\u2500NamedItem
\u2514\u2500\u2500Opt
\u2514\u2500\u2500Rhs
\u2514\u2500\u2500Alt
\u2514\u2500\u2500NamedItem
\u2514\u2500\u2500StringLeaf("'d'")
ok
test_multiple_rules (test.test_peg_generator.test_pegen.TestGrammarVisualizer)
... ok
test_simple_rule (test.test_peg_generator.test_pegen.TestGrammarVisualizer) ...
ok
test_advanced_left_recursive (test.test_peg_generator.test_pegen.TestPegen) ...
ok
test_alt_optional_operator (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_bad_token_reference (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_cut (test.test_peg_generator.test_pegen.TestPegen) ... start() ...
(looking at 1.0: OP:'(')
expect('(') ... (looking at 1.0: OP:'(')
... expect('(') -> TokenInfo(type=54 (OP), string='(', start=(1, 0), end=(1,
1), line='(1)')
expr() ... (looking at 1.1: NUMBER:'1')
number() ... (looking at 1.1: NUMBER:'1')
... number() -> TokenInfo(type=2 (NUMBER), string='1', start=(1, 1),
end=(1, 2), line='(1)')
... expr() -> [TokenInfo(type=2 (NUMBER), string='1', start=(1, 1), end=(1,
2), line='(1)')]
expect(')') ... (looking at 1.2: OP:')')
... expect(')') -> TokenInfo(type=54 (OP), string=')', start=(1, 2), end=(1,
3), line='(1)')
... start() -> [TokenInfo(type=54 (OP), string='(', start=(1, 0), end=(1, 1),
line='(1)'), [TokenInfo(type=2 (NUMBER), string='1', start=(1, 1), end=(1, 2),
line='(1)')], TokenInfo(type=54 (OP), string=')', start=(1
ok
test_dangling_reference (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_expr_grammar (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_left_recursion_too_complex (test.test_peg_generator.test_pegen.TestPegen)
... ok
test_left_recursive (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_long_rule_str (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_lookahead (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_missing_start (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_mutually_left_recursive (test.test_peg_generator.test_pegen.TestPegen) ...
ok
test_named_lookahead_error (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_nasty_mutually_left_recursive
(test.test_peg_generator.test_pegen.TestPegen) ... ok
test_nullable (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_optional_literal (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_optional_operator (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_parse_grammar (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_python_expr (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_repeat_0_complex (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_repeat_0_simple (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_repeat_1_complex (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_repeat_1_simple (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_repeat_with_sep_simple (test.test_peg_generator.test_pegen.TestPegen) ...
ok
test_repeat_with_separator_rules (test.test_peg_generator.test_pegen.TestPegen)
... Rule('start', None, Rhs([Alt([NamedItem(None, Gather(StringLeaf("','"),
NameLeaf('thing'))), NamedItem(None, NameLeaf('NEWLINE'))])]))
ok
test_start_leader (test.test_peg_generator.test_pegen.TestPegen) ... ok
test_typed_rules (test.test_peg_generator.test_pegen.TestPegen) ... ok
======================================================================
ERROR: test_advanced_left_recursive
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 155, in test_advanced_left_recursive
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_c_parser (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 81, in test_c_parser
extension = generate_parser_c_extension(grammar, Path(self.tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_cut (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 129, in test_cut
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases,
invalid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_error_in_rules (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 330, in test_error_in_rules
extension = generate_parser_c_extension(grammar, Path(self.tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_gather (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 138, in test_gather
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases,
invalid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_gather_action_ast
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 194, in test_gather_action_ast
self.verify_ast_generation(grammar, stmt, self.tmp_path)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 53, in verify_ast_generation
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_if_stmt_action (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 230, in test_if_stmt_action
self.verify_ast_generation(grammar, stmt, self.tmp_path)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 53, in verify_ast_generation
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_left_recursion (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 147, in test_left_recursion
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_lookahead (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 107, in test_lookahead
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases,
invalid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_mutually_left_recursive
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 164, in test_mutually_left_recursive
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_nasty_mutually_left_recursive
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 174, in test_nasty_mutually_left_recursive
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases,
invalid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_negative_lookahead
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 116, in test_negative_lookahead
self.check_input_strings_for_grammar(grammar, self.tmp_path, valid_cases,
invalid_cases)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 40, in check_input_strings_for_grammar
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_pass_stmt_action (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 206, in test_pass_stmt_action
self.verify_ast_generation(grammar, stmt, self.tmp_path)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 53, in verify_ast_generation
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_return_stmt_noexpr_action
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 186, in test_return_stmt_noexpr_action
self.verify_ast_generation(grammar, stmt, self.tmp_path)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 53, in verify_ast_generation
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_same_name_different_types
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 245, in test_same_name_different_types
extension = generate_parser_c_extension(grammar, Path(self.tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_syntax_error_for_string
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 299, in test_syntax_error_for_string
extension = generate_parser_c_extension(grammar, Path(self.tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_ternary_operator (test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 290, in test_ternary_operator
self.verify_ast_generation(grammar_source, stmt, self.tmp_path)
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 53, in verify_ast_generation
extension = generate_parser_c_extension(grammar, Path(tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
======================================================================
ERROR: test_with_stmt_with_paren
(test.test_peg_generator.test_c_parser.TestCParser)
----------------------------------------------------------------------
Traceback (most recent call last):
File
"/home/aixtools/python/cpython-master/Lib/test/test_peg_generator/test_c_parser.py",
line 270, in test_with_stmt_with_paren
extension = generate_parser_c_extension(grammar, Path(self.tmp_path))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/testutil.py",
line 95, in generate_parser_c_extension
extension_path = compile_c_extension(str(source), build_dir=str(path /
"build"))
File
"/home/aixtools/python/cpython-master/Tools/peg_generator/pegen/build.py", line
84, in compile_c_extension
cmd.run()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
340, in run
self.build_extensions()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
449, in build_extensions
self._build_extensions_serial()
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
474, in _build_extensions_serial
self.build_extension(ext)
File
"/home/aixtools/python/cpython-master/Lib/distutils/command/build_ext.py", line
551, in build_extension
self.compiler.link_shared_object(
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
713, in link_shared_object
self.link(CCompiler.SHARED_OBJECT, objects,
File "/home/aixtools/python/cpython-master/Lib/distutils/unixccompiler.py",
line 204, in link
self.spawn(linker + ld_args)
File "/home/aixtools/python/cpython-master/Lib/distutils/ccompiler.py", line
910, in spawn
spawn(cmd, dry_run=self.dry_run)
File "/home/aixtools/python/cpython-master/Lib/distutils/spawn.py", line 74,
in spawn
proc = subprocess.Popen(cmd, env=env)
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 947, in
__init__
self._execute_child(args, executable, preexec_fn, close_fds,
File "/home/aixtools/python/cpython-master/Lib/subprocess.py", line 1819, in
_execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory:
'/usr/local/lib/python3.9/config-3.9d/ld_so_aix'
----------------------------------------------------------------------
Ran 70 tests in 84.622s
FAILED (errors=18)
test test_peg_generator failed
1 test failed again:
test_peg_generator
----------
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue40370>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com