Package: miniupnpd
Version: 1.8.20130730-2
Severity: wishlist
Usertags: goto-cc

During a rebuild of all packages in a clean sid chroot (and cowbuilder+pbuilder)
the build failed with the following error. Please note that we use our research
compiler tool-chain (using tools from the cbmc package), which permits extended
reporting on type inconsistencies at link time.

[...]
cc -Wl,-z,relro    testupnpdescgen.o upnpdescgen.o   -o testupnpdescgen

error: conflicting function declarations "getifaddr"
old definition in module testupnpdescgen file testupnpdescgen.c line 37
signed int (const char *ifname, char *buf, signed int len)
new definition in module upnpdescgen file getifaddr.h line 18
signed int (const char *, char *, signed int, struct in_addr *, struct in_addr 
*)
<builtin>: recipe for target 'testupnpdescgen' failed
make[2]: *** [testupnpdescgen] Error 64

As getifaddr supposedly takes 5 arguments

http://sources.debian.net/src/miniupnpd/1.8.20130730-2/getifaddr.c?hl=29#L29

the stub code should likely be fixed to take the same, even though these might
be unused.

Best,
Michael

Attachment: pgpzZrPswGBTk.pgp
Description: PGP signature

Reply via email to