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

Bug 919162

Summary: games-puzzle/gnome-sudoku-45.2 - src/.../gnome-sudoku.c: error: passing argument 3 of gtk_application_set_accels_for_action from incompatible pointer
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: CONFIRMED ---    
Severity: normal CC: jy6x2b32pie9, leio
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: emerge-info.txt
emerge-history.txt.xz
environment
etc.clang.tar.xz
etc.portage.tar.xz
games-puzzle:gnome-sudoku-45.2:20231204-024910.log
logs.tar.xz
qlist-info.txt.xz
temp.tar.xz

Description Toralf Förster gentoo-dev 2023-12-04 17:31:28 UTC
too long lines were shrinked:

[138/148] /usr/bin/valac-0.56 -C --vapidir /var/tmp/portage/games-puzzle/gnome-sudoku-45.2/work/gnome-sudoku-45.2/lib --pkg libadwaita-1 --pkg qqwing --pkg json-glib-1.0 --pkg gee-0.8 --pkg gtk4 --color=always --directory src/gnome-sudoku.p --basedir ../gnome-sudoku-45.2/src --gresources=../gnome-su
[139/148] x86_64-pc-linux-gnu-gcc -Isrc/gnome-sudoku.p -Isrc -I../gnome-sudoku-45.2/src -Ilib -I../gnome-sudoku-45.2/lib -Idata -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/graphene-
[140/148] x86_64-pc-linux-gnu-gcc -Isrc/gnome-sudoku.p -Isrc -I../gnome-sudoku-45.2/src -Ilib -I../gnome-sudoku-45.2/lib -Idata -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/graphene-
FAILED: src/gnome-sudoku.p/meson-generated_gnome-sudoku.c.o 
x86_64-pc-linux-gnu-gcc -Isrc/gnome-sudoku.p -Isrc -I../gnome-sudoku-45.2/src -Ilib -I../gnome-sudoku-45.2/lib -Idata -I/usr/include/gtk-4.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/graphene-1.0 -I/usr
src/gnome-sudoku.p/gnome-sudoku.c: In function sudoku_real_startup:
src/gnome-sudoku.p/gnome-sudoku.c:788:88: error: passing argument 3 of gtk_application_set_accels_for_action from incompatible pointer type [-Wincompatible-pointer-types]
  788 |         gtk_application_set_accels_for_action ((GtkApplication*) self, "app.new-game", _tmp19_);
      |                                                                                        ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no_multilib_hardened-20231123-161100

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

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.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0
  [2]   rust-1.73.0 *
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

php cli (if any):
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit 3f01f59f62073e628e4a15cdfe46882bc92792c9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Dec 3 23:32:03 2023 +0000

    2023-12-03 23:32:02 UTC

emerge -qpvO games-puzzle/gnome-sudoku
[ebuild  N    ] games-puzzle/gnome-sudoku-45.2
Comment 1 Toralf Förster gentoo-dev 2023-12-04 17:31:29 UTC
Created attachment 876629 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-04 17:31:30 UTC
Created attachment 876630 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-04 17:31:32 UTC
Created attachment 876631 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-04 17:31:33 UTC
Created attachment 876632 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-04 17:31:34 UTC
Created attachment 876633 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-04 17:31:35 UTC
Created attachment 876634 [details]
games-puzzle:gnome-sudoku-45.2:20231204-024910.log
Comment 7 Toralf Förster gentoo-dev 2023-12-04 17:31:36 UTC
Created attachment 876635 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-04 17:31:37 UTC
Created attachment 876636 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-04 17:31:38 UTC
Created attachment 876637 [details]
temp.tar.xz
Comment 10 NHO 2024-03-25 11:46:03 UTC
Bug obsolete, fixed in 45.3, version with fix is in tree
Comment 11 Mart Raudsepp gentoo-dev 2024-03-25 12:52:18 UTC
Do you know which upstream commmit it was? I don't see anything relevant. Was it perhaps a change/workaround in newer vala instead?
Comment 12 NHO 2024-03-25 17:14:01 UTC
Sadly, no. I just successfully emerged gnome-sudoku-45.3 with clang-17 and with gcc-13 with needed warnings from wiki article enabled.

As there are no follow-up reports from tinderbox about gnome-sudoku-45.3 or gnome-sudoku-45.5, I presumed that problem is gone.