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

Bug 921571

Summary: dev-lang/python-2.7.18_p16-r1[tk] - /.../_tkinter.c: error: passing argument 1 of Tcl_NewUnicodeObj from incompatible pointer type [-Wincompatible-pointer
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: CONFIRMED ---    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-lang:python-2.7.18_p16-r1:20240106-221922.log
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-01-07 15:55:43 UTC
too long lines were shrinked:

building 'ossaudiodev' extension
x86_64-pc-linux-gnu-gcc -fPIC -fno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -fwrapv -DNDEBUG -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.18_p16-r1/work/Python-2.7.18/Include -I/var/tmp/portage/dev-lang/python-2.7.18_p16-r1/work/Python-2.7.18 -c /var/tmp/por
x86_64-pc-linux-gnu-gcc -shared -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -fno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -fwrapv -DNDEBUG -I. -IInclude -I./Include build/temp.linux-x86_64-2.7/v
building '_tkinter' extension
x86_64-pc-linux-gnu-gcc -fPIC -fno-strict-aliasing -O2 -pipe -march=native -fno-diagnostics-color -fwrapv -DNDEBUG -DWITH_APPINIT=1 -DWITH_BLT=1 -I/usr/X11/include -I. -IInclude -I./Include -I/var/tmp/portage/dev-lang/python-2.7.18_p16-r1/work/Python-2.7.18/Include -I/var/tmp/portage/dev-lang/python
/var/tmp/portage/dev-lang/python-2.7.18_p16-r1/work/Python-2.7.18/Modules/_tkinter.c: In function 'AsObj':
/var/tmp/portage/dev-lang/python-2.7.18_p16-r1/work/Python-2.7.18/Modules/_tkinter.c:1178:38: error: passing argument 1 of 'Tcl_NewUnicodeObj' from incompatible pointer type [-Wincompatible-pointer-types]
 1178 |             return Tcl_NewUnicodeObj(inbuf, size);
      |                                      ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20240104-075517

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.21.5 linux/amd64

  HEAD of ::gentoo
commit 14ada442667e801c344a75949f1d9242d7b29c5f
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Jan 6 22:03:04 2024 +0000

    2024-01-06 22:03:03 UTC

emerge -qpvO dev-lang/python
[ebuild   R   ] dev-lang/python-3.12.1_p1  USE="ensurepip gdbm ncurses pgo readline sqlite ssl tk -bluetooth -build -debug -examples -libedit -test (-valgrind) -verify-sig"
Comment 1 Toralf Förster gentoo-dev 2024-01-07 15:55:44 UTC
Created attachment 881609 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-07 15:55:46 UTC
Created attachment 881610 [details]
dev-lang:python-2.7.18_p16-r1:20240106-221922.log
Comment 3 Toralf Förster gentoo-dev 2024-01-07 15:55:47 UTC
Created attachment 881611 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2024-01-07 15:55:48 UTC
Created attachment 881612 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-07 15:55:49 UTC
Created attachment 881613 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-07 15:55:50 UTC
Created attachment 881614 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-07 15:55:51 UTC
Created attachment 881615 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-07 15:55:52 UTC
Created attachment 881616 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2024-01-07 15:55:53 UTC
Created attachment 881617 [details]
temp.tar.xz
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-15 04:12:47 UTC
I think this got fixed by https://github.com/python/cpython/commit/dc191245d8f63f5ab41afff0468b7463a07e7b00.