* Package: net-wireless/mdk-3.6-r1:0 * Repository: gentoo * Maintainer: zerochaos@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking mdk3-v6.tar.bz2 to /var/tmp/portage/net-wireless/mdk-3.6-r1/work >>> Source unpacked in /var/tmp/portage/net-wireless/mdk-3.6-r1/work >>> Preparing source in /var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6 ... * Applying 3.6-makefile.patch ... [ ok ] * Applying fix_wids_mdk3_v5.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6 ... >>> Source configured. >>> Compiling source in /var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6 ... make -j4 CC=x86_64-pc-linux-gnu-gcc AR=x86_64-pc-linux-gnu-ar RANLIB=x86_64-pc-linux-gnu-ranlib make -C osdep make[1]: Entering directory '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6/osdep' Building for Linux make[2]: Entering directory '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6/osdep' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o osdep.o osdep.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o common.o common.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o network.o network.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o linux.o linux.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o linux_tap.o linux_tap.c x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -D_FILE_OFFSET_BITS=64 -D_REVISION=mdk3-v6 -fPIC -I.. -c -o radiotap/radiotap-parser.o radiotap/radiotap-parser.c x86_64-pc-linux-gnu-ar cru libosdep.a osdep.o common.o network.o linux.o linux_tap.o radiotap/radiotap-parser.o common.o x86_64-pc-linux-gnu-ranlib libosdep.a touch .os.Linux make[2]: Leaving directory '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6/osdep' make[1]: Leaving directory '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6/osdep' x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 mdk3.c osdep/libosdep.a -o mdk3 -Losdep -losdep -lpthread mdk3.c: In function ‘read_line_from_file’: mdk3.c:755:40: error: passing argument 2 of ‘getline’ from incompatible pointer type [-Wincompatible-pointer-types] 755 | bytes_read = getline(&ssid_string, &size, ssid_file_fp); | ^~~~~ | | | unsigned int * In file included from /usr/include/stdio.h:960, from mdk3.c:28: /usr/include/bits/stdio.h:118:36: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘unsigned int *’ 118 | getline (char **__lineptr, size_t *__n, FILE *__stream) | ~~~~~~~~^~~ mdk3.c:760:44: error: passing argument 2 of ‘getline’ from incompatible pointer type [-Wincompatible-pointer-types] 760 | bytes_read = getline(&ssid_string, &size, ssid_file_fp); | ^~~~~ | | | unsigned int * /usr/include/bits/stdio.h:118:36: note: expected ‘size_t *’ {aka ‘long unsigned int *’} but argument is of type ‘unsigned int *’ 118 | getline (char **__lineptr, size_t *__n, FILE *__stream) | ~~~~~~~~^~~ mdk3.c: In function ‘bruteforce_ssid’: mdk3.c:809:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 809 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:828:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 828 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:847:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 847 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:866:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 866 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:888:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 888 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c:913:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 913 | if (brute_ssid[ssid_len-1] == (int) NULL) { | ^ mdk3.c: In function ‘mdk_parser’: mdk3.c:3396:16: warning: format not a string literal and no format arguments [-Wformat-security] 3396 | printf(use_head); | ^~~~~~~~ mdk3.c:3412:31: warning: format not a string literal and no format arguments [-Wformat-security] 3412 | else { printf(use_beac); return -1; } | ^~~~~~~~ mdk3.c:3416:31: warning: format not a string literal and no format arguments [-Wformat-security] 3416 | else { printf(use_beac); return -1; } | ^~~~~~~~ mdk3.c:3434:46: warning: format not a string literal and no format arguments [-Wformat-security] 3434 | if (! argc > t+1) { printf(use_auth); return -1; } | ^~~~~~~~ mdk3.c:3439:46: warning: format not a string literal and no format arguments [-Wformat-security] 3439 | if (! argc > t+1) { printf(use_auth); return -1; } | ^~~~~~~~ mdk3.c:3497:44: warning: format not a string literal and no format arguments [-Wformat-security] 3497 | if (! argc > t+1) { printf(use_prob); return -1; } | ^~~~~~~~ mdk3.c:3538:46: warning: format not a string literal and no format arguments [-Wformat-security] 3538 | if (! (argc > t+1)) { printf(use_mich); return -1; } | ^~~~~~~~ mdk3.c:3558:32: warning: format not a string literal and no format arguments [-Wformat-security] 3558 | if (argc < 4) { printf(use_eapo); return -1; } | ^~~~~~~~ mdk3.c:3568:44: warning: format not a string literal and no format arguments [-Wformat-security] 3568 | if (! (argc > t+1)) { printf(use_eapo); return -1; } | ^~~~~~~~ mdk3.c:3572:46: warning: format not a string literal and no format arguments [-Wformat-security] 3572 | if (! (argc > t+1)) { printf(use_eapo); return -1; } | ^~~~~~~~ mdk3.c:3577:46: warning: format not a string literal and no format arguments [-Wformat-security] 3577 | if (! (argc > t+1)) { printf(use_eapo); return -1; } | ^~~~~~~~ mdk3.c:3605:43: warning: format not a string literal and no format arguments [-Wformat-security] 3605 | if (wblist != 0) { printf(use_deau); return -1; } | ^~~~~~~~ mdk3.c:3611:43: warning: format not a string literal and no format arguments [-Wformat-security] 3611 | if (wblist != 0) { printf(use_deau); return -1; } | ^~~~~~~~ mdk3.c:3633:46: warning: format not a string literal and no format arguments [-Wformat-security] 3633 | if (! (argc > t+1)) { printf(use_macb); return -1; } | ^~~~~~~~ mdk3.c:3639:46: warning: format not a string literal and no format arguments [-Wformat-security] 3639 | if (! (argc > t+1)) { printf(use_macb); return -1; } | ^~~~~~~~ mdk3.c:3643:46: warning: format not a string literal and no format arguments [-Wformat-security] 3643 | if (! (argc > t+1)) { printf(use_macb); return -1; } | ^~~~~~~~ mdk3.c:3658:46: warning: format not a string literal and no format arguments [-Wformat-security] 3658 | if (! (argc > t+1)) { printf(use_wpad); return -1; } | ^~~~~~~~ mdk3.c:3666:16: warning: format not a string literal and no format arguments [-Wformat-security] 3666 | printf(use_head); | ^~~~~~~~ mdk3.c:3675:16: warning: format not a string literal and no format arguments [-Wformat-security] 3675 | printf(use_wids); | ^~~~~~~~ mdk3.c: In function ‘main’: mdk3.c:3858:16: warning: format not a string literal and no format arguments [-Wformat-security] 3858 | printf(use_head); | ^~~~~~~~ mdk3.c:3865:20: warning: format not a string literal and no format arguments [-Wformat-security] 3865 | printf(use_head); | ^~~~~~~~ mdk3.c:3871:24: warning: format not a string literal and no format arguments [-Wformat-security] 3871 | printf(use_beac); | ^~~~~~~~ mdk3.c:3874:24: warning: format not a string literal and no format arguments [-Wformat-security] 3874 | printf(use_auth); | ^~~~~~~~ mdk3.c:3877:24: warning: format not a string literal and no format arguments [-Wformat-security] 3877 | printf(use_prob); | ^~~~~~~~ mdk3.c:3880:24: warning: format not a string literal and no format arguments [-Wformat-security] 3880 | printf(use_deau); | ^~~~~~~~ mdk3.c:3883:24: warning: format not a string literal and no format arguments [-Wformat-security] 3883 | printf(use_mich); | ^~~~~~~~ mdk3.c:3886:24: warning: format not a string literal and no format arguments [-Wformat-security] 3886 | printf(use_eapo); | ^~~~~~~~ mdk3.c:3889:24: warning: format not a string literal and no format arguments [-Wformat-security] 3889 | printf(use_wids); | ^~~~~~~~ mdk3.c:3892:24: warning: format not a string literal and no format arguments [-Wformat-security] 3892 | printf(use_macb); | ^~~~~~~~ mdk3.c:3895:24: warning: format not a string literal and no format arguments [-Wformat-security] 3895 | printf(use_wpad); | ^~~~~~~~ mdk3.c:3898:24: warning: format not a string literal and no format arguments [-Wformat-security] 3898 | printf(use_head); | ^~~~~~~~ mdk3.c:3905:16: warning: format not a string literal and no format arguments [-Wformat-security] 3905 | printf(use_head); | ^~~~~~~~ mdk3.c:3907:16: warning: format not a string literal and no format arguments [-Wformat-security] 3907 | printf(use_beac); | ^~~~~~~~ mdk3.c:3908:16: warning: format not a string literal and no format arguments [-Wformat-security] 3908 | printf(use_auth); | ^~~~~~~~ mdk3.c:3909:16: warning: format not a string literal and no format arguments [-Wformat-security] 3909 | printf(use_prob); | ^~~~~~~~ mdk3.c:3910:16: warning: format not a string literal and no format arguments [-Wformat-security] 3910 | printf(use_deau); | ^~~~~~~~ mdk3.c:3911:16: warning: format not a string literal and no format arguments [-Wformat-security] 3911 | printf(use_mich); | ^~~~~~~~ mdk3.c:3912:16: warning: format not a string literal and no format arguments [-Wformat-security] 3912 | printf(use_eapo); | ^~~~~~~~ mdk3.c:3913:16: warning: format not a string literal and no format arguments [-Wformat-security] 3913 | printf(use_wids); | ^~~~~~~~ mdk3.c:3914:16: warning: format not a string literal and no format arguments [-Wformat-security] 3914 | printf(use_macb); | ^~~~~~~~ mdk3.c:3915:16: warning: format not a string literal and no format arguments [-Wformat-security] 3915 | printf(use_wpad); | ^~~~~~~~ mdk3.c:3934:5: warning: ignoring return value of ‘setuid’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3934 | setuid( getuid() ); | ^~~~~~~~~~~~~~~~~~ make: *** [Makefile:22: mdk3] Error 1 * ERROR: net-wireless/mdk-3.6-r1::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-wireless/mdk-3.6-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-wireless/mdk-3.6-r1::gentoo'`. * The complete build log is located at '/var/log/portage/net-wireless:mdk-3.6-r1:20231205-020815.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-wireless/mdk-3.6-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-wireless/mdk-3.6-r1/temp/environment'. * Working directory: '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6' * S: '/var/tmp/portage/net-wireless/mdk-3.6-r1/work/mdk3-v6'