Diff of the two buildlogs: -- --- b1/build.log 2024-05-06 22:49:27.568932625 +0000 +++ b2/build.log 2024-05-06 22:50:36.138011644 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Mon May 6 10:48:55 -12 2024 -I: pbuilder-time-stamp: 1715035735 +I: Current time: Mon Jun 9 19:12:31 +14 2025 +I: pbuilder-time-stamp: 1749445951 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -39,52 +39,84 @@ dpkg-source: info: applying hardening.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/1877742/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1900385/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-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 Jun 9 05: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/1900385/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1900385/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]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(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='685a6196bdae4645ba81a13f2d7fb8ce' - 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='1877742' - PS1='# ' - PS2='> ' + INVOCATION_ID=48ce40788f8a4a0fbdf19ffb4c58831e + 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=1900385 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.jgysWnKY/pbuilderrc_bdF2 --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.jgysWnKY/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.jgysWnKY/pbuilderrc_RHYW --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.jgysWnKY/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 codethink02-arm64 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-cloud-arm64 #1 SMP Debian 6.1.85-1 (2024-04-11) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 6 11:24 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/1877742/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 7 17:47 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1900385/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -202,7 +234,7 @@ Get: 66 http://deb.debian.org/debian trixie/main arm64 libaldmb1-dev arm64 1:0.9.3-6.1 [5128 B] Get: 67 http://deb.debian.org/debian trixie/main arm64 libxxf86dga-dev arm64 2:1.1.5-1+b1 [26.1 kB] Get: 68 http://deb.debian.org/debian trixie/main arm64 sharutils arm64 1:4.15.2-9 [255 kB] -Fetched 24.3 MB in 0s (101 MB/s) +Fetched 24.3 MB in 0s (117 MB/s) debconf: delaying package configuration, since apt-utils is not installed 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 ... 19743 files and directories currently installed.) @@ -494,7 +526,11 @@ fakeroot is already the newest version (1.33-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/1900385/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/1900385/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 @@ -559,162 +595,107 @@ 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/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/savescrs.cpp -o obj/linux/savescrs.o 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); - | ~~~~~~~~~^~~~~ +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 '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)); + | ^~~~~~~~~~~~~ +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/gamemenu.h:13, - from src/gamemenu.cpp:16: + 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/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/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/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)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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/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/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); - | ~~~~~~~~~^~~~~ +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/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/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/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)); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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/sound.cpp -o obj/linux/sound.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 +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); | ~~~~~~~~~^~~~ -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), - | ^~~~~~~~~~~~~~~~~~~~ +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/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"); @@ -891,6 +872,17 @@ src/mapedit.cpp:406:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | kprint(""); | ^~ +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/mapedit.cpp:409:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 409 | kprint("Is a level exit block"); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -900,6 +892,12 @@ src/mapedit.cpp:415:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 415 | kprint("Is a solid wall"); | ^~~~~~~~~~~~~~~~~ +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/mapedit.cpp:419:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 419 | kprint(""); | ^~ @@ -939,9 +937,30 @@ src/mapedit.cpp:472:64: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 472 | blit(background.get_background("backgr.dat", game_map.background_index), screen, 0,0,0,64,SCREEN_W, SCREEN_H); | ^~~~~~~~~~~~ +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/mapedit.cpp:508:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 508 | kprint("Select music with arrow keys, and press ENTER ; hit SPACE to play/stop the song"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/mapedit.cpp:509:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 509 | kprint(""); | ^~ @@ -954,39 +973,114 @@ src/mapedit.cpp:545:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 545 | kprint("-- press any key --"); | ^~~~~~~~~~~~~~~~~~~~~ -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/mapedit.cpp:552:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 552 | kprint("Now playing tune..."); | ^~~~~~~~~~~~~~~~~~~~~ -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/mapedit.cpp:553:56: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 553 | kprint("-- press any key to stop--"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mapedit.cpp:643:71: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 643 | game_map.save_tile_set_config_to_file("TILE_SET_CFG.TXT"); | ^~~~~~~~~~~~~~~~~~ -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/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)); - | ^~~~~~~~~~~~~ -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); - | ^~ -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++ -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/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"); + | ^~~~~~~~~~~~~~~~~~ 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/ui_misc.cpp -o obj/linux/ui_misc.o cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ 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] @@ -996,84 +1090,26 @@ 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++ -cc1plus: warning: '-Werror=' argument '-Werror=implicit-function-declaration' is not valid for C++ -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) - | ~~~~~~~~~~~~~~~^~ +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 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); - | ~~~~~~~~~^~~~~~~~~~~~~~~~~~ + 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/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); - | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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/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/ui_misc.cpp -o obj/linux/ui_misc.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++ 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 The bin/kball_linux.bin is ready! make[2]: Leaving directory '/build/reproducible-path/kball-0.0.20041216' @@ -1136,9 +1172,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) @@ -1146,12 +1182,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/1900385/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1900385/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/1877742 and its subdirectories -I: Current time: Mon May 6 10:49:26 -12 2024 -I: pbuilder-time-stamp: 1715035766 +I: removing directory /srv/workspace/pbuilder/1900385 and its subdirectories +I: Current time: Mon Jun 9 19:13:34 +14 2025 +I: pbuilder-time-stamp: 1749446014