Diff of the two buildlogs: -- --- b1/build.log 2023-06-04 21:30:05.771665998 +0000 +++ b2/build.log 2023-06-04 21:31:59.066703543 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Sat Jul 6 15:50:05 -12 2024 -I: pbuilder-time-stamp: 1720324205 +I: Current time: Mon Jun 5 11:30:09 +14 2023 +I: pbuilder-time-stamp: 1685914209 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/bookworm-reproducible-base.tgz] I: copying local configuration @@ -16,7 +16,7 @@ I: copying [./berusky_1.7.2.orig.tar.xz] I: copying [./berusky_1.7.2-2.debian.tar.xz] I: Extracting source -gpgv: Signature made Thu Oct 14 03:53:37 2021 -12 +gpgv: Signature made Fri Oct 15 05:53:37 2021 +14 gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key @@ -32,52 +32,84 @@ dpkg-source: info: applying 01-debianize.patch I: using fakeroot in build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/29847/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/20805/tmp/hooks/D01_modify_environment starting +debug: Running on codethink10-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 5 11:30 /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/20805/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/20805/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build' - 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]="15" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.15(1)-release' + BUILDDIR=/build + 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=8 ' - DISTRIBUTION='bookworm' - HOME='/var/lib/jenkins' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=bookworm + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/var/lib/jenkins + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - 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='29847' - PS1='# ' - PS2='> ' + 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=20805 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.ueAEjLHp/pbuilderrc_4RoV --distribution bookworm --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ueAEjLHp/b1 --logfile b1/build.log berusky_1.7.2-2.dsc' - SUDO_GID='117' - SUDO_UID='110' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - USERNAME='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.16: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.ueAEjLHp/pbuilderrc_mWrp --distribution bookworm --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/bookworm-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ueAEjLHp/b2 --logfile b2/build.log --extrapackages usrmerge berusky_1.7.2-2.dsc' + SUDO_GID=117 + SUDO_UID=110 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + USERNAME=root + _='I: set' + http_proxy=http://192.168.101.16:3128 I: uname -a - Linux codethink13-arm64 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux + Linux i-capture-the-hostname 4.15.0-212-generic #223-Ubuntu SMP Tue May 23 13:09:17 UTC 2023 aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jul 4 04:48 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/29847/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 3 00:26 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/20805/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -387,7 +419,7 @@ Get: 260 http://deb.debian.org/debian bookworm/main arm64 opensp arm64 1.5.2-13+b2 [414 kB] Get: 261 http://deb.debian.org/debian bookworm/main arm64 po4a all 0.69-1 [2218 kB] Get: 262 http://deb.debian.org/debian bookworm/main arm64 sharutils arm64 1:4.15.2-9 [255 kB] -Fetched 127 MB in 3s (46.2 MB/s) +Fetched 127 MB in 3s (49.9 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libpython3.11-minimal:arm64. (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 ... 19611 files and directories currently installed.) @@ -1461,10 +1493,15 @@ Reading package lists... Building dependency tree... Reading state information... +usrmerge is already the newest version (35). fakeroot is already the newest version (1.31-1.2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. I: Building the package -I: Running cd /build/berusky-1.7.2/ && 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 > ../berusky_1.7.2-2_source.changes +I: user script /srv/workspace/pbuilder/20805/tmp/hooks/A99_set_merged_usr starting +Re-configuring usrmerge... +I: user script /srv/workspace/pbuilder/20805/tmp/hooks/A99_set_merged_usr finished +hostname: Temporary failure in name resolution +I: Running cd /build/berusky-1.7.2/ && 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 > ../berusky_1.7.2-2_source.changes dpkg-buildpackage: info: source package berusky dpkg-buildpackage: info: source version 1.7.2-2 dpkg-buildpackage: info: source distribution unstable @@ -1752,7 +1789,7 @@ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o game_logic.o game_logic.cpp g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o graphics.o graphics.cpp In file included from berusky.h:109, - from animation.cpp:28: + from berusky.cpp:33: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -1763,7 +1800,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from events.cpp:28: + from animation.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -1774,7 +1811,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from 2d_graph.cpp:36: + from editor.cpp:45: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -1785,7 +1822,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from graphics.cpp:34: + from events.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -1796,7 +1833,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from berusky.cpp:33: + from graphics.cpp:34: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -1818,7 +1855,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from editor.cpp:45: + from 2d_graph.cpp:36: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -1828,6 +1865,38 @@ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ +In file included from berusky_gui.h:31, + from berusky.cpp:34: +gui.h: In constructor 'checkbox_config::checkbox_config()': +gui.h:159:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] + 159 | memset(this,0,sizeof(*this)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +gui.h:106:16: note: 'struct checkbox_config' declared here + 106 | typedef struct checkbox_config { + | ^~~~~~~~~~~~~~~ +graphics.cpp: In member function 'virtual bool screen_editor::draw()': +graphics.cpp:305:29: warning: narrowing conversion of '((min_x * ((screen_editor*)this)->screen_editor::.screen::cell_x) + ((screen_editor*)this)->screen_editor::.screen::start_x)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; + | ~~~~~~~~~~~~^~~~~~~~ +graphics.cpp:305:50: warning: narrowing conversion of '((min_y * ((screen_editor*)this)->screen_editor::.screen::cell_y) + ((screen_editor*)this)->screen_editor::.screen::start_y)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] + 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; + | ~~~~~~~~~~~~^~~~~~~~ +graphics.cpp:305:61: warning: narrowing conversion of '(dx * ((screen_editor*)this)->screen_editor::.screen::cell_x)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; + | ~~^~~~~~~ +graphics.cpp:305:71: warning: narrowing conversion of '(dy * ((screen_editor*)this)->screen_editor::.screen::cell_y)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] + 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; + | ~~^~~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o ini.o ini.cpp +In file included from berusky_gui.h:31, + from editor.cpp:46: +gui.h: In constructor 'checkbox_config::checkbox_config()': +gui.h:159:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] + 159 | memset(this,0,sizeof(*this)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +gui.h:106:16: note: 'struct checkbox_config' declared here + 106 | typedef struct checkbox_config { + | ^~~~~~~~~~~~~~~ animation.cpp: In constructor 'animation::animation()': animation.cpp:282:9: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'class animation'; use assignment or value-initialization instead [-Wclass-memaccess] 282 | memset(this,0,sizeof(*this)); @@ -1843,15 +1912,6 @@ animation.h:164:15: note: 'class animation' declared here 164 | typedef class animation { | ^~~~~~~~~ -In file included from berusky_gui.h:31, - from editor.cpp:46: -gui.h: In constructor 'checkbox_config::checkbox_config()': -gui.h:159:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] - 159 | memset(this,0,sizeof(*this)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -gui.h:106:16: note: 'struct checkbox_config' declared here - 106 | typedef struct checkbox_config { - | ^~~~~~~~~~~~~~~ In file included from editor.cpp:48: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] @@ -1897,19 +1957,6 @@ editor.cpp:602:15: note: in expansion of macro 'EDIT_ITEM_PICT_START_Y' 602 | EDIT_ITEM_PICT_START_Y, | ^~~~~~~~~~~~~~~~~~~~~~ -graphics.cpp: In member function 'virtual bool screen_editor::draw()': -graphics.cpp:305:29: warning: narrowing conversion of '((min_x * ((screen_editor*)this)->screen_editor::.screen::cell_x) + ((screen_editor*)this)->screen_editor::.screen::start_x)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; - | ~~~~~~~~~~~~^~~~~~~~ -graphics.cpp:305:50: warning: narrowing conversion of '((min_y * ((screen_editor*)this)->screen_editor::.screen::cell_y) + ((screen_editor*)this)->screen_editor::.screen::start_y)' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] - 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; - | ~~~~~~~~~~~~^~~~~~~~ -graphics.cpp:305:61: warning: narrowing conversion of '(dx * ((screen_editor*)this)->screen_editor::.screen::cell_x)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; - | ~~^~~~~~~ -graphics.cpp:305:71: warning: narrowing conversion of '(dy * ((screen_editor*)this)->screen_editor::.screen::cell_y)' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] - 305 | RECT tmp = {min_x*cell_x+start_x,min_y*cell_y+start_y,dx*cell_x,dy*cell_y}; - | ~~^~~~~~~ editor.cpp: In member function 'void editor_gui::layer_status_create()': defines.h:84:55: warning: narrowing conversion of '(berusky_config::editor_resolution_x - ((20 * 3) * 2))' from 'int' to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 84 | #define EDITOR_LAYER_STATUS_DX (EDITOR_RESOLUTION_X-EDITOR_LAYER_STATUS_X) @@ -1942,16 +1989,7 @@ editor.cpp:960:76: note: in expansion of macro 'LEVEL_RESOLUTION_Y' 960 | RECT r = {EDITOR_SCREEN_START_X,EDITOR_SCREEN_START_Y,LEVEL_RESOLUTION_X,LEVEL_RESOLUTION_Y}; | ^~~~~~~~~~~~~~~~~~ -In file included from berusky_gui.h:31, - from berusky.cpp:34: -gui.h: In constructor 'checkbox_config::checkbox_config()': -gui.h:159:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] - 159 | memset(this,0,sizeof(*this)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -gui.h:106:16: note: 'struct checkbox_config' declared here - 106 | typedef struct checkbox_config { - | ^~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o ini.o ini.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o input.o input.cpp 2d_graph.cpp: In constructor 'surface::surface(surface*, tpos, tpos, tpos, tpos)': 2d_graph.cpp:289:15: warning: narrowing conversion of 'sx' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 289 | RECT src = {sx,sy,width,height}; @@ -2058,7 +2096,7 @@ 2d_graph.h:896:15: note: 'class font' declared here 896 | typedef class font { | ^~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o input.o input.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level.o level.cpp In file included from berusky.h:109, from input.cpp:30: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] @@ -2070,8 +2108,6 @@ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level.o level.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_active.o level_active.cpp In file included from berusky.h:109, from level.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] @@ -2083,17 +2119,7 @@ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ -In file included from berusky.h:109, - from level_active.cpp:28: -defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME - | ^ -defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME - | ^ -defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME - | ^ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_active.o level_active.cpp In file included from berusky_gui.h:31, from input.cpp:31: gui.h: In constructor 'checkbox_config::checkbox_config()': @@ -2111,7 +2137,19 @@ editor.h:102:15: note: 'class editor_panel' declared here 102 | typedef class editor_panel { | ^~~~~~~~~~~~ +In file included from berusky.h:109, + from level_active.cpp:28: +defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME + | ^ +defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME + | ^ +defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME + | ^ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_changer.o level_changer.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_game.o level_game.cpp In file included from berusky.h:109, from level_changer.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] @@ -2123,6 +2161,17 @@ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ +In file included from berusky.h:109, + from level_game.cpp:34: +defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME + | ^ +defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME + | ^ +defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME + | ^ level_active.cpp: In member function 'bool level_store::level_load(DIR_LIST*, char*)': level_active.cpp:62:10: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 62 | strncpy(p_list[0].levelname, p_level, sizeof(p_list[0].levelname)); @@ -2140,9 +2189,14 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ 139 | __glibc_objsize (__dest)); | ~~~~~~~~~~~~~~~~~~~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o level_game.o level_game.cpp +2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(const char*, spr_handle, spr_handle*)': +2d_graph.cpp:732:10: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 200 equals destination size [-Wstringop-truncation] + 732 | strncpy(filename, p_file, 200); + | ^ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o utils.o utils.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o data_parser_tables.o data_parser_tables.cpp In file included from berusky.h:109, - from level_game.cpp:34: + from utils.cpp:51: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -2152,14 +2206,9 @@ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ -2d_graph.cpp: In member function 'spr_handle sprite_store::sprite_insert(const char*, spr_handle, spr_handle*)': -2d_graph.cpp:732:10: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 200 equals destination size [-Wstringop-truncation] - 732 | strncpy(filename, p_file, 200); - | ^ -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o utils.o utils.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o data_parser_tables.o data_parser_tables.cpp +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o berusky_gui.o berusky_gui.cpp In file included from berusky.h:109, - from utils.cpp:51: + from data_parser_tables.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -2170,7 +2219,7 @@ 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ In file included from berusky.h:109, - from data_parser_tables.cpp:28: + from berusky_gui.cpp:41: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME | ^ @@ -2180,7 +2229,6 @@ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o berusky_gui.o berusky_gui.cpp In file included from berusky_gui.h:31, from utils.cpp:52: gui.h: In constructor 'checkbox_config::checkbox_config()': @@ -2191,7 +2239,6 @@ 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o main.o main.cpp -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o gui.o gui.cpp In file included from utils.cpp:54: editor.h: In constructor 'editor_panel::editor_panel(int, DIRECTION, tpos, tpos, int)': editor.h:335:11: warning: 'void* memset(void*, int, size_t)' clearing an object of type 'class editor_panel' with no trivial copy-assignment; use assignment instead [-Wclass-memaccess] @@ -2200,17 +2247,6 @@ editor.h:102:15: note: 'class editor_panel' declared here 102 | typedef class editor_panel { | ^~~~~~~~~~~~ -In file included from berusky.h:109, - from berusky_gui.cpp:41: -defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME - | ^ -defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME - | ^ -defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME - | ^ utils.cpp: In member function 'void dir_list::update_path(char*)': utils.cpp:101:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 101 | chdir(cwd); @@ -2228,6 +2264,7 @@ utils.cpp:131:8: warning: ignoring return value of 'int chdir(const char*)' declared with attribute 'warn_unused_result' [-Wunused-result] 131 | chdir(cwd); | ~~~~~^~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o gui.o gui.cpp In file included from berusky.h:109, from gui.cpp:28: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] @@ -2239,6 +2276,20 @@ defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME | ^ +In file included from berusky_gui.h:31, + from berusky_gui.cpp:42: +gui.h: In constructor 'checkbox_config::checkbox_config()': +gui.h:159:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] + 159 | memset(this,0,sizeof(*this)); + | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ +gui.h:106:16: note: 'struct checkbox_config' declared here + 106 | typedef struct checkbox_config { + | ^~~~~~~~~~~~~~~ +berusky_gui.cpp: In member function 'void game_gui::menu_main(MENU_STATE, size_ptr, size_ptr)': +berusky_gui.cpp:257:22: warning: unused variable 'editor' [-Wunused-variable] + 257 | static char *editor = _("editor"); + | ^~~~~~ +g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o profile.o profile.cpp In file included from berusky.h:109, from main.cpp:38: defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] @@ -2256,16 +2307,6 @@ main.cpp:64:41: warning: macro "__TIME__" might prevent reproducible builds [-Wdate-time] 64 | printf(_("Built %s, %s\n\n"),__DATE__,__TIME__); | ^~~~~~~~ -g++ -DHAVE_CONFIG_H -I. -I.. -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/aarch64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/aarch64-linux-gnu/glib-2.0/include -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/aarch64-linux-gnu -I/usr/include/atk-1.0 -pthread -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -c -o profile.o profile.cpp -In file included from berusky_gui.h:31, - from berusky_gui.cpp:42: -gui.h: In constructor 'checkbox_config::checkbox_config()': -gui.h:159:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] - 159 | memset(this,0,sizeof(*this)); - | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~ -gui.h:106:16: note: 'struct checkbox_config' declared here - 106 | typedef struct checkbox_config { - | ^~~~~~~~~~~~~~~ In file included from gui.cpp:29: gui.h: In constructor 'checkbox_config::checkbox_config()': gui.h:159:11: warning: 'void* memset(void*, int, size_t)' clearing an object of non-trivial type 'struct checkbox_config'; use assignment or value-initialization instead [-Wclass-memaccess] @@ -2274,6 +2315,17 @@ gui.h:106:16: note: 'struct checkbox_config' declared here 106 | typedef struct checkbox_config { | ^~~~~~~~~~~~~~~ +In file included from berusky.h:109, + from profile.cpp:28: +defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME + | ^ +defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME + | ^ +defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] + 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME + | ^ gui.cpp: In member function 'void gui_base::menu_item_draw_sprite(char*, MENU_TYPE, int, LEVEL_EVENT, LEVEL_EVENT, LEVEL_EVENT)': gui.cpp:138:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; @@ -2287,21 +2339,6 @@ gui.cpp:138:61: warning: narrowing conversion of '((gui_base*)this)->gui_base::menu_spr_diff_dy' from 'tpos' {aka 'int'} to 'Uint16' {aka 'short unsigned int'} [-Wnarrowing] 138 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~~~~~~~~~~~ -In file included from berusky.h:109, - from profile.cpp:28: -defines.h:450:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 450 | #define INI_FILE_GLOBAL "/etc/berusky/"INI_FILE_NAME - | ^ -defines.h:451:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 451 | #define INI_FILE_USER "~/.berusky/"INI_FILE_NAME - | ^ -defines.h:452:28: warning: invalid suffix on literal; C++11 requires a space between literal and string macro [-Wliteral-suffix] - 452 | #define INI_FILE_LOCAL "./"INI_FILE_NAME - | ^ -berusky_gui.cpp: In member function 'void game_gui::menu_main(MENU_STATE, size_ptr, size_ptr)': -berusky_gui.cpp:257:22: warning: unused variable 'editor' [-Wunused-variable] - 257 | static char *editor = _("editor"); - | ^~~~~~ gui.cpp:197:27: warning: narrowing conversion of '((gui_base*)this)->gui_base::last_x' from 'tpos' {aka 'int'} to 'Sint16' {aka 'short int'} [-Wnarrowing] 197 | RECT r_arrow = {last_x, last_y, menu_spr_diff_dx, menu_spr_diff_dy}; | ^~~~~~ @@ -2344,6 +2381,10 @@ editor.cpp:1044:14: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] 1044 | strncpy(file,p_file,MAX_FILENAME); | ^ +editor.cpp: In member function 'void editor_gui::level_save_as(char*, int)': +editor.cpp:1111:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] + 1111 | strncpy(file, p_file, MAX_FILENAME); + | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2368,10 +2409,6 @@ /usr/include/glib-2.0/gobject/gtype.h:706:3: note: declared here 706 | } GTypeDebugFlags GLIB_DEPRECATED_TYPE_IN_2_36; | ^~~~~~~~~~~~~~~ -editor.cpp: In member function 'void editor_gui::level_save_as(char*, int)': -editor.cpp:1111:12: warning: 'char* __builtin_strncpy(char*, const char*, long unsigned int)' specified bound 4096 equals destination size [-Wstringop-truncation] - 1111 | strncpy(file, p_file, MAX_FILENAME); - | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, @@ -2402,7 +2439,7 @@ editor.h:102:15: note: 'class editor_panel' declared here 102 | typedef class editor_panel { | ^~~~~~~~~~~~ -/bin/bash ../libtool --tag=CXX --mode=link g++ -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -Wl,-z,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lSDL_image -lSDL -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image +/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -Wl,-z,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lSDL_image -lSDL -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image libtool: link: g++ -Wall -Wint-to-pointer-cast -g -g -O2 -ffile-prefix-map=/build/berusky-1.7.2=. -fstack-protector-strong -Wformat -Werror=format-security -std=c++14 -Wl,-z -Wl,relro -o berusky 2d_graph.o animation.o berusky.o data_parser.o editor.o events.o game_logic.o graphics.o ini.o input.o level.o level_active.o level_changer.o level_game.o utils.o data_parser_tables.o berusky_gui.o main.o gui.o profile.o -lgtk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lfontconfig -lfreetype -lgdk-x11-2.0 -lpangocairo-1.0 -lpango-1.0 -lharfbuzz -lcairo -lgdk_pixbuf-2.0 -lgobject-2.0 -lglib-2.0 -lSDL -lSDL_image /usr/bin/ld: profile.o: in function `berusky_profile::create(char const*)': ./src/./src/profile.cpp:122: warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' @@ -2497,7 +2534,7 @@ make[2]: Entering directory '/build/berusky-1.7.2/src' make[3]: Entering directory '/build/berusky-1.7.2/src' /usr/bin/mkdir -p '/build/berusky-1.7.2/debian/berusky/usr/games' - /bin/bash ../libtool --mode=install /usr/bin/install -c berusky '/build/berusky-1.7.2/debian/berusky/usr/games' + /bin/sh ../libtool --mode=install /usr/bin/install -c berusky '/build/berusky-1.7.2/debian/berusky/usr/games' libtool: install: /usr/bin/install -c berusky /build/berusky-1.7.2/debian/berusky/usr/games/berusky make[3]: Nothing to be done for 'install-data-am'. make[3]: Leaving directory '/build/berusky-1.7.2/src' @@ -2554,12 +2591,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/20805/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/20805/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/29847 and its subdirectories -I: Current time: Sat Jul 6 15:53:03 -12 2024 -I: pbuilder-time-stamp: 1720324383 +I: removing directory /srv/workspace/pbuilder/20805 and its subdirectories +I: Current time: Mon Jun 5 11:31:57 +14 2023 +I: pbuilder-time-stamp: 1685914317