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

Bug 924762

Summary: media-gfx/displaycal-py3-3.9.10-r3 - DisplayCAL/RealDisplaySizeMM.c: error: passing argument 12 of XRRGetOutputProperty from incompatible pointer type
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Nick Sarnie <sarnex>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/eoyilmaz/displaycal-py3/issues/297
https://github.com/eoyilmaz/displaycal-py3/issues/336
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.clang.tar.xz
etc.portage.tar.xz
media-gfx:displaycal-py3-3.9.10-r3:20240217-005815.log
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2024-02-17 08:05:33 UTC
too long lines were shrinked:

desktopfile: /var/tmp/portage/media-gfx/displaycal-py3-3.9.10-r3/work/DisplayCAL-3.9.10/DisplayCAL/../misc/displaycal-vrml-to-x3d-converter.desktop
2024-02-17 00:58:23,538 root INFO building 'DisplayCAL.lib64.python311.RealDisplaySizeMM' extension
2024-02-17 00:58:23,538 root INFO creating /var/tmp/portage/media-gfx/displaycal-py3-3.9.10-r3/work/DisplayCAL-3.9.10-python3_11/build/temp.linux-x86_64-cpython-311
2024-02-17 00:58:23,538 root INFO creating /var/tmp/portage/media-gfx/displaycal-py3-3.9.10-r3/work/DisplayCAL-3.9.10-python3_11/build/temp.linux-x86_64-cpython-311/DisplayCAL
2024-02-17 00:58:23,538 root INFO x86_64-pc-linux-gnu-gcc -Wsign-compare -DNDEBUG -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -DUNIX -I/usr/include/python3.11 -c DisplayCAL/RealDisplaySizeMM.c -o /var/tmp/portage/media-gfx/displaycal-py3-3.9.10-r3/work/DisplayCAL-3.9.10-python3_11/
DisplayCAL/RealDisplaySizeMM.c: In function get_displays:
DisplayCAL/RealDisplaySizeMM.c:871:71: error: passing argument 12 of XRRGetOutputProperty from incompatible pointer type [-Wincompatible-pointer-types]
  871 |                                     &ret_type, &ret_format, &ret_len, &ret_togo, &atomv) == Success
      |                                                                       ^~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome-20240212-000556

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

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.8
Available Ruby profiles:
  [1]   ruby31 (with Rubygems)
  [2]   ruby32 (with Rubygems)
  [3]   ruby33 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.75.0 *
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.22.0 linux/amd64

  HEAD of ::gentoo
commit 5965cc49e80c0a9a6130e81e580caabac260b916
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sat Feb 17 00:19:00 2024 +0000

    2024-02-17 00:18:59 UTC

emerge -qpvO media-gfx/displaycal-py3
[ebuild  N    ] media-gfx/displaycal-py3-3.9.10-r3  USE="-debug" PYTHON_TARGETS="python3_11 -python3_10"
Comment 1 Toralf Förster gentoo-dev 2024-02-17 08:05:33 UTC
Created attachment 885204 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-02-17 08:05:35 UTC
Created attachment 885205 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-02-17 08:05:36 UTC
Created attachment 885206 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-02-17 08:05:37 UTC
Created attachment 885207 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-02-17 08:05:38 UTC
Created attachment 885208 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-02-17 08:05:39 UTC
Created attachment 885209 [details]
media-gfx:displaycal-py3-3.9.10-r3:20240217-005815.log
Comment 7 Toralf Förster gentoo-dev 2024-02-17 08:05:40 UTC
Created attachment 885210 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-02-17 08:05:41 UTC
Created attachment 885211 [details]
temp.tar.xz
Comment 9 NHO 2024-04-25 11:41:56 UTC
Upstream issue appears to be: https://github.com/eoyilmaz/displaycal-py3/issues/336 or https://github.com/eoyilmaz/displaycal-py3/issues/297
It is not fixed in any upstream release, but fixed in commit https://github.com/eoyilmaz/displaycal-py3/issues/336