Diff of the two buildlogs: -- --- b1/build.log 2025-04-01 17:49:33.145896560 +0000 +++ b2/build.log 2025-04-01 17:50:40.240508622 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Apr 1 05:48:56 -12 2025 -I: pbuilder-time-stamp: 1743529736 +I: Current time: Tue May 5 14:12:36 +14 2026 +I: pbuilder-time-stamp: 1777939956 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -35,52 +35,84 @@ dpkg-source: info: applying hardening.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/2576541/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/D01_modify_environment starting +debug: Running on codethink03-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 May 5 00:12 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='43b9dfaa24ed407da0a7a03504a4f028' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='2576541' - PS1='# ' - PS2='> ' + INVOCATION_ID=4188dd639ec8401f8529c4d884a4c28c + LANG=C + LANGUAGE=nl_BE:nl + LC_ALL=C + MACHTYPE=aarch64-unknown-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2487002 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.GIzddeui/pbuilderrc_QBII --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GIzddeui/b1 --logfile b1/build.log kball_0.0.20041216-11.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.GIzddeui/pbuilderrc_Ml2O --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GIzddeui/b2 --logfile b2/build.log kball_0.0.20041216-11.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink04-arm64 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-32-cloud-arm64 #1 SMP Debian 6.1.129-1 (2025-03-06) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Mar 4 11:20 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/2576541/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Mar 4 2025 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -195,7 +227,7 @@ Get: 63 http://deb.debian.org/debian trixie/main arm64 libaldmb1-dev arm64 1:0.9.3-7 [5156 B] Get: 64 http://deb.debian.org/debian trixie/main arm64 libxxf86dga-dev arm64 2:1.1.5-1+b3 [26.2 kB] Get: 65 http://deb.debian.org/debian trixie/main arm64 sharutils arm64 1:4.15.2-11 [261 kB] -Fetched 16.5 MB in 0s (109 MB/s) +Fetched 16.5 MB in 0s (67.6 MB/s) Preconfiguring packages ... Selecting previously unselected package sensible-utils. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19919 files and directories currently installed.) @@ -475,7 +507,11 @@ fakeroot is already the newest version (1.37.1.1-1). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/reproducible-path/kball-0.0.20041216/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../kball_0.0.20041216-11_source.changes +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/kball-0.0.20041216/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../kball_0.0.20041216-11_source.changes dpkg-buildpackage: info: source package kball dpkg-buildpackage: info: source version 0.0.20041216-11 dpkg-buildpackage: info: source distribution unstable @@ -531,278 +567,18 @@ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/mytracer.cpp -o obj/linux/mytracer.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/particle.cpp -o obj/linux/particle.o In file included from src/cball.cpp:11: include/sphermap.h:16:10: warning: #warning Awful hack in sphermap.h - please remember to check it =) [-Wcpp] 16 | #warning Awful hack in sphermap.h - please remember to check it =) | ^~~~~~~ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/particle.cpp -o obj/linux/particle.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/partmang.cpp -o obj/linux/partmang.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/qmenu.cpp -o obj/linux/qmenu.o -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/qmenu.cpp -o obj/linux/qmenu.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/savescrs.cpp -o obj/linux/savescrs.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sound.cpp -o obj/linux/sound.o -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sphermap.cpp -o obj/linux/sphermap.o -src/intro.cpp: In function 'void kball_do_the_exit()': -src/intro.cpp:69:13: warning: unused variable 'c2' [-Wunused-variable] - 69 | int c2 = makecol(0,0,0); - | ^~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -src/gkernel.cpp: In member function 'int CGameKernel::game_loop()': -src/gkernel.cpp:273:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 273 | save_screenshoot("kball", 0, "bmp"); // save - | ^~~~~~~ -src/gkernel.cpp:273:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 273 | save_screenshoot("kball", 0, "bmp"); // save - | ^~~~~ -src/gkernel.cpp: In member function 'void CGameKernel::load_level_file(const char*)': -src/gkernel.cpp:584:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 584 | backdropbmp = tile_bmp_to_screen_size( background_loader.get_background("backgr.dat", game_map.background_index) ); - | ^~~~~~~~~~~~ -src/gkernel.cpp:589:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 589 | soundw.music_load(music_loader.get_music("music_l.dat", game_map.music_index)); - | ^~~~~~~~~~~~~ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -src/gamemenu.cpp: In function 'void menu_callback_animation(CQMenu&, bool)': -src/gamemenu.cpp:127:26: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 127 | text_mode( -1); - | ~~~~~~~~~^~~~~ -In file included from /usr/include/allegro/base.h:41, - from /usr/include/allegro.h:25, - from include/gamemenu.h:13, - from src/gamemenu.cpp:16: -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:129:24: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 129 | textout(bmp, font, tbufstr, 0, bmp->h - text_height(font), makecol(128, 0, 255)); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:139:1: note: declared here - 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_main_menu()': -src/gamemenu.cpp:234:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 234 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:265:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 265 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2 + 2, SCREEN_H / 2 + 2, makecol(0, 0, 0)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:267:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 267 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2, SCREEN_H / 2, makecol(0, 255, 255)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_file_level_selector()': -src/gamemenu.cpp:329:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 329 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:348:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 348 | menu.add_item_to_menu("Full campaign"); - | ^~~~~~~~~~~~~~~ -src/gamemenu.cpp:349:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 349 | menu.add_item_to_menu("Single level"); - | ^~~~~~~~~~~~~~ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/stats.cpp -o obj/linux/stats.o -src/gamemenu.cpp:359:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 359 | menu.add_item_to_menu("Personal levels"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:367:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 367 | menu.add_item_to_menu("Personal levels"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:371:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 371 | menu.add_item_to_menu("< Cancel and return >"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:460:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 460 | menu.add_item_to_menu("ERROR: NO FILE AVAILABLE!"); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:470:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 470 | menu.add_item_to_menu("< Cancel and return >"); - | ^~~~~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:500:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 500 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:502:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 502 | text_mode(makecol(0, 0, 0)); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_about_stuff()': -src/gamemenu.cpp:608:34: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 608 | text_mode( -1); - | ~~~~~~~~~^~~~~ -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:616:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 616 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2 + 3, ytext + 3, makecol(0, 0, 0)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:618:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 618 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2, ytext, makecol(255, 255, 255)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp: In member function 'void CGameMenu::do_options_menu()': -src/gamemenu.cpp:659:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 659 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:660:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 660 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:682:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 682 | menu.add_item_to_menu("Keyboard is ON"); - | ^~~~~~~~~~~~~~~~ -src/gamemenu.cpp:684:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 684 | menu.add_item_to_menu("Keyboard is OFF"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:686:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 686 | menu.add_item_to_menu("Configure Keyboard"); - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:689:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 689 | menu.add_item_to_menu("Mouse is ON"); - | ^~~~~~~~~~~~~ -src/gamemenu.cpp:691:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 691 | menu.add_item_to_menu("Mouse is OFF"); - | ^~~~~~~~~~~~~~ -src/gamemenu.cpp:693:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 693 | menu.add_item_to_menu("Configure Mouse"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:696:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 696 | menu.add_item_to_menu("Joystick is ON"); - | ^~~~~~~~~~~~~~~~ -src/gamemenu.cpp:698:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 698 | menu.add_item_to_menu("Joystick is OFF"); - | ^~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:700:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 700 | menu.add_item_to_menu("Configure Joystick"); - | ^~~~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:703:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 703 | menu.add_item_to_menu("Sound is ON"); - | ^~~~~~~~~~~~~ -src/gamemenu.cpp:705:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 705 | menu.add_item_to_menu("Sound is OFF"); - | ^~~~~~~~~~~~~~ -src/gamemenu.cpp:712:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 712 | menu.add_item_to_menu("< Return >"); - | ^~~~~~~~~~~~ -src/gamemenu.cpp:727:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 727 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -src/gamemenu.cpp:800:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] - 800 | game_kernel.player_ball.control.save_configuration_of_controller("KBALL_CONTROLLER"); - | ^~~~~~~~~~~~~~~~~~ -In file included from src/sphermap.cpp:12: -include/sphermap.h:16:10: warning: #warning Awful hack in sphermap.h - please remember to check it =) [-Wcpp] - 16 | #warning Awful hack in sphermap.h - please remember to check it =) - | ^~~~~~~ -src/sphermap.cpp:56:2: warning: #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error [-Wcpp] - 56 | #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error - | ^~~~~~~ -src/qmenu.cpp: In member function 'int CQMenu::do_the_menu(int)': -src/qmenu.cpp:219:84: warning: 'void yield_timeslice()' is deprecated [-Wdeprecated-declarations] - 219 | if (time_counter > BPS_OF_MENU_MANAGER - 5) yield_timeslice(); // we play nice with the OS multitask, when we can (when the timer is about to reach peak) - | ~~~~~~~~~~~~~~~^~ -In file included from /usr/include/allegro/base.h:41, - from /usr/include/allegro.h:25, - from include/qmenu.h:15, - from src/qmenu.cpp:12: -/usr/include/allegro/alcompat.h:193:1: note: declared here - 193 | AL_INLINE_DEPRECATED(void, yield_timeslice, (void), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:242:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 242 | text_mode(menu_bg_color_s); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:246:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 246 | textout_right(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:149:1: note: declared here - 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:249:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 249 | textout_centre(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:252:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] - 252 | textout_justify(dbuf, menu_font_s, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_s); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:154:1: note: declared here - 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:255:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 255 | textout(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:139:1: note: declared here - 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:262:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 262 | text_mode(menu_bg_color_ns); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:266:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 266 | textout_right(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); - | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:149:1: note: declared here - 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:269:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 269 | textout_centre(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:272:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] - 272 | textout_justify(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_ns); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:154:1: note: declared here - 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:275:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 275 | textout(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); - | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:139:1: note: declared here - 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ -src/qmenu.cpp:289:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 289 | text_mode(-1); - | ~~~~~~~~~^~~~ -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/tmap.cpp -o obj/linux/tmap.o -src/particle.cpp: In member function 'virtual void CTextParticle::render_particle(BITMAP*, int, int)': -src/particle.cpp:43:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] - 43 | text_mode(-1); // DEBUG -- TEXT ALWAYS TRANSPARENT :O - | ~~~~~~~~~^~~~ -In file included from /usr/include/allegro/base.h:41, - from /usr/include/allegro.h:25, - from src/particle.cpp:11: -/usr/include/allegro/alcompat.h:137:1: note: declared here - 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); - | ^~~~~~~~~~~~~~~~~~ -src/particle.cpp:44:23: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] - 44 | textout_centre(bmp, font_text, text_to_show.c_str(), (int)x - xd, (int)y - yd, color); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/allegro/alcompat.h:144:1: note: declared here - 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), - | ^~~~~~~~~~~~~~~~~~~~ src/mapedit.cpp: In member function 'void CMapEditor::map_editor_help_message()': src/mapedit.cpp:55:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 55 | kprint("Map Editor - Help"); @@ -1018,7 +794,6 @@ src/mapedit.cpp:443:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 443 | kprint("-- Press any key to continue --"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/ui_misc.cpp -o obj/linux/ui_misc.o src/mapedit.cpp:467:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 467 | kprint("Select background with arrow keys, and press ENTER"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1053,6 +828,267 @@ 643 | game_map.save_tile_set_config_to_file("TILE_SET_CFG.TXT"); | ^~~~~~~~~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +src/gkernel.cpp: In member function 'int CGameKernel::game_loop()': +src/gkernel.cpp:273:42: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 273 | save_screenshoot("kball", 0, "bmp"); // save + | ^~~~~~~ +src/gkernel.cpp:273:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 273 | save_screenshoot("kball", 0, "bmp"); // save + | ^~~~~ +src/intro.cpp: In function 'void kball_do_the_exit()': +src/intro.cpp:69:13: warning: unused variable 'c2' [-Wunused-variable] + 69 | int c2 = makecol(0,0,0); + | ^~ +src/gkernel.cpp: In member function 'void CGameKernel::load_level_file(const char*)': +src/gkernel.cpp:584:81: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 584 | backdropbmp = tile_bmp_to_screen_size( background_loader.get_background("backgr.dat", game_map.background_index) ); + | ^~~~~~~~~~~~ +src/gkernel.cpp:589:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 589 | soundw.music_load(music_loader.get_music("music_l.dat", game_map.music_index)); + | ^~~~~~~~~~~~~ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sound.cpp -o obj/linux/sound.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/sphermap.cpp -o obj/linux/sphermap.o +src/gamemenu.cpp: In function 'void menu_callback_animation(CQMenu&, bool)': +src/gamemenu.cpp:127:26: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 127 | text_mode( -1); + | ~~~~~~~~~^~~~~ +In file included from /usr/include/allegro/base.h:41, + from /usr/include/allegro.h:25, + from include/gamemenu.h:13, + from src/gamemenu.cpp:16: +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:129:24: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 129 | textout(bmp, font, tbufstr, 0, bmp->h - text_height(font), makecol(128, 0, 255)); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:139:1: note: declared here + 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_main_menu()': +src/gamemenu.cpp:234:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 234 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:265:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 265 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2 + 2, SCREEN_H / 2 + 2, makecol(0, 0, 0)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:267:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 267 | textout_centre(screen, (FONT *)menu_datafile.get_resource_dat("MENU_FONT_BIG"), "QUIT GAME? Y/N", SCREEN_W / 2, SCREEN_H / 2, makecol(0, 255, 255)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_file_level_selector()': +src/gamemenu.cpp:329:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 329 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:348:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 348 | menu.add_item_to_menu("Full campaign"); + | ^~~~~~~~~~~~~~~ +src/gamemenu.cpp:349:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 349 | menu.add_item_to_menu("Single level"); + | ^~~~~~~~~~~~~~ +src/gamemenu.cpp:359:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 359 | menu.add_item_to_menu("Personal levels"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:367:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 367 | menu.add_item_to_menu("Personal levels"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:371:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 371 | menu.add_item_to_menu("< Cancel and return >"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:460:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 460 | menu.add_item_to_menu("ERROR: NO FILE AVAILABLE!"); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:470:31: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 470 | menu.add_item_to_menu("< Cancel and return >"); + | ^~~~~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:500:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 500 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:502:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 502 | text_mode(makecol(0, 0, 0)); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_about_stuff()': +src/gamemenu.cpp:608:34: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 608 | text_mode( -1); + | ~~~~~~~~~^~~~~ +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:616:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 616 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2 + 3, ytext + 3, makecol(0, 0, 0)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:618:39: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 618 | textout_centre(dbuf, font_about, about_txt[i].c_str(), SCREEN_W / 2, ytext, makecol(255, 255, 255)); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp: In member function 'void CGameMenu::do_options_menu()': +src/gamemenu.cpp:659:55: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 659 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:660:74: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 660 | game_kernel.player_ball.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:682:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 682 | menu.add_item_to_menu("Keyboard is ON"); + | ^~~~~~~~~~~~~~~~ +src/gamemenu.cpp:684:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 684 | menu.add_item_to_menu("Keyboard is OFF"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:686:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 686 | menu.add_item_to_menu("Configure Keyboard"); + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:689:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 689 | menu.add_item_to_menu("Mouse is ON"); + | ^~~~~~~~~~~~~ +src/gamemenu.cpp:691:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 691 | menu.add_item_to_menu("Mouse is OFF"); + | ^~~~~~~~~~~~~~ +src/gamemenu.cpp:693:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 693 | menu.add_item_to_menu("Configure Mouse"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:696:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 696 | menu.add_item_to_menu("Joystick is ON"); + | ^~~~~~~~~~~~~~~~ +src/gamemenu.cpp:698:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 698 | menu.add_item_to_menu("Joystick is OFF"); + | ^~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:700:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 700 | menu.add_item_to_menu("Configure Joystick"); + | ^~~~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:703:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 703 | menu.add_item_to_menu("Sound is ON"); + | ^~~~~~~~~~~~~ +src/gamemenu.cpp:705:47: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 705 | menu.add_item_to_menu("Sound is OFF"); + | ^~~~~~~~~~~~~~ +src/gamemenu.cpp:712:39: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 712 | menu.add_item_to_menu("< Return >"); + | ^~~~~~~~~~~~ +src/gamemenu.cpp:727:63: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 727 | menu.control.load_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +src/gamemenu.cpp:800:82: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] + 800 | game_kernel.player_ball.control.save_configuration_of_controller("KBALL_CONTROLLER"); + | ^~~~~~~~~~~~~~~~~~ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/stats.cpp -o obj/linux/stats.o +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +src/particle.cpp: In member function 'virtual void CTextParticle::render_particle(BITMAP*, int, int)': +src/particle.cpp:43:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 43 | text_mode(-1); // DEBUG -- TEXT ALWAYS TRANSPARENT :O + | ~~~~~~~~~^~~~ +In file included from /usr/include/allegro/base.h:41, + from /usr/include/allegro.h:25, + from src/particle.cpp:11: +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ +src/particle.cpp:44:23: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 44 | textout_centre(bmp, font_text, text_to_show.c_str(), (int)x - xd, (int)y - yd, color); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +In file included from src/sphermap.cpp:12: +include/sphermap.h:16:10: warning: #warning Awful hack in sphermap.h - please remember to check it =) [-Wcpp] + 16 | #warning Awful hack in sphermap.h - please remember to check it =) + | ^~~~~~~ +src/sphermap.cpp:56:2: warning: #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error [-Wcpp] + 56 | #warning Dirty Hack: Using int32_t instead of fixed to avoid a dirty error + | ^~~~~~~ +cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/tmap.cpp -o obj/linux/tmap.o +g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/ui_misc.cpp -o obj/linux/ui_misc.o +src/qmenu.cpp: In member function 'int CQMenu::do_the_menu(int)': +src/qmenu.cpp:219:84: warning: 'void yield_timeslice()' is deprecated [-Wdeprecated-declarations] + 219 | if (time_counter > BPS_OF_MENU_MANAGER - 5) yield_timeslice(); // we play nice with the OS multitask, when we can (when the timer is about to reach peak) + | ~~~~~~~~~~~~~~~^~ +In file included from /usr/include/allegro/base.h:41, + from /usr/include/allegro.h:25, + from include/qmenu.h:15, + from src/qmenu.cpp:12: +/usr/include/allegro/alcompat.h:193:1: note: declared here + 193 | AL_INLINE_DEPRECATED(void, yield_timeslice, (void), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:242:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 242 | text_mode(menu_bg_color_s); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:246:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 246 | textout_right(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:149:1: note: declared here + 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:249:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 249 | textout_centre(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:252:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] + 252 | textout_justify(dbuf, menu_font_s, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_s); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:154:1: note: declared here + 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:255:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 255 | textout(dbuf, menu_font_s, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_s); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:139:1: note: declared here + 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:262:42: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 262 | text_mode(menu_bg_color_ns); + | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:266:62: warning: 'void textout_right(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 266 | textout_right(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); + | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:149:1: note: declared here + 149 | AL_INLINE_DEPRECATED(void, textout_right, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:269:63: warning: 'void textout_centre(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 269 | textout_centre(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); + | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:144:1: note: declared here + 144 | AL_INLINE_DEPRECATED(void, textout_centre, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:272:64: warning: 'void textout_justify(BITMAP*, const FONT*, const char*, int, int, int, int, int)' is deprecated [-Wdeprecated-declarations] + 272 | textout_justify(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx,mx+mw, mdy, mw, menu_fg_color_ns); + | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:154:1: note: declared here + 154 | AL_INLINE_DEPRECATED(void, textout_justify, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x1, int x2, int y, int diff, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:275:56: warning: 'void textout(BITMAP*, const FONT*, const char*, int, int, int)' is deprecated [-Wdeprecated-declarations] + 275 | textout(dbuf, menu_font_ns, menu_item_text[i].c_str(), mx, mdy, menu_fg_color_ns); + | ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/allegro/alcompat.h:139:1: note: declared here + 139 | AL_INLINE_DEPRECATED(void, textout, (struct BITMAP *bmp, AL_CONST FONT *f, AL_CONST char *str, int x, int y, int color), + | ^~~~~~~~~~~~~~~~~~~~ +src/qmenu.cpp:289:18: warning: 'int text_mode(int)' is deprecated [-Wdeprecated-declarations] + 289 | text_mode(-1); + | ~~~~~~~~~^~~~ +/usr/include/allegro/alcompat.h:137:1: note: declared here + 137 | AL_FUNC_DEPRECATED(int, text_mode, (int mode)); + | ^~~~~~~~~~~~~~~~~~ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ g++ obj/linux/backgbmp.o obj/linux/cball.o obj/linux/control.o obj/linux/cwdata.o obj/linux/filehelp.o obj/linux/gamemenu.o obj/linux/gerror.o obj/linux/gkernel.o obj/linux/intro.o obj/linux/main.o obj/linux/mapedit.o obj/linux/musiclvl.o obj/linux/mytracer.o obj/linux/particle.o obj/linux/partmang.o obj/linux/qmenu.o obj/linux/savescrs.o obj/linux/sound.o obj/linux/sphermap.o obj/linux/stats.o obj/linux/tmap.o obj/linux/ui_misc.o -o bin/kball_linux.bin -laldmb -ldumb `allegro-config --libs` -Wl,-z,relro @@ -1118,9 +1154,9 @@ dh_gencontrol dh_md5sums dh_builddeb +dpkg-deb: building package 'kball-dbgsym' in '../kball-dbgsym_0.0.20041216-11_arm64.deb'. dpkg-deb: building package 'kball-data' in '../kball-data_0.0.20041216-11_all.deb'. dpkg-deb: building package 'kball' in '../kball_0.0.20041216-11_arm64.deb'. -dpkg-deb: building package 'kball-dbgsym' in '../kball-dbgsym_0.0.20041216-11_arm64.deb'. dpkg-genbuildinfo --build=binary -O../kball_0.0.20041216-11_arm64.buildinfo dpkg-genchanges --build=binary -O../kball_0.0.20041216-11_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -1128,12 +1164,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2487002/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/2576541 and its subdirectories -I: Current time: Tue Apr 1 05:49:32 -12 2025 -I: pbuilder-time-stamp: 1743529772 +I: removing directory /srv/workspace/pbuilder/2487002 and its subdirectories +I: Current time: Tue May 5 14:13:38 +14 2026 +I: pbuilder-time-stamp: 1777940018