This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Am Samstag, 6. Juli 2019, 12:45:15 CEST schrieb Andreas K. Huettel: > > OK great, thank you. Rebuilding a test chroot against (un-hygienized) > > master glibc now, then I'll add your patches, rebuild glibc, and have the > > chroot rebuild itself again. > > Soo, this has definitely some blast radius. Before the extra patches, all > packages of the (rather minimal, system-only) chroot rebuilt fine against > glibc-master. > > Afterwards... not. Log snippets for the first half of fails are below, as is > the full list of packages in the chroot. I'll look at the second half of > the logs in the evening. > Here's the rest of the log snippets. Note that I didnt list all errors, only the first one(s). Also, more source files may be broken that the build doesnt even reach. /var/log/portage/build/sys-apps/iproute2-5.1.0:20190706-003817.log.gz x86_64-pc-linux-gnu-gcc -Wall -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wformat=2 -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -I../include -I ../include/uapi -DRESOLVE_HOSTNAMES -DLIBDIR=\"/lib64\" -DCONFDIR=\"/etc/iproute2\" -DNETNS_RUN_DIR=\"/var/run/netns\" -DNETNS_ETC_DIR=\"/etc/netns\" -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOU RCE -D_LARGEFILE64_SOURCE -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -DHAVE_LIBBSD -I/usr/include -DHAVE_SETNS -DHAVE_LIBMNL -I/usr/include -fPIC -c -o color.o color.c In file included from /usr/include/resolv.h:62, from ../include/utils.h:7, from color.c:12: /usr/include/bits/types/res_state.h:22:3: error: array type has incomplete element type ‘struct sockaddr_in’ 22 | nsaddr_list[MAXNS]; /* address of name server */ | ^~~~~~~~~~~ /usr/include/bits/types/res_state.h:33:18: error: field ‘addr’ has incomplete type 33 | struct in_addr addr; | ^~~~ /usr/include/bits/in.h:127:20: error: field ‘ip_dst’ has incomplete type 127 | struct in_addr ip_dst; /* First hop; zero without source route. */ | ^~~~~~ /usr/include/bits/in.h:134:20: error: field ‘imr_multiaddr’ has incomplete type 134 | struct in_addr imr_multiaddr; /* IP multicast address of group */ | ^~~~~~~~~~~~~ /usr/include/bits/in.h:135:20: error: field ‘imr_address’ has incomplete type 135 | struct in_addr imr_address; /* local IP address of interface */ | ^~~~~~~~~~~ /usr/include/bits/in.h:143:20: error: field ‘ipi_spec_dst’ has incomplete type 143 | struct in_addr ipi_spec_dst; /* Routing destination address */ | ^~~~~~~~~~~~ ... /var/log/portage/build/net-misc/openssh-8.0_p1-r2:20190706-004440.log.gz x86_64-pc-linux-gnu-gcc -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -pipe -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -fno-strict-aliasing -ftrapv -fno-builtin-memset -fstack-protector-strong -fPIE -I. -I.. -I. -I./.. -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DHAVE_CONFIG_H -c kludge-f d_set.c kludge-fd_set.c:19:27: error: unknown type name ‘fd_set’ 19 | void kludge_FD_SET(int n, fd_set *set) { | ^~~~~~ kludge-fd_set.c:22:28: error: unknown type name ‘fd_set’ 22 | int kludge_FD_ISSET(int n, fd_set *set) { | ^~~~~~ https://github.com/openssh/openssh-portable/blob/master/openbsd-compat/kludge-fd_set.c /var/log/portage/build/sys-process/psmisc-23.2-r2:20190706-004551.log.gz c -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -Wl,-O1 -Wl,--as-needed peekfd.c -o peekfd peekfd.c: In function ‘detach’: peekfd.c:103:2: warning: implicit declaration of function ‘signal’ [-Wimplicit-function-declaration] 103 | signal(SIGINT, SIG_DFL); | ^~~~~~ peekfd.c:103:9: error: ‘SIGINT’ undeclared (first use in this function) 103 | signal(SIGINT, SIG_DFL); | ^~~~~~ peekfd.c:103:9: note: each undeclared identifier is reported only once for each function it appears in peekfd.c:103:17: error: ‘SIG_DFL’ undeclared (first use in this function) 103 | signal(SIGINT, SIG_DFL); | ^~~~~~~ ... https://gitlab.com/psmisc/psmisc/blob/master/src/peekfd.c /var/log/portage/build/net-libs/libtirpc-1.1.4:20190706-004909.log.gz libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src -I.. -I/var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc -include config.h -DPORTMAP -DINET6 -D_GNU_SOURCE -Wall -pipe -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot. c -fPIC -DPIC -o .libs/libtirpc_la-authunix_prot.o In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39: /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:9: error: unknown type name ‘__u_char’ 75 | typedef __u_char u_char; | ^~~~~~~~ /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:75:18: error: conflicting types for ‘u_char’ 75 | typedef __u_char u_char; | ^~~~~~ In file included from /usr/include/sys/types.h:91, from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:41, from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39: /usr/include/bits/types/u_int.h:8:23: note: previous declaration of ‘u_char’ was here 8 | typedef unsigned char u_char; | ^~~~~~ In file included from /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/src/authunix_prot.c:39: /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:9: error: unknown type name ‘__u_short’ 76 | typedef __u_short u_short; | ^~~~~~~~~ /var/tmp/portage/net-libs/libtirpc-1.1.4/work/libtirpc-1.1.4/tirpc/rpc/types.h:76:19: error: conflicting types for ‘u_short’ 76 | typedef __u_short u_short; | ^~~~~~~ ... https://git.linux-nfs.org/?p=steved/libtirpc.git;a=blob;f=tirpc/rpc/types.h /var/log/portage/build/app-crypt/pinentry-1.1.0-r3:20190706-010111.log.gz x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../secmem -Wall -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -Wall -Wno-pointer-sign -Wpointer-arith -c -o pinentry-emacs.o pinentry-emacs.c pinentry-emacs.c: In function ‘read_from_emacs’: pinentry-emacs.c:316:3: error: unknown type name ‘fd_set’ 316 | fd_set rfds; | ^~~~~~ pinentry-emacs.c:329:3: warning: implicit declaration of function ‘FD_ZERO’; did you mean ‘NZERO’? [-Wimplicit-function-declaration] 329 | FD_ZERO (&rfds); | ^~~~~~~ | NZERO pinentry-emacs.c:330:3: warning: implicit declaration of function ‘FD_SET’; did you mean ‘L_SET’? [-Wimplicit-function-declaration] 330 | FD_SET (s, &rfds); | ^~~~~~ | L_SET pinentry-emacs.c:331:12: warning: implicit declaration of function ‘select’ [-Wimplicit-function-declaration] 331 | retval = select (s + 1, &rfds, NULL, NULL, &tv); | ^~~~~~ https://github.com/gpg/pinentry/blob/master/emacs/pinentry-emacs.c /var/log/portage/build/net-libs/libnsl-1.2.0:20190706-010540.log.gz libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/net-libs/libnsl-1.2.0/work/libnsl-1.2.0/src -I.. -I/var/tmp/portage/net-libs/libnsl-1.2.0/work/libnsl-1.2.0/src -I/usr/in clude/tirpc -DLOCALEDIR=\"/usr/share/locale\" -W -Wall -Wbad-function-cast -Wcast-align -Winline -Wnested-externs -Wshadow -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -D_REENT RANT=1 -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -c /var/tmp/portage/net-libs/libnsl-1.2.0/work/libnsl-1.2.0/src/yp_xdr.c -fPIC -DPIC -o .libs/yp_xdr.o In file included from /var/tmp/portage/net-libs/libnsl-1.2.0/work/libnsl-1.2.0/src/yp_xdr.c:41: /usr/include/tirpc/rpc/types.h:75:9: error: unknown type name ‘__u_char’ 75 | typedef __u_char u_char; | ^~~~~~~~ /usr/include/tirpc/rpc/types.h:75:18: error: conflicting types for ‘u_char’ 75 | typedef __u_char u_char; | ^~~~~~ In file included from /usr/include/sys/types.h:91, from /usr/include/tirpc/rpc/types.h:41, from /var/tmp/portage/net-libs/libnsl-1.2.0/work/libnsl-1.2.0/src/yp_xdr.c:41: /usr/include/bits/types/u_int.h:8:23: note: previous declaration of ‘u_char’ was here 8 | typedef unsigned char u_char; | ^~~~~~ In file included from /var/tmp/portage/net-libs/libnsl-1.2.0/work/libnsl-1.2.0/src/yp_xdr.c:41: /usr/include/tirpc/rpc/types.h:76:9: error: unknown type name ‘__u_short’ 76 | typedef __u_short u_short; | ^~~~~~~~~ /usr/include/tirpc/rpc/types.h:76:19: error: conflicting types for ‘u_short’ 76 | typedef __u_short u_short; | ^~~~~~~ ... https://github.com/thkukuk/libnsl/blob/master/src/yp_xdr.c /var/log/portage/build/sys-libs/pam-1.3.1-r1:20190706-011458.log.gz libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace -I../.. -I/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/li nux-pam-1.3.1/libpam/include -I/var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/libpamc/include -DSECURECONF_DIR=\"/etc/security/\" -march=native -O2 -pipe -ggdb -frecord-gcc-switches -flto -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -c /var/tmp/portage/sys -libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c -fPIC -DPIC -o .libs/pam_namespace.o /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c: In function ‘inst_init’: /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c:1177:19: error: storage size of ‘newsa’ isn’t known 1177 | struct sigaction newsa, oldsa; | ^~~~~ /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c:1177:26: error: storage size of ‘oldsa’ isn’t known 1177 | struct sigaction newsa, oldsa; | ^~~~~ /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c:1182:28: error: ‘SIG_DFL’ undeclared (first use in this function) 1182 | newsa.sa_handler = SIG_DFL; | ^~~~~~~ /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c:1182:28: note: each undeclared identifier is reported only once for each function it appears in /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c:1183:6: warning: implicit declaration of function ‘sigaction’ [-Wimplicit-function-declaration] 1183 | if (sigaction(SIGCHLD, &newsa, &oldsa) == -1) { | ^~~~~~~~~ /var/tmp/portage/sys-libs/pam-1.3.1-r1/work/linux-pam-1.3.1/modules/pam_namespace/pam_namespace.c:1183:16: error: ‘SIGCHLD’ undeclared (first use in this function) 1183 | if (sigaction(SIGCHLD, &newsa, &oldsa) == -1) { | ^~~~~~~ ... https://github.com/linux-pam/linux-pam/blob/master/modules/pam_namespace/pam_namespace.c /var/log/portage/build/net-misc/iputils-20190515:20190706-011527.log.gz [4/9] x86_64-pc-linux-gnu-gcc -Iarping@exe -I. -I../iputils-s20190515 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c99 -include config.h -include git-version.h '-DGETTEXT_PACKAGE="iputils"' -march=native -O2 -ggdb -frecord-gcc-switches -flto -MD -MQ 'arping@exe/arping.c.o' -MF 'arping@exe/arping.c.o.d' -o 'arping@exe/arping.c.o' -c ../iputils-s20190515/arping.c FAILED: arping@exe/arping.c.o x86_64-pc-linux-gnu-gcc -Iarping@exe -I. -I../iputils-s20190515 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c99 -include config.h -include git-version.h '-DGETTEXT_PACKAGE="iputils"' -march=native -O2 -ggdb -frecord-gcc-switches -flto -MD -MQ 'arping@exe/arping.c.o' -MF 'arping@exe/arping.c.o.d' -o 'arping@exe/arping.c.o' -c ../iputils-s20190515/arping.c ../iputils-s20190515/arping.c: In function ‘send_pack’: ../iputils-s20190515/arping.c:281:8: warning: implicit declaration of function ‘sendto’ [-Wimplicit-function-declaration] 281 | err = sendto(ctl->socketfd, buf, p - buf, 0, (struct sockaddr *)HE, sll_len(ah->ar_hln)); | ^~~~~~ ../iputils-s20190515/arping.c: In function ‘netlink_query’: ../iputils-s20190515/arping.c:472:9: error: variable ‘mh’ has initializer but incomplete type 472 | struct msghdr mh = { 0 }; | ^~~~~~ ../iputils-s20190515/arping.c:472:23: warning: excess elements in struct initializer 472 | struct msghdr mh = { 0 }; | ^ ... https://github.com/iputils/iputils/blob/master/arping.c /var/log/portage/build/sys-fs/udev-242:20190706-011534.log.gz FAILED: src/libsystemd-network/efd04ff@@systemd-network@sta/arp-util.c.o x86_64-pc-linux-gnu-gcc -Isrc/libsystemd-network/efd04ff@@systemd-network@sta -Isrc/libsystemd-network -I../systemd-242/src/libsystemd-network -Isrc/basic -I../systemd-242/src/basic -Isrc/shared -I../sys temd-242/src/shared -Isrc/systemd -I../systemd-242/src/systemd -Isrc/journal -I../systemd-242/src/journal -Isrc/journal-remote -I../systemd-242/src/journal-remote -Isrc/nspawn -I../systemd-242/src/nspawn -Isrc/resolve -I../systemd-242/src/resolve -Isrc/timesync -I../systemd-242/src/timesync -I../systemd-242/src/time-wait-sync -Isrc/login -I../systemd-242/src/login -Isrc/udev -I../systemd-242/src/udev -I src/libudev -I../systemd-242/src/libudev -Isrc/core -I../systemd-242/src/core -Isrc/shutdown -I../systemd-242/src/shutdown -I../systemd-242/src/libsystemd/sd-bus -I../systemd-242/src/libsystemd/sd-device -I../systemd-242/src/libsystemd/sd-event -I../systemd-242/src/libsystemd/sd-hwdb -I../systemd-242/src/libsystemd/sd-id128 -I../systemd-242/src/libsystemd/sd-netlink -I../systemd-242/src/libsystemd/sd-ne twork -I../systemd-242/src/libsystemd/sd-resolve -I. -I../systemd-242/ -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-s tyle-definition -Wpointer-arith -Winit-self -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -W error=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wimplicit-fallthrough=5 -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Werror=ove rflow -Werror=shift-count-overflow -Werror=shift-overflow=2 -Wdate-time -Wnested-externs -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Wno-error=nonnull -Wno-maybe-uninitialized -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -ffunction-sectio ns -fdata-sections -Werror=shadow -include config.h -march=native -O2 -ggdb -frecord-gcc-switches -flto -fPIC -MD -MQ 'src/libsystemd-network/efd04ff@@systemd-network@sta/arp-util.c.o' -MF 'src/libsystem d-network/efd04ff@@systemd-network@sta/arp-util.c.o.d' -o 'src/libsystemd-network/efd04ff@@systemd-network@sta/arp-util.c.o' -c ../systemd-242/src/libsystemd-network/arp-util.c ../systemd-242/src/libsystemd-network/arp-util.c: In function ‘arp_send_packet’: ../systemd-242/src/libsystemd-network/arp-util.c:116:9: error: implicit declaration of function ‘memcpy’ [-Werror=implicit-function-declaration] 116 | memcpy(&arp.arp_sha, ha, ETH_ALEN); | ^~~~~~ ../systemd-242/src/libsystemd-network/arp-util.c:116:9: warning: incompatible implicit declaration of built-in function ‘memcpy’ ../systemd-242/src/libsystemd-network/arp-util.c:13:1: note: include ‘<string.h>’ or provide a declaration of ‘memcpy’ 12 | #include "util.h" +++ |+#include <string.h> 13 | https://github.com/systemd/systemd/blob/master/src/libsystemd-network/arp-util.c -- Andreas K. Hüttel dilfridge@gentoo.org Gentoo Linux developer (council, toolchain, base-system, perl, libreoffice)
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |