Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 884311 - 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
Summary: dev-ruby/ruby-gtk2-3.4.3 fails to compile (CLANG-STRICTER-SYSTEM): rbgtkwidge...
Status: RESOLVED OBSOLETE
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:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2022-12-04 14:48 UTC by Agostino Sarubbo
Modified: 2023-10-26 16:57 UTC (History)
1 user (show)

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


Attachments
build.log (build.log,171.53 KB, text/plain)
2022-12-04 14:48 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
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>