Diff of the two buildlogs: -- --- b1/build.log 2025-02-06 11:41:46.446589575 +0000 +++ b2/build.log 2025-02-06 11:49:04.614711723 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Wed Feb 5 23:38:59 -12 2025 -I: pbuilder-time-stamp: 1738841939 +I: Current time: Fri Feb 7 01:42:14 +14 2025 +I: pbuilder-time-stamp: 1738842134 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/unstable-reproducible-base.tgz] I: copying local configuration @@ -51,52 +51,84 @@ dpkg-source: info: applying 0920-add_Name_Comment_pt_BR.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/28708/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/13649/tmp/hooks/D01_modify_environment starting +debug: Running on ff4a. +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 Feb 6 11:43 /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/13649/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/13649/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='armhf' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=3 ' - DISTRIBUTION='unstable' - HOME='/root' - HOST_ARCH='armhf' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="37" [3]="1" [4]="release" [5]="arm-unknown-linux-gnueabihf") + BASH_VERSION='5.2.37(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=armhf + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=4 ' + DIRSTACK=() + DISTRIBUTION=unstable + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=arm + HOST_ARCH=armhf IFS=' ' - INVOCATION_ID='2a8deb064a3346f88139cc221294be00' - 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='28708' - PS1='# ' - PS2='> ' + INVOCATION_ID=6d183e19c7784352afe097f126122ee4 + LANG=C + LANGUAGE=it_CH:it + LC_ALL=C + MACHTYPE=arm-unknown-linux-gnueabihf + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnueabihf + 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=13649 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.VARTzuR8/pbuilderrc_F9go --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.VARTzuR8/b1 --logfile b1/build.log xsane_0.999-12.2.dsc' - SUDO_GID='110' - SUDO_UID='103' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://10.0.0.15:3142/' + 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.VARTzuR8/pbuilderrc_YhWp --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.VARTzuR8/b2 --logfile b2/build.log xsane_0.999-12.2.dsc' + SUDO_GID=113 + SUDO_UID=107 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://10.0.0.15:3142/ I: uname -a - Linux virt64z 6.1.0-30-arm64 #1 SMP Debian 6.1.124-1 (2025-01-12) aarch64 GNU/Linux + Linux i-capture-the-hostname 6.1.0-30-armmp-lpae #1 SMP Debian 6.1.124-1 (2025-01-12) armv7l GNU/Linux I: ls -l /bin lrwxrwxrwx 1 root root 7 Nov 22 14:40 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/28708/tmp/hooks/D02_print_environment finished +I: user script /srv/workspace/pbuilder/13649/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -523,7 +555,7 @@ Get: 371 http://deb.debian.org/debian unstable/main armhf libv4l-0t64 armhf 1.28.1-1 [110 kB] Get: 372 http://deb.debian.org/debian unstable/main armhf libsane1 armhf 1.3.1-1 [2286 kB] Get: 373 http://deb.debian.org/debian unstable/main armhf libsane-dev armhf 1.3.1-1 [2284 kB] -Fetched 163 MB in 15s (11.0 MB/s) +Fetched 163 MB in 9s (18.0 MB/s) Preconfiguring packages ... Selecting previously unselected package libsystemd-shared:armhf. (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 ... 19531 files and directories currently installed.) @@ -1732,8 +1764,8 @@ Setting up tzdata (2025a-2) ... Current default time zone: 'Etc/UTC' -Local time is now: Thu Feb 6 11:40:25 UTC 2025. -Universal Time is now: Thu Feb 6 11:40:25 UTC 2025. +Local time is now: Thu Feb 6 11:45:50 UTC 2025. +Universal Time is now: Thu Feb 6 11:45:50 UTC 2025. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up libxcb-present0:armhf (1.17.0-2+b1) ... @@ -2077,7 +2109,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/xsane-0.999/ && 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 > ../xsane_0.999-12.2_source.changes +I: user script /srv/workspace/pbuilder/13649/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for unstable +I: user script /srv/workspace/pbuilder/13649/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/xsane-0.999/ && 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 > ../xsane_0.999-12.2_source.changes dpkg-buildpackage: info: source package xsane dpkg-buildpackage: info: source version 0.999-12.2 dpkg-buildpackage: info: source distribution unstable @@ -2430,13 +2466,13 @@ make[1]: Leaving directory '/build/reproducible-path/xsane-0.999' dh_auto_build - make -j3 + make -j4 make[1]: Entering directory '/build/reproducible-path/xsane-0.999' for subdir in lib src po doc; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && make $target) \ - || case "-j3 --jobserver-auth=fifo:/tmp/GMfifo3066" in *k*) fail=yes;; *) exit 1;; esac; \ + || case "-j4 --jobserver-auth=fifo:/tmp/GMfifo20575" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[2]: Entering directory '/build/reproducible-path/xsane-0.999/lib' @@ -2458,6 +2494,45 @@ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-back-gtk.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-front-gtk.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-gamma.c +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-preview.c +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 xsane.h:70, + from xsane-front-gtk.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/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 xsane.h:69: +/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/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, @@ -2492,7 +2567,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane-front-gtk.c:25: + from xsane-preview.c:75: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ @@ -2559,6 +2634,18 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ +xsane-gamma.c: In function 'xsane_slider_callback': +xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] + 593 | GdkEventMotion *motion_event; + | ^~~~~~~~~~~~ +xsane-front-gtk.c: In function 'xsane_set_all_resolutions': +xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] + 351 | int printer_resolution; + | ^~~~~~~~~~~~~~~~~~ +xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': +xsane-back-gtk.c:1836:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] + 1836 | const SANE_Option_Descriptor *opt; + | ^~~ 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, @@ -2572,21 +2659,28 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ -xsane-gamma.c: In function 'xsane_slider_callback': -xsane-gamma.c:593:18: warning: variable 'motion_event' set but not used [-Wunused-but-set-variable] - 593 | GdkEventMotion *motion_event; - | ^~~~~~~~~~~~ -xsane-back-gtk.c: In function 'xsane_back_gtk_button_update': -xsane-back-gtk.c:1836:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] - 1836 | const SANE_Option_Descriptor *opt; - | ^~~ -xsane-front-gtk.c: In function 'xsane_set_all_resolutions': -xsane-front-gtk.c:351:6: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable] - 351 | int printer_resolution; - | ^~~~~~~~~~~~~~~~~~ -gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-preview.c +xsane-preview.c: In function 'preview_create_batch_icon_from_file': +xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] + 2102 | size_t bytes_read; + | ^~~~~~~~~~ +xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] + 2096 | int c; + | ^ +xsane-preview.c: In function 'preview_restore_image_from_file': +xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] + 2455 | size_t nread; + | ^~~~~ +xsane-preview.c: In function 'preview_create_batch_icon_from_file': +xsane-preview.c:2126:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-preview.c: In function 'preview_restore_image_from_file': +xsane-preview.c:2482:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] + 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-viewer.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-fax-project.c +gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-email-project.c 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, @@ -2596,7 +2690,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane-preview.c:75: + from xsane-viewer.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); | ^~~~ @@ -2621,7 +2715,7 @@ from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from xsane.h:70, - from xsane-viewer.c:25: + from xsane-email-project.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); | ^~~~ @@ -2701,17 +2795,21 @@ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ -xsane-preview.c: In function 'preview_create_batch_icon_from_file': -xsane-preview.c:2102:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] - 2102 | size_t bytes_read; - | ^~~~~~~~~~ -xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] - 2096 | int c; - | ^ -xsane-preview.c: In function 'preview_restore_image_from_file': -xsane-preview.c:2455:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] - 2455 | size_t nread; - | ^~~~~ +xsane-email-project.c: In function 'xsane_email_project_display_status': +xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] + 496 | int items_done; + | ^~~~~~~~~~ +xsane-email-project.c: In function 'xsane_create_email': +xsane-email-project.c:1518:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] + 1518 | size_t bytes_written; + | ^~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_send': +xsane-email-project.c:1937:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable] + 1937 | FILE *ipc_file = NULL; + | ^~~~~~~~ +xsane-email-project.c:1947:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1947 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': xsane-viewer.c:530:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] 530 | int image_width, image_height; @@ -2720,10 +2818,6 @@ xsane-viewer.c:554:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] 554 | int image_width, image_height; | ^~~~~~~~~~~ -xsane-preview.c: In function 'preview_create_batch_icon_from_file': -xsane-preview.c:2126:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 2126 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-viewer.c: In function 'xsane_viewer_read_image_header': xsane-viewer.c:2151:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] 2151 | int pos0; @@ -2732,22 +2826,18 @@ xsane-viewer.c:2206:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] 2206 | int nread; | ^~~~~ -xsane-fax-project.c: In function 'xsane_fax_send': -xsane-fax-project.c:1295:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] - 1295 | setuid(getuid()); - | ^~~~~~~~~~~~~~~~ xsane-viewer.c: In function 'xsane_viewer_save_callback': xsane-viewer.c:377:7: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | getcwd(pathname, sizeof(pathname)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_send': +xsane-fax-project.c:1295:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] + 1295 | setuid(getuid()); + | ^~~~~~~~~~~~~~~~ xsane-fax-project.c: In function 'xsane_fax_show_callback': xsane-fax-project.c:1069:9: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result] 1069 | setuid(getuid()); | ^~~~~~~~~~~~~~~~ -xsane-preview.c: In function 'preview_restore_image_from_file': -xsane-preview.c:2482:3: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] - 2482 | fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ - | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': xsane-fax-project.c:903:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 903 | fgets(buf, sizeof(buf), sourcefile); @@ -2770,6 +2860,22 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_project_display_status': +xsane-email-project.c:899:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + 899 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ + | ^ +In file included from /usr/include/stdio.h:970, + from xsane.h:47: +In function 'snprintf', + inlined from 'xsane_email_project_update_project_status' at xsane-email-project.c:899:3, + inlined from 'xsane_email_project_display_status' at xsane-email-project.c:559:9: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ xsane-fax-project.c: In function 'xsane_fax_send': xsane-fax-project.c:1107:36: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 252 [-Wformat-truncation=] 1107 | snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); @@ -2834,12 +2940,32 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -xsane-viewer.c:281:5: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 281 | strncpy(outputfilename, preferences.filename, sizeof(outputfilename)); - | ^ -xsane-viewer.c:277:5: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] - 277 | strncpy(outputfilename, v->output_filename, sizeof(outputfilename)); - | ^ +xsane-email-project.c: In function 'xsane_email_project_save': +xsane-email-project.c:939:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + 939 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ + | ^ +In function 'snprintf', + inlined from 'xsane_email_project_save' at xsane-email-project.c:939:5: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ +xsane-email-project.c: In function 'xsane_email_project_save': +xsane-email-project.c:928:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + 928 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); + | ^~ ~~~~~~~~ +In function 'snprintf', + inlined from 'xsane_email_project_save' at xsane-email-project.c:928:5: +/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 69 | __glibc_objsize (__s), __fmt, + | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + 70 | __va_arg_pack ()); + | ~~~~~~~~~~~~~~~~~ xsane-fax-project.c: In function 'xsane_fax_project_save': xsane-fax-project.c:501:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] 501 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ @@ -2866,21 +2992,42 @@ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 70 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_read_image.isra': -xsane-viewer.c:2312:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=] - 2312 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile); - | ^~ ~~~~~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:970, - from xsane.h:47: +xsane-email-project.c: In function 'xsane_email_send': +xsane-email-project.c:1657:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=] + 1657 | snprintf(buf, sizeof(buf), "
\r\n", content_id);
+ | ^~ ~~~~~~~~~~
In function 'snprintf',
- inlined from 'xsane_viewer_read_image.isra' at xsane-viewer.c:2312:7:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
+ inlined from 'xsane_create_email' at xsane-email-project.c:1657:13,
+ inlined from 'xsane_email_send_process' at xsane-email-project.c:1854:3,
+ inlined from 'xsane_email_send' at xsane-email-project.c:1950:5:
+/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
+ 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 69 | __glibc_objsize (__s), __fmt,
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 70 | __va_arg_pack ());
+ | ~~~~~~~~~~~~~~~~~
+xsane-email-project.c: In function 'xsane_email_send':
+xsane-email-project.c:1686:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=]
+ 1686 | snprintf(buf, sizeof(buf), "
\r\n", content_id);
+ | ^~ ~~~~~~~~~~
+In function 'snprintf',
+ inlined from 'xsane_create_email' at xsane-email-project.c:1686:9,
+ inlined from 'xsane_email_send_process' at xsane-email-project.c:1854:3,
+ inlined from 'xsane_email_send' at xsane-email-project.c:1950:5:
+/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
69 | __glibc_objsize (__s), __fmt,
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
+xsane-viewer.c:281:5: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
+ 281 | strncpy(outputfilename, preferences.filename, sizeof(outputfilename));
+ | ^
+xsane-viewer.c:277:5: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
+ 277 | strncpy(outputfilename, v->output_filename, sizeof(outputfilename));
+ | ^
xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback':
xsane-fax-project.c:931:45: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1022 [-Wformat-truncation=]
931 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath);
@@ -2894,7 +3041,23 @@
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-email-project.c
+xsane-viewer.c: In function 'xsane_viewer_read_image.isra':
+xsane-viewer.c:2312:46: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=]
+ 2312 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info.icm_profile);
+ | ^~ ~~~~~~~~~~~~~~~~~~~~~~
+In file included from /usr/include/stdio.h:970,
+ from xsane.h:47:
+In function 'snprintf',
+ inlined from 'xsane_viewer_read_image.isra' at xsane-viewer.c:2312:7:
+/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
+ 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 69 | __glibc_objsize (__s), __fmt,
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 70 | __va_arg_pack ());
+ | ~~~~~~~~~~~~~~~~~
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-multipage-project.c
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-rc-io.c
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,
@@ -2904,7 +3067,7 @@
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from xsane.h:70,
- from xsane-email-project.c:25:
+ from xsane-multipage-project.c:27:
/usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations]
236 | void gtk_type_init (GTypeDebugFlags debug_flags);
| ^~~~
@@ -2933,64 +3096,6 @@
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
-xsane-email-project.c: In function 'xsane_email_project_display_status':
-xsane-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable]
- 496 | int items_done;
- | ^~~~~~~~~~
-xsane-email-project.c: In function 'xsane_create_email':
-xsane-email-project.c:1518:9: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
- 1518 | size_t bytes_written;
- | ^~~~~~~~~~~~~
-xsane-email-project.c: In function 'xsane_email_send':
-xsane-email-project.c:1937:10: warning: variable 'ipc_file' set but not used [-Wunused-but-set-variable]
- 1937 | FILE *ipc_file = NULL;
- | ^~~~~~~~
-xsane-email-project.c:1947:5: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
- 1947 | setuid(getuid());
- | ^~~~~~~~~~~~~~~~
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-multipage-project.c
-xsane-email-project.c: In function 'xsane_email_project_display_status':
-xsane-email-project.c:899:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=]
- 899 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */
- | ^
-In file included from /usr/include/stdio.h:970,
- from xsane.h:47:
-In function 'snprintf',
- inlined from 'xsane_email_project_update_project_status' at xsane-email-project.c:899:3,
- inlined from 'xsane_email_project_display_status' at xsane-email-project.c:559:9:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
-xsane-email-project.c: In function 'xsane_email_project_save':
-xsane-email-project.c:939:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=]
- 939 | snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */
- | ^
-In function 'snprintf',
- inlined from 'xsane_email_project_save' at xsane-email-project.c:939:5:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
-xsane-email-project.c: In function 'xsane_email_project_save':
-xsane-email-project.c:928:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=]
- 928 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename);
- | ^~ ~~~~~~~~
-In function 'snprintf',
- inlined from 'xsane_email_project_save' at xsane-email-project.c:928:5:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
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,
@@ -3000,7 +3105,7 @@
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from xsane.h:70,
- from xsane-multipage-project.c:27:
+ from xsane-rc-io.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);
| ^~~~
@@ -3016,36 +3121,7 @@
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
-xsane-email-project.c: In function 'xsane_email_send':
-xsane-email-project.c:1657:59: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=]
- 1657 | snprintf(buf, sizeof(buf), "
\r\n", content_id);
- | ^~ ~~~~~~~~~~
-In function 'snprintf',
- inlined from 'xsane_create_email' at xsane-email-project.c:1657:13,
- inlined from 'xsane_email_send_process' at xsane-email-project.c:1854:3,
- inlined from 'xsane_email_send' at xsane-email-project.c:1950:5:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
-xsane-email-project.c: In function 'xsane_email_send':
-xsane-email-project.c:1686:55: warning: '%s' directive output may be truncated writing up to 254 bytes into a region of size 238 [-Wformat-truncation=]
- 1686 | snprintf(buf, sizeof(buf), "
\r\n", content_id);
- | ^~ ~~~~~~~~~~
-In function 'snprintf',
- inlined from 'xsane_create_email' at xsane-email-project.c:1686:9,
- inlined from 'xsane_email_send_process' at xsane-email-project.c:1854:3,
- inlined from 'xsane_email_send' at xsane-email-project.c:1950:5:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-device-preferences.c
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,
@@ -3104,7 +3180,6 @@
xsane-multipage-project.c:953:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=]
953 | snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename);
| ^~ ~~~~~~~~~~~~~~~~~~
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-rc-io.c
In function 'snprintf',
inlined from 'xsane_multipage_save_file' at xsane-multipage-project.c:953:7:
/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255
@@ -3140,7 +3215,6 @@
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-device-preferences.c
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,
@@ -3150,7 +3224,7 @@
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from xsane.h:70,
- from xsane-rc-io.c:25:
+ from xsane-device-preferences.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);
| ^~~~
@@ -3179,6 +3253,9 @@
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-batch-scan.c
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-preferences.c
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-setup.c
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,
@@ -3188,7 +3265,7 @@
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from xsane.h:70,
- from xsane-device-preferences.c:25:
+ from xsane-preferences.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);
| ^~~~
@@ -3204,21 +3281,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/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
- | ^~~~~~~~~
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-batch-scan.c
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-preferences.c
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,
@@ -3244,6 +3306,20 @@
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-save.c
+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,
@@ -3272,7 +3348,6 @@
xsane-batch-scan.c:722:13: warning: variable 'list_item' set but not used [-Wunused-but-set-variable]
722 | GtkWidget *list_item;
| ^~~~~~~~~
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-setup.c
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,
@@ -3282,7 +3357,7 @@
from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32,
from /usr/include/gtk-2.0/gtk/gtk.h:33,
from xsane.h:70,
- from xsane-preferences.c:25:
+ from xsane-setup.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);
| ^~~~
@@ -3345,59 +3420,6 @@
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
-xsane-batch-scan.c: In function 'xsane_batch_scan_load_list':
-xsane-batch-scan.c:354:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=]
- 354 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno));
- | ^~ ~~~~~~~~
-In function 'snprintf',
- inlined from 'xsane_batch_scan_load_list' at xsane-batch-scan.c:354:7:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
-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 xsane.h:70,
- from xsane-setup.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/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 xsane.h:69:
-/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
- 725 | {
- | ^
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-save.c
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-scan.c
-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
- | ^~~~~~~~~
xsane-setup.c: In function 'xsane_enhance_notebook':
xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable]
3364 | SANE_Status status;
@@ -3427,44 +3449,20 @@
/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 xsane.h:70,
- from xsane-scan.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/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 xsane.h:69:
-/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
- | ^~~~~~~~~
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-scan.c
+xsane-batch-scan.c: In function 'xsane_batch_scan_load_list':
+xsane-batch-scan.c:354:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=]
+ 354 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno));
+ | ^~ ~~~~~~~~
+In function 'snprintf',
+ inlined from 'xsane_batch_scan_load_list' at xsane-batch-scan.c:354:7:
+/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
+ 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 69 | __glibc_objsize (__s), __fmt,
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 70 | __va_arg_pack ());
+ | ~~~~~~~~~~~~~~~~~
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,
@@ -3478,6 +3476,7 @@
/usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here
580 | struct _GTimeVal
| ^~~~~~~~~
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-icons.c
xsane-save.c: In function 'xsane_read_pnm_header':
xsane-save.c:428:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable]
428 | int items_done;
@@ -3517,18 +3516,10 @@
xsane-save.c:4426:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
4426 | size_t bytes_read;
| ^~~~~~~~~~
-xsane-scan.c: In function 'xsane_read_image_data':
-xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
- 144 | size_t bytes_read;
- | ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_tiff_page':
-xsane-scan.c: In function 'xsane_scan_done':
xsane-save.c:4672:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
4672 | size_t bytes_read;
| ^~~~~~~~~~
-xsane-scan.c:1330:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable]
- 1330 | int printer_resolution;
- | ^~~~~~~~~~~~~~~~~~
xsane-save.c: In function 'xsane_png_embed_scanner_icm_profile':
xsane-save.c:4895:63: warning: pointer targets in passing argument 5 of 'png_set_iCCP' differ in signedness [-Wpointer-sign]
4895 | png_set_iCCP(png_ptr, png_info_ptr, "ICC profile", 0, profile_buffer, size);
@@ -3562,9 +3553,6 @@
5313 | size_t bytes_read;
| ^~~~~~~~~~
xsane-save.c: In function 'xsane_save_pnm_16_ascii_color':
-xsane-scan.c:1286:11: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
- 1286 | getcwd(pathname, sizeof(pathname));
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
xsane-save.c:5421:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
5421 | size_t bytes_read;
| ^~~~~~~~~~
@@ -3600,6 +3588,7 @@
xsane-save.c:7386:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
7386 | ssize_t bytes_written;
| ^~~~~~~~~~~~~
+gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane.c
xsane-save.c: In function 'write_email_footer':
xsane-save.c:7423:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable]
7423 | ssize_t bytes_written;
@@ -3650,64 +3639,55 @@
xsane-save.c:6142:7: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result]
6142 | fgets(buf, sizeof(buf), ocr_progress);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-xsane-scan.c:1110:11: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1110 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile));
- | ^
-xsane-scan.c:1103:11: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1103 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile));
- | ^
-xsane-scan.c: In function 'xsane_start_scan':
-xsane-scan.c:1807:9: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1807 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile));
- | ^
-xsane-scan.c:1800:9: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1800 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile));
- | ^
-xsane-setup.c: In function 'xsane_setup_browse_tmp_path_callback':
-xsane-setup.c:1531:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1531 | strncpy(tmp_path, old_tmp_path, sizeof(tmp_path));
- | ^
-xsane-setup.c: In function 'xsane_setup_browse_printer_icm_profile_callback':
-xsane-setup.c:1064:5: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1064 | strncpy(printer_icm_profile, old_printer_icm_profile, sizeof(printer_icm_profile));
- | ^
-xsane-setup.c: In function 'xsane_setup_browse_working_color_space_icm_profile_callback':
-xsane-setup.c:1627:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1627 | strncpy(working_color_space_icm_profile, old_working_color_space_icm_profile, sizeof(working_color_space_icm_profile));
- | ^
-xsane-setup.c: In function 'xsane_setup_browse_custom_proofing_icm_profile_callback':
-xsane-setup.c:1608:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1608 | strncpy(custom_proofing_icm_profile, old_custom_proofing_icm_profile, sizeof(custom_proofing_icm_profile));
- | ^
-xsane-setup.c: In function 'xsane_setup_browse_display_icm_profile_callback':
-xsane-setup.c:1589:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1589 | strncpy(display_icm_profile, old_display_icm_profile, sizeof(display_icm_profile));
- | ^
-xsane-setup.c: In function 'xsane_setup_browse_scanner_default_gray_icm_profile_callback':
-xsane-setup.c:1570:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1570 | strncpy(scanner_default_gray_icm_profile, old_scanner_default_gray_icm_profile, sizeof(scanner_default_gray_icm_profile));
- | ^
-xsane-setup.c: In function 'xsane_setup_browse_scanner_default_color_icm_profile_callback':
-xsane-setup.c:1551:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
- 1551 | strncpy(scanner_default_color_icm_profile, old_scanner_default_color_icm_profile, sizeof(scanner_default_color_icm_profile));
- | ^
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane-icons.c
-gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_TIME_BITS=64 -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/share/sane/xsane/doc -DPATH_SANE_DATA_DIR=/usr/share/sane -g -O2 -Werror=implicit-function-declaration -ffile-prefix-map=/build/reproducible-path/xsane-0.999=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -Wall -I/usr/include/gtk-2.0 -I/usr/lib/arm-linux-gnueabihf/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/arm-linux-gnueabihf/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/arm-linux-gnueabihf -I/usr/include/webp -I/usr/include/atk-1.0 -pthread xsane.c
-xsane-save.c: In function 'xsane_create_cms_transform':
-xsane-save.c:889:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=]
- 889 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile);
- | ^~
-In file included from /usr/include/stdio.h:970,
- from xsane.h:47:
-In function 'snprintf',
- inlined from 'xsane_create_cms_transform' at xsane-save.c:889:5:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
+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 xsane.h:70,
+ from xsane-scan.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/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 xsane.h:69:
+/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
+ | ^~~~~~~~~
+xsane-scan.c: In function 'xsane_read_image_data':
+xsane-scan.c:144:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable]
+ 144 | size_t bytes_read;
+ | ^~~~~~~~~~
+xsane-scan.c: In function 'xsane_scan_done':
+xsane-scan.c:1330:12: warning: variable 'printer_resolution' set but not used [-Wunused-but-set-variable]
+ 1330 | int printer_resolution;
+ | ^~~~~~~~~~~~~~~~~~
+xsane-scan.c:1286:11: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result]
+ 1286 | getcwd(pathname, sizeof(pathname));
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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,
@@ -3733,6 +3713,12 @@
/usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here
725 | {
| ^
+xsane-scan.c:1110:11: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1110 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile));
+ | ^
+xsane-scan.c:1103:11: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1103 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile));
+ | ^
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,
@@ -3757,6 +3743,14 @@
xsane.c:1533:23: warning: variable 'status' set but not used [-Wunused-but-set-variable]
1533 | SANE_Status status;
| ^~~~~~
+xsane-setup.c: In function 'xsane_setup_browse_tmp_path_callback':
+xsane-setup.c:1531:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1531 | strncpy(tmp_path, old_tmp_path, sizeof(tmp_path));
+ | ^
+xsane-setup.c: In function 'xsane_setup_browse_printer_icm_profile_callback':
+xsane-setup.c:1064:5: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1064 | strncpy(printer_icm_profile, old_printer_icm_profile, sizeof(printer_icm_profile));
+ | ^
xsane.c: In function 'xsane_info_dialog':
xsane.c:3284:35: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare]
3284 | else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */
@@ -3766,9 +3760,29 @@
3284 | else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */
| ^~~~~~~~~~~~~~~~~~~~~
| ( )
+xsane-setup.c: In function 'xsane_setup_browse_working_color_space_icm_profile_callback':
+xsane-setup.c:1627:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1627 | strncpy(working_color_space_icm_profile, old_working_color_space_icm_profile, sizeof(working_color_space_icm_profile));
+ | ^
xsane.c:3157:43: warning: variable 'label' set but not used [-Wunused-but-set-variable]
3157 | GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table;
| ^~~~~
+xsane-setup.c: In function 'xsane_setup_browse_custom_proofing_icm_profile_callback':
+xsane-setup.c:1608:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1608 | strncpy(custom_proofing_icm_profile, old_custom_proofing_icm_profile, sizeof(custom_proofing_icm_profile));
+ | ^
+xsane-setup.c: In function 'xsane_setup_browse_display_icm_profile_callback':
+xsane-setup.c:1589:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1589 | strncpy(display_icm_profile, old_display_icm_profile, sizeof(display_icm_profile));
+ | ^
+xsane-setup.c: In function 'xsane_setup_browse_scanner_default_gray_icm_profile_callback':
+xsane-setup.c:1570:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1570 | strncpy(scanner_default_gray_icm_profile, old_scanner_default_gray_icm_profile, sizeof(scanner_default_gray_icm_profile));
+ | ^
+xsane-setup.c: In function 'xsane_setup_browse_scanner_default_color_icm_profile_callback':
+xsane-setup.c:1551:3: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1551 | strncpy(scanner_default_color_icm_profile, old_scanner_default_color_icm_profile, sizeof(scanner_default_color_icm_profile));
+ | ^
xsane.c: In function 'xsane_pref_restore':
xsane.c:2004:5: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result]
2004 | chdir(preferences.working_directory); /* set working directory */
@@ -3784,6 +3798,28 @@
xsane.c:3785:7: warning: ignoring return value of 'setuid' declared with attribute 'warn_unused_result' [-Wunused-result]
3785 | setuid(getuid());
| ^~~~~~~~~~~~~~~~
+xsane-scan.c: In function 'xsane_start_scan':
+xsane-scan.c:1807:9: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1807 | strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile));
+ | ^
+xsane-scan.c:1800:9: warning: '__builtin_strncpy' specified bound 4096 equals destination size [-Wstringop-truncation]
+ 1800 | strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile));
+ | ^
+xsane-save.c: In function 'xsane_create_cms_transform':
+xsane-save.c:889:44: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 251 [-Wformat-truncation=]
+ 889 | snprintf(buf, sizeof(buf), "%s\n%s %s: %s\n", ERR_CMS_CONVERSION, ERR_CMS_OPEN_ICM_FILE, CMS_SCANNER_ICM, image_info->icm_profile);
+ | ^~
+In file included from /usr/include/stdio.h:970,
+ from xsane.h:47:
+In function 'snprintf',
+ inlined from 'xsane_create_cms_transform' at xsane-save.c:889:5:
+/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
+ 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 69 | __glibc_objsize (__s), __fmt,
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 70 | __va_arg_pack ());
+ | ~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_show_doc':
xsane.c:3722:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 246 [-Wformat-truncation=]
3722 | snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name);
@@ -3803,38 +3839,6 @@
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
-xsane-save.c: In function 'xsane_save_image_as':
-xsane-save.c:6252:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=]
- 6245 | input_filename = temporary_filename;
- | ~~~~~~~~~~~~~~~~~~
-......
- 6252 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno));
- | ^~
-In function 'snprintf',
- inlined from 'xsane_save_image_as' at xsane-save.c:6252:7:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
-xsane-save.c: In function 'write_smtp_header':
-xsane-save.c:7834:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
- 7834 | strncpy(to_line, to, sizeof(to_line)); /* it is not allowed to modify the "to" string, so we make a copy */
- | ^
-xsane-save.c:7849:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=]
- 7849 | snprintf(buf, sizeof(buf), "RCPT TO: <%s>\r\n", to_pos);
- | ^~
-In function 'snprintf',
- inlined from 'write_smtp_header' at xsane-save.c:7849:5:
-/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024
- 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 69 | __glibc_objsize (__s), __fmt,
- | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- 70 | __va_arg_pack ());
- | ~~~~~~~~~~~~~~~~~
xsane.c: In function 'xsane_init':
xsane.c:2019:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 4094 [-Wformat-truncation=]
2019 | snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME);
@@ -3891,15 +3895,47 @@
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
70 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
+xsane-save.c: In function 'xsane_save_image_as':
+xsane-save.c:6252:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=]
+ 6245 | input_filename = temporary_filename;
+ | ~~~~~~~~~~~~~~~~~~
+......
+ 6252 | snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno));
+ | ^~
+In function 'snprintf',
+ inlined from 'xsane_save_image_as' at xsane-save.c:6252:7:
+/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255
+ 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 69 | __glibc_objsize (__s), __fmt,
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 70 | __va_arg_pack ());
+ | ~~~~~~~~~~~~~~~~~
+xsane-save.c: In function 'write_smtp_header':
+xsane-save.c:7834:3: warning: '__builtin_strncpy' specified bound 1024 equals destination size [-Wstringop-truncation]
+ 7834 | strncpy(to_line, to, sizeof(to_line)); /* it is not allowed to modify the "to" string, so we make a copy */
+ | ^
+xsane-save.c:7849:43: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1014 [-Wformat-truncation=]
+ 7849 | snprintf(buf, sizeof(buf), "RCPT TO: <%s>\r\n", to_pos);
+ | ^~
+In function 'snprintf',
+ inlined from 'write_smtp_header' at xsane-save.c:7849:5:
+/usr/include/arm-linux-gnueabihf/bits/stdio2.h:68:10: note: '__builtin___snprintf_chk' output between 14 and 1037 bytes into a destination of size 1024
+ 68 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1,
+ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 69 | __glibc_objsize (__s), __fmt,
+ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ 70 | __va_arg_pack ());
+ | ~~~~~~~~~~~~~~~~~
gcc -Wl,-z,relro -Wl,-z,now -o xsane xsane-back-gtk.o xsane-front-gtk.o xsane-gamma.o xsane-preview.o xsane-viewer.o xsane-fax-project.o xsane-email-project.o xsane-multipage-project.o xsane-rc-io.o xsane-device-preferences.o xsane-batch-scan.o xsane-preferences.o xsane-setup.o xsane-save.o xsane-scan.o xsane-icons.o xsane.o \
../lib/liblib.a -lsane -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lharfbuzz -lfontconfig -lfreetype -lpng -llcms2 -ltiff -ljpeg -lz -lm
make[2]: Leaving directory '/build/reproducible-path/xsane-0.999/src'
making all in po
make[2]: Entering directory '/build/reproducible-path/xsane-0.999/po'
-creating ca.gmo
creating cs.gmo
-creating da.gmo
creating de.gmo
+creating da.gmo
+creating ca.gmo
creating es.gmo
creating fi.gmo
creating fr.gmo
@@ -3937,13 +3973,13 @@
dh_prep
dh_installdirs
dh_auto_install
- make -j3 install DESTDIR=/build/reproducible-path/xsane-0.999/debian/tmp AM_UPDATE_INFO_DIR=no
+ make -j4 install DESTDIR=/build/reproducible-path/xsane-0.999/debian/tmp AM_UPDATE_INFO_DIR=no
make[1]: Entering directory '/build/reproducible-path/xsane-0.999'
for subdir in lib src po doc; do \
target=`echo install-recursive | sed s/-recursive//`; \
echo making $target in $subdir; \
(cd $subdir && make $target) \
- || case "-j3 --jobserver-auth=fifo:/tmp/GMfifo3355" in *k*) fail=yes;; *) exit 1;; esac; \
+ || case "-j4 --jobserver-auth=fifo:/tmp/GMfifo20865" in *k*) fail=yes;; *) exit 1;; esac; \
done && test -z "$fail"
making install in lib
make[2]: Entering directory '/build/reproducible-path/xsane-0.999/lib'
@@ -4240,31 +4276,31 @@
dh_perl
dh_link
dh_strip_nondeterminism
- Normalized debian/xsane-common/usr/share/locale/pl/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/de/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/ja/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/ro/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/fi/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/sv/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/sk/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/pa/LC_MESSAGES/xsane.mo
Normalized debian/xsane-common/usr/share/locale/tr/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/fi/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/fr/LC_MESSAGES/xsane.mo
Normalized debian/xsane-common/usr/share/locale/sl/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/zh/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/ca/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/da/LC_MESSAGES/xsane.mo
Normalized debian/xsane-common/usr/share/locale/sr/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/zh/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/ru/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/pl/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/cs/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/ja/LC_MESSAGES/xsane.mo
Normalized debian/xsane-common/usr/share/locale/pt/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/hu/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/ca/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/vi/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/sv/LC_MESSAGES/xsane.mo
Normalized debian/xsane-common/usr/share/locale/it/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/sk/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/cs/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/es/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/de/LC_MESSAGES/xsane.mo
Normalized debian/xsane-common/usr/share/locale/nl/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/ro/LC_MESSAGES/xsane.mo
+ Normalized debian/xsane-common/usr/share/locale/hu/LC_MESSAGES/xsane.mo
Normalized debian/xsane-common/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/es/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/ru/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/da/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/fr/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/pa/LC_MESSAGES/xsane.mo
- Normalized debian/xsane-common/usr/share/locale/vi/LC_MESSAGES/xsane.mo
debian/rules override_dh_compress
make[1]: Entering directory '/build/reproducible-path/xsane-0.999'
dh_compress -X.pnm -X.rc -X.xpm
@@ -4283,9 +4319,9 @@
dh_gencontrol
dh_md5sums
dh_builddeb
-dpkg-deb: building package 'xsane' in '../xsane_0.999-12.2_armhf.deb'.
dpkg-deb: building package 'xsane-dbgsym' in '../xsane-dbgsym_0.999-12.2_armhf.deb'.
dpkg-deb: building package 'xsane-common' in '../xsane-common_0.999-12.2_all.deb'.
+dpkg-deb: building package 'xsane' in '../xsane_0.999-12.2_armhf.deb'.
dpkg-genbuildinfo --build=binary -O../xsane_0.999-12.2_armhf.buildinfo
dpkg-genchanges --build=binary -O../xsane_0.999-12.2_armhf.changes
dpkg-genchanges: info: binary-only upload (no source code included)
@@ -4293,12 +4329,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/13649/tmp/hooks/B01_cleanup starting
+I: user script /srv/workspace/pbuilder/13649/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/28708 and its subdirectories
-I: Current time: Wed Feb 5 23:41:42 -12 2025
-I: pbuilder-time-stamp: 1738842102
+I: removing directory /srv/workspace/pbuilder/13649 and its subdirectories
+I: Current time: Fri Feb 7 01:48:59 +14 2025
+I: pbuilder-time-stamp: 1738842539