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

Bug 884311

Summary: dev-ruby/ruby-gtk2-3.4.3 fails to compile (CLANG-STRICTER-SYSTEM): rbgtkwidget.c:1141:5: error: incompatible function pointer types passing VALUE (VALUE, VALUE) (aka unsigned long (unsigned long, unsigned long)) to parameter of type VALUE ()(VALUE) (aka
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED OBSOLETE    
Severity: normal CC: treecleaner
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 870412    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2022-12-04 14:48:35 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/ruby-gtk2-3.4.3 fails to compile (CLANG-STRICTER-SYSTEM).
Discovered on: amd64 (internal ref: clang-stricter_tinderbox)

NOTE:
(CLANG-STRICTER-SYSTEM) in the summary means that the bug was found on a machine that runs clang with stricter mode

This machine uses clang with CFLAGS/CXXFLAGS=-Werror=implicit-function-declaration -Werror=implicit-int -Werror=incompatible-function-pointer-types

See also:
https://archives.gentoo.org/gentoo-dev/message/dd9f2d3082b8b6f8dfbccb0639e6e240
https://wiki.gentoo.org/wiki/Modern_C_porting
Comment 1 Agostino Sarubbo gentoo-dev 2022-12-04 14:48:37 UTC
Created attachment 839813 [details]
build.log

build log and emerge --info
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-10-26 16:57:35 UTC
commit d4133ffe69d4690fac3eec0991ff3b6b88bad00b
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2023-07-12 06:57:40 +0200
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2023-07-12 06:59:18 +0200

    dev-ruby/ruby-gtk2: remove masked package
    
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>