[Dsc-maintainers] Bug#621771: dsc-statistics: FTBFS: uudecode not found; not ported to kFreeBSD

Aaron M. Ucko ucko at debian.org
Fri Apr 8 17:29:58 UTC 2011


Package: dsc-statistics
Version: 201008131729-4
Severity: serious
Justification: fails to build from source

Builds of dsc-statistics in minimal environments (such as the
autobuilders) are failing because uudecode is unavailable:

> cd docsrc && uudecode screenshot1.png.uu && /usr/bin/make
> /bin/sh: uudecode: not found

Please either add a build dependency on sharutils or ship the binary
screenshot under debian/ (supported in source format 3) and copy it
into docsrc; regardless, please also test under pbuilder or the like
whether you've left off any other build dependencies.

In addition (I know this should be a separate report, but I'm lazy ;-),
I see that the kFreeBSD builds fail before even attempting to build
documentation because struct udphdr and struct tcphdr aren't as expected:

> cc -g -Wall -DUSE_IPV6=1 -g -O2	  -g -Wall -DUSE_IPV6=1 -g -O2	  -c -o pcap.o pcap.c
> pcap.c: In function 'handle_udp':
> pcap.c:139:20: error: 'const struct udphdr' has no member named 'uh_sport'
> pcap.c:139:20: error: 'const struct udphdr' has no member named 'uh_sport'
> pcap.c:140:20: error: 'const struct udphdr' has no member named 'uh_dport'
> pcap.c:140:20: error: 'const struct udphdr' has no member named 'uh_dport'
> pcap.c: In function 'handle_tcp':
> pcap.c:532:21: error: 'const struct tcphdr' has no member named 'th_off'
> pcap.c:538:20: error: 'const struct tcphdr' has no member named 'th_sport'
> pcap.c:538:20: error: 'const struct tcphdr' has no member named 'th_sport'
> pcap.c:539:20: error: 'const struct tcphdr' has no member named 'th_dport'
> pcap.c:539:20: error: 'const struct tcphdr' has no member named 'th_dport'
> pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq'
> pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq'
> pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq'
> pcap.c:569:11: error: 'const struct tcphdr' has no member named 'th_seq'
> pcap.c:582:24: error: 'const struct tcphdr' has no member named 'th_flags'
> pcap.c:582:24: error: 'TH_SYN' undeclared (first use in this function)
> pcap.c:582:24: note: each undeclared identifier is reported only once for each function it appears in
> pcap.c:594:9: error: 'const struct tcphdr' has no member named 'th_flags'
> pcap.c:594:9: error: 'TH_RST' undeclared (first use in this function)
> pcap.c:615:9: error: 'const struct tcphdr' has no member named 'th_flags'
> pcap.c:636:9: error: 'const struct tcphdr' has no member named 'th_flags'
> pcap.c:636:9: error: 'TH_FIN' undeclared (first use in this function)
> make[3]: *** [pcap.o] Error 1

Could you please look into that as well, and either port the code to
kFreeBSD or restrict the package's architecture to linux-any, possibly
along with hurd-any?

Thanks!





More information about the Dsc-maintainers mailing list