Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 910369 Details for
Bug 944046
net-misc/mrouted-4.5 - [libtool] [gcc-15] kern.c: error: too few arguments to function setsockopt
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-misc:mrouted-4.5:20241119-205236.log
net-misc:mrouted-4.5:20241119-205236.log (text/plain), 11.94 KB, created by
Toralf Förster
on 2024-11-19 21:27:08 UTC
(
hide
)
Description:
net-misc:mrouted-4.5:20241119-205236.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2024-11-19 21:27:08 UTC
Size:
11.94 KB
patch
obsolete
> * Package: net-misc/mrouted-4.5:0 > * Repository: gentoo > * USE: abi_x86_64 amd64 elibc_glibc kernel_linux > * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox > >>>> Unpacking source... >>>> Unpacking mrouted-4.5.tar.gz to /var/tmp/portage/net-misc/mrouted-4.5/work >>>> Source unpacked in /var/tmp/portage/net-misc/mrouted-4.5/work >>>> Preparing source in /var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5 ... >>>> Source prepared. >>>> Configuring source in /var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5 ... >./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/mrouted-4.5 --htmldir=/usr/share/doc/mrouted-4.5/html --libdir=/usr/lib64 --disable-test >configure: loading site script /usr/share/config.site >configure: loading site script /usr/share/config.site.d/80crossdev.conf >checking for a BSD-compatible install... /usr/lib/portage/python3.12/ebuild-helpers/xattr/install -c >checking whether build environment is sane... yes >checking for a race-free mkdir -p... /usr/bin/mkdir -p >checking for gawk... gawk >checking whether make sets $(MAKE)... yes >checking whether make supports nested variables... yes >checking whether make supports nested variables... (cached) yes >checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc >checking whether the C compiler works... yes >checking for C compiler default output file name... a.out >checking for suffix of executables... >checking whether we are cross compiling... no >checking for suffix of object files... o >checking whether the compiler supports GNU C... yes >checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes >checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed >checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes >checking whether make supports the include directive... yes (GNU style) >checking dependency style of x86_64-pc-linux-gnu-gcc... none >checking for bison... bison -y >checking for x86_64-pc-linux-gnu-pkg-config... /usr/bin/x86_64-pc-linux-gnu-pkg-config >checking pkg-config is at least version 0.9.0... yes >checking for stdio.h... yes >checking for stdlib.h... yes >checking for string.h... yes >checking for inttypes.h... yes >checking for stdint.h... yes >checking for strings.h... yes >checking for sys/stat.h... yes >checking for sys/types.h... yes >checking for unistd.h... yes >checking for fcntl.h... yes >checking for ifaddrs.h... yes >checking for sys/ioctl.h... yes >checking for sys/time.h... yes >checking for linux/netlink.h... yes >checking for termios.h... yes >checking for net/if.h... yes >checking for netinet/igmp.h... yes >checking for pidfile in -lutil... no >checking for atexit... yes >checking for getifaddrs... yes >checking for pidfile... no >checking for strlcpy... yes >checking for strlcat... yes >checking for strtonum... no >checking for utimensat... yes >checking that generated files are newer than configure... done >configure: creating ./config.status >config.status: creating Makefile >config.status: creating man/Makefile >config.status: creating src/Makefile >config.status: creating test/Makefile >config.status: creating mrouted.service >config.status: creating config.h >config.status: executing depfiles commands > >------------------ Summary ------------------ > mrouted version 4.5 > Install prefix........: /usr > Configuration file....: /etc/mrouted.conf > PID and .sock files...: /var/lib/run/ > C Compiler............: x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,--defsym=__gentoo_check_ldflags__=0 > >Optional features: > systemd...............: no > Unit tests............: no > >------------- Compiler version -------------- >x86_64-pc-linux-gnu-gcc (Gentoo 15.0.0_pre20241117-r2 p26) 15.0.0 20241117 (experimental) >Copyright (C) 2024 Free Software Foundation, Inc. >This is free software; see the source for copying conditions. There is NO >warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. >--------------------------------------------- > >Check the above options and compile with: > make > >>>> Source configured. >>>> Compiling source in /var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5 ... >make -O -j4 CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ >make all-recursive >Making all in src >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-common.o `test -f 'common.c' || echo './'`common.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-config.o `test -f 'config.c' || echo './'`config.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-main.o `test -f 'main.c' || echo './'`main.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-icmp.o `test -f 'icmp.c' || echo './'`icmp.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-ipip.o `test -f 'ipip.c' || echo './'`ipip.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-igmp.o `test -f 'igmp.c' || echo './'`igmp.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-kern.o `test -f 'kern.c' || echo './'`kern.c >kern.c:107:24: error: two or more data types in declaration specifiers > 107 | void k_hdr_include(int bool) > | ^~~~ >kern.c: In function âk_hdr_includeâ: >kern.c:110:58: error: expected expression before âboolâ > 110 | if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &bool, sizeof(bool)) < 0) > | ^~~~ >kern.c:110:9: error: too few arguments to function âsetsockoptâ > 110 | if (setsockopt(igmp_socket, IPPROTO_IP, IP_HDRINCL, &bool, sizeof(bool)) < 0) > | ^~~~~~~~~~ >In file included from defs.h:26, > from kern.c:10: >/usr/include/sys/socket.h:277:12: note: declared here > 277 | extern int setsockopt (int __fd, int __level, int __optname, > | ^~~~~~~~~~ >kern.c:111:70: error: expected expression before âboolâ > 111 | logit(LOG_ERR, errno, "Failed setting socket IP_HDRINCL %u", bool); > | ^~~~ >make[2]: *** [Makefile:641: mrouted-kern.o] Error 1 >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: *** Waiting for unfinished jobs.... >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-cfparse.o `test -f 'cfparse.c' || echo './'`cfparse.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-inet.o `test -f 'inet.c' || echo './'`inet.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[2]: Entering directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DREGISTER_HANDLER -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_GNU_SOURCE -I../include -DSYSCONFDIR=\"/etc\" -DRUNSTATEDIR=\"/var/lib/run\" -DPRESERVEDIR=\"/var/lib/lib\" -DIOCTL_OK_ON_RAW_SOCKET -W -Wall -Wextra -Wno-unused -Wno-unused-parameter -O2 -pipe -march=native -fno-diagnostics-color -c -o mrouted-ipc.o `test -f 'ipc.c' || echo './'`ipc.c >make[2]: Leaving directory '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5/src' >make[1]: *** [Makefile:442: all-recursive] Error 1 >make: *** [Makefile:339: all] Error 2 > * ERROR: net-misc/mrouted-4.5::gentoo failed (compile phase): > * emake failed > * > * If you need support, post the output of `emerge --info '=net-misc/mrouted-4.5::gentoo'`, > * the complete build log and the output of `emerge -pqv '=net-misc/mrouted-4.5::gentoo'`. > * The complete build log is located at '/var/log/portage/net-misc:mrouted-4.5:20241119-205236.log'. > * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/mrouted-4.5/temp/build.log'. > * The ebuild environment file is located at '/var/tmp/portage/net-misc/mrouted-4.5/temp/environment'. > * Working directory: '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5' > * S: '/var/tmp/portage/net-misc/mrouted-4.5/work/mrouted-4.5' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 944046
:
910363
|
910364
|
910365
|
910366
|
910367
|
910368
| 910369 |
910370
|
910371