Bug#733389: warzone2100: FTBFS: netplay.cpp:929:45: error: too few arguments to function 'UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)'

David Suárez david.sephirot at gmail.com
Sat Dec 28 19:03:52 UTC 2013


Source: warzone2100
Version: 3.1~beta11-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20131226 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part (hopefully):
> g++ -DHAVE_CONFIG_H -I. -I../..  -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/SDL   -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/share/games/warzone2100\"" -DLOCALEDIR="\"/usr/share/locale\"" -I../..  -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtScript    -D_FORTIFY_SOURCE=2 -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith -Wno-format-security  -DQT_SHARED -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtScript   -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -fstack-protector -c -o netplay.o netplay.cpp
> netplay.cpp: In function 'int upnp_init(void*)':
> netplay.cpp:929:45: error: too few arguments to function 'UPNPDev* upnpDiscover(int, const char*, const char*, int, int, int*)'
>    devlist = upnpDiscover(2000, NULL, NULL, 0);
>                                              ^
> In file included from netplay.cpp:45:0:
> /usr/include/miniupnpc/miniupnpc.h:53:1: note: declared here
>  upnpDiscover(int delay, const char * multicastif,
>  ^
> netplay.cpp: In function 'bool upnp_add_redirect(int)':
> netplay.cpp:991:57: error: too few arguments to function 'int UPNP_AddPortMapping(const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*, const char*)'
>     port_str, port_str, lanaddr, "Warzone 2100", "TCP", 0);
>                                                          ^
> In file included from netplay.cpp:46:0:
> /usr/include/miniupnpc/upnpcommands.h:117:1: note: declared here
>  UPNP_AddPortMapping(const char * controlURL, const char * servicetype,
>  ^
> make[4]: *** [netplay.o] Error 1

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2013/12/26/warzone2100_3.1~beta11-2_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-games-devel mailing list