Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921145 - dev-ruby/ruby-gtk3-4.1.2 - rb-gtk3-spin-button.c: error: passing argument 3 of rb_rescue from incompatible pointer type [-Wincompatible-pointer-types]
Summary: dev-ruby/ruby-gtk3-4.1.2 - rb-gtk3-spin-button.c: error: passing argument 3 o...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Ruby Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2024-01-01 10:18 UTC by Toralf Förster
Modified: 2024-03-17 03:54 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.32 KB, text/plain)
2024-01-01 10:18 UTC, Toralf Förster
Details
dev-ruby:ruby-gtk3-4.1.2:20240101-073810.log (dev-ruby:ruby-gtk3-4.1.2:20240101-073810.log,13.38 KB, text/plain)
2024-01-01 10:18 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,61.14 KB, application/x-xz)
2024-01-01 10:18 UTC, Toralf Förster
Details
environment (environment,92.52 KB, text/plain)
2024-01-01 10:18 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.12 KB, application/x-xz)
2024-01-01 10:18 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,24.77 KB, application/x-xz)
2024-01-01 10:18 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.85 KB, application/x-xz)
2024-01-01 10:18 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,69.20 KB, application/x-xz)
2024-01-01 10:18 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-01 10:18:32 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -I. -I/usr/lib64/ruby/gems/3.1.0/gems/cairo-1.17.13/ext/cairo/../../lib -I/var/tmp/portage/dev-ruby/ruby-gtk3-4.1.2/work/ruby31/ruby-gnome-4.1.2/pango/ext/pango -I/var/tmp/portage/dev-ruby/ruby-gtk3-4.1.2/work/ruby31/ruby-gnome-4.1.2/cairo-gobject/ext/cairo-gobject -I/var/tmp
cc1: warning: /usr/lib64/ruby/gems/3.1.0/gems/cairo-1.17.13/ext/cairo/../../lib: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/lib64/ruby/gems/3.1.0/gems/cairo-1.17.13/ext/cairo/../../lib: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/lib64/ruby/gems/3.1.0/gems/cairo-1.17.13/ext/cairo/../../lib: No such file or directory [-Wmissing-include-dirs]
cc1: warning: /usr/lib64/ruby/gems/3.1.0/gems/cairo-1.17.13/ext/cairo/../../lib: No such file or directory [-Wmissing-include-dirs]
rb-gtk3-spin-button.c: In function rb_gtk3_spin_button_input:
rb-gtk3-spin-button.c:70:15: error: passing argument 3 of rb_rescue from incompatible pointer type [-Wincompatible-pointer-types]
   70 |               rb_gtk3_spin_button_input_rescue, (VALUE)&input_data);
      |               ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231227-054504

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

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:
  [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 ab93a7a7fe943e3c0bb69d48586e8563019a5841
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Jan 1 04:17:03 2024 +0000

    2024-01-01 04:17:03 UTC

emerge -qpvO dev-ruby/ruby-gtk3
[ebuild  N    ] dev-ruby/ruby-gtk3-4.1.2  USE="-test" RUBY_TARGETS="ruby31 -ruby32"
Comment 1 Toralf Förster gentoo-dev 2024-01-01 10:18:33 UTC
Created attachment 881169 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-01-01 10:18:34 UTC
Created attachment 881170 [details]
dev-ruby:ruby-gtk3-4.1.2:20240101-073810.log
Comment 3 Toralf Förster gentoo-dev 2024-01-01 10:18:35 UTC
Created attachment 881171 [details]
emerge-history.txt.xz
Comment 4 Toralf Förster gentoo-dev 2024-01-01 10:18:36 UTC
Created attachment 881172 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2024-01-01 10:18:37 UTC
Created attachment 881173 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-01-01 10:18:38 UTC
Created attachment 881174 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-01-01 10:18:39 UTC
Created attachment 881175 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2024-01-01 10:18:40 UTC
Created attachment 881176 [details]
qlist-info.txt.xz
Comment 10 Hans de Graaff gentoo-dev Security 2024-01-02 14:42:09 UTC
This looks to be fixed in 4.2.0 so we just need a regular bump of all the ruby-gnome packages.
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-03-17 03:54:18 UTC
(In reply to Hans de Graaff from comment #10)
> This looks to be fixed in 4.2.0 so we just need a regular bump of all the
> ruby-gnome packages.

I'll put that on the list to do.
Comment 12 Larry the Git Cow gentoo-dev 2024-03-17 03:54:34 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b6faa8581ee570c3256f6700db984f394d87748

commit 7b6faa8581ee570c3256f6700db984f394d87748
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-17 03:54:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-17 03:54:07 +0000

    dev-ruby/ruby-gtk3: fix modern C issue
    
    Closes: https://bugs.gentoo.org/921145
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-ruby/ruby-gtk3/files/ruby-gtk3-4.1.2-c99.patch | 29 ++++++++++++++++++
 dev-ruby/ruby-gtk3/ruby-gtk3-4.1.2-r1.ebuild       | 34 ++++++++++++++++++++++
 2 files changed, 63 insertions(+)