Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919162 - games-puzzle/gnome-sudoku-45.2 - src/.../gnome-sudoku.c: error: passing argument 3 of gtk_application_set_accels_for_action from incompatible pointer
Summary: games-puzzle/gnome-sudoku-45.2 - src/.../gnome-sudoku.c: error: passing argum...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-04 17:31 UTC by Toralf Förster
Modified: 2024-03-25 17:14 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.36 KB, text/plain)
2023-12-04 17:31 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,93.34 KB, application/x-xz)
2023-12-04 17:31 UTC, Toralf Förster
Details
environment (environment,134.29 KB, text/plain)
2023-12-04 17:31 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.08 KB, application/x-xz)
2023-12-04 17:31 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,38.79 KB, application/x-xz)
2023-12-04 17:31 UTC, Toralf Förster
Details
games-puzzle:gnome-sudoku-45.2:20231204-024910.log (games-puzzle:gnome-sudoku-45.2:20231204-024910.log,50.35 KB, text/plain)
2023-12-04 17:31 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,3.68 KB, application/x-xz)
2023-12-04 17:31 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,91.93 KB, application/x-xz)
2023-12-04 17:31 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,33.79 KB, application/x-xz)
2023-12-04 17:31 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 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 jy6x2b32pie9 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 jy6x2b32pie9 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.