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

Bug 920060

Summary: dev-python/pypy3_9-exe-7.3.13 - implement_12.c: error: passing argument 4 of openpty from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: normal CC: jy6x2b32pie9, mgorny
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=918971
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
dev-python:pypy3_9-exe-7.3.13:20231215-201256.log.xz
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
logs.tar.xz
qlist-info.txt

Description Toralf Förster gentoo-dev 2023-12-15 22:44:23 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -Wno-address -O3 -pipe -march=native -fno-diagnostics-color -DPy_BUILD_CORE -DPYPY_JIT_CODEMAP -DPy_BUILD_CORE -DRPYTHON_VMPROF -DVMPROF_UNIX -DVMPROF_LINUX -DPy_BUILD_CORE -DHPY_UNIVERSAL_ABI -DRPYTHON_VMPROF -DRPYTHON_VMPR
x86_64-pc-linux-gnu-gcc -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -Wno-address -O3 -pipe -march=native -fno-diagnostics-color -DPy_BUILD_CORE -DPYPY_JIT_CODEMAP -DPy_BUILD_CORE -DRPYTHON_VMPROF -DVMPROF_UNIX -DVMPROF_LINUX -DPy_BUILD_CORE -DHPY_UNIVERSAL_ABI -DRPYTHON_VMPROF -DRPYTHON_VMPR
x86_64-pc-linux-gnu-gcc -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -Wno-address -O3 -pipe -march=native -fno-diagnostics-color -DPy_BUILD_CORE -DPYPY_JIT_CODEMAP -DPy_BUILD_CORE -DRPYTHON_VMPROF -DVMPROF_UNIX -DVMPROF_LINUX -DPy_BUILD_CORE -DHPY_UNIVERSAL_ABI -DRPYTHON_VMPROF -DRPYTHON_VMPR
x86_64-pc-linux-gnu-gcc -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -Wno-address -O3 -pipe -march=native -fno-diagnostics-color -DPy_BUILD_CORE -DPYPY_JIT_CODEMAP -DPy_BUILD_CORE -DRPYTHON_VMPROF -DVMPROF_UNIX -DVMPROF_LINUX -DPy_BUILD_CORE -DHPY_UNIVERSAL_ABI -DRPYTHON_VMPROF -DRPYTHON_VMPR
x86_64-pc-linux-gnu-gcc -O3 -pthread -fomit-frame-pointer -Wall -Wno-unused -Wno-address -O3 -pipe -march=native -fno-diagnostics-color -DPy_BUILD_CORE -DPYPY_JIT_CODEMAP -DPy_BUILD_CORE -DRPYTHON_VMPROF -DVMPROF_UNIX -DVMPROF_LINUX -DPy_BUILD_CORE -DHPY_UNIVERSAL_ABI -DRPYTHON_VMPROF -DRPYTHON_VMPR
implement_12.c: In function pypy_g_ccall_openpty__arrayPtr_arrayPtr_arrayPtr_arrayP:
implement_12.c:17612:59: error: passing argument 4 of openpty from incompatible pointer type [-Wincompatible-pointer-types]
17612 |         l_v300513 = openpty(l_a0_396, l_a1_282, l_a2_156, l_a3_72, l_a4_38);
      |                                                           ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_systemd_merged_usr-20231214-160504

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

gcc-config -l:
 [1] 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:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   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 c625fc421d10ff68171a6f212678f6e5c7f8aa82
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 15 19:17:01 2023 +0000

    2023-12-15 19:17:00 UTC

emerge -qpvO dev-python/pypy3_9-exe
[ebuild  N    ] dev-python/pypy3_9-exe-7.3.13  USE="jit ncurses -low-memory" CPU_FLAGS_X86="sse2"
Comment 1 Toralf Förster gentoo-dev 2023-12-15 22:44:24 UTC
Created attachment 879527 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-15 22:44:25 UTC
Created attachment 879528 [details]
dev-python:pypy3_9-exe-7.3.13:20231215-201256.log.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-15 22:44:26 UTC
Created attachment 879529 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2023-12-15 22:44:27 UTC
Created attachment 879530 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2023-12-15 22:44:28 UTC
Created attachment 879531 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-15 22:44:29 UTC
Created attachment 879532 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-15 22:44:30 UTC
Created attachment 879533 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-15 22:44:31 UTC
Created attachment 879534 [details]
qlist-info.txt
Comment 9 Toralf Förster gentoo-dev 2023-12-15 22:44:32 UTC
The file size of ./files/temp.tar.xz is too big (47M) for an upload. For few weeks the link http://tinderbox.zwiebeltoralf.de:31560/17.1_no_multilib_systemd_merged_usr-20231214-160504/var/tmp/tb/issues/20231215-204505-dev-python_pypy3_9-exe-7.3.13/files/temp.tar.xz is valid.
Comment 10 NHO 2024-04-25 15:32:52 UTC
Can't reproduce with dev-python/pypy3_9-exe-7.3.16 on clang-musl with -Werror=incompatible-pointer-types enabled.

I think this bug is obsolete now.
Comment 11 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2024-04-25 16:02:31 UTC
Thanks!