Mock Version: 2.3 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libusb-vhci.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1591245055.215637/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.eb3zjghg:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.eb3zjghg:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7c09ec5d72d44ef080f7aaac416b8363', '-D', '/var/lib/mock/epel-7-x86_64-1591245055.215637/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.eb3zjghg:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/libusb-vhci.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/libusb-vhci-0.8-1.el7.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libusb-vhci.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-1591245055.215637/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.eb3zjghg:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.eb3zjghg:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '4b8a6b65a51a4f1fb384434ba3aeb007', '-D', '/var/lib/mock/epel-7-x86_64-1591245055.215637/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.eb3zjghg:/etc/resolv.conf', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/libusb-vhci.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Y9cvhL + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf libusb-vhci-0.8 + /usr/bin/gzip -dc /builddir/build/SOURCES/libusb_vhci-0.8.tar.gz + /usr/bin/tar -xf - + '[' 0 -ne 0 ']' + mv libusb_vhci-0.8 libusb-vhci-0.8 + cd /builddir/build/BUILD + cd libusb-vhci-0.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.laxKGg + umask 022 + cd /builddir/build/BUILD + cd libusb-vhci-0.8 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.sub + '[' -f /usr/lib/rpm/redhat/config.sub ']' + /usr/bin/rm -f ./config.sub ++ basename ./config.sub + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.sub ./config.sub '/usr/lib/rpm/redhat/config.sub' -> './config.sub' + for i in '$(find . -name config.guess -o -name config.sub)' ++ basename ./config.guess + '[' -f /usr/lib/rpm/redhat/config.guess ']' + /usr/bin/rm -f ./config.guess ++ basename ./config.guess + /usr/bin/cp -fv /usr/lib/rpm/redhat/config.guess ./config.guess '/usr/lib/rpm/redhat/config.guess' -> './config.guess' + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe 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 UID '1001' is supported by ustar format... yes checking whether GID '135' is supported by ustar format... yes checking how to create a ustar tar archive... gnutar checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... x86_64-redhat-linux-gnu checking host system type... x86_64-redhat-linux-gnu checking how to print strings... printf checking for style of include used by make... GNU checking for x86_64-redhat-linux-gnu-gcc... no checking for gcc... 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 gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking dependency style of gcc... none checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking whether the shell understands some XSI constructs... yes checking whether the shell understands "+="... yes checking how to convert x86_64-redhat-linux-gnu file names to x86_64-redhat-linux-gnu format... func_convert_file_noop checking how to convert x86_64-redhat-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-redhat-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-redhat-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-redhat-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-redhat-linux-gnu-strip... no checking for strip... strip checking for x86_64-redhat-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for x86_64-redhat-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking how to run the C preprocessor... 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 gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/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... yes checking for x86_64-redhat-linux-gnu-gcc... gcc checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking dependency style of gcc... (cached) none checking for gcc option to accept ISO C99... -std=gnu99 checking for gcc -std=gnu99 option to accept ISO Standard C... (cached) -std=gnu99 checking whether gcc -std=gnu99 and cc understand -c and -o together... yes checking for x86_64-redhat-linux-gnu-g++... no checking for x86_64-redhat-linux-gnu-c++... no checking for x86_64-redhat-linux-gnu-gpp... no checking for x86_64-redhat-linux-gnu-aCC... no checking for x86_64-redhat-linux-gnu-CC... no checking for x86_64-redhat-linux-gnu-cxx... no checking for x86_64-redhat-linux-gnu-cc++... no checking for x86_64-redhat-linux-gnu-cl.exe... no checking for x86_64-redhat-linux-gnu-FCC... no checking for x86_64-redhat-linux-gnu-KCC... no checking for x86_64-redhat-linux-gnu-RCC... no checking for x86_64-redhat-linux-gnu-xlC_r... no checking for x86_64-redhat-linux-gnu-xlC... no checking for g++... g++ checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking dependency style of g++... none checking how to run the C++ preprocessor... g++ -E checking for ld used by g++... /usr/bin/ld -m elf_x86_64 checking if the linker (/usr/bin/ld -m elf_x86_64) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC -DPIC checking if g++ PIC flag -fPIC -DPIC works... yes checking if g++ static flag -static works... no checking if g++ supports -c -o file.o... yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking dynamic linker characteristics... (cached) GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking for pthread_self in -lpthread... yes checking pthread.h usability... yes checking pthread.h presence... yes checking for pthread.h... yes checking for stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking stdio.h usability... yes checking stdio.h presence... yes checking for stdio.h... yes checking for string.h... (cached) yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for unistd.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking linux/ioctl.h usability... yes checking linux/ioctl.h presence... yes checking for linux/ioctl.h... yes checking linux/usb-vhci.h usability... yes checking linux/usb-vhci.h presence... yes checking for linux/usb-vhci.h... yes checking for stdbool.h that conforms to C99... yes checking for _Bool... yes checking for int16_t... yes checking for int32_t... yes checking for size_t... yes checking for uint16_t... yes checking for uint32_t... yes checking for uint64_t... yes checking for uint8_t... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memset... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating examples/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + make make all-recursive make[1]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8' Making all in src make[2]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8/src' /bin/sh ../libtool --tag=CC --mode=compile gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o libusb_vhci_la-libusb_vhci.lo `test -f 'libusb_vhci.c' || echo './'`libusb_vhci.c libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c libusb_vhci.c -fPIC -DPIC -o .libs/libusb_vhci_la-libusb_vhci.o libusb_vhci.c: In function 'usb_vhci_from_iso_packets_errno': libusb_vhci.c:406:2: warning: passing argument 1 of 'usb_vhci_from_errno' makes pointer from integer without a cast [enabled by default] return usb_vhci_from_errno(errno, 0); ^ libusb_vhci.c:374:9: note: expected 'int * (*)()' but argument is of type 'int' int32_t usb_vhci_from_errno(int errno, uint8_t iso_urb) ^ libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c libusb_vhci.c -o libusb_vhci_la-libusb_vhci.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o libusb_vhci_la-urb.lo `test -f 'urb.cpp' || echo './'`urb.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c urb.cpp -fPIC -DPIC -o .libs/libusb_vhci_la-urb.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c urb.cpp -o libusb_vhci_la-urb.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o libusb_vhci_la-port_stat.lo `test -f 'port_stat.cpp' || echo './'`port_stat.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c port_stat.cpp -fPIC -DPIC -o .libs/libusb_vhci_la-port_stat.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c port_stat.cpp -o libusb_vhci_la-port_stat.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o libusb_vhci_la-work.lo `test -f 'work.cpp' || echo './'`work.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c work.cpp -fPIC -DPIC -o .libs/libusb_vhci_la-work.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c work.cpp -o libusb_vhci_la-work.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o libusb_vhci_la-hcd.lo `test -f 'hcd.cpp' || echo './'`hcd.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c hcd.cpp -fPIC -DPIC -o .libs/libusb_vhci_la-hcd.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c hcd.cpp -o libusb_vhci_la-hcd.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o libusb_vhci_la-local_hcd.lo `test -f 'local_hcd.cpp' || echo './'`local_hcd.cpp libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c local_hcd.cpp -fPIC -DPIC -o .libs/libusb_vhci_la-local_hcd.o libtool: compile: g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c local_hcd.cpp -o libusb_vhci_la-local_hcd.o >/dev/null 2>&1 /bin/sh ../libtool --tag=CXX --mode=link g++ -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -fno-enforce-eh-specs -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -lpthread -Wl,-z,relro -o libusb_vhci.la -rpath /usr/lib64 libusb_vhci_la-libusb_vhci.lo libusb_vhci_la-urb.lo libusb_vhci_la-port_stat.lo libusb_vhci_la-work.lo libusb_vhci_la-hcd.lo libusb_vhci_la-local_hcd.lo -lpthread libtool: link: g++ -fPIC -DPIC -shared -nostdlib /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crti.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtbeginS.o .libs/libusb_vhci_la-libusb_vhci.o .libs/libusb_vhci_la-urb.o .libs/libusb_vhci_la-port_stat.o .libs/libusb_vhci_la-work.o .libs/libusb_vhci_la-hcd.o .libs/libusb_vhci_la-local_hcd.o -lpthread -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-redhat-linux/4.8.5/crtendS.o /usr/lib/gcc/x86_64-redhat-linux/4.8.5/../../../../lib64/crtn.o -pthread -O2 -O2 -m64 -mtune=generic -Wl,-z -Wl,relro -pthread -Wl,-soname -Wl,libusb_vhci.so.0 -o .libs/libusb_vhci.so.0.0.0 libtool: link: (cd ".libs" && rm -f "libusb_vhci.so.0" && ln -s "libusb_vhci.so.0.0.0" "libusb_vhci.so.0") libtool: link: (cd ".libs" && rm -f "libusb_vhci.so" && ln -s "libusb_vhci.so.0.0.0" "libusb_vhci.so") libtool: link: ar cru .libs/libusb_vhci.a libusb_vhci_la-libusb_vhci.o libusb_vhci_la-urb.o libusb_vhci_la-port_stat.o libusb_vhci_la-work.o libusb_vhci_la-hcd.o libusb_vhci_la-local_hcd.o libtool: link: ranlib .libs/libusb_vhci.a libtool: link: ( cd ".libs" && rm -f "libusb_vhci.la" && ln -s "../libusb_vhci.la" "libusb_vhci.la" ) make[2]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8/src' Making all in examples make[2]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8/examples' g++ -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o virtual_device-virtual_device.o `test -f 'virtual_device.cpp' || echo './'`virtual_device.cpp virtual_device.cpp: In function 'int main()': virtual_device.cpp:284:40: warning: unused variable 'cuw' [-Wunused-variable] else if(usb::vhci::cancel_urb_work* cuw = dynamic_cast(work)) ^ /bin/sh ../libtool --tag=CXX --mode=link g++ -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o virtual_device virtual_device-virtual_device.o ../src/libusb_vhci.la -lpthread libtool: link: g++ -pthread -Wall -Weffc++ -Wold-style-cast -Woverloaded-virtual -Wsign-promo -Wstrict-null-sentinel -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/virtual_device virtual_device-virtual_device.o ../src/.libs/libusb_vhci.so -lpthread -pthread gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -pthread -Wall -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o virtual_device2-virtual_device2.o `test -f 'virtual_device2.c' || echo './'`virtual_device2.c /bin/sh ../libtool --tag=CC --mode=link gcc -std=gnu99 -pthread -Wall -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o virtual_device2 virtual_device2-virtual_device2.o ../src/libusb_vhci.la -lpthread libtool: link: gcc -std=gnu99 -pthread -Wall -O2 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z -Wl,relro -o .libs/virtual_device2 virtual_device2-virtual_device2.o ../src/.libs/libusb_vhci.so -lpthread -pthread make[2]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8/examples' make[2]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8' make[2]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8' make[1]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.TN2io4 + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64 + cd libusb-vhci-0.8 + rm -rf /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64 + /usr/bin/make prefix=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr exec_prefix=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr bindir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/bin sbindir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/sbin sysconfdir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/etc datadir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/share includedir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/include libdir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64 libexecdir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/libexec localstatedir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/var sharedstatedir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/var/lib mandir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/share/man infodir=/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/share/info install Making install in src make[1]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8/src' make[2]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8/src' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64' /bin/sh ../libtool --mode=install /usr/bin/install -c libusb_vhci.la '/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64' libtool: install: /usr/bin/install -c .libs/libusb_vhci.so.0.0.0 /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64/libusb_vhci.so.0.0.0 libtool: install: (cd /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64 && { ln -s -f libusb_vhci.so.0.0.0 libusb_vhci.so.0 || { rm -f libusb_vhci.so.0 && ln -s libusb_vhci.so.0.0.0 libusb_vhci.so.0; }; }) libtool: install: (cd /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64 && { ln -s -f libusb_vhci.so.0.0.0 libusb_vhci.so || { rm -f libusb_vhci.so && ln -s libusb_vhci.so.0.0.0 libusb_vhci.so; }; }) libtool: install: /usr/bin/install -c .libs/libusb_vhci.lai /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64/libusb_vhci.la libtool: install: /usr/bin/install -c .libs/libusb_vhci.a /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64/libusb_vhci.a libtool: install: chmod 644 /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64/libusb_vhci.a libtool: install: ranlib /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/lib64/libusb_vhci.a libtool: install: warning: remember to run `libtool --finish /usr/lib64' /usr/bin/mkdir -p '/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/include' /usr/bin/install -c -m 644 libusb_vhci.h '/builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64/usr/include' make[2]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8/src' make[1]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8/src' Making install in examples make[1]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8/examples' make[2]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8/examples' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8/examples' make[1]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8/examples' make[1]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8' make[2]: Entering directory `/builddir/build/BUILD/libusb-vhci-0.8' make[2]: Nothing to be done for `install-exec-am'. make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8' make[1]: Leaving directory `/builddir/build/BUILD/libusb-vhci-0.8' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip /usr/bin/strip + /usr/lib/rpm/redhat/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: libusb-vhci-0.8-1.el7.x86_64 Provides: libtool(/usr/lib64/libusb_vhci.la) libusb-vhci = 0.8-1.el7 libusb-vhci(x86-64) = 0.8-1.el7 libusb_vhci.so.0()(64bit) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.4)(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libm.so.6()(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.1)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libusb_vhci.so.0()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64 Wrote: /builddir/build/RPMS/libusb-vhci-0.8-1.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.B4loEG + umask 022 + cd /builddir/build/BUILD + cd libusb-vhci-0.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/libusb-vhci-0.8-1.el7.x86_64 + exit 0 Child return code was: 0