Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 874912

Summary: dev-python/typed-ast-1.4.3 - ast3/.../ast.c: error: call to undeclared function _PyUnicode_DecodeUnicodeEscape; ISO C99 and later
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
dev-python:typed-ast-1.4.3:20221003-232234.log
emerge-history.txt
environment
etc.portage.tar.bz2
temp.tar.bz2

Description Toralf Förster gentoo-dev 2022-10-04 16:25:45 UTC
too long lines were shrinked:

clang -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/as
clang -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.
clang -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
clang -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:4514:9: error: call to undeclared function '_PyUnicode_DecodeUnicodeEscape'; ISO C99 and later do not support implicit function declarations [-Werror,-Wimplicit-function-declaration]
    v = _PyUnicode_DecodeUnicodeEscape(s, len, NULL, &first_invalid_escape);
        ^

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20221003-130005

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.2.0 *
clang/llvm (if any):
clang version 15.0.1
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
/usr/lib/llvm/15
15.0.1
Python 3.10.7
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.64.0 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):
GNU Make 4.3

  HEAD of ::gentoo
commit a7a596ec0cf4e28670edecfc3341c5a358a5fd3e
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Oct 3 22:32:30 2022 +0000

    2022-10-03 22:32:29 UTC

emerge -qpvO dev-python/typed-ast
[ebuild  N    ] dev-python/typed-ast-1.5.4  USE="-test" PYTHON_TARGETS="python3_10 -python3_8 -python3_9 -python3_11"
Comment 1 Toralf Förster gentoo-dev 2022-10-04 16:25:46 UTC
Created attachment 818659 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-10-04 16:25:47 UTC
Created attachment 818662 [details]
dev-python:typed-ast-1.4.3:20221003-232234.log
Comment 3 Toralf Förster gentoo-dev 2022-10-04 16:25:48 UTC
Created attachment 818665 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-10-04 16:25:50 UTC
Created attachment 818671 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-10-04 16:25:51 UTC
Created attachment 818674 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-10-04 16:25:52 UTC
Created attachment 818677 [details]
temp.tar.bz2
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-10-04 16:52:03 UTC

*** This bug has been marked as a duplicate of bug 874900 ***