from /usr/include/ruby-3.4.0/ruby/defines.h:72, from /usr/include/ruby-3.4.0/ruby/ruby.h:25, from /usr/include/ruby-3.4.0/ruby.h:38, from src/ruby/nxt_ruby.h:11, from src/ruby/nxt_ruby.c:6: src/ruby/nxt_ruby.c: In function nxt_ruby_thread_create_gvl: /usr/include/ruby-3.4.0/ruby/internal/anyargs.h:363:45: error: passing argument 1 of rb_thread_create from incompatible pointer type [-Wincompatible-pointer-types] 363 | # define RUBY_METHOD_FUNC(func) RBIMPL_CAST((VALUE (*)(ANYARGS))(func)) /usr/include/ruby-3.4.0/ruby/internal/cast.h:31:29: note: in definition of macro RBIMPL_CAST ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 23.0_no_multilib_hardened_systemd-20250310-031002 KEYWORDED/UNMASKED [ffmpeg] Requested by sam <media-video/ffmpeg-9999 =media-video/ffmpeg-7* [gcc-15] Requested by sam <sys-devel/gcc-15.0.9999:15 <sys-devel/gcc-15.0.9999:15 [go-1.24] Requested by WilliamH - maybe block bug 950018 <dev-lang/go-9999 <dev-lang/go-9999 The attached etc.portage.tar.xz has all details. ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-15 * clang version 20.1.0 llvm-config: 20.1.0 Python 3.12.9 go version go1.24.1 linux/amd64 Available Ruby profiles: [1] ruby32 (with Rubygems) [2] ruby34 (with Rubygems) * Available Rust versions: [1] rust-bin-1.85.0 [2] rust-1.85.0 * The following VMs are available for generation-2: *) Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm HEAD of ::gentoo commit 5ae5106b8383b2f8911bfbafe1a7fde72490c472 Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sun Mar 16 02:48:30 2025 +0000 2025-03-16 02:48:29 UTC emerge -qpvO =www-servers/nginx-unit-1.34.2 [ebuild N ] www-servers/nginx-unit-1.34.2 USE="ruby ssl -perl -php8-3 -python" PYTHON_SINGLE_TARGET="python3_12 -python3_13"
Created attachment 920884 [details] emerge-info.txt
Created attachment 920885 [details] emerge-history.txt.xz
Created attachment 920886 [details] environment
Created attachment 920887 [details] etc.clang.tar.xz
Created attachment 920888 [details] etc.portage.tar.xz
Created attachment 920889 [details] logs.tar.xz
Created attachment 920890 [details] qlist-info.txt.xz
Created attachment 920891 [details] temp.tar.xz
Created attachment 920892 [details] www-servers:nginx-unit-1.34.2:20250316-034149.log
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6af387d000430cd399d53b8b91021ffeef08e51 commit c6af387d000430cd399d53b8b91021ffeef08e51 Author: Mike Pagano <mpagano@gentoo.org> AuthorDate: 2025-03-17 21:15:17 +0000 Commit: Mike Pagano <mpagano@gentoo.org> CommitDate: 2025-03-17 21:15:17 +0000 www-servers/nginx-unit: Fix compilation error Closes: https://bugs.gentoo.org/951447 Signed-off-by: Mike Pagano <mpagano@gentoo.org> www-servers/nginx-unit/nginx-unit-1.34.2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
That isn't the right fix for this -- see https://wiki.gentoo.org/wiki/Modern_C_porting#Unprototyped_functions. It's better to do -std=gnu17 (with an upstream report) as a workaround than it is to -Wno-x or -Wno-error=x.
I'm having a quick look. I remember looking into this before for another package (the Ruby thing).
See https://github.com/grpc/grpc/pull/34481/files where they launder it with a wrapper. That needs to be done here too. Can you report it upstream?