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

Bug 943988

Summary: dev-ruby/io-console-0.7.2 fails to compile: anyargs.h:287:135: error: passing argument 3 of rb_define_method_m3 from incompatible pointer type [-Wincompatible-pointer-types]
Product: Gentoo Linux Reporter: Agostino Sarubbo <ago>
Component: Current packagesAssignee: Gentoo Ruby Team <ruby>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 880545    
Attachments: build.log

Description Agostino Sarubbo gentoo-dev 2024-11-19 10:43:13 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-ruby/io-console-0.7.2 fails to compile.
Discovered on: amd64 (internal ref: tinderbox_musl)
System: MUSL-SYSTEM (https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#MUSL)

Info about the issue:
https://wiki.gentoo.org/wiki/Project:Tinderbox/Common_Issues_Helper#CF0003
Comment 1 Agostino Sarubbo gentoo-dev 2024-11-19 10:43:14 UTC
Created attachment 910172 [details]
build.log

build log and emerge --info
Comment 2 Hans de Graaff gentoo-dev Security 2024-11-26 06:44:25 UTC

*** This bug has been marked as a duplicate of bug 943784 ***
Comment 3 Hans de Graaff gentoo-dev Security 2024-12-01 09:38:13 UTC
Re-opening because the fixes that are relevant for dev-ruby/brotli won't apply here.
Comment 4 Hans de Graaff gentoo-dev Security 2024-12-13 13:12:27 UTC
commit 09b4524862a03f6e11a9e42d7913f82c66e65b63
Author: Hans de Graaff <graaff@gentoo.org>
Date:   Sun Dec 8 09:23:12 2024 +0100

    ruby-fakegem.eclass: compile ruby31 extensions with gnu17
    
    The varargs implementation in Ruby 3.2 is not compatible with gnu23. Ruby
    3.1 is in security maintenance mode upstream so it is unlikely that the
    fixes from Ruby 3.2 will be backported. Ruby 3.1 is EOL in March 2025
    and will be removed from Gentoo around that time.
    
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>