Bug#672051: warmux: FTBFS: main.cpp:42:39: error: 'getopt' was not declared in this scope

Lucas Nussbaum lucas at lucas-nussbaum.net
Tue May 8 11:46:28 UTC 2012


Source: warmux
Version: 1:11.04.1+repack-2
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20120508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part:
> g++ -DHAVE_CONFIG_H -I. -I../../lib/warmux/include   -D_FORTIFY_SOURCE=2 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DPACKAGE_VERSION=\"11.04\" -I../../lib/warmux-server/include -I../../lib/warmux/include -I../../lib/fixedpoint -Wall -Wextra -Wall -Wextra -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libpng12   -I/usr/include/libxml2   -I/usr/include/fribidi   -fno-rtti -fno-exceptions -c -o main.o main.cpp
> main.cpp: In function 'void parseArgs(int, char**)':
> main.cpp:42:39: error: 'getopt' was not declared in this scope
> main.cpp: In function 'int main(int, char**)':
> main.cpp:57:7: error: 'optind' was not declared in this scope
> main.cpp:67:16: error: 'optind' was not declared in this scope
> make[4]: *** [main.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/05/08/warmux_11.04.1+repack-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 about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.





More information about the Pkg-games-devel mailing list