Package: src:mdk4
Version: 4.2-4
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules binary
dh binary
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   dh_auto_build
        make -j2 "INSTALL=install --strip-program=true"
make[1]: Entering directory '/<<PKGBUILDDIR>>'
make -C src clean
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
rm -f mdk4
rm -f debug.o helpers.o mac_addr.o linkedlist.o greylist.o dumpfile.o packet.o 
brute.o osdep.o channelhopper.o ghosting.o fragmenting.o
rm -f ../test *.o
make -C osdep clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
make -C radiotap clean
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/osdep/radiotap'
rm -f *.o
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep/radiotap'
rm -f libosdep.a  *.o .os.*
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make -C attacks clean
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/attacks'
rm -f attacks.o auth_dos.o beacon_flood.o countermeasures.o deauth.o dummy.o 
eapol.o fuzzer.o ieee80211s.o poc.o probing.o wids.o *.o
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/attacks'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make -C src
make[2]: Entering directory '/<<PKGBUILDDIR>>/src'
make -C osdep
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
debug.o debug.c
make[3]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
Building for Linux
make[4]: Entering directory '/<<PKGBUILDDIR>>/src/osdep'
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
helpers.o helpers.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 
-D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o osdep.o osdep.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
mac_addr.o mac_addr.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 
-D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o network.o 
network.c
network.c: In function ‘net_send’:
network.c:61:39: warning: ‘calloc’ sizes specified with ‘sizeof’ in the earlier 
argument and not in the later argument [-Wcalloc-transposed-args]
   61 |         pktbuf = (char*)calloc(sizeof(char), pktlen);
      |                                       ^~~~
network.c:61:39: note: earlier argument should specify number of elements, 
later size of each element
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
linkedlist.o linkedlist.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
greylist.o greylist.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 
-D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o file.o file.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
dumpfile.o dumpfile.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 
-D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o linux.o linux.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
packet.o packet.c
packet.c: In function ‘create_ieee_hdr’:
packet.c:13:3: warning: this ‘if’ clause does not guard... 
[-Wmisleading-indentation]
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |   ^~
packet.c:13:27: note: ...this statement, but the latter is misleadingly 
indented as if it were guarded by the ‘if’
   13 |   if (!fragment) seqno++; seqno %= 0x1000;
      |                           ^~~~~
linux.c: In function ‘is_ndiswrapper’:
linux.c:183:17: warning: variable ‘unused’ set but not used 
[-Wunused-but-set-variable]
  183 |     int n, pid, unused;
      |                 ^~~~~~
linux.c: In function ‘linux_set_rate’:
linux.c:457:22: warning: variable ‘unused’ set but not used 
[-Wunused-but-set-variable]
  457 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function ‘linux_set_channel_nl80211’:
linux.c:950:22: warning: variable ‘unused’ set but not used 
[-Wunused-but-set-variable]
  950 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function ‘linux_set_channel’:
linux.c:1052:22: warning: variable ‘unused’ set but not used 
[-Wunused-but-set-variable]
 1052 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function ‘linux_set_freq’:
linux.c:1143:22: warning: variable ‘unused’ set but not used 
[-Wunused-but-set-variable]
 1143 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function ‘set_monitor’:
linux.c:1273:22: warning: variable ‘unused’ set but not used 
[-Wunused-but-set-variable]
 1273 |     int pid, status, unused;
      |                      ^~~~~~
linux.c: In function ‘openraw’:
linux.c:1513:63: warning: comparison of constant ‘6’ with boolean expression is 
always false [-Wbool-compare]
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == 
DT_ORINOCO )
      |                                                               ^~
linux.c:1513:63: warning: logical not is only applied to the left hand side of 
comparison [-Wlogical-not-parentheses]
linux.c:1513:46: note: add parentheses around left hand side expression to 
silence this warning
 1513 |         if (set_monitor( dev, iface, fd ) && !dev->drivertype == 
DT_ORINOCO )
      |                                              ^~~~~~~~~~~~~~~~
      |                                              (               )
linux.c:1523:67: warning: comparison of constant ‘6’ with boolean expression is 
always false [-Wbool-compare]
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == 
DT_ORINOCO )
      |                                                                   ^~
linux.c:1523:67: warning: logical not is only applied to the left hand side of 
comparison [-Wlogical-not-parentheses]
linux.c:1523:50: note: add parentheses around left hand side expression to 
silence this warning
 1523 |             if (set_monitor( dev, iface, fd ) && !dev->drivertype == 
DT_ORINOCO )
      |                                                  ^~~~~~~~~~~~~~~~
      |                                                  (               )
linux.c: In function ‘do_linux_open’:
linux.c:1620:12: warning: variable ‘unused_str’ set but not used 
[-Wunused-but-set-variable]
 1620 |     char * unused_str;
      |            ^~~~~~~~~~
linux.c:1606:15: warning: variable ‘unused’ set but not used 
[-Wunused-but-set-variable]
 1606 |     int kver, unused;
      |               ^~~~~~
linux.c: In function ‘get_battery_state’:
linux.c:2273:35: warning: variable ‘current’ set but not used 
[-Wunused-but-set-variable]
 2273 |         int rate = 1, remain = 0, current = 0;
      |                                   ^~~~~~~
linux.c: At top level:
linux.c:2057:13: warning: ‘linux_close’ defined but not used [-Wunused-function]
 2057 | static void linux_close(struct wif *wi)
      |             ^~~~~~~~~~~
linux.c:946:12: warning: ‘linux_set_channel_nl80211’ defined but not used 
[-Wunused-function]
  946 | static int linux_set_channel_nl80211(struct wif *wi, int channel)
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:314:12: warning: ‘linux_nl80211_init’ defined but not used 
[-Wunused-function]
  314 | static int linux_nl80211_init(struct nl80211_state *state)
      |            ^~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
brute.o brute.c
linux.c: In function ‘do_linux_open.constprop’:
linux.c:1906:9: warning: ‘__builtin_strncpy’ specified bound depends on the 
length of the source argument [-Wstringop-truncation]
 1906 |         strncpy(dev->main_if, iface, strlen(iface));
      |         ^
linux.c:1906:9: note: length computed here
 1906 |         strncpy(dev->main_if, iface, strlen(iface));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:1911:9: warning: ‘__builtin_strncpy’ specified bound depends on the 
length of the source argument [-Wstringop-truncation]
 1911 |         strncpy(iface, buf, strlen(buf));
      |         ^
linux.c:1911:9: note: length computed here
 1911 |         strncpy(iface, buf, strlen(buf));
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
linux.c:1937:37: warning: ‘%s’ directive output may be truncated writing up to 
255 bytes into a region of size 113 [-Wformat-truncation=]
 1937 |                     "/sys/class/net/%s/device/rtap_iface", 
this_iface->d_name);
      |                                     ^~
In file included from /usr/include/stdio.h:970,
                 from linux.c:34:
In function ‘snprintf’,
    inlined from ‘do_linux_open.constprop’ at linux.c:1936:17:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 34 and 289 bytes into a destination 
of size 128
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
osdep.o osdep.c
linux.c: In function ‘get_battery_state’:
linux.c:2310:13: warning: argument 1 null where non-null expected [-Wnonnull]
 2310 |             closedir(batteries);
      |             ^~~~~~~~~~~~~~~~~~~
In file included from linux.c:40:
/usr/include/dirent.h:134:12: note: in a call to function ‘closedir’ declared 
‘nonnull’
  134 | extern int closedir (DIR *__dirp) __nonnull ((1));
      |            ^~~~~~~~
linux.c:2318:78: warning: ‘%s’ directive output may be truncated writing up to 
255 bytes into a region of size 109 [-Wformat-truncation=]
 2318 |             snprintf(battery_info, sizeof(battery_info), 
"/proc/acpi/battery/%s/info", this_battery->d_name);
      |                                                                         
     ^~
In function ‘snprintf’,
    inlined from ‘get_battery_state’ at linux.c:2318:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 25 and 280 bytes into a destination 
of size 128
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
linux.c: In function ‘get_battery_state’:
linux.c:2330:37: warning: ‘%s’ directive output may be truncated writing up to 
255 bytes into a region of size 109 [-Wformat-truncation=]
 2330 |                 "/proc/acpi/battery/%s/state", this_battery->d_name);
      |                                     ^~
In function ‘snprintf’,
    inlined from ‘get_battery_state’ at linux.c:2329:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 26 and 281 bytes into a destination 
of size 128
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
linux.c: In function ‘get_battery_state’:
linux.c:2289:40: warning: ‘%s’ directive output may be truncated writing up to 
255 bytes into a region of size 106 [-Wformat-truncation=]
 2289 |                 "/proc/acpi/ac_adapter/%s/state", this_adapter->d_name);
      |                                        ^~
In function ‘snprintf’,
    inlined from ‘get_battery_state’ at linux.c:2288:13:
/usr/include/x86_64-linux-gnu/bits/stdio2.h:68:10: note: 
‘__builtin___snprintf_chk’ output between 29 and 284 bytes into a destination 
of size 128
   68 |   return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   69 |                                    __glibc_objsize (__s), __fmt,
      |                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   70 |                                    __va_arg_pack ());
      |                                    ~~~~~~~~~~~~~~~~~
osdep.c: In function ‘osdep_init_txpowers’:
osdep.c:165:36: warning: ‘%s’ directive argument is null [-Wformat-overflow=]
  165 |       printf("D'oh, open interface %s first, idiot...\n", 
osdep_iface_out);
      |                                    ^~
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 
-D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o linux_tap.o 
linux_tap.c
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
channelhopper.o channelhopper.c
channelhopper.c:48:26: error: initialization of ‘pthread_t’ {aka ‘long unsigned 
int’} from ‘void *’ makes integer from pointer without a cast [-Wint-conversion]
   48 | pthread_t chan_sniffer = NULL;
      |                          ^~~~
channelhopper.c: In function ‘error_handler’:
channelhopper.c:155:46: warning: unused parameter ‘nla’ [-Wunused-parameter]
  155 | static int error_handler(struct sockaddr_nl *nla, struct nlmsgerr *err,
      |                          ~~~~~~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘finish_handler’:
channelhopper.c:163:42: warning: unused parameter ‘msg’ [-Wunused-parameter]
  163 | static int finish_handler(struct nl_msg *msg, void *arg)
      |                           ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘ack_handler’:
channelhopper.c:170:39: warning: unused parameter ‘msg’ [-Wunused-parameter]
  170 | static int ack_handler(struct nl_msg *msg, void *arg)
      |                        ~~~~~~~~~~~~~~~^~~
channelhopper.c: In function ‘valid_handler’:
channelhopper.c:186:45: warning: unused parameter ‘arg’ [-Wunused-parameter]
  186 | int valid_handler(struct nl_msg *msg, void *arg)
      |                                       ~~~~~~^~~
channelhopper.c: In function ‘handle_channels’:
channelhopper.c:328:50: warning: unused parameter ‘state’ [-Wunused-parameter]
  328 | static int handle_channels(struct nl80211_state *state, struct nl_msg 
*msg)
      |                            ~~~~~~~~~~~~~~~~~~~~~~^~~~~
channelhopper.c: At top level:
channelhopper.c:240:14: warning: ‘dfs_state_name’ defined but not used 
[-Wunused-function]
  240 | static char *dfs_state_name(enum nl80211_dfs_state state)
      |              ^~~~~~~~~~~~~~
make[2]: *** [<builtin>: channelhopper.o] Error 1
make[2]: *** Waiting for unfinished jobs....
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 
-D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o 
radiotap/radiotap.o radiotap/radiotap.c
linux_tap.c: In function ‘ti_open’:
linux_tap.c:72:5: warning: ‘__builtin_strncpy’ output may be truncated copying 
15 bytes from a string of length 63 [-Wstringop-truncation]
   72 |     strncpy(priv->tl_ifr.ifr_name, priv->tl_name,
      |     ^
gcc -g -O2 -Werror=implicit-function-declaration 
-ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong 
-fstack-clash-protection -Wformat -Werror=format-security -fcf-protection 
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -g -O3 -Wall -Wextra -fcommon -D_FILE_OFFSET_BITS=64 
-D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL -I/usr/include/libnl3  -fPIC -I..  
-D_FILE_OFFSET_BITS=64 -D_REVISION=mdk4-v2 -DCONFIG_LIBNL30 -DCONFIG_LIBNL 
-I/usr/include/libnl3  -fPIC -I..  -Wdate-time -D_FORTIFY_SOURCE=2  -c -o common.o common.c
ar cru libosdep.a  osdep.o network.o file.o linux.o linux_tap.o 
radiotap/radiotap.o common.o
ar: `u' modifier ignored since `D' is the default (see `U')
ranlib libosdep.a
touch .os.Linux
make[4]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make[3]: Leaving directory '/<<PKGBUILDDIR>>/src/osdep'
make[2]: Leaving directory '/<<PKGBUILDDIR>>/src'
make[1]: *** [Makefile:10: all] Error 2
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
dh_auto_build: error: make -j2 "INSTALL=install --strip-program=true" returned 
exit code 2
make: *** [debian/rules:10: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202409/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.

Reply via email to