Created attachment 915607 [details] ruby 341 emake failure data per request/Sam James; httpsbugs.gentoo.org/947190 comment 2: (In reply to publiccontact2020 from comment #1) > cmake failed > > make[2]: Leaving directory > '/var/tmp/portage/portage/dev-lang/ruby-3.4.1/work/ruby-3.4.1/ext/openssl' > make[1]: Leaving directory > '/var/tmp/portage/portage/dev-lang/ruby-3.4.1/work/ruby-3.4.1' > make: *** [uncommon.mk:415: build-ext] Error 2 > [31;01m*[0m ERROR: dev-lang/ruby-3.4.1::gentoo failed (compile phase): > [31;01m*[0m emake failed Please file a separate bug for this issue with the full build.log and emerge --info. Data attached.
``` x86_64-pc-linux-gnu-gcc -I. -I../../.ext/include/x86_64-linux -I../.././include -I../.././ext/socket -I../.. -I../../. -DRUBY_EXTCONF_H=\"extconf.h\" -fPIC -march=native -O2 -pipe -fno-strict-aliasing -fPIC -o init.o -c init.c [01m[Kinit.c:[m[K In function ‘[01m[Ksocks_connect_blocking[m[K’: [01m[Kinit.c:577:19:[m[K [01;31m[Kerror: [m[Ktoo many arguments to function ‘[01m[KRconnect[m[K’ 577 | return (VALUE)[01;31m[KRconnect[m[K(arg->fd, arg->sockaddr, arg->len); | [01;31m[K^~~~~~~~[m[K In file included from [01m[Kinit.c:11[m[K: [01m[Krubysocket.h:296:5:[m[K [01;36m[Knote: [m[Kdeclared here 296 | int [01;36m[KRconnect[m[K(); | [01;36m[K^~~~~~~~[m[K make[2]: *** [Makefile:269: init.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/portage/dev-lang/ruby-3.4.1/work/ruby-3.4.1/ext/socket' make[1]: *** [exts.mk:320: ext/socket/all] Error 2 make[1]: *** Waiting for unfinished jobs.... mkdir -p ../../.ext/.timestamp ../../.ext/comm ``` This is C23 specific.
*** This bug has been marked as a duplicate of bug 945502 ***