Package: miniupnpd
Version: 1.8.20140523-4
Severity: serious

This package fails to build in unstable:

> sbuild (Debian sbuild) 0.68.0 (15 Jan 2016) on dl580gen9-02.hlinux
...
> cc -g -O2 -fstack-protector-strong -Wformat -Werror=format-security 
> -fno-strict-aliasing -fno-common -Wall -Wextra -Wstrict-prototypes 
> -Wdeclaration-after-statement  -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE  
> -c -o netfilter/iptcrdr.o netfilter/iptcrdr.c
> netfilter/iptcrdr.c: In function 'get_nat_redirect_rule':
> netfilter/iptcrdr.c:52:22: error: unknown type name 'iptc_handle_t'
>  #define IPTC_HANDLE  iptc_handle_t
>                       ^
> netfilter/iptcrdr.c:305:2: note: in expansion of macro 'IPTC_HANDLE'
>   IPTC_HANDLE h;
>   ^
> netfilter/iptcrdr.c:312:4: warning: assignment makes integer from pointer 
> without a cast [-Wint-conversion]
>   h = iptc_init("nat");
>     ^
> netfilter/iptcrdr.c:320:36: warning: passing argument 2 of 'iptc_is_chain' 
> makes pointer from integer without a cast [-Wint-conversion]
>   if(!iptc_is_chain(nat_chain_name, h))
>                                     ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:28:5: note: expected 'struct xtc_handle * 
> const' but argument is of type 'int'
>  int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
>      ^
> netfilter/iptcrdr.c:331:43: warning: passing argument 2 of 'iptc_first_rule' 
> from incompatible pointer type [-Wincompatible-pointer-types]
>    for(e = iptc_first_rule(nat_chain_name, &h);
>                                            ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:41:25: note: expected 'struct xtc_handle *' 
> but argument is of type 'int *'
>  const struct ipt_entry *iptc_first_rule(const char *chain,
>                          ^
> netfilter/iptcrdr.c:333:26: warning: passing argument 2 of 'iptc_next_rule' 
> from incompatible pointer type [-Wincompatible-pointer-types]
>     e = iptc_next_rule(e, &h))
>                           ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:45:25: note: expected 'struct xtc_handle *' 
> but argument is of type 'int *'
>  const struct ipt_entry *iptc_next_rule(const struct ipt_entry *prev,
>                          ^
> In file included from netfilter/iptcrdr.c:13:0:
> netfilter/iptcrdr.c:356:40: error: dereferencing pointer to incomplete type 
> 'const struct ip_nat_multi_range'
>      snprintip(iaddr, iaddrlen, ntohl(mr->range[0].min_ip));
>                                         ^
> netfilter/iptcrdr.c:376:13: warning: passing argument 1 of 'iptc_free' from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    iptc_free(&h);
>              ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:34:6: note: expected 'struct xtc_handle *' but 
> argument is of type 'int *'
>  void iptc_free(struct xtc_handle *h);
>       ^
> netfilter/iptcrdr.c: In function 'get_redirect_rule_by_index':
> netfilter/iptcrdr.c:52:22: error: unknown type name 'iptc_handle_t'
>  #define IPTC_HANDLE  iptc_handle_t
>                       ^
> netfilter/iptcrdr.c:403:2: note: in expansion of macro 'IPTC_HANDLE'
>   IPTC_HANDLE h;
>   ^
> netfilter/iptcrdr.c:410:4: warning: assignment makes integer from pointer 
> without a cast [-Wint-conversion]
>   h = iptc_init("nat");
>     ^
> netfilter/iptcrdr.c:418:41: warning: passing argument 2 of 'iptc_is_chain' 
> makes pointer from integer without a cast [-Wint-conversion]
>   if(!iptc_is_chain(miniupnpd_nat_chain, h))
>                                          ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:28:5: note: expected 'struct xtc_handle * 
> const' but argument is of type 'int'
>  int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
>      ^
> netfilter/iptcrdr.c:429:48: warning: passing argument 2 of 'iptc_first_rule' 
> from incompatible pointer type [-Wincompatible-pointer-types]
>    for(e = iptc_first_rule(miniupnpd_nat_chain, &h);
>                                                 ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:41:25: note: expected 'struct xtc_handle *' 
> but argument is of type 'int *'
>  const struct ipt_entry *iptc_first_rule(const char *chain,
>                          ^
> netfilter/iptcrdr.c:431:26: warning: passing argument 2 of 'iptc_next_rule' 
> from incompatible pointer type [-Wincompatible-pointer-types]
>     e = iptc_next_rule(e, &h))
>                           ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:45:25: note: expected 'struct xtc_handle *' 
> but argument is of type 'int *'
>  const struct ipt_entry *iptc_next_rule(const struct ipt_entry *prev,
>                          ^
> In file included from netfilter/iptcrdr.c:13:0:
> netfilter/iptcrdr.c:452:40: error: dereferencing pointer to incomplete type 
> 'const struct ip_nat_multi_range'
>      snprintip(iaddr, iaddrlen, ntohl(mr->range[0].min_ip));
>                                         ^
> netfilter/iptcrdr.c:477:13: warning: passing argument 1 of 'iptc_free' from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    iptc_free(&h);
>              ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:34:6: note: expected 'struct xtc_handle *' but 
> argument is of type 'int *'
>  void iptc_free(struct xtc_handle *h);
>       ^
> netfilter/iptcrdr.c: In function 'get_peer_rule_by_index':
> netfilter/iptcrdr.c:52:22: error: unknown type name 'iptc_handle_t'
>  #define IPTC_HANDLE  iptc_handle_t
>                       ^
> netfilter/iptcrdr.c:505:2: note: in expansion of macro 'IPTC_HANDLE'
>   IPTC_HANDLE h;
>   ^
> netfilter/iptcrdr.c:512:4: warning: assignment makes integer from pointer 
> without a cast [-Wint-conversion]
>   h = iptc_init("nat");
>     ^
> netfilter/iptcrdr.c:520:42: warning: passing argument 2 of 'iptc_is_chain' 
> makes pointer from integer without a cast [-Wint-conversion]
>   if(!iptc_is_chain(miniupnpd_peer_chain, h))
>                                           ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:28:5: note: expected 'struct xtc_handle * 
> const' but argument is of type 'int'
>  int iptc_is_chain(const char *chain, struct xtc_handle *const handle);
>      ^
> netfilter/iptcrdr.c:531:49: warning: passing argument 2 of 'iptc_first_rule' 
> from incompatible pointer type [-Wincompatible-pointer-types]
>    for(e = iptc_first_rule(miniupnpd_peer_chain, &h);
>                                                  ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:41:25: note: expected 'struct xtc_handle *' 
> but argument is of type 'int *'
>  const struct ipt_entry *iptc_first_rule(const char *chain,
>                          ^
> netfilter/iptcrdr.c:533:26: warning: passing argument 2 of 'iptc_next_rule' 
> from incompatible pointer type [-Wincompatible-pointer-types]
>     e = iptc_next_rule(e, &h))
>                           ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:45:25: note: expected 'struct xtc_handle *' 
> but argument is of type 'int *'
>  const struct ipt_entry *iptc_next_rule(const struct ipt_entry *prev,
>                          ^
> In file included from /usr/include/x86_64-linux-gnu/bits/byteswap.h:35:0,
>                  from /usr/include/endian.h:60,
>                  from /usr/include/x86_64-linux-gnu/bits/waitstatus.h:64,
>                  from /usr/include/stdlib.h:42,
>                  from netfilter/iptcrdr.c:8:
> netfilter/iptcrdr.c:560:22: error: dereferencing pointer to incomplete type 
> 'const struct ip_nat_multi_range'
>      *eport = ntohs(mr->range[0].min.all);
>                       ^
> netfilter/iptcrdr.c:591:13: warning: passing argument 1 of 'iptc_free' from 
> incompatible pointer type [-Wincompatible-pointer-types]
>    iptc_free(&h);
>              ^
> In file included from netfilter/iptcrdr.c:18:0:
> /usr/include/libiptc/libiptc.h:34:6: note: expected 'struct xtc_handle *' but 
> argument is of type 'int *'
>  void iptc_free(struct xtc_handle *h);
>       ^
> netfilter/iptcrdr.c: At top level:
> netfilter/iptcrdr.c:52:22: error: unknown type name 'iptc_handle_t'
>  #define IPTC_HANDLE  iptc_handle_t
>                       ^
> netfilter/iptcrdr.c:600:44: note: in expansion of macro 'IPTC_HANDLE'
>  delete_rule_and_commit(unsigned int index, IPTC_HANDLE h,
>                                             ^
> netfilter/iptcrdr.c: In function 'delete_redirect_and_filter_rules':
> netfilter/iptcrdr.c:52:22: error: unknown type name 'iptc_handle_t'
>  #define IPTC_HANDLE  iptc_handle_t
>                       ^

-- 
Martin Michlmayr
Linux for HPE Helion, Hewlett Packard Enterprise

Reply via email to