Summary: | dev-lang/ruby-3.4.1: fails to build w/ gcc-15 (init.c: error: too many arguments to function 'Rconnect') | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | publiccontact2020 |
Component: | Current packages | Assignee: | Gentoo Ruby Team <ruby> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 880545 | ||
Attachments: | ruby 341 emake failure data |
Description
publiccontact2020
2024-12-31 16:03:33 UTC
``` 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 *** |