* Package: sys-apps/linux-misc-apps-5.6 * Repository: gentoo * Maintainer: robbat2@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux tcpd usbip userland_GNU * FEATURES: network-sandbox preserve-libs sandbox test userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 5.7.9-gentoo >>> Unpacking source... >>> Unpacking linux-5.6.tar.xz to /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work >>> Source unpacked in /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work >>> Preparing source in /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6 ... * Running eautoreconf in '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip' ... * Running libtoolize --install --copy --force --automake ... [ ok ] * Running aclocal ... [ ok ] * Running autoconf --force ... [ ok ] * Running autoheader ... [ ok ] * Running automake --add-missing --copy --foreign --force-missing ... [ ok ] * Running elibtoolize in: linux-5.6/tools/usb/usbip/ * Applying portage/1.2.0 patch ... * Applying sed/1.5.6 patch ... * Applying as-needed/2.4.3 patch ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6 ... /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6 * econf: updating linux-5.6/tools/usb/usbip/config.sub with /usr/share/gnuconfig/config.sub * econf: updating linux-5.6/tools/usb/usbip/config.guess with /usr/share/gnuconfig/config.guess ./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 --disable-dependency-tracking --disable-silent-rules --libdir=/usr/lib64 --disable-static --with-usbids-dir=/usr/share/misc checking for a BSD-compatible install... /usr/lib/portage/python3.7/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking how to print strings... printf checking whether make supports the include directive... yes (GNU style) 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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for a sed that does not truncate output... /bin/sed checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for fgrep... /bin/grep -F checking for ld used by x86_64-pc-linux-gnu-gcc... /usr/x86_64-pc-linux-gnu/bin/ld checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/x86_64-pc-linux-gnu-nm -B checking the name lister (/usr/bin/x86_64-pc-linux-gnu-nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r checking for x86_64-pc-linux-gnu-objdump... x86_64-pc-linux-gnu-objdump checking how to recognize dependent libraries... pass_all checking for x86_64-pc-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar checking for archiver @FILE support... @ checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-strip checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib checking command to parse /usr/bin/x86_64-pc-linux-gnu-nm -B output from x86_64-pc-linux-gnu-gcc object... ok checking for sysroot... no checking for a working dd... /bin/dd checking how to truncate binary pipes... /bin/dd bs=4096 count=1 checking for x86_64-pc-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking for dlfcn.h... yes checking for objdir... .libs checking if x86_64-pc-linux-gnu-gcc supports -fno-rtti -fno-exceptions... no checking for x86_64-pc-linux-gnu-gcc option to produce PIC... -fPIC -DPIC checking if x86_64-pc-linux-gnu-gcc PIC flag -fPIC -DPIC works... yes checking if x86_64-pc-linux-gnu-gcc static flag -static works... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... yes checking if x86_64-pc-linux-gnu-gcc supports -c -o file.o... (cached) yes checking whether the x86_64-pc-linux-gnu-gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking whether make supports nested variables... (cached) yes checking for x86_64-pc-linux-gnu-gcc... (cached) x86_64-pc-linux-gnu-gcc checking whether we are using the GNU C compiler... (cached) yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... (cached) yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... (cached) none needed checking whether x86_64-pc-linux-gnu-gcc understands -c and -o together... (cached) yes checking dependency style of x86_64-pc-linux-gnu-gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking arpa/inet.h usability... yes checking arpa/inet.h presence... yes checking for arpa/inet.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking netdb.h usability... yes checking netdb.h presence... yes checking for netdb.h... yes checking netinet/in.h usability... yes checking netinet/in.h presence... yes checking for netinet/in.h... yes checking for stdint.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking sys/socket.h usability... yes checking sys/socket.h presence... yes checking for sys/socket.h... yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking for int32_t... yes checking for size_t... yes checking for ssize_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible realloc... yes checking for memset... yes checking for mkdir... yes checking for regcomp... yes checking for socket... yes checking for strchr... yes checking for strerror... yes checking for strstr... yes checking for strtoul... yes checking libudev.h usability... yes checking libudev.h presence... yes checking for libudev.h... yes checking for udev_new in -ludev... yes checking whether to use the libwrap (TCP wrappers) library... (default) checking for hosts_access in -lwrap... yes checking whether to use fortify... default checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating libsrc/Makefile config.status: creating src/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6 >>> Source configured. >>> Compiling source in /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6 ... * Building samples/watchdog/watchdog-simple.c => watchdog-simple make -j1 -f /dev/null M=samples/watchdog ARCH=x86 samples/watchdog/watchdog-simple cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 samples/watchdog/watchdog-simple.c -o samples/watchdog/watchdog-simple * Building tools/accounting/getdelays.c => getdelays make -j1 -f /dev/null M=tools/accounting ARCH=x86 tools/accounting/getdelays cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tools/accounting/getdelays.c -o tools/accounting/getdelays * Building tools/cgroup/cgroup_event_listener.c => cgroup_event_listener make -j1 -f /dev/null M=tools/cgroup ARCH=x86 tools/cgroup/cgroup_event_listener cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tools/cgroup/cgroup_event_listener.c -o tools/cgroup/cgroup_event_listener * Building tools/laptop/freefall/freefall.c => freefall make -j1 -f /dev/null M=tools/laptop/freefall ARCH=x86 tools/laptop/freefall/freefall cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tools/laptop/freefall/freefall.c -o tools/laptop/freefall/freefall * Building tools/testing/selftests/networking/timestamping/timestamping.c => timestamping make -j1 -f /dev/null M=tools/testing/selftests/networking/timestamping ARCH=x86 tools/testing/selftests/networking/timestamping/timestamping cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tools/testing/selftests/networking/timestamping/timestamping.c -o tools/testing/selftests/networking/timestamping/timestamping * Building tools/vm/slabinfo.c => slabinfo make -j1 -f /dev/null M=tools/vm ARCH=x86 tools/vm/slabinfo cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tools/vm/slabinfo.c -o tools/vm/slabinfo tools/vm/slabinfo.c: In function ‘read_slab_dir’: tools/vm/slabinfo.c:1264:4: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1264 | chdir(".."); | ^~~~~~~~~~~ * Building usr/gen_init_cpio.c => gen_init_cpio make -j1 -f /dev/null M=usr ARCH=x86 usr/gen_init_cpio cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 usr/gen_init_cpio.c -o usr/gen_init_cpio * Building samples/mei => mei-amt-version (via emake mei-amt-version) make -j1 -C samples/mei ARCH=x86 mei-amt-version make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/samples/mei' cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 mei-amt-version.c -o mei-amt-version make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/samples/mei' * Building tools/firewire => nosy-dump (via emake nosy-dump) make -j1 -C tools/firewire ARCH=x86 nosy-dump make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/firewire' gcc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -DVERSION=\"0.4\" -I../../drivers/firewire -c -o nosy-dump.o nosy-dump.c nosy-dump.c: In function ‘main’: nosy-dump.c:977:4: warning: ignoring return value of ‘fread’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 977 | fread(buf, 1, length, input); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ nosy-dump.c:981:5: warning: ignoring return value of ‘read’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 981 | read(STDIN_FILENO, &c, sizeof c); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -DVERSION=\"0.4\" -I../../drivers/firewire -c -o decode-fcp.o decode-fcp.c gcc -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 nosy-dump.o decode-fcp.o -lpopt -o nosy-dump make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/firewire' * Building tools/iio => iio_event_monitor (via emake iio_event_monitor) make -j1 -C tools/iio ARCH=x86 iio_event_monitor make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' mkdir -p include/linux/iio 2>&1 || true ln -sf /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio/../../include/uapi/linux/iio/events.h include/linux/iio ln -sf /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio/../../include/uapi/linux/iio/types.h include/linux/iio make -f /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/build/Makefile.build dir=. obj=iio_utils make[1]: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' CC iio_utils.o LD iio_utils-in.o make[1]: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' make -f /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/build/Makefile.build dir=. obj=iio_event_monitor make[1]: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' CC iio_event_monitor.o LD iio_event_monitor-in.o make[1]: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' LINK iio_event_monitor make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' * Building tools/iio => iio_generic_buffer (via emake iio_generic_buffer) make -j1 -C tools/iio ARCH=x86 iio_generic_buffer make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' make -f /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/build/Makefile.build dir=. obj=iio_utils make -f /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/build/Makefile.build dir=. obj=iio_generic_buffer make[1]: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' CC iio_generic_buffer.o LD iio_generic_buffer-in.o make[1]: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' LINK iio_generic_buffer make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' * Building tools/iio => lsiio (via emake lsiio) make -j1 -C tools/iio ARCH=x86 lsiio make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' make -f /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/build/Makefile.build dir=. obj=iio_utils make -f /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/build/Makefile.build dir=. obj=lsiio make[1]: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' CC lsiio.o LD lsiio-in.o make[1]: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' LINK lsiio make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/iio' * Building tools/laptop/dslm => dslm (via emake dslm) make -j1 -C tools/laptop/dslm ARCH=x86 dslm make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/laptop/dslm' gcc -I../../usr/include -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 dslm.c -o dslm make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/laptop/dslm' * Building tools/power/x86/turbostat => turbostat (via emake turbostat) make -j1 -C tools/power/x86/turbostat ARCH=x86 turbostat make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/power/x86/turbostat' gcc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -O2 -Wall -I../../../include -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"' -DINTEL_FAMILY_HEADER='"../../../../arch/x86/include/asm/intel-family.h"' -D_FORTIFY_SOURCE=2 turbostat.c -o /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/power/x86/turbostat/turbostat -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -lcap make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/power/x86/turbostat' * Building tools/power/x86/x86_energy_perf_policy => x86_energy_perf_policy (via emake x86_energy_perf_policy) make -j1 -C tools/power/x86/x86_energy_perf_policy ARCH=x86 x86_energy_perf_policy make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/power/x86/x86_energy_perf_policy' gcc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -O2 -Wall -I../../../include -DMSRHEADER='"../../../../arch/x86/include/asm/msr-index.h"' -D_FORTIFY_SOURCE=2 x86_energy_perf_policy.c -o /var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/power/x86/x86_energy_perf_policy/x86_energy_perf_policy -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/power/x86/x86_energy_perf_policy' * Building tools/thermal/tmon => tmon (via emake tmon) make -j1 -C tools/thermal/tmon ARCH=x86 tmon make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/thermal/tmon' cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -O3 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int -fstack-protector-strong -D VERSION=\"1.0\" -I/usr/include/ncursesw -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o tmon.o tmon.c In file included from /usr/include/string.h:495, from tmon.c:14: In function ‘strncpy’, inlined from ‘main’ at tmon.c:239:4: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 20 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -O3 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int -fstack-protector-strong -D VERSION=\"1.0\" -I/usr/include/ncursesw -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o tui.o tui.c cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -O3 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int -fstack-protector-strong -D VERSION=\"1.0\" -I/usr/include/ncursesw -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o sysfs.o sysfs.c sysfs.c: In function ‘scan_cdevs’: sysfs.c:81:30: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 81 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 364 | sysfs_get_string(cdev_name, "type", ptdata.cdi[k].type); | ~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 261 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c: In function ‘scan_tzones’: sysfs.c:81:30: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 81 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 302 | sysfs_get_string(tz_name, "type", ptdata.tzi[k].type); | ~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 261 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:62:30: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 62 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 512 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:81:30: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 81 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 131 | sysfs_get_string(tz_path, filename, temp_str); | ~~~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 512 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:216:32: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 216 | snprintf(cdev_name, 256, "%s/%s", tz_name, nl->d_name); | ^~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 512 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:229:37: warning: ‘%s’ directive output may be truncated writing 11 bytes into a region of size between 1 and 256 [-Wformat-truncation=] 229 | snprintf(cdev_trip_name, 256, "%s%s", nl->d_name, | ^~ 230 | "_trip_point"); | ~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 12 and 267 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:62:30: warning: ‘%s’ directive output may be truncated writing up to 255 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 62 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 231 | sysfs_get_ulong(tz_name, cdev_trip_name, | ~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 512 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c: In function ‘update_thermal_data’: sysfs.c:62:30: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 62 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 501 | sysfs_get_ulong(tz_name, "temp", | ~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 261 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:81:30: warning: ‘%s’ directive output may be truncated writing 4 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 81 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 97 | sysfs_get_string(path, "type", cdi->type); | ~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 6 and 261 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:62:30: warning: ‘%s’ directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 62 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 98 | sysfs_get_ulong(path, "max_state", &cdi->max_state); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 266 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c:62:30: warning: ‘%s’ directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 62 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 99 | sysfs_get_ulong(path, "cur_state", &cdi->cur_state); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 266 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c: In function ‘set_ctrl_state’: sysfs.c:38:30: warning: ‘%s’ directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 38 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 553 | sysfs_set_ulong(ctrl_cdev_path, "cur_state", | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 266 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ sysfs.c: In function ‘get_ctrl_state’: sysfs.c:62:30: warning: ‘%s’ directive output may be truncated writing 9 bytes into a region of size between 0 and 255 [-Wformat-truncation=] 62 | snprintf(filepath, 256, "%s/%s", path, filename); | ^~ ...... 582 | sysfs_get_ulong(ctrl_cdev_path, "cur_state", state); | ~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from sysfs.c:10: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 11 and 266 bytes into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -O3 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int -fstack-protector-strong -D VERSION=\"1.0\" -I/usr/include/ncursesw -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -c -o pid.o pid.c cc -O2 -pipe -march=native -fno-diagnostics-color -I./tools/lib -O3 -Wall -Wshadow -W -Wformat -Wimplicit-function-declaration -Wimplicit-int -fstack-protector-strong -D VERSION=\"1.0\" -I/usr/include/ncursesw -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 tmon.o tui.o sysfs.o pid.o -o tmon -lm -lpthread -lpanelw -lncursesw -ltinfow make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/thermal/tmon' make -j1 -C tools/usb/usbip make: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip' make all-recursive make[1]: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip' Making all in libsrc make[2]: Entering directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip/libsrc' /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE='"/usr/share/misc/usb.ids"' -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o libusbip_la-names.lo `test -f 'names.c' || echo './'`names.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c names.c -fPIC -DPIC -o .libs/libusbip_la-names.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE='"/usr/share/misc/usb.ids"' -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o libusbip_la-usbip_host_driver.lo `test -f 'usbip_host_driver.c' || echo './'`usbip_host_driver.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c usbip_host_driver.c -fPIC -DPIC -o .libs/libusbip_la-usbip_host_driver.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE='"/usr/share/misc/usb.ids"' -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o libusbip_la-usbip_device_driver.lo `test -f 'usbip_device_driver.c' || echo './'`usbip_device_driver.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c usbip_device_driver.c -fPIC -DPIC -o .libs/libusbip_la-usbip_device_driver.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE='"/usr/share/misc/usb.ids"' -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o libusbip_la-usbip_common.lo `test -f 'usbip_common.c' || echo './'`usbip_common.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c usbip_common.c -fPIC -DPIC -o .libs/libusbip_la-usbip_common.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE='"/usr/share/misc/usb.ids"' -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o libusbip_la-usbip_host_common.lo `test -f 'usbip_host_common.c' || echo './'`usbip_host_common.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c usbip_host_common.c -fPIC -DPIC -o .libs/libusbip_la-usbip_host_common.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE='"/usr/share/misc/usb.ids"' -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o libusbip_la-vhci_driver.lo `test -f 'vhci_driver.c' || echo './'`vhci_driver.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c vhci_driver.c -fPIC -DPIC -o .libs/libusbip_la-vhci_driver.o /bin/sh ../libtool --tag=CC --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE='"/usr/share/misc/usb.ids"' -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c -o libusbip_la-sysfs_utils.lo `test -f 'sysfs_utils.c' || echo './'`sysfs_utils.c libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -DUSBIDS_FILE=\"/usr/share/misc/usb.ids\" -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -c sysfs_utils.c -fPIC -DPIC -o .libs/libusbip_la-sysfs_utils.o /bin/sh ../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -Wall -Wextra -std=gnu99 -O2 -pipe -march=native -fno-diagnostics-color -version-info 0:1:0 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o libusbip.la -rpath /usr/lib64 libusbip_la-names.lo libusbip_la-usbip_host_driver.lo libusbip_la-usbip_device_driver.lo libusbip_la-usbip_common.lo libusbip_la-usbip_host_common.lo libusbip_la-vhci_driver.lo libusbip_la-sysfs_utils.lo -lwrap -ludev libtool: link: x86_64-pc-linux-gnu-gcc -shared -fPIC -DPIC .libs/libusbip_la-names.o .libs/libusbip_la-usbip_host_driver.o .libs/libusbip_la-usbip_device_driver.o .libs/libusbip_la-usbip_common.o .libs/libusbip_la-usbip_host_common.o .libs/libusbip_la-vhci_driver.o .libs/libusbip_la-sysfs_utils.o -Wl,--as-needed -lwrap -ludev -O2 -march=native -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -Wl,-soname -Wl,libusbip.so.0 -o .libs/libusbip.so.0.0.1 /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/libusbip_la-vhci_driver.o:(.bss+0x0): multiple definition of `udev_context'; .libs/libusbip_la-usbip_host_common.o:(.bss+0x0): first defined here collect2: error: ld returned 1 exit status make[2]: *** [Makefile:414: libusbip.la] Error 1 make[2]: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip/libsrc' make[1]: *** [Makefile:498: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip' make: *** [Makefile:366: all] Error 2 make: Leaving directory '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6/tools/usb/usbip' * ERROR: sys-apps/linux-misc-apps-5.6::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=sys-apps/linux-misc-apps-5.6::gentoo'`, * the complete build log and the output of `emerge -pqv '=sys-apps/linux-misc-apps-5.6::gentoo'`. * The complete build log is located at '/var/log/portage/sys-apps:linux-misc-apps-5.6:20200728-162314.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/temp/environment'. * Working directory: '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6' * S: '/var/tmp/portage/sys-apps/linux-misc-apps-5.6/work/linux-5.6'