Diff of the two buildlogs: -- --- b1/build.log 2024-05-09 18:13:33.325226169 +0000 +++ b2/build.log 2024-05-09 18:14:43.342246180 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu May 9 06:11:52 -12 2024 -I: pbuilder-time-stamp: 1715278312 +I: Current time: Thu Jun 12 14:36:36 +14 2025 +I: pbuilder-time-stamp: 1749688596 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -46,52 +46,84 @@ dpkg-source: info: applying 0019-upstream-text-box-background.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/708642/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/1576525/tmp/hooks/D01_modify_environment starting +debug: Running on codethink01-arm64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jun 12 00:36 /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/1576525/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/1576525/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='arm64' - DEBIAN_FRONTEND='noninteractive' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="aarch64-unknown-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=arm64 + DEBIAN_FRONTEND=noninteractive DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=12 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='arm64' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=aarch64 + HOST_ARCH=arm64 IFS=' ' - INVOCATION_ID='76315c8a8c4b43d99dc47d03f0bb4075' - 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='708642' - PS1='# ' - PS2='> ' + INVOCATION_ID=449833a757de4d1292d14c0ac19b9d19 + 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=1576525 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.GRAkHhcb/pbuilderrc_NRLb --distribution unstable --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GRAkHhcb/b1 --logfile b1/build.log xournal_0.4.8.2016-7.dsc' - SUDO_GID='109' - SUDO_UID='104' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://192.168.101.4:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.GRAkHhcb/pbuilderrc_gQJW --distribution unstable --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/unstable-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.GRAkHhcb/b2 --logfile b2/build.log xournal_0.4.8.2016-7.dsc' + SUDO_GID=109 + SUDO_UID=104 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://192.168.101.4:3128 I: uname -a - Linux codethink02-arm64 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-21-cloud-arm64 #1 SMP Debian 6.1.90-1 (2024-05-03) aarch64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 May 9 07:42 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/708642/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jun 11 14:05 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/1576525/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -359,7 +391,7 @@ Get: 224 http://deb.debian.org/debian unstable/main arm64 libgnomecanvas2-dev arm64 2.30.3-4.1+b1 [121 kB] Get: 225 http://deb.debian.org/debian unstable/main arm64 libpoppler-dev arm64 22.12.0-2.2+b1 [7888 B] Get: 226 http://deb.debian.org/debian unstable/main arm64 libpoppler-glib-dev arm64 22.12.0-2.2+b1 [72.1 kB] -Fetched 87.6 MB in 1s (59.0 MB/s) +Fetched 87.6 MB in 0s (220 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 ... 19744 files and directories currently installed.) @@ -1090,8 +1122,8 @@ Setting up tzdata (2024a-4) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu May 9 18:12:46 UTC 2024. -Universal Time is now: Thu May 9 18:12:46 UTC 2024. +Local time is now: Thu Jun 12 00:37:09 UTC 2025. +Universal Time is now: Thu Jun 12 00:37:09 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libsysprof-capture-4-dev:arm64 (46.0-1) ... @@ -1295,7 +1327,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/xournal-0.4.8.2016/ && 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 > ../xournal_0.4.8.2016-7_source.changes +I: user script /srv/workspace/pbuilder/1576525/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/1576525/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xournal-0.4.8.2016/ && 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 > ../xournal_0.4.8.2016-7_source.changes dpkg-buildpackage: info: source package xournal dpkg-buildpackage: info: source version 1:0.4.8.2016-7 dpkg-buildpackage: info: source distribution unstable @@ -1499,7 +1535,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-paint.c:22: + from xo-print.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1523,6 +1559,18 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xo-file.c:25: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +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, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, from xo-selection.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); @@ -1539,18 +1587,6 @@ /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ -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, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-clipboard.c:21: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, @@ -1571,7 +1607,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-interface.c:16: + from xo-clipboard.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1595,7 +1631,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-image.c:22: + from xo-paint.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1619,7 +1655,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-callbacks.c:23: + from main.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1643,7 +1679,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-print.c:22: + from xo-image.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1667,7 +1703,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from main.c:22: + from xo-callbacks.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1691,7 +1727,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-file.c:25: + from xo-shapes.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -1707,6 +1743,52 @@ /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ +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, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here + 580 | struct _GTimeVal + | ^~~~~~~~~ +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, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here + 580 | struct _GTimeVal + | ^~~~~~~~~ +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, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here + 580 | struct _GTimeVal + | ^~~~~~~~~ +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, + from /usr/include/gtk-2.0/gtk/gtk.h:126: +/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] + 73 | GTimeVal last_popdown; + | ^~~~~~~~ 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, @@ -1719,6 +1801,12 @@ /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ +In file included from /usr/include/glib-2.0/glib/galloca.h:34, + from /usr/include/glib-2.0/glib.h:32, + from /usr/include/glib-2.0/gobject/gbinding.h:30: +/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here + 580 | struct _GTimeVal + | ^~~~~~~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, @@ -1744,6 +1832,30 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ +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, + from /usr/include/gtk-2.0/gtk/gtkbin.h:35, + from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, + from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, + from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:33, + from xo-interface.c:16: +/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] + 236 | void gtk_type_init (GTypeDebugFlags debug_flags); + | ^~~~ +In file included from /usr/include/glib-2.0/gobject/gobject.h:26, + from /usr/include/glib-2.0/gobject/gbinding.h:31, + from /usr/include/glib-2.0/glib-object.h:24, + from /usr/include/glib-2.0/gio/gioenums.h:30, + from /usr/include/glib-2.0/gio/giotypes.h:30, + from /usr/include/glib-2.0/gio/gio.h:28, + from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, + from /usr/include/gtk-2.0/gdk/gdk.h:32, + from /usr/include/gtk-2.0/gtk/gtk.h:32: +/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here + 725 | { + | ^ 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, @@ -1783,6 +1895,10 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ +xo-selection.c: In function 'finalize_selectrect': +xo-selection.c:109:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 109 | g_memmove(&(ui.selection->bbox), &(item->bbox), sizeof(struct BBox)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -1796,6 +1912,131 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ +xo-selection.c: In function 'finalize_selectregion': +xo-selection.c:257:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 257 | g_memmove(&(ui.selection->bbox), &(item->bbox), sizeof(struct BBox)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-selection.c: In function 'recolor_selection': +xo-selection.c:740:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 740 | g_memmove(brush, &(item->brush), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-selection.c: In function 'rethicken_selection': +xo-selection.c:776:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 776 | g_memmove(brush, &(item->brush), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c: In function 'make_pen_cursor': +xo-paint.c:78:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 78 | g_memmove(pixels + y*rowstride + x*4, col, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c: In function 'make_hiliter_cursor': +xo-paint.c:100:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 100 | g_memmove(pixels + y*rowstride + x*4, col, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c:108:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 108 | g_memmove(pixels + y*rowstride + x*4, col, 4); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c: In function 'subdivide_cur_path': +xo-paint.c:212:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 212 | 2*(ui.cur_path.num_points-n-1)*sizeof(double)); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c: In function 'create_new_stroke': +xo-paint.c:230:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 230 | g_memmove(&(ui.cur_item->brush), ui.cur_brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c: In function 'finalize_stroke': +xo-paint.c:356:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 356 | 2*ui.cur_path.num_points*sizeof(double)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c:358:5: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 358 | ui.cur_item->widths = (gdouble *)g_memdup(ui.cur_widths, + | ^~ +In file included from /usr/include/glib-2.0/glib/gstring.h:37, + from /usr/include/glib-2.0/glib/giochannel.h:36, + from /usr/include/glib-2.0/glib.h:56: +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-paint.c: In function 'erase_stroke_portions': +xo-paint.c:415:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 415 | g_memmove(&newhead->brush, &item->brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c:417:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 417 | g_memmove(newhead->path->coords, item->path->coords, 2*i*sizeof(double)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c:419:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 419 | newhead->widths = (gdouble *)g_memdup(item->widths, (i-1)*sizeof(gdouble)); + | ^~~~~~~ +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-print.c: In function 'dup_pdfobj': +xo-print.c:104:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 104 | dup = g_memdup(obj, sizeof(struct PdfObj)); + | ^~~ +xo-paint.c:429:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 429 | g_memmove(&newtail->brush, &item->brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gstring.h:37, + from /usr/include/glib-2.0/glib/giochannel.h:36, + from /usr/include/glib-2.0/glib.h:56: +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-paint.c:432:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 432 | 2*(item->path->num_points-i)*sizeof(double)); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-print.c:108:5: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 108 | dup->str = g_memdup(obj->str, obj->len+1); + | ^~~ +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-paint.c:434:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 434 | newtail->widths = (gdouble *)g_memdup(item->widths+i, + | ^~~~~~~ +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-paint.c: In function 'start_text': +xo-print.c: In function 'parse_pdf_object': +xo-paint.c:614:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 614 | g_memmove(&(item->brush), ui.cur_brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-print.c:250:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 250 | g_memmove(obj->str, p, obj->len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +xo-print.c:263:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 263 | g_memmove(obj->str, p, obj->len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +main.c: In function 'init_stuff': +main.c:118:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 118 | g_memmove(ui.default_brushes+i, &(ui.brushes[0][i]), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-paint.c: In function 'refont_text_item': +xo-paint.c:796:27: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 796 | undo->brush = (struct Brush *)g_memdup(&(item->brush), sizeof(struct Brush)); + | ^~~~~ +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-file.c: In function 'read_pixbuf': +xo-file.c:136:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 136 | base64_str2 = g_memdup(base64_str, base64_strlen+1); + | ^~~~~~~~~~~ +In file included from /usr/include/glib-2.0/glib/gstring.h:37, + from /usr/include/glib-2.0/glib/giochannel.h:36, + from /usr/include/glib-2.0/glib.h:56: +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-print.c: In function 'pdf_draw_page': +xo-print.c:1229:11: warning: 'pango_fc_font_lock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] + 1229 | ftface = pango_fc_font_lock_face(fcfont); + | ^~~~~~ +In file included from xo-print.c:29: +/usr/include/pango-1.0/pango/pangofc-font.h:114:12: note: declared here + 114 | FT_Face pango_fc_font_lock_face (PangoFcFont *font); + | ^~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -1809,19 +2050,81 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ -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, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here - 580 | struct _GTimeVal - | ^~~~~~~~~ +xo-print.c:1279:11: warning: 'pango_fc_font_unlock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] + 1279 | pango_fc_font_unlock_face(fcfont); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +/usr/include/pango-1.0/pango/pangofc-font.h:116:12: note: declared here + 116 | void pango_fc_font_unlock_face (PangoFcFont *font); + | ^~~~~~~~~~~~~~~~~~~~~~~~~ +xo-file.c: In function 'xoj_parser_start_element': +xo-file.c:743:11: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] + 743 | tmpItem->widths = (gdouble *) g_memdup(ui.cur_widths, i*sizeof(gdouble)); + | ^~~~~~~ +/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here + 350 | gpointer g_memdup (gconstpointer mem, + | ^~~~~~~~ +xo-file.c: In function 'xoj_parser_text': +xo-file.c:970:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 970 | g_memmove(tmpItem->path->coords, ui.cur_path.coords, n*sizeof(double)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-file.c:974:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 974 | g_memmove(tmpItem->text, text, text_len); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_editUndo_activate': +xo-file.c: In function 'open_journal': +xo-callbacks.c:613:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 613 | g_memmove(&tmp_brush, &(it->brush), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-file.c:1122:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 1122 | g_memmove(&journal, &tmpJournal, sizeof(struct Journal)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:614:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 614 | g_memmove(&(it->brush), list->data, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:615:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 615 | g_memmove(list->data, &tmp_brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:641:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 641 | g_memmove(&tmp_brush, undo->brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:642:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 642 | g_memmove(undo->brush, &(undo->item->brush), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:643:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 643 | g_memmove(&(undo->item->brush), &tmp_brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_editRedo_activate': +xo-callbacks.c:827:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 827 | g_memmove(&tmp_brush, &(it->brush), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:828:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 828 | g_memmove(&(it->brush), list->data, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:829:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 829 | g_memmove(list->data, &tmp_brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:861:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 861 | g_memmove(&tmp_brush, redo->brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:862:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 862 | g_memmove(redo->brush, &(redo->item->brush), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:863:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 863 | g_memmove(&(redo->item->brush), &tmp_brush, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-file.c: In function 'init_config_default': +xo-file.c:1806:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 1806 | g_memmove(&(ui.brushes[j][i]), &(ui.brushes[0][i]), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_toolsDefaultPen_activate': +xo-callbacks.c:2131:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 2131 | g_memmove(&(ui.brushes[0][TOOL_PEN]), ui.default_brushes+TOOL_PEN, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_toolsDefaultEraser_activate': +xo-callbacks.c:2150:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 2150 | g_memmove(&(ui.brushes[0][TOOL_ERASER]), ui.default_brushes+TOOL_ERASER, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_toolsDefaultHighlighter_activate': xo-clipboard.c: In function 'selection_to_clip': xo-clipboard.c:139:13: warning: Deprecated pre-processor symbol: replace with "memmove" 139 | g_memmove(p, &bufsz, sizeof(int)); p+= sizeof(int); @@ -1832,6 +2135,9 @@ xo-clipboard.c:141:13: warning: Deprecated pre-processor symbol: replace with "memmove" 141 | g_memmove(p, &ui.selection->bbox, sizeof(struct BBox)); p+= sizeof(struct BBox); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:2169:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 2169 | g_memmove(&(ui.brushes[0][TOOL_HIGHLIGHTER]), ui.default_brushes+TOOL_HIGHLIGHTER, sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:144:13: warning: Deprecated pre-processor symbol: replace with "memmove" 144 | g_memmove(p, &item->type, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1841,6 +2147,7 @@ xo-clipboard.c:147:13: warning: Deprecated pre-processor symbol: replace with "memmove" 147 | g_memmove(p, &item->path->num_points, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_toolsSetAsDefault_activate': xo-clipboard.c:148:13: warning: Deprecated pre-processor symbol: replace with "memmove" 148 | g_memmove(p, item->path->coords, 2*item->path->num_points*sizeof(double)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1850,6 +2157,7 @@ xo-clipboard.c:156:13: warning: Deprecated pre-processor symbol: replace with "memmove" 156 | g_memmove(p, &item->brush, sizeof(struct Brush)); p+= sizeof(struct Brush); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-file.c: In function 'load_config_from_file': xo-clipboard.c:157:13: warning: Deprecated pre-processor symbol: replace with "memmove" 157 | g_memmove(p, &item->bbox.left, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1859,12 +2167,16 @@ xo-clipboard.c:160:13: warning: Deprecated pre-processor symbol: replace with "memmove" 160 | g_memmove(p, &val, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:2215:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 2215 | &(ui.brushes[ui.cur_mapping][ui.toolno[ui.cur_mapping]]), sizeof(struct Brush)); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:161:13: warning: Deprecated pre-processor symbol: replace with "memmove" 161 | g_memmove(p, item->text, val+1); p+= val+1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:163:13: warning: Deprecated pre-processor symbol: replace with "memmove" 163 | g_memmove(p, &val, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-shapes.c: In function 'insert_recognized_curpath': xo-clipboard.c:164:13: warning: Deprecated pre-processor symbol: replace with "memmove" 164 | g_memmove(p, item->font_name, val+1); p+= val+1; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1874,12 +2186,22 @@ xo-clipboard.c:169:13: warning: Deprecated pre-processor symbol: replace with "memmove" 169 | g_memmove(p, &item->bbox, sizeof(struct BBox)); p+= sizeof(struct BBox); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-shapes.c:330:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 330 | g_memmove(&(item->brush), &(erasure->item->brush), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:170:13: warning: Deprecated pre-processor symbol: replace with "memmove" 170 | g_memmove(p, &item->image_png_len, sizeof(gsize)); p+= sizeof(gsize); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-shapes.c:334:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 334 | g_memmove(item->path->coords, ui.cur_path.coords, 2*ui.cur_path.num_points*sizeof(double)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:172:13: warning: Deprecated pre-processor symbol: replace with "memmove" 172 | g_memmove(p, item->image_png, item->image_png_len); p+= item->image_png_len; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-file.c:2404:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 2404 | g_memmove(&(ui.brushes[j][i]), &(ui.brushes[0][i]), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_buttonToolDefault_clicked': xo-clipboard.c: In function 'clipboard_paste_from_xournal': xo-clipboard.c:211:13: warning: Deprecated pre-processor symbol: replace with "memmove" 211 | g_memmove(&nitems, p, sizeof(int)); p+= sizeof(int); @@ -1887,6 +2209,9 @@ xo-clipboard.c:214:13: warning: Deprecated pre-processor symbol: replace with "memmove" 214 | g_memmove(&ui.selection->bbox, p, sizeof(struct BBox)); p+= sizeof(struct BBox); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c:2353:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 2353 | g_memmove(&(ui.brushes[0][ui.toolno[0]]), ui.default_brushes+ui.toolno[0], sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-clipboard.c:251:13: warning: Deprecated pre-processor symbol: replace with "memmove" 251 | g_memmove(&item->type, p, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1896,31 +2221,22 @@ xo-clipboard.c:254:13: warning: Deprecated pre-processor symbol: replace with "memmove" 254 | g_memmove(&npts, p, sizeof(int)); p+= sizeof(int); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-shapes.c: In function 'recognize_patterns': xo-clipboard.c:263:9: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 263 | item->widths = g_memdup(p, (item->path->num_points-1)*sizeof(double)); | ^~~~ +xo-shapes.c:582:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 582 | recognizer_queue_length * sizeof(struct RecoSegment)); + | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ -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, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ xo-clipboard.c:271:13: warning: Deprecated pre-processor symbol: replace with "memmove" 271 | g_memmove(&item->brush, p, sizeof(struct Brush)); p+= sizeof(struct Brush); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here - 580 | struct _GTimeVal - | ^~~~~~~~~ xo-clipboard.c:272:13: warning: Deprecated pre-processor symbol: replace with "memmove" 272 | g_memmove(&item->bbox.left, p, sizeof(double)); p+= sizeof(double); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -1958,200 +2274,6 @@ xo-clipboard.c:340:13: warning: Deprecated pre-processor symbol: replace with "memmove" 340 | g_memmove(&(item->brush), &(ui.brushes[ui.cur_mapping][TOOL_PEN]), sizeof(struct Brush)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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, - from /usr/include/gtk-2.0/gtk/gtkbin.h:35, - from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, - from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, - from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-misc.c:22: -/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] - 236 | void gtk_type_init (GTypeDebugFlags debug_flags); - | ^~~~ -xo-paint.c: In function 'make_pen_cursor': -In file included from /usr/include/glib-2.0/gobject/gobject.h:26, - from /usr/include/glib-2.0/gobject/gbinding.h:31, - from /usr/include/glib-2.0/glib-object.h:24, - from /usr/include/glib-2.0/gio/gioenums.h:30, - from /usr/include/glib-2.0/gio/giotypes.h:30, - from /usr/include/glib-2.0/gio/gio.h:28, - from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, - from /usr/include/gtk-2.0/gdk/gdk.h:32, - from /usr/include/gtk-2.0/gtk/gtk.h:32: -/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here - 725 | { - | ^ -xo-callbacks.c: In function 'on_editUndo_activate': -xo-paint.c:78:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 78 | g_memmove(pixels + y*rowstride + x*4, col, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c: In function 'make_hiliter_cursor': -xo-paint.c:100:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 100 | g_memmove(pixels + y*rowstride + x*4, col, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:108:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 108 | g_memmove(pixels + y*rowstride + x*4, col, 4); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:613:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 613 | g_memmove(&tmp_brush, &(it->brush), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-print.c: In function 'dup_pdfobj': -xo-callbacks.c:614:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 614 | g_memmove(&(it->brush), list->data, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-print.c:104:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 104 | dup = g_memdup(obj, sizeof(struct PdfObj)); - | ^~~ -xo-callbacks.c:615:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 615 | g_memmove(list->data, &tmp_brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gstring.h:37, - from /usr/include/glib-2.0/glib/giochannel.h:36, - from /usr/include/glib-2.0/glib.h:56: -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -xo-callbacks.c:641:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 641 | g_memmove(&tmp_brush, undo->brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:642:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 642 | g_memmove(undo->brush, &(undo->item->brush), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:643:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 643 | g_memmove(&(undo->item->brush), &tmp_brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c: In function 'subdivide_cur_path': -xo-callbacks.c: In function 'on_editRedo_activate': -xo-callbacks.c:827:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 827 | g_memmove(&tmp_brush, &(it->brush), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:828:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 828 | g_memmove(&(it->brush), list->data, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:829:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 829 | g_memmove(list->data, &tmp_brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:861:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 861 | g_memmove(&tmp_brush, redo->brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:862:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 862 | g_memmove(redo->brush, &(redo->item->brush), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:212:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 212 | 2*(ui.cur_path.num_points-n-1)*sizeof(double)); - | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c:863:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 863 | g_memmove(&(redo->item->brush), &tmp_brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c: In function 'create_new_stroke': -xo-paint.c:230:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 230 | g_memmove(&(ui.cur_item->brush), ui.cur_brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c: In function 'finalize_stroke': -xo-paint.c:356:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 356 | 2*ui.cur_path.num_points*sizeof(double)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:358:5: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 358 | ui.cur_item->widths = (gdouble *)g_memdup(ui.cur_widths, - | ^~ -In file included from /usr/include/glib-2.0/glib/gstring.h:37, - from /usr/include/glib-2.0/glib/giochannel.h:36, - from /usr/include/glib-2.0/glib.h:56: -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -xo-paint.c: In function 'erase_stroke_portions': -xo-paint.c:415:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 415 | g_memmove(&newhead->brush, &item->brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:417:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 417 | g_memmove(newhead->path->coords, item->path->coords, 2*i*sizeof(double)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:419:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 419 | newhead->widths = (gdouble *)g_memdup(item->widths, (i-1)*sizeof(gdouble)); - | ^~~~~~~ -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -xo-paint.c:429:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 429 | g_memmove(&newtail->brush, &item->brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:432:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 432 | 2*(item->path->num_points-i)*sizeof(double)); - | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-print.c:108:5: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 108 | dup->str = g_memdup(obj->str, obj->len+1); - | ^~~ -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -xo-print.c: In function 'parse_pdf_object': -xo-print.c:250:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 250 | g_memmove(obj->str, p, obj->len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -xo-print.c:263:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 263 | g_memmove(obj->str, p, obj->len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c: In function 'on_toolsDefaultPen_activate': -xo-callbacks.c:2131:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 2131 | g_memmove(&(ui.brushes[0][TOOL_PEN]), ui.default_brushes+TOOL_PEN, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c: In function 'on_toolsDefaultEraser_activate': -xo-callbacks.c:2150:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 2150 | g_memmove(&(ui.brushes[0][TOOL_ERASER]), ui.default_brushes+TOOL_ERASER, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c: In function 'on_toolsDefaultHighlighter_activate': -xo-callbacks.c:2169:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 2169 | g_memmove(&(ui.brushes[0][TOOL_HIGHLIGHTER]), ui.default_brushes+TOOL_HIGHLIGHTER, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c: In function 'on_toolsSetAsDefault_activate': -xo-callbacks.c:2215:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 2215 | &(ui.brushes[ui.cur_mapping][ui.toolno[ui.cur_mapping]]), sizeof(struct Brush)); - | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c: In function 'on_buttonToolDefault_clicked': -xo-callbacks.c:2353:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 2353 | g_memmove(&(ui.brushes[0][ui.toolno[0]]), ui.default_brushes+ui.toolno[0], sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-print.c: In function 'pdf_draw_page': -xo-print.c:1229:11: warning: 'pango_fc_font_lock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] - 1229 | ftface = pango_fc_font_lock_face(fcfont); - | ^~~~~~ -In file included from xo-print.c:29: -/usr/include/pango-1.0/pango/pangofc-font.h:114:12: note: declared here - 114 | FT_Face pango_fc_font_lock_face (PangoFcFont *font); - | ^~~~~~~~~~~~~~~~~~~~~~~ -xo-print.c:1279:11: warning: 'pango_fc_font_unlock_face' is deprecated: Use 'pango_font_get_hb_font' instead [-Wdeprecated-declarations] - 1279 | pango_fc_font_unlock_face(fcfont); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -/usr/include/pango-1.0/pango/pangofc-font.h:116:12: note: declared here - 116 | void pango_fc_font_unlock_face (PangoFcFont *font); - | ^~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:434:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 434 | newtail->widths = (gdouble *)g_memdup(item->widths+i, - | ^~~~~~~ -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -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, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here - 580 | struct _GTimeVal - | ^~~~~~~~~ -xo-paint.c: In function 'start_text': -xo-paint.c:614:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 614 | g_memmove(&(item->brush), ui.cur_brush, sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c: In function 'refont_text_item': xo-callbacks.c: In function 'on_journalDefaultBackground_activate': xo-callbacks.c:3122:22: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 3122 | pg->bg = (struct Background *)g_memdup(ui.default_page.bg, sizeof(struct Background)); @@ -2170,6 +2292,13 @@ 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ xo-callbacks.c: In function 'on_button2CopyBrush_activate': +xo-callbacks.c:3424:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 3424 | g_memmove(&(ui.brushes[1][ui.toolno[1]]), &(ui.brushes[0][ui.toolno[1]]), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xo-callbacks.c: In function 'on_button3CopyBrush_activate': +xo-callbacks.c:3517:13: warning: Deprecated pre-processor symbol: replace with "memmove" + 3517 | g_memmove(&(ui.brushes[2][ui.toolno[2]]), &(ui.brushes[0][ui.toolno[2]]), sizeof(struct Brush)); + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -2183,35 +2312,6 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ -xo-callbacks.c:3424:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 3424 | g_memmove(&(ui.brushes[1][ui.toolno[1]]), &(ui.brushes[0][ui.toolno[1]]), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-callbacks.c: In function 'on_button3CopyBrush_activate': -xo-callbacks.c:3517:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 3517 | g_memmove(&(ui.brushes[2][ui.toolno[2]]), &(ui.brushes[0][ui.toolno[2]]), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-paint.c:796:27: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 796 | undo->brush = (struct Brush *)g_memdup(&(item->brush), sizeof(struct Brush)); - | ^~~~~ -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -xo-selection.c: In function 'finalize_selectrect': -xo-selection.c:109:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 109 | g_memmove(&(ui.selection->bbox), &(item->bbox), sizeof(struct BBox)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-selection.c: In function 'finalize_selectregion': -xo-selection.c:257:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 257 | g_memmove(&(ui.selection->bbox), &(item->bbox), sizeof(struct BBox)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-selection.c: In function 'recolor_selection': -xo-selection.c:740:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 740 | g_memmove(brush, &(item->brush), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-selection.c: In function 'rethicken_selection': -xo-selection.c:776:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 776 | g_memmove(brush, &(item->brush), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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, @@ -2220,7 +2320,7 @@ from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, - from xo-shapes.c:22: + from xo-misc.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -2249,60 +2349,7 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ -main.c: In function 'init_stuff': -main.c:118:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 118 | g_memmove(ui.default_brushes+i, &(ui.brushes[0][i]), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-file.c: In function 'read_pixbuf': -xo-file.c:136:3: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 136 | base64_str2 = g_memdup(base64_str, base64_strlen+1); - | ^~~~~~~~~~~ -In file included from /usr/include/glib-2.0/glib/gstring.h:37, - from /usr/include/glib-2.0/glib/giochannel.h:36, - from /usr/include/glib-2.0/glib.h:56: -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -xo-file.c: In function 'xoj_parser_start_element': -xo-file.c:743:11: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] - 743 | tmpItem->widths = (gdouble *) g_memdup(ui.cur_widths, i*sizeof(gdouble)); - | ^~~~~~~ -/usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here - 350 | gpointer g_memdup (gconstpointer mem, - | ^~~~~~~~ -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, - from /usr/include/gtk-2.0/gtk/gtk.h:126: -/usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] - 73 | GTimeVal last_popdown; - | ^~~~~~~~ -In file included from /usr/include/glib-2.0/glib/galloca.h:34, - from /usr/include/glib-2.0/glib.h:32, - from /usr/include/glib-2.0/gobject/gbinding.h:30: -/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here - 580 | struct _GTimeVal - | ^~~~~~~~~ -xo-file.c: In function 'xoj_parser_text': -xo-file.c:970:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 970 | g_memmove(tmpItem->path->coords, ui.cur_path.coords, n*sizeof(double)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-file.c:974:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 974 | g_memmove(tmpItem->text, text, text_len); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-file.c: In function 'open_journal': -xo-file.c:1122:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 1122 | g_memmove(&journal, &tmpJournal, sizeof(struct Journal)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-file.c: In function 'init_config_default': -xo-file.c:1806:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 1806 | g_memmove(&(ui.brushes[j][i]), &(ui.brushes[0][i]), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-file.c: In function 'load_config_from_file': xo-misc.c: In function 'new_page': -xo-file.c:2404:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 2404 | g_memmove(&(ui.brushes[j][i]), &(ui.brushes[0][i]), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xo-misc.c:94:29: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 94 | struct Page *pg = (struct Page *) g_memdup(template, sizeof(struct Page)); | ^~~~ @@ -2349,17 +2396,6 @@ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ -xo-shapes.c: In function 'insert_recognized_curpath': -xo-shapes.c:330:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 330 | g_memmove(&(item->brush), &(erasure->item->brush), sizeof(struct Brush)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-shapes.c:334:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 334 | g_memmove(item->path->coords, ui.cur_path.coords, 2*ui.cur_path.num_points*sizeof(double)); - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xo-shapes.c: In function 'recognize_patterns': -xo-shapes.c:582:13: warning: Deprecated pre-processor symbol: replace with "memmove" - 582 | recognizer_queue_length * sizeof(struct RecoSegment)); - | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -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/sysprof-6 -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/webp -I/usr/include/atk-1.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gail-1.0 -I/usr/include/poppler/glib -I/usr/include/poppler -pthread -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xournal-0.4.8.2016=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -mbranch-protection=standard -Wl,-z,relro -Wl,-z,now -o xournal main.o xo-misc.o xo-file.o xo-paint.o xo-selection.o xo-clipboard.o xo-image.o xo-print.o xo-support.o xo-interface.o xo-callbacks.o xo-shapes.o ttsubset/libttsubset.a -lgnomecanvas-2 -lart_lgpl_2 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lgdk_pixbuf-2.0 -lgio-2.0 -lpoppler-glib -lcairo -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lX11 -lz -lm make[4]: Leaving directory '/build/reproducible-path/xournal-0.4.8.2016/src' make[3]: Leaving directory '/build/reproducible-path/xournal-0.4.8.2016/src' @@ -2411,11 +2447,11 @@ else \ desktopdir=/usr/local/share; \ fi; \ -/bin/bash ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/icons/hicolor/scalable/apps; \ -/bin/bash ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/icons/hicolor/scalable/mimetypes; \ -/bin/bash ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/mime/packages; \ -/bin/bash ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/applications; \ -/bin/bash ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/mimelnk/application; \ +/bin/sh ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/icons/hicolor/scalable/apps; \ +/bin/sh ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/icons/hicolor/scalable/mimetypes; \ +/bin/sh ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/mime/packages; \ +/bin/sh ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/applications; \ +/bin/sh ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/mimelnk/application; \ /usr/bin/install -c -m 644 ./pixmaps/xournal.svg /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/icons/hicolor/scalable/apps; \ /usr/bin/install -c -m 644 ./pixmaps/xoj.svg /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/icons/hicolor/scalable/mimetypes; \ if test ! -e /build/reproducible-path/xournal-0.4.8.2016/debian/xournal$desktopdir/icons/hicolor/scalable/mimetypes/gnome-mime-application-x-xoj.svg; then \ @@ -2438,31 +2474,27 @@ echo "*** update-mime-database $desktopdir/mime"; \ echo "*** gtk-update-icon-cache -f -t $desktopdir/icons/hicolor"; \ fi -mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/icons/hicolor/scalable/apps Making install in src +mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/icons/hicolor/scalable/apps make[3]: Entering directory '/build/reproducible-path/xournal-0.4.8.2016/src' mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/icons/hicolor/scalable/mimetypes -mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/mime/packages Making install in ttsubset +mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/mime/packages make[4]: Entering directory '/build/reproducible-path/xournal-0.4.8.2016/src/ttsubset' -mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/applications make[5]: Entering directory '/build/reproducible-path/xournal-0.4.8.2016/src/ttsubset' make[5]: Nothing to be done for 'install-exec-am'. make[5]: Nothing to be done for 'install-data-am'. make[5]: Leaving directory '/build/reproducible-path/xournal-0.4.8.2016/src/ttsubset' make[4]: Leaving directory '/build/reproducible-path/xournal-0.4.8.2016/src/ttsubset' +mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/applications make[4]: Entering directory '/build/reproducible-path/xournal-0.4.8.2016/src' -mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/mimelnk/application make[5]: Entering directory '/build/reproducible-path/xournal-0.4.8.2016/src' - /usr/bin/mkdir -p '/build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/bin' make[5]: Nothing to be done for 'install-data-am'. +mkdir -p -- /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/mimelnk/application + /usr/bin/mkdir -p '/build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/bin' /usr/bin/install -c xournal '/build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/bin' make[5]: Leaving directory '/build/reproducible-path/xournal-0.4.8.2016/src' make[4]: Leaving directory '/build/reproducible-path/xournal-0.4.8.2016/src' -*** Not updating desktop, mime, and icon databases. After install, run: -*** update-desktop-database -*** update-mime-database /usr/share/mime -*** gtk-update-icon-cache -f -t /usr/share/icons/hicolor make[3]: Leaving directory '/build/reproducible-path/xournal-0.4.8.2016/src' Making install in po make[3]: Entering directory '/build/reproducible-path/xournal-0.4.8.2016/po' @@ -2499,6 +2531,10 @@ fi; \ fi; \ done +*** Not updating desktop, mime, and icon databases. After install, run: +*** update-desktop-database +*** update-mime-database /usr/share/mime +*** gtk-update-icon-cache -f -t /usr/share/icons/hicolor installing ca.gmo as /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/locale/ca/LC_MESSAGES/xournal.mo installing ca@valencia.gmo as /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/locale/ca@valencia/LC_MESSAGES/xournal.mo installing cs.gmo as /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/locale/cs/LC_MESSAGES/xournal.mo @@ -2525,7 +2561,7 @@ make[4]: Entering directory '/build/reproducible-path/xournal-0.4.8.2016' make[4]: Nothing to be done for 'install-exec-am'. if test -d ./pixmaps; then \ - /bin/bash ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/xournal/pixmaps; \ + /bin/sh ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/xournal/pixmaps; \ for pixmap in ./pixmaps/*; do \ if test -f $pixmap; then \ /usr/bin/install -c -m 644 $pixmap /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/xournal/pixmaps; \ @@ -2533,7 +2569,7 @@ done \ fi; \ if test -d ./html-doc; then \ - /bin/bash ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/doc/xournal; \ + /bin/sh ./mkinstalldirs /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/doc/xournal; \ for docfile in ./html-doc/*; do \ if test -f $docfile; then \ /usr/bin/install -c -m 644 $docfile /build/reproducible-path/xournal-0.4.8.2016/debian/xournal/usr/share/doc/xournal; \ @@ -2565,9 +2601,6 @@ dh_perl dh_link dh_strip_nondeterminism - Normalized debian/xournal/usr/share/locale/zh_TW/LC_MESSAGES/xournal.mo - Normalized debian/xournal/usr/share/locale/zh_CN/LC_MESSAGES/xournal.mo - Normalized debian/xournal/usr/share/locale/ru/LC_MESSAGES/xournal.mo Normalized debian/xournal/usr/share/locale/pt_BR/LC_MESSAGES/xournal.mo Normalized debian/xournal/usr/share/locale/pl/LC_MESSAGES/xournal.mo Normalized debian/xournal/usr/share/locale/nl/LC_MESSAGES/xournal.mo @@ -2579,6 +2612,9 @@ Normalized debian/xournal/usr/share/locale/fr/LC_MESSAGES/xournal.mo Normalized debian/xournal/usr/share/locale/es/LC_MESSAGES/xournal.mo Normalized debian/xournal/usr/share/locale/de/LC_MESSAGES/xournal.mo + Normalized debian/xournal/usr/share/locale/zh_TW/LC_MESSAGES/xournal.mo + Normalized debian/xournal/usr/share/locale/zh_CN/LC_MESSAGES/xournal.mo + Normalized debian/xournal/usr/share/locale/ru/LC_MESSAGES/xournal.mo dh_compress dh_fixperms dh_missing @@ -2590,8 +2626,8 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'xournal-dbgsym' in '../xournal-dbgsym_0.4.8.2016-7_arm64.deb'. dpkg-deb: building package 'xournal' in '../xournal_0.4.8.2016-7_arm64.deb'. +dpkg-deb: building package 'xournal-dbgsym' in '../xournal-dbgsym_0.4.8.2016-7_arm64.deb'. dpkg-genbuildinfo --build=binary -O../xournal_0.4.8.2016-7_arm64.buildinfo dpkg-genchanges --build=binary -O../xournal_0.4.8.2016-7_arm64.changes dpkg-genchanges: info: binary-only upload (no source code included) @@ -2599,12 +2635,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/1576525/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/1576525/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/708642 and its subdirectories -I: Current time: Thu May 9 06:13:32 -12 2024 -I: pbuilder-time-stamp: 1715278412 +I: removing directory /srv/workspace/pbuilder/1576525 and its subdirectories +I: Current time: Thu Jun 12 14:37:42 +14 2025 +I: pbuilder-time-stamp: 1749688662