Bug#788693: FTBFS: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
Package: dhcpcd5
Severity: serious
Justification: fails to build from source (but built successfully in the past)
Dear Maintainer,
The package fails to build due to this sizeof problem, which appears
to be fixed in various other projects (and possibly upstream):
In file included from /usr/include/x86_64-linux-gnu/sys/socket.h:38:0,
from ipv6rs.c:30:
ipv6rs.c: In function 'ipv6rs_open':
ipv6rs.c:168:26: error: invalid application of 'sizeof' to incomplete type 'struct in6_pktinfo'
len = CMSG_SPACE(sizeof(struct in6_pktinfo)) + CMSG_SPACE(sizeof(int));
^
ipv6rs.c: In function 'ipv6rs_sendprobe':
ipv6rs.c:232:21: error: storage size of 'pi' isn't known
struct in6_pktinfo pi;
^
ipv6rs.c: In function 'ipv6rs_handledata':
ipv6rs.c:492:21: error: storage size of 'pkt' isn't known
struct in6_pktinfo pkt;
^
A complete build log can be viewed, at the time of writing, from the Reproducible Builds builder:
https://reproducible.debian.net/rb-pkg/unstable/amd64/dhcpcd5.html
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.19.0-20-generic (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Reply to: