In file included from /usr/include/ruby-3.1.0/ruby/internal/core.h:34, from /usr/include/ruby-3.1.0/ruby/ruby.h:28: /usr/include/ruby-3.1.0/ruby/internal/core/rtypeddata.h:247:15: note: reserved declared here 247 | void *reserved[1]; /* For future extension. | ^~~~~~~~ rb_channel.c: In function grpc_rb_channel_polling_thread_start: rb_channel.c:764:40: error: passing argument 1 of rb_thread_create from incompatible pointer type [-Wincompatible-pointer-types] 764 | background_thread = rb_thread_create(run_poll_channels_loop, NULL); | ^~~~~~~~~~~~~~~~~~~~~~ ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_desktop_gnome_systemd-20231227-054504 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-14 * clang/llvm (if any): clang version 17.0.6 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/17/bin Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg /usr/lib/llvm/17 17.0.6 Python 3.11.7 Available Ruby profiles: [1] ruby31 (with Rubygems) * Available Rust versions: [1] rust-bin-1.74.1 * The following VMs are available for generation-2: 1) Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17] *) Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21] 3) Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 [2] openjdk-bin-17 [3] openjdk-bin-21 system-vm The Glorious Glasgow Haskell Compilation System, version 9.2.8 php cli (if any): go version go1.21.5 linux/amd64 HEAD of ::gentoo commit 6ba7b66d9a2acb4a6fb9d295fee811d67bfd608d Author: Repository mirror & CI <repomirrorci@gentoo.org> Date: Sat Dec 30 19:32:00 2023 +0000 2023-12-30 19:31:59 UTC emerge -qpvO dev-ruby/grpc [ebuild N ] dev-ruby/grpc-1.54.0 USE="-doc -test" RUBY_TARGETS="ruby31 -ruby32 -ruby33"
Created attachment 881043 [details] emerge-info.txt
Created attachment 881044 [details] dev-ruby:grpc-1.54.0:20231230-213956.log.xz
Created attachment 881045 [details] emerge-history.txt
Created attachment 881046 [details] environment
Created attachment 881047 [details] etc.clang.tar.xz
Created attachment 881048 [details] etc.portage.tar.xz
Created attachment 881049 [details] qlist-info.txt.xz
FWIW this package does not respect -j4 : ├─sudo(7185)───bwrap.sh(7263)───bwrap(7614)───bwrap(7627)───entrypoint(7659)───timeout(15818)───emerge(15821)─┬─python3.11(18291)───python3.11(18303)───bash(18395)───sleep(23596) │ └─bash(18295)───ansifilter(18299) ├─sudo(7264)───bwrap.sh(7333)───bwrap(7624)───bwrap(7630)───entrypoint(7663)───timeout(4526)───emerge(4529)─┬─python3.11(18723)───python3.11(18751)───sandbox(18837,portage)───bash(18850)───bash(18933)───ruby31(19040)───make(19166)─┬─x86_64-pc-linux(4027)─┬─cc1plus(4051) │ └─as(4060) ... ├─x86_64-pc-linux(4134)─┬─cc1plus(4165) │ └─as(4178) <repeated 50x>
Created attachment 881187 [details] ps-faux-20240101-081834-46.txt ps faux
https://github.com/grpc/grpc/blob/master/src/ruby/ext/grpc/extconf.rb#L129 We need to set GRPC_RUBY_BUILD_PROCS.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=470e544d6e3d1fa514eb23aac769ad9953379eff commit 470e544d6e3d1fa514eb23aac769ad9953379eff Author: Sam James <sam@gentoo.org> AuthorDate: 2024-09-11 22:11:06 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-09-11 22:12:25 +0000 dev-ruby/grpc: respect MAKEOPTS extconf.rb uses nproc otherwise. Bug: https://bugs.gentoo.org/921103 Signed-off-by: Sam James <sam@gentoo.org> dev-ruby/grpc/grpc-1.54.0.ebuild | 8 +++++++- dev-ruby/grpc/grpc-1.59.2.ebuild | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-)
dev-ruby/grpc-1.59.2-r1 also doesn't build with gcc 14
Should be fixed by: commit cdfb7a344fa4b1fd8b91502c545a20f8fbc52a3f Author: Tomás Carvalho <tomas@thetimesweeper.com> Date: Thu Oct 3 11:50:41 2024 +0100 dev-ruby/grpc: add 1.66.0 Signed-off-by: Tomás Carvalho <tomas@thetimesweeper.com> Closes: https://github.com/gentoo/gentoo/pull/38861 Signed-off-by: Sam James <sam@gentoo.org>
(In reply to Sam James from comment #13) > Should be fixed by: > > commit cdfb7a344fa4b1fd8b91502c545a20f8fbc52a3f > Author: Tomás Carvalho <tomas@thetimesweeper.com> > Date: Thu Oct 3 11:50:41 2024 +0100 > > dev-ruby/grpc: add 1.66.0 > > Signed-off-by: Tomás Carvalho <tomas@thetimesweeper.com> > Closes: https://github.com/gentoo/gentoo/pull/38861 > Signed-off-by: Sam James <sam@gentoo.org> also fails
Created attachment 905006 [details] build.log.xz
Let's discuss that in bug 939544 as it's a separate but related error.