Bug#624978: kball: FTBFS: src/gamemenu.cpp:224:52: error: 'mkdir' was not declared in this scope

Lucas Nussbaum lucas at lucas-nussbaum.net
Mon May 2 12:32:59 UTC 2011


Source: kball
Version: 0.0.20041216-7
Severity: serious
Tags: wheezy sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20110502 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++ -Iinclude -Wall -O2 -c src/gamemenu.cpp -o obj/linux/gamemenu.o
> src/gamemenu.cpp: In function 'void menu_callback_animation(CQMenu&, bool)':
> src/gamemenu.cpp:126:3: warning: 'int text_mode(int)' is deprecated (declared at /usr/include/allegro/alcompat.h:155) [-Wdeprecated-declarations]
> src/gamemenu.cpp:126:16: warning: 'int text_mode(int)' is deprecated (declared at /usr/include/allegro/alcompat.h:155) [-Wdeprecated-declarations]
> src/gamemenu.cpp:128:3: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:157) [-Wdeprecated-declarations]
> src/gamemenu.cpp:128:82: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:157) [-Wdeprecated-declarations]
> src/gamemenu.cpp: In member function 'void CGameMenu::do_main_menu()':
> src/gamemenu.cpp:224:52: error: 'mkdir' was not declared in this scope
> src/gamemenu.cpp:233:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:264:4: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp:264:154: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp:266:4: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp:266:150: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp: In member function 'void CGameMenu::do_file_level_selector()':
> src/gamemenu.cpp:320:51: error: 'mkdir' was not declared in this scope
> src/gamemenu.cpp:328:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:347:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:348:38: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:358:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:366:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:370:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:459:52: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:469:47: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:490:51: error: 'mkdir' was not declared in this scope
> src/gamemenu.cpp:499:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:501:2: warning: 'int text_mode(int)' is deprecated (declared at /usr/include/allegro/alcompat.h:155) [-Wdeprecated-declarations]
> src/gamemenu.cpp:501:28: warning: 'int text_mode(int)' is deprecated (declared at /usr/include/allegro/alcompat.h:155) [-Wdeprecated-declarations]
> src/gamemenu.cpp: In member function 'void CGameMenu::do_about_stuff()':
> src/gamemenu.cpp:607:4: warning: 'int text_mode(int)' is deprecated (declared at /usr/include/allegro/alcompat.h:155) [-Wdeprecated-declarations]
> src/gamemenu.cpp:607:17: warning: 'int text_mode(int)' is deprecated (declared at /usr/include/allegro/alcompat.h:155) [-Wdeprecated-declarations]
> src/gamemenu.cpp:615:4: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp:615:104: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp:617:4: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp:617:102: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated (declared at /usr/include/allegro/alcompat.h:162) [-Wdeprecated-declarations]
> src/gamemenu.cpp: In member function 'void CGameMenu::do_options_menu()':
> src/gamemenu.cpp:649:51: error: 'mkdir' was not declared in this scope
> src/gamemenu.cpp:658:66: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:659:85: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:681:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:683:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:685:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:688:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:690:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:692:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:695:42: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:697:43: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:699:45: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:702:39: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:704:40: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:711:37: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:717:52: error: 'mkdir' was not declared in this scope
> src/gamemenu.cpp:726:67: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> src/gamemenu.cpp:790:52: error: 'mkdir' was not declared in this scope
> src/gamemenu.cpp:799:86: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
> make[1]: *** [obj/linux/gamemenu.o] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2011/05/02/kball_0.0.20041216-7_lsid64.buildlog

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.

-- 
| Lucas Nussbaum
| lucas at lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas at nussbaum.fr             GPG: 1024D/023B3F4F |





More information about the Pkg-games-devel mailing list