* Package: dev-python/typed-ast-1.4.3:0 * Repository: gentoo * Maintainer: python@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python3_10 userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox * Please clean PYTHON_COMPAT of obsolete implementations: * python3_7 >>> Unpacking source... >>> Unpacking typed_ast-1.4.3.tar.gz to /var/tmp/portage/dev-python/typed-ast-1.4.3/work >>> Source unpacked in /var/tmp/portage/dev-python/typed-ast-1.4.3/work >>> Preparing source in /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3 ... * Build system packages: * dev-python/setuptools : 65.4.1 >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3 ... * python3_10: running distutils-r1_run_phase distutils-r1_python_compile python3.10 setup.py build -j 4 running build running build_py creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast copying typed_ast/conversions.py -> /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast copying typed_ast/ast3.py -> /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast copying typed_ast/ast27.py -> /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast copying typed_ast/__init__.py -> /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast package init file 'ast3/tests/__init__.py' not found (or not a regular file) creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast/tests copying ast3/tests/test_basics.py -> /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast/tests warning: build_py: byte-compiling is disabled, skipping. running build_ext building '_ast27' extension building '_ast3' extension creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10 creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3 creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27 creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Custom creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Custom creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Python x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Custom/typed_ast.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Custom/typed_ast.o creating /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Custom/typed_ast.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Custom/typed_ast.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/acceler.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/acceler.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/acceler.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/acceler.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/bitset.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/bitset.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/bitset.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/bitset.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/grammar.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/grammar.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/grammar.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/grammar.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/grammar1.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/grammar1.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/grammar1.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/grammar1.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/node.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/node.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/node.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/node.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/parser.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/parser.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/parser.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/parser.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/parsetok.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/parsetok.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/parsetok.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/parsetok.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Parser/tokenizer.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Parser/tokenizer.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Parser/tokenizer.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/tokenizer.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Python/Python-ast.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/Python-ast.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Python/Python-ast.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Python/Python-ast.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Python/asdl.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/asdl.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Python/ast.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/ast.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Python/asdl.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Python/asdl.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast3/Include -I/usr/include/python3.10 -c ast3/Python/ast.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast3/Python/ast.o ast3/Python/ast.c: In function ‘decode_unicode_with_escapes’: ast3/Python/ast.c:4514:9: error: implicit declaration of function ‘_PyUnicode_DecodeUnicodeEscape’; did you mean ‘PyUnicode_DecodeUnicodeEscape’? [-Werror=implicit-function-declaration] 4514 | v = _PyUnicode_DecodeUnicodeEscape(s, len, NULL, &first_invalid_escape); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | PyUnicode_DecodeUnicodeEscape ast3/Python/ast.c:4514:7: warning: assignment to ‘PyObject *’ {aka ‘struct _object *’} from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 4514 | v = _PyUnicode_DecodeUnicodeEscape(s, len, NULL, &first_invalid_escape); | ^ x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Python/graminit.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/graminit.o x86_64-pc-linux-gnu-gcc -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int -fPIC -Iast27/Include -I/usr/include/python3.10 -c ast27/Python/mystrtoul.c -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/mystrtoul.o x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -pipe -march=native -fno-diagnostics-color -O2 -Werror=implicit-function-declaration -Werror=implicit-int /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Custom/typed_ast.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/acceler.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/bitset.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/grammar.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/grammar1.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/node.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/parser.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/parsetok.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Parser/tokenizer.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/Python-ast.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/asdl.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/ast.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/graminit.o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/temp.linux-x86_64-3.10/ast27/Python/mystrtoul.o -L/usr/lib64 -o /var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3-python3_10/lib/typed_ast/_ast27.cpython-310-x86_64-linux-gnu.so cc1: some warnings being treated as errors error: command '/usr/bin/x86_64-pc-linux-gnu-gcc' failed with exit code 1 * ERROR: dev-python/typed-ast-1.4.3::gentoo failed (compile phase): * (no error message) * * Call stack: * ebuild.sh, line 122: Called src_compile * environment, line 3509: Called distutils-r1_src_compile * environment, line 1623: Called _distutils-r1_run_foreach_impl 'distutils-r1_python_compile' * environment, line 721: Called python_foreach_impl 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 3193: Called multibuild_foreach_variant '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2686: Called _multibuild_run '_python_multibuild_wrapper' 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 2684: Called _python_multibuild_wrapper 'distutils-r1_run_phase' 'distutils-r1_python_compile' * environment, line 1076: Called distutils-r1_run_phase 'distutils-r1_python_compile' * environment, line 1605: Called distutils-r1_python_compile * environment, line 1407: Called esetup.py 'build' '-j' '4' * environment, line 2225: Called die * The specific snippet of code: * "${@}" || die -n; * * If you need support, post the output of `emerge --info '=dev-python/typed-ast-1.4.3::gentoo'`, * the complete build log and the output of `emerge -pqv '=dev-python/typed-ast-1.4.3::gentoo'`. * The complete build log is located at '/var/log/portage/dev-python:typed-ast-1.4.3:20221003-215255.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-python/typed-ast-1.4.3/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-python/typed-ast-1.4.3/temp/environment'. * Working directory: '/var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3' * S: '/var/tmp/portage/dev-python/typed-ast-1.4.3/work/typed_ast-1.4.3'