Diff of the two buildlogs: -- --- b1/build.log 2019-06-26 08:56:38.652443847 +0000 +++ b2/build.log 2019-06-26 08:58:05.980624972 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Tue Jun 25 20:34:02 -12 2019 -I: pbuilder-time-stamp: 1561538042 +I: Current time: Wed Jul 29 05:19:40 +14 2020 +I: pbuilder-time-stamp: 1595949580 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/buster-reproducible-base.tgz] I: copying local configuration @@ -18,7 +18,7 @@ I: Extracting source gpgv: unknown type of key resource 'trustedkeys.kbx' gpgv: keyblock resource '/root/.gnupg/trustedkeys.kbx': General error -gpgv: Signature made Sun Oct 7 00:50:07 2018 -12 +gpgv: Signature made Mon Oct 8 02:50:07 2018 +14 gpgv: using RSA key C1E0D92E986F7C7E gpgv: Can't check signature: No public key dpkg-source: warning: failed to verify signature on ./xsane_0.999-6.dsc @@ -54,6 +54,18 @@ dpkg-source: info: applying 0175-icm_profile_field.patch I: using fakeroot in build. I: Installing the build-deps +I: user script /srv/workspace/pbuilder/42063/tmp/hooks/D01_modify_environment starting +disorder-fs debug: Running on profitbricks-build6-i386. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +Removing 'diversion of /bin/sh to /bin/sh.distrib by dash' +Adding 'diversion of /bin/sh to /bin/sh.distrib by bash' +Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash' +Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by 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/42063/tmp/hooks/D01_modify_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -411,7 +423,7 @@ Get: 302 http://cdn-fastly.deb.debian.org/debian buster/main i386 libsane-dev i386 1.0.27-3.2 [2272 kB] Get: 303 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtiffxx5 i386 4.0.10-4 [108 kB] Get: 304 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtiff-dev i386 4.0.10-4 [397 kB] -Fetched 140 MB in 2min 20s (1000 kB/s) +Fetched 140 MB in 37s (3806 kB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package libbsd0:i386. (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 ... 19231 files and directories currently installed.) @@ -1665,9 +1677,41 @@ Building dependency tree... Reading state information... fakeroot is already the newest version (1.23-1). -0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. +The following additional packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl +The following NEW packages will be installed: + libfile-find-rule-perl libnumber-compare-perl libtext-glob-perl usrmerge +0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded. +Need to get 59.5 kB of archives. +After this operation, 182 kB of additional disk space will be used. +Get:1 http://cdn-fastly.deb.debian.org/debian buster/main i386 libnumber-compare-perl all 0.03-1 [7642 B] +Get:2 http://cdn-fastly.deb.debian.org/debian buster/main i386 libtext-glob-perl all 0.10-1 [8362 B] +Get:3 http://cdn-fastly.deb.debian.org/debian buster/main i386 libfile-find-rule-perl all 0.34-1 [30.6 kB] +Get:4 http://cdn-fastly.deb.debian.org/debian buster/main i386 usrmerge all 21 [12.8 kB] +debconf: delaying package configuration, since apt-utils is not installed +Fetched 59.5 kB in 1s (95.2 kB/s) +Selecting previously unselected package libnumber-compare-perl. +(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 ... 35837 files and directories currently installed.) +Preparing to unpack .../libnumber-compare-perl_0.03-1_all.deb ... +Unpacking libnumber-compare-perl (0.03-1) ... +Selecting previously unselected package libtext-glob-perl. +Preparing to unpack .../libtext-glob-perl_0.10-1_all.deb ... +Unpacking libtext-glob-perl (0.10-1) ... +Selecting previously unselected package libfile-find-rule-perl. +Preparing to unpack .../libfile-find-rule-perl_0.34-1_all.deb ... +Unpacking libfile-find-rule-perl (0.34-1) ... +Selecting previously unselected package usrmerge. +Preparing to unpack .../archives/usrmerge_21_all.deb ... +Unpacking usrmerge (21) ... +Setting up libtext-glob-perl (0.10-1) ... +Setting up libnumber-compare-perl (0.03-1) ... +Setting up libfile-find-rule-perl (0.34-1) ... +Setting up usrmerge (21) ... +The system has been successfully converted. +Processing triggers for man-db (2.8.5-2) ... +Not building database; man-db/auto-update is not 'true'. I: Building the package -I: Running cd /build/xsane-0.999/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b +I: Running cd /build/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 dpkg-buildpackage: info: source package xsane dpkg-buildpackage: info: source version 0.999-6 dpkg-buildpackage: info: source distribution unstable @@ -1725,8 +1769,8 @@ checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E -checking for grep that handles long lines and -e... /bin/grep -checking for egrep... /bin/grep -E +checking for grep that handles long lines and -e... /usr/bin/grep +checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes @@ -1920,13 +1964,13 @@ make[1]: Leaving directory '/build/xsane-0.999' dh_auto_build - make -j10 + make -j18 make[1]: Entering directory '/build/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 "-w -j10 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ + || case "-w -j18 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib make[2]: Entering directory '/build/xsane-0.999/lib' @@ -1955,334 +1999,24 @@ gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane-rc-io.c gcc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/share/locale -DSANELOCALEDIR=/usr/share/locale -I. -I. -I../include -I../include -I/usr/local/include -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane-device-preferences.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] - size_t bytes_read; - ^~~~~~~~~~ -xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] - 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] - size_t nread; - ^~~~~ -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] - int printer_resolution; - ^~~~~~~~~~~~~~~~~~ -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] - 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] - 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_scale_set_size_x_value_and_adjustments': -xsane-viewer.c:530:19: warning: variable 'image_height' set but not used [-Wunused-but-set-variable] - int image_width, image_height; - ^~~~~~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': -xsane-viewer.c:554:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] - int image_width, image_height; - ^~~~~~~~~~~ -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] - const SANE_Option_Descriptor *opt; - ^~~ -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] - setuid(getuid()); - ^~~~~~~~~~~~~~~~ -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] - int items_done; - ^~~~~~~~~~ -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] - setuid(getuid()); - ^~~~~~~~~~~~~~~~ -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] - fgets(buf, sizeof(buf), sourcefile); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:944:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] - fgets(buf, sizeof(buf), sourcefile); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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] - int pos0; - ^~~~ -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] - 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] - FILE *ipc_file = NULL; - ^~~~~~~~ -xsane-viewer.c: In function 'xsane_viewer_read_image': -xsane-viewer.c:2206:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] - int nread; - ^~~~~ -xsane-email-project.c:1947:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] - 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] - getcwd(pathname, sizeof(pathname)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': -xsane-fax-project.c:455:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] - snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ - ^ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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] - GdkEventMotion *motion_event; - ^~~~~~~~~~~~ -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=] - snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); - ^~ -xsane-fax-project.c:1266:37: - xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); - ~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:1171:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); - ^~ -xsane-fax-project.c:1266:37: - xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); - ~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:1159:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); - ^~ -xsane-fax-project.c:1266:54: - xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); - ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:1258:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); - ^~ ~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __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=] - snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ - ^ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c: In function 'xsane_multipage_project_save': -xsane-multipage-project.c:525:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] - snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ - ^ -In file included from /usr/include/stdio.h:873, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c: In function 'xsane_multipage_save_file': -xsane-multipage-project.c:988:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); - ^~ ~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); - ^~ ~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c:1072:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); - ^~ ~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-multipage-project.c:938:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); - ^~ ~~~~~~~~~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane-multipage-project.c:26: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane-batch-scan.c -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=] - snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ - ^ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c:484:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane-preferences.c -xsane-viewer.c: In function 'xsane_viewer_read_image': -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=] - 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:873, - from xsane.h:47, - from xsane-viewer.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': -xsane-fax-project.c:964:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s %s", ERR_OPEN_FAILED, filename); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 1024 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-fax-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __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=] - snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ - ^ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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=] - snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane-setup.c -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=] - snprintf(buf, sizeof(buf), "

\r\n", content_id); - ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -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=] - snprintf(buf, sizeof(buf), "

\r\n", content_id); - ^~ ~~~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-email-project.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane-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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane.c +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] + 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] + int printer_resolution; + ^~~~~~~~~~~~~~~~~~ +xsane-scan.c:1286:11: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] + getcwd(pathname, sizeof(pathname)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': xsane-batch-scan.c:399:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (!xsane_back_gtk_get_filename(windowname, filename, sizeof(filename), filename, NULL, NULL, XSANE_FILE_CHOOSER_ACTION_SAVE, XSANE_GET_FILENAME_SHOW_NOTHING, XSANE_FILE_FILTER_ALL | XSANE_FILE_FILTER_BATCHLIST, XSANE_FILE_FILTER_BATCHLIST)); @@ -2298,67 +2032,18 @@ xsane-batch-scan.c:722:13: warning: variable 'list_item' set but not used [-Wunused-but-set-variable] GtkWidget *list_item; ^~~~~~~~~ -xsane-batch-scan.c: In function 'xsane_batch_scan_update_label': -xsane-batch-scan.c:660:30: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 55 and 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s\n" /* name */ - ^~~~~~ -xsane-batch-scan.c:668:8: - geometry_tl_str, - ~~~~~~~~~~~~~~~ -xsane-batch-scan.c:662:31: note: format string is defined here - "%s\n" /* geometry_tl */ - ^~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-batch-scan.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 600 bytes into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': -xsane-batch-scan.c:434:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-batch-scan.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __va_arg_pack ()); - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + 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] + const SANE_Option_Descriptor *opt; + ^~~ xsane-setup.c: In function 'xsane_enhance_notebook': xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] SANE_Status status; ^~~~~~ -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=] - snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); - ^~ ~~~~~~~~ -In file included from /usr/include/stdio.h:873, - from xsane.h:47, - from xsane-batch-scan.c:25: -/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 - return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - __bos (__s), __fmt, __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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane-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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 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 -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 -ffile-prefix-map=/build/xsane-0.999=. -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -I/usr/include/gegl-0.4 -I/usr/include/json-glib-1.0 -I/usr/include/babl-0.1 -I/usr/include/gtk-2.0 -I/usr/lib/i386-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/i386-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gimp-2.0 xsane.c -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] - 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] - int printer_resolution; - ^~~~~~~~~~~~~~~~~~ -xsane-scan.c:1286:11: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] - getcwd(pathname, sizeof(pathname)); - ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] int items_done; @@ -2367,14 +2052,33 @@ xsane-save.c:1050:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +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] + size_t bytes_read; + ^~~~~~~~~~ +xsane-preview.c:2096:6: warning: variable 'c' set but not used [-Wunused-but-set-variable] + int c; + ^ xsane-save.c: In function 'xsane_save_despeckle_image': xsane-save.c:1349:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +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] + size_t nread; + ^~~~~ xsane-save.c: In function 'xsane_save_blur_image': xsane-save.c:1550:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +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] + GdkEventMotion *motion_event; + ^~~~~~~~~~~~ +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] + int items_done; + ^~~~~~~~~~ xsane-save.c: In function 'xsane_write_flatedecode': xsane-save.c:2511:14: warning: variable 'count' set but not used [-Wunused-but-set-variable] static int count = 0; @@ -2386,14 +2090,33 @@ xsane-save.c:2786:14: warning: variable 'cbuflen' set but not used [-Wunused-but-set-variable] static int cbuflen = 0; ^~~~~~~ +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] + int image_width, image_height; + ^~~~~~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_scale_set_size_y_value_and_adjustments': +xsane-viewer.c:554:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] + int image_width, image_height; + ^~~~~~~~~~~ xsane-save.c: In function 'xsane_save_ps_pdf_gray': xsane-save.c:3104:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +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] + 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] + FILE *ipc_file = NULL; + ^~~~~~~~ xsane-save.c: In function 'xsane_save_ps_pdf_color': xsane-save.c:3355:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +xsane-email-project.c:1947:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] + setuid(getuid()); + ^~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_save_jpeg': xsane-save.c:4426:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; @@ -2428,6 +2151,24 @@ xsane-save.c:5128:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +xsane-batch-scan.c: In function 'xsane_batch_scan_update_label': +xsane-batch-scan.c:660:30: warning: '%s' directive output may be truncated writing up to 99 bytes into a region of size between 55 and 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s\n" /* name */ + ^~~~~~ +xsane-batch-scan.c:668:8: + geometry_tl_str, + ~~~~~~~~~~~~~~~ +xsane-batch-scan.c:662:31: note: format string is defined here + "%s\n" /* geometry_tl */ + ^~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-batch-scan.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 6 and 600 bytes into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_16_ascii_gray': xsane-save.c:5313:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; @@ -2440,6 +2181,10 @@ xsane-save.c:5530:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +xsane.c: In function 'xsane_scanmode_menu_callback': +xsane.c:1113:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] + const SANE_Option_Descriptor *opt; + ^~~ xsane-save.c: In function 'xsane_save_pnm_16_binary_color': xsane-save.c:5628:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; @@ -2449,9 +2194,39 @@ size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_8_color': +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] + int pos0; + ^~~~ xsane-save.c:5826:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +xsane.c: In function 'xsane_update_xsane_callback': +xsane.c:1493:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] + SANE_Status status; + ^~~~~~ +xsane.c:1533:23: warning: variable 'status' set but not used [-Wunused-but-set-variable] + SANE_Status status; + ^~~~~~ +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] + setuid(getuid()); + ^~~~~~~~~~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_read_image': +xsane-viewer.c:2206:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] + int nread; + ^~~~~ +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] + setuid(getuid()); + ^~~~~~~~~~~~~~~~ +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] + fgets(buf, sizeof(buf), sourcefile); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:944:13: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + fgets(buf, sizeof(buf), sourcefile); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_transfer_to_gimp': xsane-save.c:6916:11: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] gimp_image_parasite_attach(image_ID, parasite); @@ -2562,9 +2337,13 @@ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:53:16: note: declared here void gimp_drawable_detach (GimpDrawable *drawable); ^~~~~~~~~~~~~~~~~~~~ +xsane-preview.c: In function 'preview_create_batch_icon_from_file': xsane-save.c:6803:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ +xsane-preview.c:2126:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] + fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'write_3chars_as_base64': xsane-save.c:7268:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; @@ -2605,6 +2384,15 @@ xsane-save.c:7604:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ +xsane.c: In function 'xsane_info_dialog': +xsane.c:3284:35: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] + else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ + ^ +xsane.c:3284:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] +xsane.c:3284:13: note: add parentheses around left hand side expression to silence this warning + else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ + ^~~~~~~~~~~~~~~~~~~~~ + ( ) xsane-save.c: In function 'asmtp_authentication': xsane-save.c:7660:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; @@ -2613,10 +2401,17 @@ xsane-save.c:7760:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ +xsane.c:3157:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] + GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; + ^~~~~ xsane-save.c: In function 'write_smtp_footer': xsane-save.c:7916:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ +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] + getcwd(pathname, sizeof(pathname)); + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_read_pnm_header': xsane-save.c:432:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf)-1, file); @@ -2624,6 +2419,22 @@ xsane-save.c:446:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf)-1, file); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': +xsane-fax-project.c:455:56: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ + ^ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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] + fgets(buf, sizeof(buf), in); /* skip newline character. this made a lot of problems in the past, so I skip it this way */ + ^~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_save_image_as_text': xsane-save.c:6096:5: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); @@ -2631,29 +2442,60 @@ xsane-save.c:6142:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(buf, sizeof(buf), ocr_progress); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -xsane.c: In function 'xsane_scanmode_menu_callback': -xsane.c:1113:32: warning: variable 'opt' set but not used [-Wunused-but-set-variable] - const SANE_Option_Descriptor *opt; - ^~~ -xsane.c: In function 'xsane_update_xsane_callback': -xsane.c:1493:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] - SANE_Status status; - ^~~~~~ -xsane.c:1533:23: warning: variable 'status' set but not used [-Wunused-but-set-variable] - SANE_Status status; - ^~~~~~ -xsane.c: In function 'xsane_info_dialog': -xsane.c:3284:35: warning: comparison of constant '1' with boolean expression is always false [-Wbool-compare] - else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ - ^ -xsane.c:3284:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] -xsane.c:3284:13: note: add parentheses around left hand side expression to silence this warning - else if ((!xsane.xsane_channels > 1) && (xsane.scanner_gamma_gray)) /* gray gamma correction by scanner */ - ^~~~~~~~~~~~~~~~~~~~~ - ( ) -xsane.c:3157:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] - GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; - ^~~~~ +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=] + snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); + ^~ +xsane-fax-project.c:1266:37: + xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); + ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:1171:37: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); + ^~ +xsane-fax-project.c:1266:37: + xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); + ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:1159:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); + ^~ +xsane-fax-project.c:1266:54: + xsane_fax_convert_pnm_to_ps(source_filename, fax_filename); + ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:1258:43: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); + ^~ ~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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] chdir(preferences.working_directory); /* set working directory */ @@ -2669,18 +2511,208 @@ xsane.c:3785:7: warning: ignoring return value of 'setuid', declared with attribute warn_unused_result [-Wunused-result] setuid(getuid()); ^~~~~~~~~~~~~~~~ -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=] - 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); - ^~ +xsane-batch-scan.c: In function 'xsane_batch_scan_save_list': +xsane-batch-scan.c:434:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); + ^~ ~~~~~~~~ In file included from /usr/include/stdio.h:873, from xsane.h:47, - from xsane-save.c:25: + from xsane-batch-scan.c:25: /usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c: In function 'xsane_multipage_project_save': +xsane-multipage-project.c:525:58: warning: '__builtin___snprintf_chk' output truncated before the last format character [-Wformat-truncation=] + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ + ^ +In file included from /usr/include/stdio.h:873, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); + ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __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=] + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); + ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-batch-scan.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __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=] + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ + ^ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c: In function 'xsane_multipage_save_file': +xsane-multipage-project.c:988:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); + ^~ ~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); + ^~ ~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c:1072:41: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); + ^~ ~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-multipage-project.c:938:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); + ^~ ~~~~~~~~~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane-multipage-project.c:26: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __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=] + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ + ^ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c:484:39: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 253 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); + ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-viewer.c: In function 'xsane_viewer_read_image': +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=] + 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:873, + from xsane.h:47, + from xsane-viewer.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': +xsane-fax-project.c:964:42: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 1023 [-Wformat-truncation=] + snprintf(buf, sizeof(buf), "%s %s", ERR_OPEN_FAILED, filename); + ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 2 or more bytes (assuming 4097) into a destination of size 1024 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); + ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-fax-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 1024 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __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=] + snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ + ^ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 33 or more bytes into a destination of size 32 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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=] + snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); + ^~ ~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 4 or more bytes (assuming 4099) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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=] + snprintf(buf, sizeof(buf), "

\r\n", content_id); + ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __va_arg_pack ()); + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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=] + snprintf(buf, sizeof(buf), "

\r\n", content_id); + ^~ ~~~~~~~~~~ +In file included from /usr/include/stdio.h:873, + from xsane.h:47, + from xsane-email-project.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 22 and 276 bytes into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __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=] snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name); @@ -2696,6 +2728,18 @@ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ __bos (__s), __fmt, __va_arg_pack ()); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ +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=] + 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:873, + from xsane.h:47, + from xsane-save.c:25: +/usr/include/i386-linux-gnu/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 6 or more bytes (assuming 4101) into a destination of size 255 + return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, + ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + __bos (__s), __fmt, __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=] snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME); @@ -2808,13 +2852,13 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/xsane-0.999' dh_auto_install - make -j10 install DESTDIR=/build/xsane-0.999/debian/tmp AM_UPDATE_INFO_DIR=no + make -j18 install DESTDIR=/build/xsane-0.999/debian/tmp AM_UPDATE_INFO_DIR=no make[2]: Entering directory '/build/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 "-w -j10 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ + || case "-w -j18 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making install in lib make[3]: Entering directory '/build/xsane-0.999/lib' @@ -3105,31 +3149,31 @@ dh_perl dh_link dh_strip_nondeterminism + Normalized debian/xsane-common/usr/share/locale/nl/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/de/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/sl/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/ja/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/sr/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/ro/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/fr/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/ca/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/fi/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/sk/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/nl/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/pt/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/sv/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/ru/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/es/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/it/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/da/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/ro/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/zh_CN/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/pa/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/zh/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/pt/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/vi/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/pl/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/ru/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/sr/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/sk/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/it/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/vi/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/zh/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/cs/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/pa/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/hu/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/de/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/fi/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/pt_BR/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/ja/LC_MESSAGES/xsane.mo Normalized debian/xsane-common/usr/share/locale/tr/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/fr/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/sv/LC_MESSAGES/xsane.mo - Normalized debian/xsane-common/usr/share/locale/cs/LC_MESSAGES/xsane.mo + Normalized debian/xsane-common/usr/share/locale/da/LC_MESSAGES/xsane.mo dh_compress dh_fixperms dh_missing @@ -3140,21 +3184,23 @@ dh_gencontrol dh_md5sums dh_builddeb -dpkg-deb: building package 'xsane-common' in '../xsane-common_0.999-6_all.deb'. -dpkg-deb: building package 'xsane-dbgsym' in '../xsane-dbgsym_0.999-6_i386.deb'. dpkg-deb: building package 'xsane' in '../xsane_0.999-6_i386.deb'. +dpkg-deb: building package 'xsane-dbgsym' in '../xsane-dbgsym_0.999-6_i386.deb'. +dpkg-deb: building package 'xsane-common' in '../xsane-common_0.999-6_all.deb'. dpkg-genbuildinfo --build=binary dpkg-genchanges --build=binary >../xsane_0.999-6_i386.changes dpkg-genchanges: info: binary-only upload (no source code included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: copying local configuration +I: user script /srv/workspace/pbuilder/42063/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/42063/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/6282 and its subdirectories -I: Current time: Tue Jun 25 20:56:38 -12 2019 -I: pbuilder-time-stamp: 1561539398 +I: removing directory /srv/workspace/pbuilder/42063 and its subdirectories +I: Current time: Wed Jul 29 05:21:05 +14 2020 +I: pbuilder-time-stamp: 1595949665