Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921571 - dev-lang/python-2.7.18_p16-r1[tk] - /.../_tkinter.c: error: passing argument 1 of Tcl_NewUnicodeObj from incompatible pointer type [-Wincompatible-pointer
Summary: dev-lang/python-2.7.18_p16-r1[tk] - /.../_tkinter.c: error: passing argument ...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-07 15:55 UTC by Toralf Förster
Modified: 2024-04-11 01:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,21.41 KB, text/plain)
2024-01-07 15:55 UTC, Toralf Förster
Details
dev-lang:python-2.7.18_p16-r1:20240106-221922.log (dev-lang:python-2.7.18_p16-r1:20240106-221922.log,136.96 KB, text/plain)
2024-01-07 15:55 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,187.76 KB, text/plain)
2024-01-07 15:55 UTC, Toralf Förster
Details
environment (environment,111.79 KB, text/plain)
2024-01-07 15:55 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-07 15:55 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.10 KB, application/x-xz)
2024-01-07 15:55 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,21.22 KB, application/x-xz)
2024-01-07 15:55 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,51.85 KB, application/x-xz)
2024-01-07 15:55 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,36.62 KB, application/x-xz)
2024-01-07 15:55 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
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.