Mock Version: 1.2.10 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mdk3.spec'], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8391/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/mdk3.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False warning: Could not canonicalize hostname: copr-builder-283176784 Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/mdk3-6-1.el7.centos.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mdk3.spec '], chrootPath='/var/lib/mock/epel-7-x86_64-mockbuilder-8391/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=1001) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/mdk3.spec '] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.nNHKFJ + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mdk3-v6 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/mdk3-v6.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd mdk3-v6 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.ykkRiT + umask 022 + cd /builddir/build/BUILD + cd mdk3-v6 + make make -C osdep make[1]: Entering directory `/builddir/build/BUILD/mdk3-v6/osdep' Building for Linux make[2]: Entering directory `/builddir/build/BUILD/mdk3-v6/osdep' gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o osdep.o osdep.c gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o common.o common.c gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o network.o network.c gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o linux.o linux.c linux.c: In function 'is_ndiswrapper': linux.c:165:17: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int n, pid, unused; ^ linux.c: In function 'linux_set_rate': linux.c:334:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int pid, status, unused; ^ linux.c: In function 'linux_read': linux.c:498:27: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess] memset( buf, 0, sizeof( buf ) ); ^ linux.c: In function 'linux_set_channel': linux.c:807:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int pid, status, unused; ^ linux.c: In function 'linux_set_freq': linux.c:896:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int pid, status, unused; ^ linux.c: In function 'set_monitor': linux.c:1022:22: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int pid, status, unused; ^ linux.c: In function 'do_linux_open': linux.c:1366:12: warning: variable 'unused_str' set but not used [-Wunused-but-set-variable] char * unused_str; ^ linux.c:1352:15: warning: variable 'unused' set but not used [-Wunused-but-set-variable] int kver, unused; ^ linux.c: In function 'get_battery_state': linux.c:1982:35: warning: variable 'current' set but not used [-Wunused-but-set-variable] int rate = 1, remain = 0, current = 0; ^ gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o linux_tap.o linux_tap.c gcc -g -W -Wall -Wextra -O3 -Wno-strict-aliasing -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c ar cru libosdep.a osdep.o common.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o ranlib libosdep.a touch .os.Linux make[2]: Leaving directory `/builddir/build/BUILD/mdk3-v6/osdep' make[1]: Leaving directory `/builddir/build/BUILD/mdk3-v6/osdep' cc -g -O3 -Wall -Wextra -lpthread mdk3.c osdep/libosdep.a -o mdk3 -Losdep -losdep mdk3.c: In function 'read_line_from_file': mdk3.c:755:5: warning: passing argument 2 of 'getline' from incompatible pointer type [enabled by default] bytes_read = getline(&ssid_string, &size, ssid_file_fp); ^ In file included from /usr/include/stdio.h:934:0, from mdk3.c:28: /usr/include/bits/stdio.h:115:1: note: expected 'size_t *' but argument is of type 'unsigned int *' getline (char **__lineptr, size_t *__n, FILE *__stream) ^ mdk3.c:760:2: warning: passing argument 2 of 'getline' from incompatible pointer type [enabled by default] bytes_read = getline(&ssid_string, &size, ssid_file_fp); ^ In file included from /usr/include/stdio.h:934:0, from mdk3.c:28: /usr/include/bits/stdio.h:115:1: note: expected 'size_t *' but argument is of type 'unsigned int *' getline (char **__lineptr, size_t *__n, FILE *__stream) ^ mdk3.c: In function 'bruteforce_ssid': mdk3.c:809:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (brute_ssid[ssid_len-1] == (int) NULL) { ^ mdk3.c:828:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (brute_ssid[ssid_len-1] == (int) NULL) { ^ mdk3.c:847:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (brute_ssid[ssid_len-1] == (int) NULL) { ^ mdk3.c:866:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (brute_ssid[ssid_len-1] == (int) NULL) { ^ mdk3.c:888:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (brute_ssid[ssid_len-1] == (int) NULL) { ^ mdk3.c:913:32: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (brute_ssid[ssid_len-1] == (int) NULL) { ^ mdk3.c: In function 'ssid_brute_sniffer': mdk3.c:1512:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len=0; ^ mdk3.c: In function 'mac_bruteforce_sniffer': mdk3.c:1926:9: warning: variable 'plen' set but not used [-Wunused-but-set-variable] int plen = 0; ^ mdk3.c: In function 'eapol_machine': mdk3.c:2560:17: warning: variable 'len' set but not used [-Wunused-but-set-variable] int co, flag, len; ^ mdk3.c: In function 'check_probe': mdk3.c:3153:9: warning: variable 'len' set but not used [-Wunused-but-set-variable] int len = 0; ^ + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.FfREib + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64 ++ dirname /builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64 + cd mdk3-v6 + make DESTDIR=/builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64 install make -C osdep install make[1]: Entering directory `/builddir/build/BUILD/mdk3-v6/osdep' Building for Linux make[2]: Entering directory `/builddir/build/BUILD/mdk3-v6/osdep' make[2]: `.os.Linux' is up to date. make[2]: Leaving directory `/builddir/build/BUILD/mdk3-v6/osdep' make[1]: Leaving directory `/builddir/build/BUILD/mdk3-v6/osdep' install -D -m 0755 mdk3 /builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64//usr/local/sbin/mdk3 + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/mdk3-v6 extracting debug info from /builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64/usr/local/sbin/mdk3 dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 464 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: mdk3-6-1.el7.centos.x86_64 Provides: mdk3 = 6-1.el7.centos mdk3(x86-64) = 6-1.el7.centos 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.7)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.2.5)(64bit) libpthread.so.0(GLIBC_2.3.2)(64bit) rtld(GNU_HASH) Processing files: mdk3-debuginfo-6-1.el7.centos.x86_64 Provides: mdk3-debuginfo = 6-1.el7.centos mdk3-debuginfo(x86-64) = 6-1.el7.centos 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/mdk3-6-1.el7.centos.x86_64 warning: Could not canonicalize hostname: copr-builder-283176784 Wrote: /builddir/build/RPMS/mdk3-6-1.el7.centos.x86_64.rpm Wrote: /builddir/build/RPMS/mdk3-debuginfo-6-1.el7.centos.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.xSBxI6 + umask 022 + cd /builddir/build/BUILD + cd mdk3-v6 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mdk3-6-1.el7.centos.x86_64 + exit 0 Child return code was: 0 LEAVE do -->