==> Creating clean working copy [build]...done ==> Making package: reaver-wps-fork-t6x-git 1.5.2.r17.gff99a96-1 (Fri May 13 12:17:33 EDT 2016) ==> Retrieving sources... -> Cloning reaver-wps-fork-t6x-git git repo... Cloning into bare repository '/srv/build/builder/plugbuild/work/reaver-wps-fork-t6x-git/reaver-wps-fork-t6x-git'... ==> Validating source files with sha512sums... reaver-wps-fork-t6x-git ... Skipped ==> Making package: reaver-wps-fork-t6x-git 1.5.2.r17.gff99a96-1 (Fri May 13 12:17:34 EDT 2016) ==> Checking runtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (15) dbus-1.10.8-1 hwids-20160306-1 iptables-1.6.0-1 kbd-2.0.3-1 kmod-22-1 libdbus-1.10.8-1 libelf-0.166-1 libmnl-1.0.3-2 libnftnl-1.0.5-1 libnl-3.2.27-1 libseccomp-2.3.1-1 libusb-1.0.20-1 systemd-229-3 libpcap-1.7.4-1 pixiewps-1.2.2-1 Total Download Size: 0.55 MiB Total Installed Size: 40.60 MiB :: Proceed with installation? [Y/n] :: Retrieving packages... downloading libnl-3.2.27-1-x86_64.pkg.tar.xz... downloading libpcap-1.7.4-1-x86_64.pkg.tar.xz... downloading pixiewps-1.2.2-1-x86_64.pkg.tar.xz... downloading pixiewps-1.2.2-1-x86_64.pkg.tar.xz... downloading pixiewps-1.2.2-1-x86_64.pkg.tar.xz... downloading pixiewps-1.2.2-1-x86_64.pkg.tar.xz... downloading pixiewps-1.2.2-1-x86_64.pkg.tar.xz... checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing libnl... installing libdbus... installing dbus... Optional dependencies for dbus libx11: dbus-launch support installing libmnl... installing libnftnl... installing iptables... installing kbd... installing kmod... installing hwids... installing libelf... installing libseccomp... installing systemd... Initializing machine ID from random generator. Creating group systemd-journal-upload with gid 999. Creating user systemd-journal-upload (systemd Journal Upload) with uid 999 and gid 999. Creating group systemd-coredump with gid 998. Creating user systemd-coredump (systemd Core Dumper) with uid 998 and gid 998. Creating group systemd-journal-remote with gid 997. Creating user systemd-journal-remote (systemd Journal Remote) with uid 997 and gid 997. Created symlink /etc/systemd/system/getty.target.wants/getty@tty1.service, pointing to /usr/lib/systemd/system/getty@.service. Created symlink /etc/systemd/system/multi-user.target.wants/remote-fs.target, pointing to /usr/lib/systemd/system/remote-fs.target. :: Append 'init=/usr/lib/systemd/systemd' to your kernel command line in your bootloader to replace sysvinit with systemd, or install systemd-sysvcompat Optional dependencies for systemd cryptsetup: required for encrypted block devices libmicrohttpd: remote journald capabilities quota-tools: kernel-level quota management systemd-sysvcompat: symlink package to provide sysvinit binaries polkit: allow administration as unprivileged user installing libusb... installing libpcap... installing pixiewps... ==> Checking buildtime dependencies... ==> Installing missing dependencies... resolving dependencies... looking for conflicting packages... Packages (2) perl-error-0.17024-1 git-2.8.2-1 Total Installed Size: 27.23 MiB :: Proceed with installation? [Y/n] checking keyring... checking package integrity... loading package files... checking for file conflicts... checking available disk space... :: Processing package changes... installing perl-error... installing git... Optional dependencies for git tk: gitk and git gui perl-libwww: git svn perl-term-readkey: git svn perl-mime-tools: git send-email perl-net-smtp-ssl: git send-email TLS support perl-authen-sasl: git send-email TLS support python2: various helper scripts subversion: git svn cvsps2: git cvsimport gnome-keyring: GNOME keyring credential helper ==> Retrieving sources... ==> WARNING: Skipping verification of source file PGP signatures. ==> Validating source files with sha512sums... reaver-wps-fork-t6x-git ... Skipped ==> Extracting sources... -> Creating working copy of reaver-wps-fork-t6x git repo... Cloning into 'reaver-wps-fork-t6x-git'... done. ==> Starting pkgver()... ==> Starting build()... 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 for pcap_open_live in -lpcap... yes checking for sqlite3_open in -lsqlite3... yes checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -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 stdlib.h... (cached) yes checking for stdint.h... (cached) yes checking for string.h... (cached) yes checking pcap.h usability... yes checking pcap.h presence... yes checking for pcap.h... yes checking sqlite3.h usability... yes checking sqlite3.h presence... yes checking for sqlite3.h... yes configure: creating ./config.status config.status: creating Makefile (cd utils && make) make[1]: Entering directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/utils' CC base64.c common.c: In function 'pingen_zhaochunsheng': common.c:597:14: warning: passing argument 1 of 'snprintf' makes pointer from integer without a cast [-Wint-conversion] snprintf(pin, pin_len, "%08d", (default_pin * 10) + wps_checksum(default_pin)); ^~~ In file included from includes.h:26:0, from common.c:15: /usr/include/stdio.h:386:12: note: expected 'char * restrict' but argument is of type 'int' extern int snprintf (char *__restrict __s, size_t __maxlen, ^~~~~~~~ common.c: In function 'pingen_zyxel': common.c:614:25: warning: implicit declaration of function 'wps_pin_checksum' [-Wimplicit-function-declaration] return (pin * 10) + wps_pin_checksum(pin); ^~~~~~~~~~~~~~~~ CC common.c CC ip_addr.c CC radiotap.c CC trace.c CC uuid.c CC wpa_debug.c CC wpabuf.c CC os_unix.c CC eloop.c ar crT libutils.a base64.o common.o ip_addr.o radiotap.o trace.o uuid.o wpa_debug.o wpabuf.o os_unix.o eloop.o make[1]: Leaving directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/utils' (cd tls && make) make[1]: Entering directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/tls' CC asn1.c In file included from bignum.c:21:0: libtommath.c: In function 'mp_exptmod': libtommath.c:580:9: warning: variable 'dr' set but not used [-Wunused-but-set-variable] int dr; ^~ CC bignum.c CC pkcs1.c CC pkcs5.c CC pkcs8.c CC rsa.c CC tlsv1_client.c CC tlsv1_client_read.c CC tlsv1_client_write.c CC tlsv1_common.c CC tlsv1_cred.c CC tlsv1_record.c CC tlsv1_server.c tlsv1_server_read.c: In function 'tls_process_client_key_exchange_rsa': tlsv1_server_read.c:474:9: warning: variable 'encr_len' set but not used [-Wunused-but-set-variable] u16 encr_len; ^~~~~~~~ CC tlsv1_server_read.c CC tlsv1_server_write.c CC x509v3.c ar crT libtls.a asn1.o bignum.o pkcs1.o pkcs5.o pkcs8.o rsa.o tlsv1_client.o tlsv1_client_read.o tlsv1_client_write.o tlsv1_common.o tlsv1_cred.o tlsv1_record.o tlsv1_server.o tlsv1_server_read.o tlsv1_server_write.o x509v3.o make[1]: Leaving directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/tls' (cd crypto && make) make[1]: Entering directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/crypto' CC aes-cbc.c CC aes-ctr.c CC aes-eax.c CC aes-encblock.c CC aes-internal.c CC aes-internal-dec.c CC aes-internal-enc.c CC aes-omac1.c CC aes-unwrap.c CC aes-wrap.c CC des-internal.c CC dh_group5.c CC dh_groups.c CC md4-internal.c CC md5.c In file included from ../utils/common.h:18:0, from md5-internal.c:17: md5-internal.c: In function 'MD5Final': md5-internal.c:191:29: warning: argument to 'sizeof' in 'memset' call is the same expression as the destination; did you mean to dereference it? [-Wsizeof-pointer-memaccess] os_memset(ctx, 0, sizeof(ctx)); /* In case it's sensitive */ ^ ../utils/os.h:413:41: note: in definition of macro 'os_memset' #define os_memset(s, c, n) memset(s, c, n) ^ CC md5-internal.c CC md5-non-fips.c CC milenage.c CC ms_funcs.c CC rc4.c CC sha1.c CC sha1-internal.c CC sha1-pbkdf2.c CC sha1-tlsprf.c CC sha1-tprf.c CC sha256.c CC sha256-internal.c CC crypto_internal.c CC crypto_internal-cipher.c CC crypto_internal-modexp.c CC crypto_internal-rsa.c CC tls_internal.c CC fips_prf_internal.c ar crT libcrypto.a aes-cbc.o aes-ctr.o aes-eax.o aes-encblock.o aes-internal.o aes-internal-dec.o aes-internal-enc.o aes-omac1.o aes-unwrap.o aes-wrap.o des-internal.o dh_group5.o dh_groups.o md4-internal.o md5.o md5-internal.o md5-non-fips.o milenage.o ms_funcs.o rc4.o sha1.o sha1-internal.o sha1-pbkdf2.o sha1-tlsprf.o sha1-tprf.o sha256.o sha256-internal.o crypto_internal.o crypto_internal-cipher.o crypto_internal-modexp.o crypto_internal-rsa.o tls_internal.o fips_prf_internal.o make[1]: Leaving directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/crypto' (cd wps && make) make[1]: Entering directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/wps' cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_attr_build.c -c cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_attr_parse.c -c cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_attr_process.c -c cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps.c -c cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_common.c -c cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_dev_attr.c -c wps_dev_attr.c: In function 'wps_process_manufacturer': wps_dev_attr.c:200:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c:200:22: warning: format '%c' expects argument of type 'int', but argument 2 has type 'char *' [-Wformat=] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c: In function 'wps_process_model_name': wps_dev_attr.c:241:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c:241:22: warning: format '%c' expects argument of type 'int', but argument 2 has type 'char *' [-Wformat=] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c: In function 'wps_process_model_number': wps_dev_attr.c:280:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c:280:22: warning: format '%c' expects argument of type 'int', but argument 2 has type 'char *' [-Wformat=] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c: In function 'wps_process_serial_number': wps_dev_attr.c:319:26: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c:319:22: warning: format '%c' expects argument of type 'int', but argument 2 has type 'char *' [-Wformat=] printf("%c", (char *) str[pixiecnt]); ^ wps_dev_attr.c:344:59: warning: implicit declaration of function 'mac2str' [-Wimplicit-function-declaration] printf("[Pin Gen] Pin Generated : %08d\n",pingen_belkin(mac2str(get_bssid(),'\0'), str, str_len, 0)); ^~~~~~~ wps_dev_attr.c:344:59: warning: passing argument 1 of 'pingen_belkin' makes pointer from integer without a cast [-Wint-conversion] In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:447:5: note: expected 'char *' but argument is of type 'int' int pingen_belkin(char *mac, char *serial, int len_serial, int add); ^~~~~~~~~~~~~ wps_dev_attr.c:344:86: warning: passing argument 2 of 'pingen_belkin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] printf("[Pin Gen] Pin Generated : %08d\n",pingen_belkin(mac2str(get_bssid(),'\0'), str, str_len, 0)); ^~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:447:5: note: expected 'char *' but argument is of type 'const u8 * {aka const unsigned char *}' int pingen_belkin(char *mac, char *serial, int len_serial, int add); ^~~~~~~~~~~~~ wps_dev_attr.c:345:63: warning: passing argument 1 of 'pingen_belkin' makes pointer from integer without a cast [-Wint-conversion] printf("[Pin Gen] Pin Generated (+1): %08d\n",pingen_belkin(mac2str(get_bssid(),'\0'), str, str_len, 1)); ^~~~~~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:447:5: note: expected 'char *' but argument is of type 'int' int pingen_belkin(char *mac, char *serial, int len_serial, int add); ^~~~~~~~~~~~~ wps_dev_attr.c:345:90: warning: passing argument 2 of 'pingen_belkin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] printf("[Pin Gen] Pin Generated (+1): %08d\n",pingen_belkin(mac2str(get_bssid(),'\0'), str, str_len, 1)); ^~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:447:5: note: expected 'char *' but argument is of type 'const u8 * {aka const unsigned char *}' int pingen_belkin(char *mac, char *serial, int len_serial, int add); ^~~~~~~~~~~~~ wps_dev_attr.c:346:65: warning: passing argument 1 of 'pingen_belkin' makes pointer from integer without a cast [-Wint-conversion] printf("[Pin Gen] Pin Generated (-1): %08d\n\n",pingen_belkin(mac2str(get_bssid(),'\0'), str, str_len, -1)); ^~~~~~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:447:5: note: expected 'char *' but argument is of type 'int' int pingen_belkin(char *mac, char *serial, int len_serial, int add); ^~~~~~~~~~~~~ wps_dev_attr.c:346:92: warning: passing argument 2 of 'pingen_belkin' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] printf("[Pin Gen] Pin Generated (-1): %08d\n\n",pingen_belkin(mac2str(get_bssid(),'\0'), str, str_len, -1)); ^~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:447:5: note: expected 'char *' but argument is of type 'const u8 * {aka const unsigned char *}' int pingen_belkin(char *mac, char *serial, int len_serial, int add); ^~~~~~~~~~~~~ wps_dev_attr.c:355:58: warning: passing argument 1 of 'pingen_dlink' makes pointer from integer without a cast [-Wint-conversion] printf("[Pin Gen] Pin Generated : %08d\n",pingen_dlink(mac2str(get_bssid(),'\0'), 0)); ^~~~~~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:448:5: note: expected 'char *' but argument is of type 'int' int pingen_dlink(char *mac, int add); ^~~~~~~~~~~~ wps_dev_attr.c:356:62: warning: passing argument 1 of 'pingen_dlink' makes pointer from integer without a cast [-Wint-conversion] printf("[Pin Gen] Pin Generated (+1): %08d\n",pingen_dlink(mac2str(get_bssid(),'\0'), 1)); ^~~~~~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:448:5: note: expected 'char *' but argument is of type 'int' int pingen_dlink(char *mac, int add); ^~~~~~~~~~~~ wps_dev_attr.c:357:64: warning: passing argument 1 of 'pingen_dlink' makes pointer from integer without a cast [-Wint-conversion] printf("[Pin Gen] Pin Generated (-1): %08d\n\n",pingen_dlink(mac2str(get_bssid(),'\0'), -1)); ^~~~~~~ In file included from ../wps.h:40:0, from ../defs.h:46, from ../globule.h:38, from wps_dev_attr.c:15: ../utils/common.h:448:5: note: expected 'char *' but argument is of type 'int' int pingen_dlink(char *mac, int add); ^~~~~~~~~~~~ wps_dev_attr.c:364:45: warning: implicit declaration of function 'pingen_zyxel' [-Wimplicit-function-declaration] printf("[Pin Gen] Pin Generated : %08d\n",pingen_zyxel(mac2str(get_bssid(),'\0'), 0)); ^~~~~~~~~~~~ cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_enrollee.c -c cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_registrar.c -c wps_registrar.c: In function 'wps_build_m4': wps_registrar.c:1499:52: warning: format '%d' expects argument of type 'int', but argument 3 has type 'size_t {aka long unsigned int}' [-Wformat=] wpa_printf(MSG_DEBUG, "WPS: Dev Password Len: %d", wps->dev_password_len); ^ In file included from /usr/include/string.h:630:0, from ../defs.h:42, from ../globule.h:38, from wps_registrar.c:14: wps_registrar.c: In function 'wps_process_e_hash2': wps_registrar.c:1925:19: warning: pointer targets in passing argument 2 of '__builtin_strncpy' differ in signedness [-Wpointer-sign] strncpy(p_bssid, mac2str(get_bssid(),':'), 17); ^ wps_registrar.c:1925:19: note: expected 'const char *' but argument is of type 'unsigned char *' wps_registrar.c:2149:40: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(cmd_reaver_test_aux,mac2str(get_bssid(),':')); ^~~~~~~ In file included from ../defs.h:42:0, from ../globule.h:38, from wps_registrar.c:14: /usr/include/string.h:133:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../defs.h:42, from ../globule.h:38, from wps_registrar.c:14: wps_registrar.c: In function 'wps_process_ap_settings_r': wps_registrar.c:2791:27: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wps->key = strdup(wps->cred.key); ^ In file included from ../defs.h:42:0, from ../globule.h:38, from wps_registrar.c:14: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../defs.h:42, from ../globule.h:38, from wps_registrar.c:14: wps_registrar.c:2791:27: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] wps->key = strdup(wps->cred.key); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type 'u8 * {aka unsigned char *}' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^~~~~~~~ wps_registrar.c:2795:29: warning: pointer targets in passing argument 1 of 'strlen' differ in signedness [-Wpointer-sign] wps->essid = strdup(wps->cred.ssid); ^ In file included from ../defs.h:42:0, from ../globule.h:38, from wps_registrar.c:14: /usr/include/string.h:394:15: note: expected 'const char *' but argument is of type 'u8 * {aka unsigned char *}' extern size_t strlen (const char *__s) ^~~~~~ In file included from /usr/include/string.h:630:0, from ../defs.h:42, from ../globule.h:38, from wps_registrar.c:14: wps_registrar.c:2795:29: warning: pointer targets in passing argument 1 of '__strdup' differ in signedness [-Wpointer-sign] wps->essid = strdup(wps->cred.ssid); ^ /usr/include/bits/string2.h:1278:14: note: expected 'const char *' but argument is of type 'u8 * {aka unsigned char *}' extern char *__strdup (const char *__string) __THROW __attribute_malloc__; ^~~~~~~~ At top level: wps_registrar.c:2252:12: warning: 'wps_process_e_snonce2' defined but not used [-Wunused-function] static int wps_process_e_snonce2(struct wps_data *wps, const u8 *e_snonce2) ^~~~~~~~~~~~~~~~~~~~~ wps_registrar.c:1456:24: warning: 'wps_build_m2d' defined but not used [-Wunused-function] static struct wpabuf * wps_build_m2d(struct wps_data *wps) ^~~~~~~~~~~~~ wps_registrar.c:888:13: warning: 'wps_cb_reg_success' defined but not used [-Wunused-function] static void wps_cb_reg_success(struct wps_registrar *reg, const u8 *mac_addr, ^~~~~~~~~~~~~~~~~~ wps_registrar.c:862:12: warning: 'wps_cb_new_psk' defined but not used [-Wunused-function] static int wps_cb_new_psk(struct wps_registrar *reg, const u8 *mac_addr, ^~~~~~~~~~~~~~ wps_registrar.c:770:13: warning: 'wps_registrar_pin_completed' defined but not used [-Wunused-function] static void wps_registrar_pin_completed(struct wps_registrar *reg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ wps_registrar.c:759:13: warning: 'wps_registrar_pbc_completed' defined but not used [-Wunused-function] static void wps_registrar_pbc_completed(struct wps_registrar *reg) ^~~~~~~~~~~~~~~~~~~~~~~~~~~ wps_registrar.c:257:13: warning: 'wps_registrar_remove_pbc_session' defined but not used [-Wunused-function] static void wps_registrar_remove_pbc_session(struct wps_registrar *reg, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -I../utils -I ../ wps_ufd.c -c make[1]: Leaving directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/wps' (cd lwe && make BUILD_STATIC=y libiw.a) make[1]: Entering directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/lwe' cp wireless.21.h wireless.h gcc -Os -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Wpointer-arith -Wcast-qual -Winline -I. -MMD -fPIC -c -o iwlib.so iwlib.c In file included from iwlib.c:14:0: iwlib.c: In function 'print_iface_version_info': iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:387:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:396:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWRANGE, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.c: In function 'iw_get_range_info': iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:483:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWRANGE, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.c: In function 'iw_get_priv_info': iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:623:12: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWPRIV, &wrq) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.c: In function 'iw_set_basic_config': iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:748:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:761:12: note: called from here if(iw_get_ext(skfd, ifname, SIOCSIWMODE, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:506:9: warning: inlining failed in call to 'iw_set_ext': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:773:12: note: called from here if(iw_set_ext(skfd, ifname, SIOCSIWFREQ, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:506:9: warning: inlining failed in call to 'iw_set_ext': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:793:16: note: called from here if(iw_set_ext(skfd, ifname, SIOCSIWENCODE, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:506:9: warning: inlining failed in call to 'iw_set_ext': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:813:12: note: called from here if(iw_set_ext(skfd, ifname, SIOCSIWENCODE, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:506:9: warning: inlining failed in call to 'iw_set_ext': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:827:12: note: called from here if(iw_set_ext(skfd, ifname, SIOCSIWNWID, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:506:9: warning: inlining failed in call to 'iw_set_ext': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:850:12: note: called from here if(iw_set_ext(skfd, ifname, SIOCSIWESSID, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.c: In function 'iw_get_basic_config': iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:673:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWNAME, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:683:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWNWID, &wrq) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:690:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWFREQ, &wrq) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:701:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWENCODE, &wrq) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:712:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWESSID, &wrq) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:719:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWMODE, &wrq) >= 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.c: In function 'iw_get_stats': iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:1276:12: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWSTATS, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.c: In function 'iw_process_scan': iwlib.h:506:9: warning: inlining failed in call to 'iw_set_ext': call is unlikely and code size would grow [-Winline] iw_set_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:3058:13: note: called from here if((iw_set_ext(skfd, ifname, SIOCSIWSCAN, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from iwlib.c:14:0: iwlib.h:522:9: warning: inlining failed in call to 'iw_get_ext': call is unlikely and code size would grow [-Winline] iw_get_ext(int skfd, /* Socket to the kernel */ ^~~~~~~~~~ iwlib.c:3082:8: note: called from here if(iw_get_ext(skfd, ifname, SIOCGIWSCAN, &wrq) < 0) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ rm -f libiw.a ar cru libiw.a iwlib.so ar: `u' modifier ignored since `D' is the default (see `U') ranlib libiw.a make[1]: Leaving directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/lwe' (cd libwps && make) make[1]: Entering directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/libwps' gcc -Wall libwps.c -c libwps.c: In function 'parse_wps_parameters': libwps.c:29:12: warning: variable 'data_len' set but not used [-Wunused-but-set-variable] size_t data_len = 0, offset = 0; ^~~~~~~~ make[1]: Leaving directory '/build/reaver-wps-fork-t6x-git/src/reaver-wps-fork-t6x-git/src/libwps' gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 globule.c -c globule.c: In function 'set_p1_index': globule.c:111:9: warning: implicit declaration of function 'cprintf' [-Wimplicit-function-declaration] cprintf(VERBOSE,"[+] p1_index set to %i\n",index); ^~~~~~~ gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps argsparser.c -c argsparser.c: In function 'process_arguments': argsparser.c:102:17: warning: implicit declaration of function 'set_op_gen_pin' [-Wimplicit-function-declaration] set_op_gen_pin(atoi(optarg)); ^~~~~~~~~~~~~~ argsparser.c:191:17: warning: implicit declaration of function 'set_quit_pin_attempts' [-Wimplicit-function-declaration] set_quit_pin_attempts(atoi(optarg)); ^~~~~~~~~~~~~~~~~~~~~ gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 init.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 misc.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps sql.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 builder.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 crc.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps 80211.c -c 80211.c: In function 'read_ap_beacon': 80211.c:90:12: warning: variable 'tag_offset' set but not used [-Wunused-but-set-variable] size_t tag_offset = 0; ^~~~~~~~~~ gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 iface.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps wpsmon.c *.o libwps/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a -ldl -lm -lpcap -lsqlite3 -Wl,-O1,--sort-common,--as-needed,-z,relro -o wash wpsmon.c: In function 'parse_wps_settings': wpsmon.c:438:27: warning: pointer targets in passing argument 2 of 'strcat' differ in signedness [-Wpointer-sign] strcat(cmd_chipset, mac2str(get_bssid(),':')); ^~~~~~~ In file included from libwps/libwps.h:18:0, from wpsmon.h:41, from wpsmon.c:34: /usr/include/string.h:133:14: note: expected 'const char * restrict' but argument is of type 'unsigned char *' extern char *strcat (char *__restrict __dest, const char *__restrict __src) ^~~~~~ gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps sigint.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 sigalrm.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 keys.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 pins.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 send.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps exchange.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps session.c -c gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps cracker.c -c cracker.c: In function 'crack': cracker.c:266:17: warning: implicit declaration of function 'get_cracking_done' [-Wimplicit-function-declaration] if (get_cracking_done() || (pin_attempts == get_quit_pin_attempts()) ) ^~~~~~~~~~~~~~~~~ cracker.c:266:57: warning: implicit declaration of function 'get_quit_pin_attempts' [-Wimplicit-function-declaration] if (get_cracking_done() || (pin_attempts == get_quit_pin_attempts()) ) ^~~~~~~~~~~~~~~~~~~~~ gcc -DCONF_DIR='"/etc/reaver"' -DREAVER_DATABASE='"/etc/reaver/reaver.db"' -Wall -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -Ilibwps wpscrack.c *.o libwps/*.o wps/*.o tls/bignum.o tls/libtls.a utils/libutils.a crypto/libcrypto.a lwe/libiw.a -ldl -lm -lpcap -lsqlite3 -Wl,-O1,--sort-common,--as-needed,-z,relro -o reaver wpscrack.c: In function 'main': wpscrack.c:41:33: warning: variable 'r' set but not used [-Wunused-but-set-variable] int ret_val = EXIT_FAILURE, r = 0; ^ ==> Entering fakeroot environment... ==> Starting package()... ==> Tidying install... -> Removing libtool files... -> Purging unwanted files... -> Removing static library files... -> Stripping unneeded symbols from binaries and libraries... -> Compressing man and info pages... ==> Checking for packaging issue... ==> Creating package "reaver-wps-fork-t6x-git"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... error: invalid option '--noprogressbar' -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: reaver-wps-fork-t6x-git 1.5.2.r17.gff99a96-1 (Fri May 13 12:17:51 EDT 2016) ==> Cleaning up... ==> Removing installed dependencies... checking dependencies... :: gettext optionally requires git: for autopoint infrastructure updates :: glib2 optionally requires libelf: gresource inspection tool Packages (17) dbus-1.10.8-1 git-2.8.2-1 hwids-20160306-1 iptables-1.6.0-1 kbd-2.0.3-1 kmod-22-1 libdbus-1.10.8-1 libelf-0.166-1 libmnl-1.0.3-2 libnftnl-1.0.5-1 libnl-3.2.27-1 libpcap-1.7.4-1 libseccomp-2.3.1-1 libusb-1.0.20-1 perl-error-0.17024-1 pixiewps-1.2.2-1 systemd-229-3 Total Removed Size: 67.83 MiB :: Do you want to remove these packages? [Y/n] :: Processing package changes... removing pixiewps... removing libpcap... removing libusb... removing systemd... removing libseccomp... removing libnl... removing libelf... removing kmod... removing kbd... removing iptables... removing libnftnl... removing libmnl... removing hwids... removing git... removing perl-error... removing dbus... removing libdbus...