* Package: net-misc/usbip-4.13 * Repository: gentoo * Maintainer: chithanh@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux tcpd userland_GNU * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Preparing to unpack ... >>> Unpacking source... >>> Source unpacked in /var/tmp/portage/net-misc/usbip-4.13/work >>> Preparing source in /var/tmp/portage/net-misc/usbip-4.13/work/linux-4.13/tools/usb/usbip ... * Running eautoreconf in '/var/tmp/portage/net-misc/usbip-4.13/work/linux-4.13/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-4.13/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/net-misc/usbip-4.13/work/linux-4.13/tools/usb/usbip ... * econf: updating linux-4.13/tools/usb/usbip/config.sub with /usr/share/gnuconfig/config.sub * econf: updating linux-4.13/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 --target=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 --docdir=/usr/share/doc/usbip-4.13 --htmldir=/usr/share/doc/usbip-4.13/html --libdir=/usr/lib64 --disable-static --with-usbids-dir=/usr/share/misc configure: loading site script /usr/share/config.site checking for a BSD-compatible install... /usr/lib/portage/python3.6/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 >>> Source configured. >>> Compiling source in /var/tmp/portage/net-misc/usbip-4.13/work/linux-4.13/tools/usb/usbip ... >>> Source compiled. >>> Test phase [not enabled]: net-misc/usbip-4.13 >>> Install net-misc/usbip-4.13 into /var/tmp/portage/net-misc/usbip-4.13/image/ make -j1 DESTDIR=/var/tmp/portage/net-misc/usbip-4.13/image/ install Making install in libsrc make[1]: Entering directory '/var/tmp/portage/net-misc/usbip-4.13/work/linux-4.13/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-common -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-common -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-common -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-common -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-common -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-common -c usbip_device_driver.c -fPIC -DPIC -o .libs/libusbip_la-usbip_device_driver.o In file included from /usr/include/string.h:494, from usbip_device_driver.c:25: In function ‘strncpy’, inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:106:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘read_usb_vudc_device’ at usbip_device_driver.c:125:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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-common -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-common -c usbip_common.c -fPIC -DPIC -o .libs/libusbip_la-usbip_common.o In file included from /usr/include/string.h:494, from usbip_common.h:13, from usbip_common.c:6: In function ‘strncpy’, inlined from ‘read_usb_device’ at usbip_common.c:205:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 256 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘read_usb_device’ at usbip_common.c:206:2: /usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 32 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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-common -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-common -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-common -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-common -c vhci_driver.c -fPIC -DPIC -o .libs/libusbip_la-vhci_driver.o vhci_driver.c: In function ‘refresh_imported_device_list’: vhci_driver.c:118:47: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 118 | snprintf(status, sizeof(status), "status.%d", i); | ^ In file included from /usr/include/stdio.h:867, from usbip_common.h:11, from vhci_driver.c:5: /usr/include/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 9 and 18 bytes into a destination of size 17 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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-common -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-common -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-common -version-info 0:1:0 -Wl,-O1 -Wl,--as-needed -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,-soname -Wl,libusbip.so.0 -o .libs/libusbip.so.0.0.1 /usr/lib/gcc/x86_64-pc-linux-gnu/9.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[1]: *** [Makefile:412: libusbip.la] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-misc/usbip-4.13/work/linux-4.13/tools/usb/usbip/libsrc' make: *** [Makefile:495: install-recursive] Error 1 * ERROR: net-misc/usbip-4.13::gentoo failed (install phase): * emake failed * * If you need support, post the output of `emerge --info '=net-misc/usbip-4.13::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-misc/usbip-4.13::gentoo'`. * The complete build log is located at '/var/log/portage/net-misc:usbip-4.13:20200129-091510.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-misc/usbip-4.13/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-misc/usbip-4.13/temp/environment'. * Working directory: '/var/tmp/portage/net-misc/usbip-4.13/work/linux-4.13/tools/usb/usbip' * S: '/var/tmp/portage/net-misc/usbip-4.13/work/linux-4.13/tools/usb/usbip'