Summary: | Ruby extensions can't be built with -std=gnu23 because of ANYARGS macro (dev-ruby/brotli-0.6.0 - [libtool] [gcc-15] /.../anyargs.h: error: passing argument 3 of rb_define_singleton_method_m1 from incompatible pointer type) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ago |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: |
https://bugs.ruby-lang.org/issues/20908 https://github.com/miyucy/brotli/pull/50 |
||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: |
emerge-info.txt
dev-ruby:brotli-0.6.0:20241118-050845.log emerge-history.txt.xz environment etc.clang.tar.xz etc.portage.tar.xz logs.tar.xz qlist-info.txt.xz |
Description
Toralf Förster
![]() Created attachment 909017 [details]
emerge-info.txt
Created attachment 909018 [details]
dev-ruby:brotli-0.6.0:20241118-050845.log
Created attachment 909019 [details]
emerge-history.txt.xz
Created attachment 909020 [details]
environment
Created attachment 909021 [details]
etc.clang.tar.xz
Created attachment 909022 [details]
etc.portage.tar.xz
Created attachment 909023 [details]
logs.tar.xz
Created attachment 909024 [details]
qlist-info.txt.xz
graaff and I discussed this on IRC and I've filed https://bugs.ruby-lang.org/issues/20908. *** Bug 943988 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd10b2415464fd308a07e50545202a1ee82d2ed5 commit dd10b2415464fd308a07e50545202a1ee82d2ed5 Author: Hans de Graaff <graaff@gentoo.org> AuthorDate: 2024-12-01 08:52:10 +0000 Commit: Hans de Graaff <graaff@gentoo.org> CommitDate: 2024-12-01 09:38:29 +0000 dev-ruby/brotli: fix gnu23 compilation Closes: https://bugs.gentoo.org/943784 Signed-off-by: Hans de Graaff <graaff@gentoo.org> dev-ruby/brotli/brotli-0.6.0-r1.ebuild | 39 ++++++++++++++++++ .../brotli/files/brotli-0.6.0-definemethod.patch | 46 ++++++++++++++++++++++ 2 files changed, 85 insertions(+) |