Mock Version: 1.1.41 ENTER do(['bash', '--login', '-c', 'rpmbuild -bs --target armv7hl --nodeps builddir/build/SPECS/usb_modeswitch.spec'], False, '/var/lib/mock/c7-pass-1-armhfp-efa1f34109b6cf91233fe5e6e2c7577cb5ec97ce/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bs --target armv7hl --nodeps builddir/build/SPECS/usb_modeswitch.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/usb_modeswitch-1.2.7-5.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/usb_modeswitch.spec'], False, '/var/lib/mock/c7-pass-1-armhfp-efa1f34109b6cf91233fe5e6e2c7577cb5ec97ce/root/', None, 0, True, False, 993, 135, None, False, {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'}, logger=) Executing command: ['bash', '--login', '-c', 'rpmbuild -bb --target armv7hl --nodeps builddir/build/SPECS/usb_modeswitch.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOSTNAME': 'mock', 'PROMPT_COMMAND': 'echo -n ""', 'HOME': '/builddir', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin'} Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.jQUU2j + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf usb-modeswitch-1.2.7 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/usb-modeswitch-1.2.7.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd usb-modeswitch-1.2.7 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + cp -f /builddir/build/SOURCES/device_reference.txt device_reference.txt + echo 'Patch #0 (rhbz948451-fix-manual-pages.patch):' Patch #0 (rhbz948451-fix-manual-pages.patch): + /usr/bin/cat /builddir/build/SOURCES/rhbz948451-fix-manual-pages.patch + /usr/bin/patch -p1 -b --suffix .fix-manual-pages --fuzz=0 patching file usb_modeswitch.1 patching file usb_modeswitch.c patching file usb_modeswitch_dispatcher.1 + iconv --from=ISO-8859-1 --to=UTF-8 device_reference.txt + touch -r device_reference.txt device_reference.txt.new + chmod 644 device_reference.txt + mv device_reference.txt.new device_reference.txt + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ZHEAaH + umask 022 + cd /builddir/build/BUILD + cd usb-modeswitch-1.2.7 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard' + make -j4 static No installed jimsh or tclsh, building local bootstrap jimsh0 cc -o usb_modeswitch usb_modeswitch.c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -l usb cd jim && CFLAGS="-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall" CC="cc" ./configure --disable-lineedit --with-out-jim-ext="stdlib posix load signal syslog" --prefix=/usr /builddir/build/BUILD/usb-modeswitch-1.2.7/jim/autosetup/jimsh0 make_string.tcl usb_modeswitch.tcl > usb_modeswitch.string Host System...armv7l-unknown-linux-gnueabi Build System...armv7l-unknown-linux-gnueabi C compiler... cc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall C++ compiler... c++ -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall Build C compiler...cc Checking for stdlib.h...ok Checking for long long...ok Checking for sys/socket.h...ok Checking for netinet/in.h...ok Checking for arpa/inet.h...ok Checking for netdb.h...ok Checking for sys/un.h...ok Checking for dlfcn.h...ok Checking for unistd.h...ok Checking for crt_externs.h...not found Checking libs for inet_ntop...none needed Checking libs for socket...none needed Checking for ualarm...ok Checking for lstat...ok Checking for fork...ok Checking for vfork...ok Checking for system...ok Checking for select...ok Checking for backtrace...ok Checking for geteuid...ok Checking for mkstemp...ok Checking for realpath...ok Checking for strptime...ok Checking for gettimeofday...ok Checking for regcomp...ok Checking for waitpid...ok Checking for sigaction...ok Checking for sys_signame...not found Checking for sys_siglist...ok Checking for syslog...ok Checking for opendir...ok Checking for readlink...ok Checking for sleep...ok Checking for usleep...ok Checking for pipe...ok Checking for getaddrinfo...ok Checking for utimes...ok Checking for sysinfo...ok Checking for struct sysinfo.uptime...ok Checking for _NSGetEnviron...not found Checking environ declared in unistd.h...yes Checking for sys/types.h...ok Checking for sys/stat.h...ok Checking for mkdir with one arg...no Enabling references Building static library Extension aio...enabled (default) Extension array...enabled (default) Extension binary...not enabled Extension clock...enabled (default) Extension eventloop...enabled (default) Extension exec...enabled (default) Extension file...enabled (default) Extension glob...enabled (default) Extension load...disabled Extension mk...not enabled Extension nvp...not enabled Extension oo...not enabled Extension pack...not enabled Extension package...enabled (default) Extension posix...disabled Extension readdir...enabled Extension readline...not enabled Extension regexp...enabled (default) Extension rlprompt...not enabled Extension sdl...not enabled Extension signal...disabled Extension sqlite...not enabled Extension sqlite3...not enabled Extension stdlib...disabled Extension syslog...disabled Extension tclcompat...enabled (default) Extension tree...not enabled Extension win32...not enabled Jim static extensions: aio array clock eventloop exec file glob package readdir regexp tclcompat Created jim-config.h Created jimautoconf.h Created Makefile from Makefile.in make -C jim lib make[1]: Entering directory `/builddir/build/BUILD/usb-modeswitch-1.2.7/jim' /builddir/build/BUILD/usb-modeswitch-1.2.7/jim/autosetup/jimsh0 ./make-load-static-exts.tcl aio array clock eventloop exec file package readdir regexp glob tclcompat >_load-static-exts.c || ( rm _load-static-exts.c; exit 1) cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-subcmd.o jim-subcmd.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-interactive.o jim-interactive.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-format.o jim-format.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim.o jim.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o utf8.o utf8.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jimregexp.o jimregexp.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-aio.o jim-aio.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-array.o jim-array.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-clock.o jim-clock.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-eventloop.o jim-eventloop.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-exec.o jim-exec.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-file.o jim-file.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-package.o jim-package.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-readdir.o jim-readdir.c cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o jim-regexp.o jim-regexp.c /builddir/build/BUILD/usb-modeswitch-1.2.7/jim/autosetup/jimsh0 ./make-c-ext.tcl glob.tcl >_glob.c || ( rm _glob.c; exit 1) cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o glob.o _glob.c || ( rm _glob.c; exit 1) /builddir/build/BUILD/usb-modeswitch-1.2.7/jim/autosetup/jimsh0 ./make-c-ext.tcl tclcompat.tcl >_tclcompat.c || ( rm _tclcompat.c; exit 1) cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o tclcompat.o _tclcompat.c || ( rm _tclcompat.c; exit 1) cc -D_GNU_SOURCE -Wall -I. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall -c -o _load-static-exts.o _load-static-exts.c ar cr libjim.a _load-static-exts.o jim-subcmd.o jim-interactive.o jim-format.o jim.o utf8.o jimregexp.o jim-aio.o jim-array.o jim-clock.o jim-eventloop.o jim-exec.o jim-file.o jim-package.o jim-readdir.o jim-regexp.o glob.o tclcompat.o ranlib libjim.a make[1]: Leaving directory `/builddir/build/BUILD/usb-modeswitch-1.2.7/jim' cc dispatcher.c jim/libjim.a -Ijim -o usb_modeswitch_dispatcher -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -Wall + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.aHLhAB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm ++ dirname /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm + cd usb-modeswitch-1.2.7 + rm -rf /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm + mkdir -p /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/lib/udev + mkdir -p /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/sbin + mkdir -p /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/man/man1 + mkdir -p /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/etc + install -p -m 755 usb_modeswitch /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/sbin/ + install -p -m 755 usb_modeswitch_dispatcher /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/sbin/usb_modeswitch_dispatcher + install -p -m 644 usb_modeswitch.conf /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/etc/ + gzip -9c usb_modeswitch.1 + install -m 644 usb_modeswitch.1.gz /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/man/man1 + gzip -9c usb_modeswitch_dispatcher.1 + install -m 644 usb_modeswitch_dispatcher.1.gz /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/man/man1 + install -p -m 755 usb_modeswitch.sh /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/lib/udev/usb_modeswitch + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/usb-modeswitch-1.2.7 extracting debug info from /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/sbin/usb_modeswitch extracting debug info from /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/sbin/usb_modeswitch_dispatcher /usr/lib/rpm/sepdebugcrcfix: Updated 2 CRC32s, 0 CRC32s did match. cpio: usb-modeswitch-1.2.7/jim/_glob.c: Cannot stat: No such file or directory cpio: usb-modeswitch-1.2.7/jim/_tclcompat.c: Cannot stat: No such file or directory 1496 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /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: usb_modeswitch-1.2.7-5.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.miLPoZ + umask 022 + cd /builddir/build/BUILD + cd usb-modeswitch-1.2.7 + DOCDIR=/builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/doc/usb_modeswitch-1.2.7 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/doc/usb_modeswitch-1.2.7 + cp -pr COPYING /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/doc/usb_modeswitch-1.2.7 + cp -pr README /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/doc/usb_modeswitch-1.2.7 + cp -pr ChangeLog /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/doc/usb_modeswitch-1.2.7 + cp -pr device_reference.txt /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm/usr/share/doc/usb_modeswitch-1.2.7 + exit 0 Provides: config(usb_modeswitch) = 1.2.7-5.el7 usb_modeswitch = 1.2.7-5.el7 usb_modeswitch(armv7hl-32) = 1.2.7-5.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: /bin/sh ld-linux-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.15) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libusb-0.1.so.4 rtld(GNU_HASH) Processing files: usb_modeswitch-debuginfo-1.2.7-5.el7.armv7hl Provides: usb_modeswitch-debuginfo = 1.2.7-5.el7 usb_modeswitch-debuginfo(armv7hl-32) = 1.2.7-5.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm Wrote: /builddir/build/RPMS/usb_modeswitch-1.2.7-5.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/usb_modeswitch-debuginfo-1.2.7-5.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ypjatO + umask 022 + cd /builddir/build/BUILD + cd usb-modeswitch-1.2.7 + /usr/bin/rm -rf /builddir/build/BUILDROOT/usb_modeswitch-1.2.7-5.el7.arm + exit 0 Child return code was: 0 LEAVE do -->