Diff of the two buildlogs: -- --- b1/build.log 2024-04-21 13:44:30.208416681 +0000 +++ b2/build.log 2024-04-21 13:45:17.106406950 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat May 24 08:07:00 -12 2025 -I: pbuilder-time-stamp: 1748117220 +I: Current time: Mon Apr 22 03:44:33 +14 2024 +I: pbuilder-time-stamp: 1713707073 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -40,54 +40,86 @@ dpkg-source: info: applying hardening.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/93409/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/4048/tmp/hooks/D01_modify_environment starting +debug: Running on ionos2-i386. +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 Apr 21 13:44 /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/4048/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/4048/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='i386' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=22 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='i386' + 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]="i686-pc-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=i386 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=10 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=i686 + HOST_ARCH=i386 IFS=' ' - INVOCATION_ID='ad2ed64af0b345299fdaf3b63fc82fba' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - LD_LIBRARY_PATH='/usr/lib/libeatmydata' - LD_PRELOAD='libeatmydata.so' - 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='93409' - PS1='# ' - PS2='> ' + INVOCATION_ID=fe42614234164874baac14bc0b1c7c3a + LANG=C + LANGUAGE=de_CH:de + LC_ALL=C + LD_LIBRARY_PATH=/usr/lib/libeatmydata + LD_PRELOAD=libeatmydata.so + MACHTYPE=i686-pc-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=4048 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.dCoq5E80/pbuilderrc_yJkh --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.dCoq5E80/b1 --logfile b1/build.log kball_0.0.20041216-11.dsc' - SUDO_GID='112' - SUDO_UID='107' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://213.165.73.152: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.dCoq5E80/pbuilderrc_89uR --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.dCoq5E80/b2 --logfile b2/build.log kball_0.0.20041216-11.dsc' + SUDO_GID=112 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://46.16.76.132:3128 I: uname -a - Linux ionos6-i386 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-20-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.85-1 (2024-04-11) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 24 13:35 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/93409/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Apr 21 07:13 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/4048/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -205,7 +237,7 @@ Get: 66 http://deb.debian.org/debian trixie/main i386 libaldmb1-dev i386 1:0.9.3-6+b3 [5436 B] Get: 67 http://deb.debian.org/debian trixie/main i386 libxxf86dga-dev i386 2:1.1.5-1 [28.2 kB] Get: 68 http://deb.debian.org/debian trixie/main i386 sharutils i386 1:4.15.2-9 [262 kB] -Fetched 25.2 MB in 0s (78.1 MB/s) +Fetched 25.2 MB in 0s (68.1 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 ... 19874 files and directories currently installed.) @@ -497,7 +529,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/4048/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/4048/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 @@ -526,7 +562,7 @@ debian/rules override_dh_auto_build make[1]: Entering directory '/build/reproducible-path/kball-0.0.20041216' dh_auto_build -- 'GCC=$(CXX)' - make -j22 "INSTALL=install --strip-program=true" GCC=\$\(CXX\) + make -j10 "INSTALL=install --strip-program=true" GCC=\$\(CXX\) make[2]: Entering directory '/build/reproducible-path/kball-0.0.20041216' g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/backgbmp.cpp -o obj/linux/backgbmp.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/cball.cpp -o obj/linux/cball.o @@ -538,29 +574,170 @@ g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/gkernel.cpp -o obj/linux/gkernel.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/intro.cpp -o obj/linux/intro.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/main.cpp -o obj/linux/main.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/mapedit.cpp -o obj/linux/mapedit.o g++ `dpkg-buildflags --get CPPFLAGS` `dpkg-buildflags --get CXXFLAGS` -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -c src/musiclvl.cpp -o obj/linux/musiclvl.o 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 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 +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"); + | ^~~~~~~~~~~~~~~~~~ +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/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/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 -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 -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 -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 -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 - | ^~~~~~~ -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 =) - | ^~~~~~~ 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 @@ -734,53 +911,6 @@ src/mapedit.cpp:112:16: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 112 | kprint("-- Press any key to continue --"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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/mapedit.cpp: In member function 'void CMapEditor::start_map_editor()': src/mapedit.cpp:388:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 388 | kprint("Info about tile"); @@ -791,33 +921,15 @@ src/mapedit.cpp:390:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 390 | kprint(""); | ^~ -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/mapedit.cpp:399:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 399 | kprint("This tile don't has sprite defined"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -/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:401:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 401 | kprint(""); | ^~ -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); - | ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ src/mapedit.cpp:406:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 406 | kprint(""); | ^~ -/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/mapedit.cpp:409:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 409 | kprint("Is a level exit block"); | ^~~~~~~~~~~~~~~~~~~~~~~ @@ -827,12 +939,6 @@ src/mapedit.cpp:415:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 415 | kprint("Is a solid wall"); | ^~~~~~~~~~~~~~~~~ -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/mapedit.cpp:419:32: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 419 | kprint(""); | ^~ @@ -842,12 +948,6 @@ src/mapedit.cpp:425:48: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 425 | kprint("Is indispensable for grant level exit"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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)); - | ^~~~~~~~~~~~~~~~~~ src/mapedit.cpp:427:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] 427 | kprint(""); | ^~ @@ -902,165 +1002,101 @@ 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"); | ^~~~~~~~~~~~~~~~~~ -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); - | ~~~~~~~~~^~~~~ +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 +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 +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 +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/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"); - | ^~~~~~~~~~~~~~~~~~ -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)); - | ^~~~~~~~~~~~~ +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++ 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' make[1]: Leaving directory '/build/reproducible-path/kball-0.0.20041216' dh_auto_test - make -j22 test + make -j10 test make[1]: Entering directory '/build/reproducible-path/kball-0.0.20041216' g++ test.cpp -o test_linux.bin -Iinclude -Wall -O2 `dpkg-buildflags --get CFLAGS` -laldmb -ldumb `allegro-config --libs` -Wl,-z,relro make[1]: Leaving directory '/build/reproducible-path/kball-0.0.20041216' @@ -1070,7 +1106,7 @@ dh_testroot dh_prep dh_auto_install - make -j22 install DESTDIR=/build/reproducible-path/kball-0.0.20041216/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" + make -j10 install DESTDIR=/build/reproducible-path/kball-0.0.20041216/debian/tmp AM_UPDATE_INFO_DIR=no "INSTALL=install --strip-program=true" make[1]: Entering directory '/build/reproducible-path/kball-0.0.20041216' Sorry, the install feature is not done yet. make[1]: Leaving directory '/build/reproducible-path/kball-0.0.20041216' @@ -1116,8 +1152,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'kball-dbgsym' in '../kball-dbgsym_0.0.20041216-11_i386.deb'. dpkg-deb: building package 'kball' in '../kball_0.0.20041216-11_i386.deb'. +dpkg-deb: building package 'kball-dbgsym' in '../kball-dbgsym_0.0.20041216-11_i386.deb'. dpkg-deb: building package 'kball-data' in '../kball-data_0.0.20041216-11_all.deb'. dpkg-genbuildinfo --build=binary -O../kball_0.0.20041216-11_i386.buildinfo dpkg-genchanges --build=binary -O../kball_0.0.20041216-11_i386.changes @@ -1126,12 +1162,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/4048/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/4048/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/93409 and its subdirectories -I: Current time: Sat May 24 08:07:29 -12 2025 -I: pbuilder-time-stamp: 1748117249 +I: removing directory /srv/workspace/pbuilder/4048 and its subdirectories +I: Current time: Mon Apr 22 03:45:16 +14 2024 +I: pbuilder-time-stamp: 1713707116