------------------------------------------------------------------------------- -- Phase: setup ------------------------------------------------------------------------------- Installing /packages/All/png-1.6.37.txz Installing /packages/All/jbigkit-2.1_1.txz Installing /packages/All/jpeg-turbo-2.0.4.txz Installing /packages/All/tiff-4.1.0.txz Installing /packages/All/libxml2-2.9.10.txz Installing /packages/All/indexinfo-0.3.1.txz Installing /packages/All/gettext-runtime-0.20.2.txz Installing /packages/All/sane-backends-1.0.29.txz ===> Creating groups. Creating group 'saned' with gid '194'. ===> Creating users Creating user 'saned' with uid '194'. ===== Message from sane-backends-1.0.29: -- saned will log to the 'daemon' facility; this is a hard-coded default. Also, saned has no support for SSL/TLS or cryptographic authentication; you may wish to deploy security/stunnel to wrap it if you have concerns about security. If you are using a USB scanner, you should create /usr/local/etc/devd/saned.conf to allow saned access permissions. Currently, devfs.rules(5) has no support for USB specific filters such as vendor, product and serial number. Here is an example saned.conf for an Epson CX3650 multi-function scanner/printer device (assuming you are sharing the printer function with cups): notify 100 { match "system" "USB"; match "subsystem" "INTERFACE"; match "type" "ATTACH"; match "cdev" "ugen[0-9].[0-9]"; match "vendor" "0x04b8"; match "product" "0x080e"; action "chown -L cups:saned /dev/$cdev && chmod -L 660 /dev/$cdev"; }; To determine which port your scanner is connected to, inspect the output of 'usbconfig list' before and after connecting your scanner, and note the numbers which appear after 'ugen' in the first column. Then, use 'usbconfig -d X.Y dump_device_desc' to learn the idVendor and idProduct fields, and plug them into the above example entry. Finally, restart devd with the command: # /etc/rc.d/devd restart Please take /usr/local/etc/sane.d/dll.conf as an example only; you may wish to enable only the 'net' backend on client machines; be sure to point it at your scan server. If you are setting up a scan server, you may also wish to edit /usr/local/etc/sane.d/saned.conf to only permit specific machines. Installing /packages/All/gmake-4.3.txz Installing /packages/All/pkgconf-1.6.3,1.txz Installing /packages/All/ncurses-6.1.20190525.txz Installing /packages/All/libtextstyle-0.20.2.txz Installing /packages/All/gettext-tools-0.20.2.txz Installing /packages/All/freetype2-2.10.1.txz ===== Message from freetype2-2.10.1: -- The 2.7.x series now uses the new subpixel hinting mode (V40 port's option) as the default, emulating a modern version of ClearType. This change inevitably leads to different rendering results, and you might change port's options to adapt it to your taste (or use the new "FREETYPE_PROPERTIES" environment variable). The environment variable "FREETYPE_PROPERTIES" can be used to control the driver properties. Example: FREETYPE_PROPERTIES=truetype:interpreter-version=35 \ cff:no-stem-darkening=1 \ autofitter:warping=1 This allows to select, say, the subpixel hinting mode at runtime for a given application. If LONG_PCF_NAMES port's option was enabled, the PCF family names may include the foundry and information whether they contain wide characters. For example, "Sony Fixed" or "Misc Fixed Wide", instead of "Fixed". This can be disabled at run time with using pcf:no-long-family-names property, if needed. Example: FREETYPE_PROPERTIES=pcf:no-long-family-names=1 How to recreate fontconfig cache with using such environment variable, if needed: # env FREETYPE_PROPERTIES=pcf:no-long-family-names=1 fc-cache -fsv The controllable properties are listed in the section "Controlling FreeType Modules" in the reference's table of contents (/usr/local/share/doc/freetype2/reference/site/index.html, if documentation was installed). Installing /packages/All/lcms-1.19_6,1.txz Installing /packages/All/alsa-lib-1.1.2_2.txz ===== Message from alsa-lib-1.1.2_2: -- ===> NOTICE: The alsa-lib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/lcms2-2.9.txz Installing /packages/All/pcre-8.43_2.txz Installing /packages/All/libffi-3.2.1_3.txz Installing /packages/All/libiconv-1.14_11.txz Installing /packages/All/expat-2.2.8.txz Installing /packages/All/readline-8.0.4.txz Installing /packages/All/openssl-1.1.1g,1.txz Installing /packages/All/python37-3.7.7.txz ===== Message from python37-3.7.7: -- Note that some standard Python modules are provided as separate ports as they require additional dependencies. They are available as: py37-gdbm databases/py-gdbm@py37 py37-sqlite3 databases/py-sqlite3@py37 py37-tkinter x11-toolkits/py-tkinter@py37 Installing /packages/All/glib-2.56.3_7,1.txz No schema files found: doing nothing. Installing /packages/All/babl-0.1.74.txz Installing /packages/All/gobject-introspection-1.56.1,1.txz Installing /packages/All/json-glib-1.4.4.txz Installing /packages/All/fribidi-0.19.7.txz Installing /packages/All/libnsgif-0.2.1.txz ===== Message from libnsgif-0.2.1: -- ===> NOTICE: The libnsgif port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/exiv2-0.27.2,1.txz Installing /packages/All/gexiv2-0.12.0_1.txz Installing /packages/All/libltdl-2.4.6.txz Installing /packages/All/giflib-5.2.1.txz Installing /packages/All/webp-1.1.0.txz Installing /packages/All/fontconfig-2.13.92_2,1.txz Running fc-cache to build fontconfig cache... Font directories: /usr/local/share/fonts /usr/local/lib/X11/fonts /usr/local/share/fonts: skipping, no such directory /usr/local/lib/X11/fonts: skipping, no such directory /var/db/fontconfig: cleaning cache directory fc-cache: succeeded Installing /packages/All/libgd-2.3.0,1.txz Installing /packages/All/wayland-1.16.0.txz Installing /packages/All/pciids-20200421.txz Installing /packages/All/libpciaccess-0.16.txz Installing /packages/All/libdrm-2.4.101.txz Installing /packages/All/libelf-0.8.13_3.txz Installing /packages/All/libXau-1.0.9.txz Installing /packages/All/libpthread-stubs-0.4.txz Installing /packages/All/xorgproto-2020.1.txz Installing /packages/All/libXdmcp-1.1.3.txz Installing /packages/All/libxcb-1.13.1.txz Installing /packages/All/libX11-1.6.9_1,1.txz Installing /packages/All/libXfixes-5.0.3_2.txz Installing /packages/All/libXdamage-1.1.5.txz Installing /packages/All/libXext-1.3.4,1.txz Installing /packages/All/libXrender-0.9.10_2.txz Installing /packages/All/libXrandr-1.5.2.txz Installing /packages/All/libxshmfence-1.3.txz Installing /packages/All/libXxf86vm-1.1.4_3.txz Installing /packages/All/mesa-libs-19.0.8.txz ===== Message from mesa-libs-19.0.8: -- ===> NOTICE: This port is deprecated; you may wish to reconsider installing it: Uses Python 2.7 which is EOLed upstream. It is scheduled to be removed on or after 2020-12-31. Installing /packages/All/pixman-0.40.0.txz Installing /packages/All/cairo-1.16.0,2.txz Installing /packages/All/graphite2-1.3.14.txz Installing /packages/All/harfbuzz-2.6.5.txz Installing /packages/All/libfontenc-1.1.4.txz Installing /packages/All/mkfontscale-1.2.1.txz Installing /packages/All/font-bh-ttf-1.0.3_4.txz Installing /packages/All/font-misc-meltho-1.0.3_4.txz Installing /packages/All/font-misc-ethiopic-1.0.3_4.txz Installing /packages/All/encodings-1.0.5,1.txz Installing /packages/All/dejavu-2.37_1.txz ===== Message from dejavu-2.37_1: -- Make sure that the freetype module is loaded. If it is not, add the following line to the "Modules" section of your X Windows configuration file: Load "freetype" Add the following line to the "Files" section of X Windows configuration file: FontPath "/usr/local/share/fonts/dejavu/" Note: your X Windows configuration file is typically /etc/X11/XF86Config if you are using XFree86, and /etc/X11/xorg.conf if you are using X.Org. Installing /packages/All/xorg-fonts-truetype-7.7_1.txz Installing /packages/All/libXft-2.3.3.txz Installing /packages/All/pango-1.42.4_3.txz Installing /packages/All/libICE-1.0.10,1.txz Installing /packages/All/libSM-1.2.3,1.txz Installing /packages/All/libXt-1.2.0,1.txz Installing /packages/All/libXmu-1.1.3,1.txz Installing /packages/All/libXpm-3.5.13.txz Installing /packages/All/libXaw-1.0.13_3,2.txz Installing /packages/All/graphviz-2.44.0_2.txz Installing /packages/All/libGLU-9.0.1.txz Installing /packages/All/libXi-1.7.10,1.txz Installing /packages/All/freeglut-3.0.0_2.txz ===== Message from freeglut-3.0.0_2: -- Joystick support is untested and it is unknown if it works. Do not hesitate to contact x11@FreeBSD.org if this causes issues. Installing /packages/All/jasper-2.0.16_1.txz Installing /packages/All/ilmbase-2.5.1.txz Installing /packages/All/openexr-2.5.1.txz Installing /packages/All/nspr-4.25.txz Installing /packages/All/sqlite3-3.31.1_1,1.txz Installing /packages/All/nss-3.52.txz Installing /packages/All/openjpeg-2.3.1.txz Installing /packages/All/poppler-data-0.4.9_2.txz Installing /packages/All/poppler-0.88.0.txz Installing /packages/All/poppler-glib-0.88.0.txz Installing /packages/All/libraw-0.19.5.txz Installing /packages/All/libspiro-20190731,1.txz Installing /packages/All/argp-standalone-1.3_4.txz ===== Message from argp-standalone-1.3_4: -- ===> NOTICE: The argp-standalone port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/libudev-devd-0.4.2.txz Installing /packages/All/libv4l-1.18.0.txz Installing /packages/All/shared-mime-info-1.10_2.txz Installing /packages/All/gdk-pixbuf2-2.40.0.txz Installing /packages/All/libgsf-1.14.46.txz Installing /packages/All/libcroco-0.6.13.txz Installing /packages/All/librsvg2-2.40.21.txz Installing /packages/All/xkeyboard-config-2.29.txz Installing /packages/All/libxkbcommon-0.10.0_2.txz ===== Message from libxkbcommon-0.10.0_2: -- If arrow keys don't work under X11 switch to legacy rules e.g., For sh/bash/ksh/zsh run and (optionally) add into ~/.profile: export XKB_DEFAULT_RULES=xorg For csh/tcsh run and (optionally) add into ~/.login: setenv XKB_DEFAULT_RULES xorg Installing /packages/All/libXinerama-1.1.4_2,1.txz Installing /packages/All/libXcursor-1.2.0.txz Installing /packages/All/libXScrnSaver-1.2.3_2.txz Installing /packages/All/sdl2-2.0.10_1.txz Installing /packages/All/gegl-0.4.22_5.txz Installing /packages/All/json-c-0.13.1_1.txz Installing /packages/All/libmypaint-1.5.1.txz Installing /packages/All/libunwind-20170615_1.txz Installing /packages/All/aalib-1.4.r5_13.txz ===== Message from aalib-1.4.r5_13: -- ===> NOTICE: The aalib port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port Installing /packages/All/libmng-1.0.10_3.txz Installing /packages/All/libwmf-0.2.8.4_15.txz Installing /packages/All/atk-2.28.1.txz Installing /packages/All/libdaemon-0.14_1.txz Installing /packages/All/dbus-1.12.16.txz ===> Creating groups. Creating group 'messagebus' with gid '556'. ===> Creating users Creating user 'messagebus' with uid '556'. Installing /packages/All/dbus-glib-0.110.txz Installing /packages/All/gdbm-1.18.1_1.txz Installing /packages/All/gnome_subr-1.0.txz Installing /packages/All/avahi-app-0.7_3.txz ===> Creating groups. Creating group 'avahi' with gid '558'. ===> Creating users Creating user 'avahi' with uid '558'. Installing /packages/All/gmp-6.2.0.txz Installing /packages/All/nettle-3.5.1_1.txz Installing /packages/All/libtasn1-4.16.0.txz Installing /packages/All/libunistring-0.9.10_1.txz Installing /packages/All/libidn2-2.3.0_1.txz Installing /packages/All/ca_root_nss-3.52.txz ===== Message from ca_root_nss-3.52: -- FreeBSD does not, and can not warrant that the certification authorities whose certificates are included in this package have in any way been audited for trustworthiness or RFC 3647 compliance. Assessment and verification of trust is the complete responsibility of the system administrator. This package installs symlinks to support root certificates discovery by default for software that uses OpenSSL. This enables SSL Certificate Verification by client software without manual intervention. If you prefer to do this manually, replace the following symlinks with either an empty file or your site-local certificate bundle. * /etc/ssl/cert.pem * /usr/local/etc/ssl/cert.pem * /usr/local/openssl/cert.pem Installing /packages/All/p11-kit-0.23.20.txz Installing /packages/All/tpm-emulator-0.7.4_2.txz ===> Creating groups. Creating group '_tss' with gid '601'. ===> Creating users Creating user '_tss' with uid '601'. Installing /packages/All/trousers-0.3.14_2.txz ===> Creating groups. Using existing group '_tss'. ===> Creating users Using existing user '_tss'. ===== Message from trousers-0.3.14_2: -- To run tcsd automatically, add the following line to /etc/rc.conf: tcsd_enable="YES" You might want to edit /usr/local/etc/tcsd.conf to reflect your setup. If you want to use tcsd with software TPM emulator, use the following configuration in /etc/rc.conf: tcsd_enable="YES" tcsd_mode="emulator" tpmd_enable="YES" To use TPM, add your_account to '_tss' group like following: # pw groupmod _tss -m your_account Installing /packages/All/gnutls-3.6.13.txz Installing /packages/All/libpaper-1.1.24.4.txz Installing /packages/All/cups-2.2.13.txz ===> Creating groups. Creating group 'cups' with gid '193'. ===> Creating users Creating user 'cups' with uid '193'. Installing /packages/All/hicolor-icon-theme-0.17.txz Installing /packages/All/libXcomposite-0.4.5,1.txz Installing /packages/All/gtk-update-icon-cache-2.24.32.txz Installing /packages/All/gtk2-2.24.32.txz Installing /packages/All/iso-codes-4.2.txz Installing /packages/All/libproxy-0.4.15.txz Installing /packages/All/gsettings-desktop-schemas-3.28.1.txz Installing /packages/All/glib-networking-2.56.1_2.txz Installing /packages/All/mypaint-brushes-1.3.1.txz Installing /packages/All/desktop-file-utils-0.24.txz Installing /packages/All/gimp-app-2.10.18_5,1.txz SUCCEEDED 00:01:38 ------------------------------------------------------------------------------- -- Phase: check-sanity ------------------------------------------------------------------------------- ===> NOTICE: The xsane port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: pkg-depends ------------------------------------------------------------------------------- ===> xsane-0.999_6 depends on file: /usr/local/sbin/pkg - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: fetch ------------------------------------------------------------------------------- ===> NOTICE: The xsane port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> xsane-0.999_6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xsane-0.999_6 for building SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: checksum ------------------------------------------------------------------------------- ===> NOTICE: The xsane port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> xsane-0.999_6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xsane-0.999_6 for building => SHA256 Checksum OK for frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz. SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: extract ------------------------------------------------------------------------------- ===> NOTICE: The xsane port currently does not have a maintainer. As a result, it is more likely to have unresolved issues, not be up-to-date, or even be removed in the future. To volunteer to maintain this port, please create an issue at: https://bugs.freebsd.org/bugzilla More information about port maintainership is available at: https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port ===> xsane-0.999_6 depends on file: /usr/local/sbin/pkg - found ===> Fetching all distfiles required by xsane-0.999_6 for building ===> Extracting for xsane-0.999_6 => SHA256 Checksum OK for frontend-xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e_GL0.tar.gz. Extracted Memory Use: 9.43M SUCCEEDED 00:00:01 ------------------------------------------------------------------------------- -- Phase: patch-depends ------------------------------------------------------------------------------- SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: patch ------------------------------------------------------------------------------- ===> Patching for xsane-0.999_6 ===> Applying ports patches for xsane-0.999_6 ===> Cleanly applied ports patch(es) patch-src_xsane-save.c patch-src_xsane.h SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: build-depends ------------------------------------------------------------------------------- ===> xsane-0.999_6 depends on executable: scanimage - found ===> xsane-0.999_6 depends on package: gmake>=4.3 - found ===> xsane-0.999_6 depends on package: pkgconf>=1.3.0_1 - found ===> xsane-0.999_6 depends on executable: msgfmt - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: lib-depends ------------------------------------------------------------------------------- ===> xsane-0.999_6 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> xsane-0.999_6 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so) ===> xsane-0.999_6 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> xsane-0.999_6 depends on shared library: liblcms.so - found (/usr/local/lib/liblcms.so) ===> xsane-0.999_6 depends on shared library: libgimp-2.0.so - found (/usr/local/lib/libgimp-2.0.so) ===> xsane-0.999_6 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> xsane-0.999_6 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) ===> xsane-0.999_6 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> xsane-0.999_6 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> xsane-0.999_6 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> xsane-0.999_6 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> xsane-0.999_6 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> xsane-0.999_6 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: configure ------------------------------------------------------------------------------- ===> xsane-0.999_6 depends on executable: scanimage - found ===> xsane-0.999_6 depends on package: gmake>=4.3 - found ===> xsane-0.999_6 depends on package: pkgconf>=1.3.0_1 - found ===> xsane-0.999_6 depends on executable: msgfmt - found ===> xsane-0.999_6 depends on shared library: libpng.so - found (/usr/local/lib/libpng.so) ===> xsane-0.999_6 depends on shared library: libtiff.so - found (/usr/local/lib/libtiff.so) ===> xsane-0.999_6 depends on shared library: libfreetype.so - found (/usr/local/lib/libfreetype.so) ===> xsane-0.999_6 depends on shared library: liblcms.so - found (/usr/local/lib/liblcms.so) ===> xsane-0.999_6 depends on shared library: libgimp-2.0.so - found (/usr/local/lib/libgimp-2.0.so) ===> xsane-0.999_6 depends on shared library: libatk-1.0.so - found (/usr/local/lib/libatk-1.0.so) ===> xsane-0.999_6 depends on shared library: libgdk_pixbuf-2.0.so - found (/usr/local/lib/libgdk_pixbuf-2.0.so) ===> xsane-0.999_6 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so) ===> xsane-0.999_6 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> xsane-0.999_6 depends on shared library: libgtk-x11-2.0.so - found (/usr/local/lib/libgtk-x11-2.0.so) ===> xsane-0.999_6 depends on shared library: libpango-1.0.so - found (/usr/local/lib/libpango-1.0.so) ===> xsane-0.999_6 depends on shared library: libjpeg.so - found (/usr/local/lib/libjpeg.so) ===> xsane-0.999_6 depends on shared library: libintl.so - found (/usr/local/lib/libintl.so) ===> Configuring for xsane-0.999_6 configure: loading site script /xports/Templates/config.site ************************************************************************** checking whether GTK+-2.0 is requested... yes checking whether GIMP plugin is requested... yes checking whether GIMP-2.0 is requested... yes checking whether JPEG support is requested... yes checking whether PNG support is requested... yes checking whether TIFF support is requested... yes checking whether LCMS (color management) support is requested... yes ************************************************************************** checking for gcc... cc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether cc accepts -g... yes checking for cc option to accept ISO C89... none needed checking how to run the C preprocessor... cpp checking for grep that handles long lines and -e... (cached) /usr/bin/grep checking for egrep... (cached) /usr/bin/egrep checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for minix/config.h... (cached) no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for gcc... (cached) cc checking whether we are using the GNU C compiler... (cached) yes checking whether cc accepts -g... (cached) yes checking for cc option to accept ISO C89... (cached) none needed checking for a BSD-compatible install... /usr/bin/install -c checking whether gmake sets $(MAKE)... yes checking how to run the C preprocessor... cpp checking whether cc needs -traditional... no checking windows.h usability... no checking windows.h presence... no checking for windows.h... no checking for ANSI C header files... (cached) yes checking for windows.h... (cached) no checking os2.h usability... no checking os2.h presence... no checking for os2.h... no checking for fcntl.h... (cached) yes checking for unistd.h... (cached) yes checking libc.h usability... no checking libc.h presence... no checking for libc.h... no checking for sys/time.h... (cached) yes checking for sys/types.h... (cached) yes checking for zlib.h... (cached) yes checking for an ANSI C-conforming const... yes checking for inline... inline checking return type of signal handlers... void checking for size_t... (cached) yes checking for pid_t... (cached) yes checking for ssize_t... (cached) yes checking for u_char... (cached) yes checking for u_int... (cached) yes checking for u_long... (cached) yes checking for sqrt in -lm... yes checking for deflateInit_ in -lz... yes checking for jpeg_start_decompress in -ljpeg... yes checking for TIFFOpen in -ltiff... yes checking for cmsOpenProfileFromFile in -llcms... yes checking for working alloca.h... yes checking for alloca... yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking for sys/param.h... (cached) yes checking for getpagesize... (cached) yes checking for working mmap... yes checking for atexit... (cached) yes checking for mkdir... yes checking for sigprocmask... (cached) yes checking for strdup... (cached) yes checking for strndup... (cached) yes checking for strftime... (cached) yes checking for strstr... (cached) yes checking for strsep... (cached) yes checking for strtod... (cached) yes checking for snprintf... (cached) yes checking for usleep... (cached) yes checking for strcasecmp... (cached) yes checking for strncasecmp... (cached) yes checking for lstat... (cached) yes checking for ranlib... ranlib checking for off_t... (cached) yes checking for argz.h... (cached) no checking for limits.h... (cached) yes checking for locale.h... (cached) yes checking nl_types.h usability... yes checking nl_types.h presence... yes checking for nl_types.h... yes checking malloc.h usability... no checking malloc.h presence... no checking for malloc.h... no checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking values.h usability... no checking values.h presence... no checking for values.h... no checking for sys/param.h... (cached) yes checking for getcwd... (cached) yes checking for munmap... (cached) yes checking for putenv... (cached) yes checking for setenv... (cached) yes checking for setlocale... (cached) yes checking for strchr... (cached) yes checking for strcasecmp... (cached) yes checking for __argz_count... no checking for __argz_stringify... no checking for __argz_next... no checking for LC_MESSAGES... yes checking whether NLS is requested... yes checking whether included gettext is requested... no checking libintl.h usability... yes checking libintl.h presence... yes checking for libintl.h... yes checking for gettext in libc... yes checking for msgfmt... /usr/local/bin/msgfmt checking for dcgettext... yes checking for gmsgfmt... /usr/local/bin/msgfmt checking for xgettext... /usr/local/bin/xgettext checking for catalogs to be installed... ca cs da de es fi fr hu it ja nl pa pl pt pt_BR ro ru sk sl sr sv vi tr zh zh_CN checking for sane-config... /usr/local/bin/sane-config checking for SANE - version >= 1.0.0... yes checking for pkg-config... /usr/local/bin/pkg-config checking for GIMP - version >= 1.3.23... yes (version 2.10.18) checking png.h usability... yes checking png.h presence... yes checking for png.h... yes checking for png_create_info_struct in -lpng... yes configure: creating ./config.status config.status: creating Makefile config.status: WARNING: 'Makefile.in' seems to ignore the --datarootdir setting config.status: creating intl/Makefile config.status: WARNING: 'intl/Makefile.in' seems to ignore the --datarootdir setting config.status: creating po/Makefile config.status: creating lib/Makefile config.status: WARNING: 'lib/Makefile.in' seems to ignore the --datarootdir setting config.status: creating src/Makefile config.status: WARNING: 'src/Makefile.in' seems to ignore the --datarootdir setting config.status: creating include/Makefile config.status: creating doc/Makefile config.status: WARNING: 'doc/Makefile.in' seems to ignore the --datarootdir setting config.status: creating xsane.spec config.status: creating include/config.h **************************************************************** * * * XSANE configure status: * * ----------------------- * * - NLS activated (external) * * - GIMP plugin activated * * - JPEG support activated * * - TIFF support activated * * - PNG support activated * * - LCMS (color management) support activated * * * **************************************************************** * * * To compile XSANE: * * ----------------- * * make * * make install * * * * ------------------------------------------------------------ * * ... PLEASE READ SANE DOCUMENTATION BEFORE STARTING XSANE ... * * ------------------------------------------------------------ * **************************************************************** NEWS: Due to changes in the configuration file routines you have to enter some data in preferences->setup. In general there is nothing special you have to care about to get xsane to work. Read xsane.CHANGES if you are interested in details of what has changed. If you experience any problems after you upgraded xsane it may help to remove the setup and preferences files of xsane: rm -rf ~/.sane/xsane SUCCEEDED 00:00:09 ------------------------------------------------------------------------------- -- Phase: build ------------------------------------------------------------------------------- ===> Building for xsane-0.999_6 gmake[1]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e' for subdir in lib src po; do \ target=`echo all-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && gmake $target) \ || case "-w -j10 --jobserver-auth=3,4" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making all in lib gmake[2]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/lib' cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall alloca.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall getopt.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall getopt1.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall strndup.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall strdup.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall strsep.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall snprintf.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall usleep.c cc -c -DHAVE_CONFIG_H -I. -I. -I../include/sane -I../include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall md5.c getopt.c: In function '_getopt_initialize': getopt.c:354:54: warning: implicit declaration of function 'getpid'; did you mean 'getenv'? [-Wimplicit-function-declaration] sprintf (var, "_%d_GNU_nonoption_argv_flags_", getpid ()); ^~~~~~ getenv getopt.c:359:24: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nonoption_flags_len = strlen (nonoption_flags); ^~~~~~ getopt.c:359:24: warning: incompatible implicit declaration of built-in function 'strlen' getopt.c:359:24: note: include '' or provide a declaration of 'strlen' getopt.c:104:1: +#include getopt.c:359:24: nonoption_flags_len = strlen (nonoption_flags); ^~~~~~ getopt.c: In function '_getopt_internal': getopt.c:479:30: warning: implicit declaration of function 'strcmp' [-Wimplicit-function-declaration] if (optind != argc && !strcmp (argv[optind], "--")) ^~~~~~ getopt.c:559:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] if (!strncmp (p->name, nextchar, nameend - nextchar)) ^~~~~~~ getopt.c:561:32: warning: incompatible implicit declaration of built-in function 'strlen' if (nameend - nextchar == strlen (p->name)) ^~~~~~ getopt.c:561:32: note: include '' or provide a declaration of 'strlen' getopt.c:585:16: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:585:16: note: include '' or provide a declaration of 'strlen' getopt.c:603:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if (opterr) ^ getopt.c:615:17: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:615:17: note: include '' or provide a declaration of 'strlen' getopt.c:631:17: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:631:17: note: include '' or provide a declaration of 'strlen' getopt.c:636:16: warning: incompatible implicit declaration of built-in function 'strlen' nextchar += strlen (nextchar); ^~~~~~ getopt.c:636:16: note: include '' or provide a declaration of 'strlen' getopt.c:638:15: warning: 'indfound' may be used uninitialized in this function [-Wmaybe-uninitialized] *longind = option_index; ~~~~~~~~~^~~~~~~~~~~~~~ ar r liblib.a alloca.o getopt.o getopt1.o strndup.o strdup.o strsep.o snprintf.o usleep.o md5.o /usr/libexec/binutils227/elf/ar: creating liblib.a ranlib liblib.a gmake[2]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/lib' making all in src gmake[2]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/src' cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-back-gtk.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-front-gtk.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-gamma.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-preview.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-viewer.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-fax-project.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-email-project.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-multipage-project.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-rc-io.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-device-preferences.c xsane-viewer.c: In function 'xsane_viewer_scale_set_scale_value_and_adjustments': xsane-viewer.c:509:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] image_width = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_width"); ^ xsane-viewer.c:510:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] image_height = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_height"); ^ xsane-viewer.c: In function 'xsane_viewer_scale_set_size_x_value_and_adjustments': xsane-viewer.c:532:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] image_width = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_width"); ^ xsane-viewer.c:533:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] image_height = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_height"); ^ 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:556:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] image_width = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_width"); ^ xsane-viewer.c:557:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] image_height = (int) gtk_object_get_data(GTK_OBJECT(adj_data), "image_height"); ^ xsane-viewer.c:554:6: warning: variable 'image_width' set but not used [-Wunused-but-set-variable] int image_width, image_height; ^~~~~~~~~~~ xsane-viewer.c: In function 'xsane_viewer_scale_callback': xsane-viewer.c:720:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(scale_widget), "image_width", (void *) image_info.image_width); ^ xsane-viewer.c:721:72: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(scale_widget), "image_height", (void *) image_info.image_height); ^ xsane-viewer.c:725:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_width", (void *) image_info.image_width); ^ xsane-viewer.c:726:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_height", (void *) image_info.image_height); ^ xsane-viewer.c:730:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_width", (void *) image_info.image_width); ^ xsane-viewer.c:731:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_height", (void *) image_info.image_height); ^ xsane-viewer.c:766:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(scalex_widget), "image_width", (void *) image_info.image_width); ^ xsane-viewer.c:767:74: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(scalex_widget), "image_height", (void *) image_info.image_height); ^ xsane-viewer.c:770:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_width", (void *) image_info.image_width); ^ xsane-viewer.c:771:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_x), "image_height", (void *) image_info.image_height); ^ xsane-viewer.c:805:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(scaley_widget), "image_width", (void *) image_info.image_width); ^ xsane-viewer.c:806:73: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(scaley_widget), "image_height", (void *) image_info.image_height); ^ xsane-viewer.c:809:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_width", (void *) image_info.image_width); ^ xsane-viewer.c:810:78: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(adjustment_size_y), "image_height", (void *) image_info.image_height); ^ xsane-viewer.c: In function 'xsane_viewer_zoom_callback': xsane-viewer.c:1447:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane-viewer.c: In function 'xsane_viewer_set_cms_proofing_callback': xsane-viewer.c:1724:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane-viewer.c: In function 'xsane_viewer_set_cms_intent_callback': xsane-viewer.c:1751:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane-viewer.c: In function 'xsane_viewer_set_cms_proofing_intent_callback': xsane-viewer.c:1777:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane-viewer.c: In function 'xsane_viewer_set_cms_gamut_alarm_color_callback': xsane-viewer.c:1806:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] val = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane-viewer.c: In function 'xsane_viewer_read_image_header': xsane-viewer.c:2104:6: warning: variable 'pos0' set but not used [-Wunused-but-set-variable] int pos0; ^~~~ xsane-viewer.c: In function 'xsane_viewer_read_image': xsane-viewer.c:2159:6: warning: variable 'nread' set but not used [-Wunused-but-set-variable] int nread; ^~~~~ xsane-viewer.c: In function 'xsane_viewer_new': xsane-viewer.c:3010:66: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(zoom_menu_item), "Selection", (void *) xsane_viewer_zoom[i]); ^ xsane-preview.c: In function 'preview_create_batch_icon_from_file': xsane-preview.c:2103:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-preview.c:2097: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:2456:9: warning: variable 'nread' set but not used [-Wunused-but-set-variable] size_t nread; ^~~~~ xsane-preview.c: In function 'preview_create_preset_area_menu': xsane-preview.c:4116:68: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(preset_area_item), "Selection", (void *) i); ^ xsane-preview.c: In function 'preview_new': xsane-preview.c:4472:65: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(rotation_item), "Selection", (void *) rot); ^ xsane-preview.c: In function 'preview_preset_area_rename_callback': xsane-preview.c:5715:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Selection"); ^ xsane-preview.c:5722:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); ^ xsane-preview.c: In function 'preview_preset_area_add_callback': xsane-preview.c:5765:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Selection"); ^ xsane-preview.c:5770:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); ^ xsane-preview.c: In function 'preview_preset_area_delete_callback': xsane-preview.c:5816:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Selection"); ^ xsane-preview.c:5836:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); ^ xsane-preview.c: In function 'preview_preset_area_move_up_callback': xsane-preview.c:5865:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Selection"); ^ xsane-preview.c:5881:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); ^ xsane-preview.c: In function 'preview_preset_area_move_down_callback': xsane-preview.c:5910:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(preset_area_widget), "Selection"); ^ xsane-preview.c:5927:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_preset_area_menu))), "Selection"); ^ xsane-preview.c: In function 'preview_preset_area_context_menu_callback': xsane-preview.c:5958:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane-preview.c: In function 'preview_preset_area_callback': xsane-preview.c:6035:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane-preview.c: In function 'preview_rotation_callback': xsane-preview.c:6059:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] rot = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ 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-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-back-gtk.c: In function 'xsane_back_gtk_range_display_value_right_callback': xsane-back-gtk.c:1971:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int digits = (int) data; ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane-back-gtk.c:25: xsane-back-gtk.c: In function 'xsane_back_gtk_range_new': xsane-back-gtk.c:2019:118: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(elem->data, "value_changed", (GtkSignalFunc) xsane_back_gtk_range_display_value_right_callback, (void *) digits); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-multipage-project.c: In function 'xsane_multipage_project_save': xsane-multipage-project.c:525:58: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ ^ xsane-multipage-project.c:525:5: note: 'snprintf' output 33 or more bytes into a destination of size 32 snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.multipage_status); /* fill 32 characters status line */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c:514:39: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~ xsane-multipage-project.c:514:5: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c: In function 'xsane_multipage_save_file': xsane-multipage-project.c:984:41: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c:984:7: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_OPEN_FAILED, multipage_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c:953:41: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c:953:7: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c:1068:41: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 253 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); ^~ ~~~~~~~~~~~~~~~ xsane-multipage-project.c:1068:9: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c:938:39: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~~~~~~~~~~~ xsane-multipage-project.c:938:5: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, multipage_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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-front-gtk.c: In function 'xsane_range_display_value_right_callback': xsane-front-gtk.c:1110:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int digits = (int) data; ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane-front-gtk.c:25: xsane-front-gtk.c: In function 'xsane_range_new': xsane-front-gtk.c:1147:104: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_range_display_value_right_callback, (void *) digits); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-front-gtk.c: In function 'xsane_range_new_with_pixmap': xsane-front-gtk.c:1239:104: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(*data, "value_changed", (GtkSignalFunc) xsane_range_display_value_right_callback, (void *) digits); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-front-gtk.c: In function 'xsane_filename_counter_step_callback': xsane-front-gtk.c:1382:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] preferences.filename_counter_step = (int) data; ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane-front-gtk.c:25: xsane-front-gtk.c: In function 'xsane_outputfilename_new': xsane-front-gtk.c:1527:134: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(xsane_filename_counter_step_item), "activate", (GtkSignalFunc) xsane_filename_counter_step_callback, (void *) j); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-front-gtk.c: In function 'xsane_eula_delete_event': xsane-front-gtk.c:1894:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] eula_accept_flag = (int) data; ^ xsane-front-gtk.c: In function 'xsane_eula_button_callback': xsane-front-gtk.c:1906:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] eula_accept_flag = (int) data; ^ xsane-front-gtk.c: In function 'xsane_front_gtk_getname_button_callback': xsane-front-gtk.c:2413:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_front_gtk_getname_button = (int) data; ^ xsane-fax-project.c: In function 'xsane_fax_entry_rename_button_callback': xsane-fax-project.c:757:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_fax_entry_rename = (int) data; ^ xsane-viewer.c: In function 'xsane_viewer_save_callback': xsane-viewer.c:281:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(outputfilename, preferences.filename, sizeof(outputfilename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-viewer.c:277:5: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(outputfilename, v->output_filename, sizeof(outputfilename)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-fax-project.c: In function 'xsane_fax_project_update_project_status': xsane-fax-project.c:455:56: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ ^ xsane-fax-project.c:455:3: note: 'snprintf' output 33 or more bytes into a destination of size 32 snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 1023 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); ~~~~~~~~~~~~~~~ xsane-fax-project.c:1107:3: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s - %s", PROGRESS_CONVERTING_DATA, source_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-fax-project.c:1171:37: warning: '%s' directive output may be truncated writing up to 1023 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); ~~~~~~~~~~~~~~~ xsane-fax-project.c:1171:5: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, source_filename, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-fax-project.c:1159:39: warning: '%s' directive output may be truncated writing up to 1023 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); ~~~~~~~~~~~~ xsane-fax-project.c:1159:7: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, fax_filename, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-fax-project.c:1258:43: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~~~~~ xsane-fax-project.c:1258:9: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, fax_filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-email-project.c: In function 'xsane_email_project_display_status': cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-batch-scan.c xsane-viewer.c: In function 'xsane_viewer_read_image': xsane-viewer.c:2263:46: warning: '%s' directive output may be truncated writing up to 1023 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-viewer.c:2263:7: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 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-email-project.c:496:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] int items_done; ^~~~~~~~~~ xsane-email-project.c: In function 'xsane_email_entry_rename_button_callback': xsane-email-project.c:1274:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_email_entry_rename = (int) data; ^ 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; ^~~~~~~~ cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-preferences.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-setup.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-save.c xsane-email-project.c: In function 'xsane_email_project_display_status': xsane-email-project.c:899:56: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ ^ xsane-email-project.c:899:3: note: 'snprintf' output 33 or more bytes into a destination of size 32 snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-setup.c: In function 'xsane_setup_printer_callback': xsane-setup.c:312:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] preferences.printernr = (int) data; ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane-setup.c:25: xsane-setup.c: In function 'xsane_setup_printer_menu_build': xsane-setup.c:331:106: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(printer_item), "activate", (GtkSignalFunc) xsane_setup_printer_callback, (void *) i); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c: In function 'xsane_setup_filename_counter_len_callback': xsane-setup.c:457:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.filename_counter_len = (int) data; ^ xsane-setup.c: In function 'xsane_setup_tiff_compression16_callback': xsane-setup.c:467:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.tiff_compression16_nr = (int) data; ^ xsane-setup.c: In function 'xsane_setup_tiff_compression8_callback': xsane-setup.c:476:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.tiff_compression8_nr = (int) data; ^ xsane-setup.c: In function 'xsane_setup_tiff_compression1_callback': xsane-setup.c:484:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.tiff_compression1_nr = (int) data; ^ xsane-setup.c: In function 'xsane_setup_color_management_apply_changes': xsane-setup.c:572:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] preferences.cms_intent = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(gtk_option_menu_get_menu(GTK_OPTION_MENU(xsane_setup.cms_intent_option_menu))))), "Selection"); ^ xsane-setup.c: In function 'xsane_permission_toggled': xsane-setup.c:846:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int mask = (int) data; ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane-setup.c:25: xsane-setup.c: In function 'xsane_saving_notebook': xsane-setup.c:1753:132: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(filename_counter_len_item), "activate", (GtkSignalFunc) xsane_setup_filename_counter_len_callback, (void *) i); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c: In function 'xsane_filetype_notebook': xsane-setup.c:1986:126: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", (GtkSignalFunc) xsane_setup_tiff_compression16_callback, (void *) tiff_compression16_strings[i-1].number); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c:2022:125: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", (GtkSignalFunc) xsane_setup_tiff_compression8_callback, (void *) tiff_compression8_strings[i-1].number); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c:2059:125: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(tiff_compression_item), "activate", (GtkSignalFunc) xsane_setup_tiff_compression1_callback, (void *) tiff_compression1_strings[i-1].number); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c: In function 'xsane_fax_notebook': xsane-setup.c:2254:121: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(button), "clicked", (GtkSignalFunc) xsane_fax_notebook_set_faxprogram_default_callback, (void *) i); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-fax-project.c: In function 'xsane_fax_project_save': xsane-fax-project.c:501:58: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ ^ xsane-fax-project.c:501:5: note: 'snprintf' output 33 or more bytes into a destination of size 32 snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.fax_status); /* fill 32 characters status line */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-fax-project.c:484:39: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~ xsane-fax-project.c:484:5: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-setup.c: In function 'xsane_email_notebook': xsane-setup.c:2560:130: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(authentication_menu_item), "activate", (GtkSignalFunc) xsane_setup_authentication_type_callback, (void *) authentication_strings[i-1].number); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c: In function 'xsane_display_notebook': xsane-setup.c:2929:122: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(show_range_mode_item), "activate", (GtkSignalFunc) xsane_setup_show_range_mode_callback, (void *) show_range_mode_strings[i-1].number); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c: In function 'xsane_setup_authentication_type_callback': xsane-setup.c:3132:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.email_authentication = (int) data; ^ xsane-setup.c: In function 'xsane_setup_show_range_mode_callback': xsane-setup.c:3141:33: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.show_range_mode = (int) data; ^ xsane-setup.c: In function 'xsane_setup_lineart_mode_callback': xsane-setup.c:3148:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.lineart_mode = (int) data; ^ xsane-setup.c: In function 'xsane_setup_preview_pipette_range_callback': xsane-setup.c:3171:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_setup.preview_pipette_range = (int) data; ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane-setup.c:25: xsane-setup.c: In function 'xsane_enhance_notebook': xsane-setup.c:3240:116: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(lineart_mode_item), "activate", (GtkSignalFunc) xsane_setup_lineart_mode_callback, (void *) lineart_mode_strings[i-1].number); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane-setup.c:3364:22: warning: variable 'status' set but not used [-Wunused-but-set-variable] SANE_Status status; ^~~~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane-setup.c:25: xsane-setup.c:3464:134: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(preview_pipette_range_item), "activate", (GtkSignalFunc) xsane_setup_preview_pipette_range_callback, (void *) j); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ 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)); ^~ xsane-batch-scan.c:400:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' { ^ xsane-batch-scan.c: In function 'xsane_batch_scan_create_list_entry': xsane-batch-scan.c:683:8: warning: variable 'data' set but not used [-Wunused-but-set-variable] char *data; ^~~~ xsane-batch-scan.c: In function 'xsane_batch_scan_add': 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_rotate_mirror': xsane-batch-scan.c:799:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int rotate_info = (int) data; ^ xsane-batch-scan.c: In function 'xsane_batch_scan_rename_button_callback': xsane-batch-scan.c:837:29: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane_batch_scan_rename = (int) data; ^ 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 */ ^~ xsane-batch-scan.c:660:3: note: 'snprintf' output between 6 and 600 bytes into a destination of size 255 snprintf(buf, sizeof(buf), "%s\n" /* name */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s\n" /* scanmode */ ~~~~~~~~~~~~~~~~~~~~~ "%s\n" /* geometry_tl */ ~~~~~~~~~~~~~~~~~~~~~~~~ "%s\n" /* geometry_size */ ~~~~~~~~~~~~~~~~~~~~~~~~~~ "%s\n" /* resolution */ ~~~~~~~~~~~~~~~~~~~~~~~ "%s", /* bit_depth */ ~~~~~~~~~~~~~~~~~~~~~~ areaname_str, ~~~~~~~~~~~~~ scanmode_str, ~~~~~~~~~~~~~ geometry_tl_str, ~~~~~~~~~~~~~~~~ geometry_size_str, ~~~~~~~~~~~~~~~~~~ resolution_str, ~~~~~~~~~~~~~~~ bit_depth_str); ~~~~~~~~~~~~~~ xsane-fax-project.c: In function 'xsane_fax_entry_insert_callback': xsane-fax-project.c:964:44: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s %s", ERR_OPEN_FAILED, filename); ^ xsane-fax-project.c:964:11: note: 'snprintf' output 2 or more bytes (assuming 1025) into a destination of size 1024 snprintf(buf, sizeof(buf), "%s %s", ERR_OPEN_FAILED, filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-fax-project.c:931:45: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~ xsane-fax-project.c:931:11: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 1024 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, destpath); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 1023 bytes into a region of size 253 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); ^~ ~~~~~~~~ xsane-batch-scan.c:434:7: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-email-project.c: In function 'xsane_email_project_save': xsane-email-project.c:939:58: warning: 'snprintf' output truncated before the last format character [-Wformat-truncation=] snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ ^ xsane-email-project.c:939:5: note: 'snprintf' output 33 or more bytes into a destination of size 32 snprintf(buf, 32, "%s@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@", xsane.email_status); /* fill 32 characters status line */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-email-project.c:928:39: warning: '%s' directive output may be truncated writing up to 1023 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); ^~ ~~~~~~~~ xsane-email-project.c:928:5: note: 'snprintf' output 4 or more bytes (assuming 1027) into a destination of size 255 snprintf(buf, sizeof(buf), "%s %s %s\n", ERR_DURING_SAVE, ERR_CREATE_SECURE_FILE, filename); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-scan.c xsane-save.c: In function 'xsane_read_pnm_header': xsane-save.c:426:6: warning: variable 'items_done' set but not used [-Wunused-but-set-variable] int items_done; ^~~~~~~~~~ cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane-icons.c cc -c -DHAVE_CONFIG_H -DLOCALEDIR=/usr/local/share/locale -DSANELOCALEDIR=/usr/local/share/locale -I. -I. -I../include -I../include -I/usr/local/include -isystem /usr/local/include -D_GNU_SOURCE -DV_MAJOR=0 -DV_MINOR=999 -DSANE_V_MAJOR=1 -DPATH_XSANE_DOC_DIR=/usr/local/share/doc/xsane -DPATH_SANE_DATA_DIR=/usr/local/share/sane -pipe -O2 -isystem /usr/local/include -fno-strict-aliasing -Wall -I/usr/local/include -I/usr/local/include/gimp-2.0 -I/usr/local/include/gdk-pixbuf-2.0 -I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -I/usr/local/include -I/usr/local/include/cairo -I/usr/local/include/pixman-1 -I/usr/local/include/freetype2 -I/usr/local/include/libdrm -I/usr/local/include/libpng16 -I/usr/local/include/gegl-0.4 -I/usr/local/include/gio-unix-2.0/ -I/usr/local/include/json-glib-1.0 -I/usr/local/include/babl-0.1 -D_THREAD_SAFE -I/usr/local/include/gtk-2.0 -I/usr/local/include/pango-1.0 -I/usr/local/include/fribidi -I/usr/local/include/harfbuzz -I/usr/local/include/atk-1.0 -D_THREAD_SAFE -pthread xsane.c xsane-save.c: In function 'xsane_save_scaled_image': xsane-save.c:1036:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_despeckle_image': xsane-save.c:1335:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_blur_image': xsane-save.c:1536:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_write_flatedecode': xsane-save.c:2489:14: warning: variable 'count' set but not used [-Wunused-but-set-variable] static int count = 0; ^~~~~ xsane-save.c: In function 'xsane_write_compressed_a85': xsane-save.c:2765:14: warning: variable 'linelen' set but not used [-Wunused-but-set-variable] static int linelen = 0; ^~~~~~~ xsane-save.c:2764:14: warning: variable 'cbuflen' set but not used [-Wunused-but-set-variable] static int cbuflen = 0; ^~~~~~~ xsane-save.c: In function 'xsane_save_ps_pdf_gray': xsane-save.c:3066:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_ps_pdf_color': xsane-save.c:3317:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_jpeg': xsane-save.c:4379:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_tiff_page': xsane-save.c:4625:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_png_embed_scanner_icm_profile': xsane-save.c:4848:63: warning: pointer targets in passing argument 5 of 'png_set_iCCP' differ in signedness [-Wpointer-sign] png_set_iCCP(png_ptr, png_info_ptr, "ICC profile", 0, profile_buffer, size); ^~~~~~~~~~~~~~ In file included from /usr/local/include/libpng16/png.h:346, from xsane-save.c:50: /usr/local/include/libpng16/png.h:2126:23: note: expected 'png_const_bytep' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} PNG_EXPORT(159, void, png_set_iCCP, (png_const_structrp png_ptr, ^~~~~~~~~~~~ /usr/local/include/libpng16/pngconf.h:287:70: note: in definition of macro 'PNG_FUNCTION' # define PNG_FUNCTION(type, name, args, attributes) attributes type name args ^~~~ /usr/local/include/libpng16/pngconf.h:311:4: note: in expansion of macro 'PNG_EXPORTA' PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) ^~~~~~~~~~~ /usr/local/include/libpng16/png.h:2126:1: note: in expansion of macro 'PNG_EXPORT' PNG_EXPORT(159, void, png_set_iCCP, (png_const_structrp png_ptr, ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_png': xsane-save.c:4888:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_png_16': xsane-save.c:5078:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_16_ascii_gray': xsane-save.c:5259:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_16_ascii_color': xsane-save.c:5367:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_16_binary_gray': xsane-save.c:5476:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_16_binary_color': xsane-save.c:5574:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_8_gray': xsane-save.c:5676:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_save_pnm_8_color': xsane-save.c:5772:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'xsane_transfer_to_gimp': xsane-save.c:6862:11: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] gimp_image_parasite_attach(image_ID, parasite); ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:47, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimpimage.h:98:16: note: declared here gboolean gimp_image_parasite_attach (gint32 image_ID, ^~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c:6897:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] gimp_image_add_layer(image_ID, layer_ID, 0); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55, from /usr/local/include/gimp-2.0/libgimp/gimp.h:66, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here gboolean gimp_image_add_layer (gint32 image_ID, ^~~~~~~~~~~~~~~~~~~~ xsane-save.c:6898:3: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] drawable = gimp_drawable_get(layer_ID); ^~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:41, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here GimpDrawable * gimp_drawable_get (gint32 drawable_ID); ^~~~~~~~~~~~~~~~~ xsane-save.c:6899:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] gimp_pixel_rgn_init(®ion, drawable, 0, 0, drawable->width, drawable->height, TRUE, FALSE); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:57, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here void gimp_pixel_rgn_init (GimpPixelRgn *pr, ^~~~~~~~~~~~~~~~~~~ xsane-save.c:6930:17: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:57, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, ^~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c:6971:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:57, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, ^~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c:7009:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:57, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, ^~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c:7057:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:57, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, ^~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c:7098:13: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] gimp_pixel_rgn_set_rect(®ion, tile, 0, y - tile_height, image_info.image_width, tile_height); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:57, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, ^~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c:7171:5: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] gimp_pixel_rgn_set_rect(®ion, tile, 0, y - remaining, image_info.image_width, remaining); ^~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:57, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, ^~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c:7174:3: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] gimp_drawable_flush(drawable); ^~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:41, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here void gimp_drawable_flush (GimpDrawable *drawable); ^~~~~~~~~~~~~~~~~~~ xsane-save.c:7176:3: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] gimp_drawable_detach(drawable); ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/local/include/gimp-2.0/libgimp/gimp.h:41, from xsane.h:437, from xsane-save.c:25: /usr/local/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here void gimp_drawable_detach (GimpDrawable *drawable); ^~~~~~~~~~~~~~~~~~~~ xsane-save.c:6749:9: warning: variable 'bytes_read' set but not used [-Wunused-but-set-variable] size_t bytes_read; ^~~~~~~~~~ xsane-save.c: In function 'write_3chars_as_base64': xsane-save.c:7214:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_string_base64': xsane-save.c:7245:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_base64': xsane-save.c:7280:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_email_header': xsane-save.c:7332:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-setup.c: In function 'xsane_setup_browse_tmp_path_callback': xsane-setup.c:1531:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 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: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 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: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(working_color_space_icm_profile, old_working_color_space_icm_profile, sizeof(working_color_space_icm_profile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'write_email_footer': xsane-save.c:7369:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_email_mime_ascii': xsane-save.c:7380:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_email_mime_html': xsane-save.c:7400:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_email_attach_image': xsane-save.c:7426:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_email_attach_file': xsane-save.c:7460:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'open_socket': xsane-save.c:7531:26: warning: passing argument 2 of 'connect' from incompatible pointer type [-Wincompatible-pointer-types] if (connect(fd_socket, &sin, sizeof(sin))) ^~~~ In file included from xsane-save.c:36: /usr/include/sys/socket.h:490:18: note: expected 'const struct sockaddr *' but argument is of type 'struct sockaddr_in *' int connect(int, const struct sockaddr *, socklen_t); ^~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'pop3_login': xsane-save.c:7550:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'asmtp_authentication': xsane-save.c:7606:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_smtp_header': xsane-save.c:7706:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-save.c: In function 'write_smtp_footer': xsane-save.c:7862:10: warning: variable 'bytes_written' set but not used [-Wunused-but-set-variable] ssize_t bytes_written; ^~~~~~~~~~~~~ xsane-setup.c: In function 'xsane_setup_browse_custom_proofing_icm_profile_callback': xsane-setup.c:1608:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 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: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(display_icm_profile, old_display_icm_profile, sizeof(display_icm_profile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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 1023 bytes into a region of size 253 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); ^~ ~~~~~~~~ xsane-batch-scan.c:354:7: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, filename, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-setup.c: In function 'xsane_setup_browse_scanner_default_gray_icm_profile_callback': xsane-setup.c:1570:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 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: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(scanner_default_color_icm_profile, old_scanner_default_color_icm_profile, sizeof(scanner_default_color_icm_profile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~ ~~~~~~~~~~ xsane-email-project.c:1657:13: note: 'snprintf' output between 22 and 276 bytes into a destination of size 255 snprintf(buf, sizeof(buf), "

\r\n", content_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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); ^~ ~~~~~~~~~~ xsane-email-project.c:1686:9: note: 'snprintf' output between 22 and 276 bytes into a destination of size 255 snprintf(buf, sizeof(buf), "

\r\n", content_id); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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:1110:11: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-scan.c:1103:11: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(image_info.icm_profile, xsane.scanner_default_gray_icm_profile, sizeof(image_info.icm_profile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane.c: In function 'xsane_paper_orientation_callback': xsane.c:581:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int pos = (int) data; ^ xsane.c: In function 'xsane_printer_callback': xsane.c:597:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] preferences.printernr = (int) data; ^ 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_cms_function_menu_callback': xsane.c:1161:30: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] preferences.cms_function = (int) data; ^ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane.c:25: xsane.c: In function 'xsane_update_xsane_callback': xsane.c:1398:122: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(paper_orientation_item), "activate", (GtkSignalFunc) xsane_paper_orientation_callback, (void *) i); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane.c:1432:108: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(xsane_printer_item), "activate", (GtkSignalFunc) xsane_printer_callback, (void *) i); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ 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; ^~~~~~ In file included from /usr/local/include/glib-2.0/gobject/gobject.h:28, from /usr/local/include/glib-2.0/gobject/gbinding.h:29, from /usr/local/include/glib-2.0/glib-object.h:23, from /usr/local/include/glib-2.0/gio/gioenums.h:28, from /usr/local/include/glib-2.0/gio/giotypes.h:28, from /usr/local/include/glib-2.0/gio/gio.h:26, from /usr/local/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/local/include/gtk-2.0/gdk/gdk.h:32, from xsane.h:69, from xsane.c:25: xsane.c:1580:129: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(xsane_medium_item), "button_press_event", (GtkSignalFunc) xsane_medium_context_menu_callback, (void *) i); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane.c:1581:110: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] g_signal_connect(GTK_OBJECT(xsane_medium_item), "activate", (GtkSignalFunc) xsane_set_medium_callback, (void *) i); ^ /usr/local/include/glib-2.0/gobject/gsignal.h:475:73: note: in definition of macro 'g_signal_connect' g_signal_connect_data ((instance), (detailed_signal), (c_handler), (data), NULL, (GConnectFlags) 0) ^~~~ xsane.c:1582:71: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(xsane_medium_item), "Selection", (void *) i); ^ xsane.c: In function 'xsane_medium_move_up_callback': xsane.c:2590:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); ^ xsane.c: In function 'xsane_medium_move_down_callback': xsane.c:2625:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); ^ xsane.c: In function 'xsane_medium_rename_callback': xsane.c:2664:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); ^ xsane.c:2672:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_medium_menu))), "Selection"); ^ xsane.c: In function 'xsane_medium_add_callback': xsane.c:2707:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = 1 + (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); ^ xsane.c:2713:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] old_selection = (int) gtk_object_get_data(GTK_OBJECT(gtk_menu_get_active(GTK_MENU(old_medium_menu))), "Selection"); ^ xsane.c: In function 'xsane_medium_delete_callback': xsane.c:2788:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(medium_widget), "Selection"); ^ xsane.c: In function 'xsane_medium_context_menu_callback': xsane.c:2844:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] selection = (int) gtk_object_get_data(GTK_OBJECT(widget), "Selection"); ^ xsane.c: In function 'xsane_set_medium_callback': xsane.c:2915:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int medium_nr = (int) data; ^ xsane.c: In function 'xsane_info_dialog': xsane.c:3282: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:3282:35: warning: logical not is only applied to the left hand side of comparison [-Wlogical-not-parentheses] xsane.c:3282: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:3155:43: warning: variable 'label' set but not used [-Wunused-but-set-variable] GtkWidget *info_dialog, *vbox, *button, *label, *frame, *framebox, *hbox, *table; ^~~~~ xsane.c: In function 'xsane_select_device_by_key_callback': xsane.c:5389:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane.selected_dev = (int) data; ^ xsane.c: In function 'xsane_select_device_by_mouse_callback': xsane.c:5398:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] xsane.selected_dev = (int) data; ^ xsane-scan.c: In function 'xsane_start_scan': xsane-scan.c:1807:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(image_info.icm_profile, xsane.scanner_default_color_icm_profile, sizeof(image_info.icm_profile)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-scan.c:1800:9: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] 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:883:44: warning: '%s' directive output may be truncated writing up to 1023 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-save.c:883:5: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 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.c: In function 'xsane_show_doc': xsane.c:3720:42: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 246 [-Wformat-truncation=] snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name); ^~ xsane.c:3882:45: xsane_show_doc_via_nsr(widget, (void *) path); ~~~~ xsane.c:3720:5: note: 'snprintf' output between 23 and 1046 bytes into a destination of size 255 snprintf(buf, sizeof(buf), "openFile(%s, new-window)", name); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane.c: In function 'xsane_init': xsane.c:2017:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1022 [-Wformat-truncation=] snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME); ^~ ~~~~~~~~ xsane.c:2017:7: note: 'snprintf' output between 9 and 1032 bytes into a destination of size 1022 snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, OUT_FILENAME); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane.c:2048:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1022 [-Wformat-truncation=] snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, FAXPROJECT); ^~ ~~~~~~~~ xsane.c:2048:7: note: 'snprintf' output between 12 and 1035 bytes into a destination of size 1022 snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, FAXPROJECT); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane.c:2130:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1022 [-Wformat-truncation=] snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, EMAILPROJECT); ^~ ~~~~~~~~ xsane.c:2130:7: note: 'snprintf' output between 14 and 1037 bytes into a destination of size 1022 snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, EMAILPROJECT); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane.c:2157:37: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 1022 [-Wformat-truncation=] snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, MULTIPAGEPROJECT); ^~ ~~~~~~~~ xsane.c:2157:7: note: 'snprintf' output between 18 and 1041 bytes into a destination of size 1022 snprintf(buf, sizeof(buf)-2, "%s%c%s", filename, SLASH, MULTIPAGEPROJECT); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'xsane_save_image_as': xsane-save.c:6198:39: warning: '%s' directive output may be truncated writing up to 1023 bytes into a region of size 253 [-Wformat-truncation=] xsane-save.c:6191:22: input_filename = temporary_filename; ~~~~~~~~~~~~~~~~~~ xsane-save.c:6198:39: snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); ^~ xsane-save.c:6198:7: note: 'snprintf' output 6 or more bytes (assuming 1029) into a destination of size 255 snprintf(buf, sizeof(buf), "%s `%s': %s", ERR_OPEN_FAILED, input_filename, strerror(errno)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ xsane-save.c: In function 'write_smtp_header': xsane-save.c:7780:3: warning: 'strncpy' specified bound 1024 equals destination size [-Wstringop-truncation] strncpy(to_line, to, sizeof(to_line)); /* it is not allowed to modify the "to" string, so we make a copy */ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cc -L/usr/local/lib -L/usr/local/lib -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 -L/usr/local/lib -lsane -L/usr/local/lib -lglib-2.0 -lgimpui-2.0 -lgimpwidgets-2.0 -lgimpmodule-2.0 -lgimp-2.0 -lgimpmath-2.0 -lgimpconfig-2.0 -lgimpcolor-2.0 -lgimpbase-2.0 -lgegl-0.4 -lgegl-npd-0.4 -lm -Wl,--export-dynamic -lgmodule-2.0 -pthread -lglib-2.0 -ljson-glib-1.0 -lbabl-0.1 -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lpthread -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lintl -lfontconfig -lfreetype -lpng -llcms -ltiff -ljpeg -lz -lm -L/usr/local/lib -lintl gmake[2]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/src' making all in po gmake[2]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/po' creating de.gmo creating ca.gmo creating fi.gmo creating cs.gmo creating da.gmo creating es.gmo creating fr.gmo creating hu.gmo creating ja.gmo creating pa.gmo creating pt.gmo creating pt_BR.gmo creating pl.gmo creating nl.gmo creating it.gmo creating ro.gmo creating ru.gmo creating sk.gmo creating sl.gmo creating sr.gmo creating sv.gmo creating vi.gmo creating tr.gmo creating zh.gmo creating zh_CN.gmo gmake[2]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/po' gmake[1]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e' SUCCEEDED 00:00:15 ------------------------------------------------------------------------------- -- Phase: run-depends ------------------------------------------------------------------------------- ===> xsane-0.999_6 depends on executable: scanimage - found SUCCEEDED 00:00:00 ------------------------------------------------------------------------------- -- Phase: stage ------------------------------------------------------------------------------- ===> Staging for xsane-0.999_6 ===> xsane-0.999_6 depends on executable: scanimage - found ===> Generating temporary packing list gmake[1]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e' for subdir in lib src po; do \ target=`echo install-recursive | sed s/-recursive//`; \ echo making $target in $subdir; \ (cd $subdir && gmake $target) \ || case "-w" in *k*) fail=yes;; *) exit 1;; esac; \ done && test -z "$fail" making install in lib gmake[2]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/lib' gmake[2]: Nothing to be done for 'install'. gmake[2]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/lib' making install in src gmake[2]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/src' ../mkinstalldirs /construction/graphics/xsane/stage/usr/local/bin /construction/graphics/xsane/stage/usr/local/share /construction/graphics/xsane/stage/usr/local/share/sane /construction/graphics/xsane/stage/usr/local/share/sane/xsane /construction/graphics/xsane/stage/usr/local/share/applications /construction/graphics/xsane/stage/usr/local/share/pixmaps mkdir /construction/graphics/xsane/stage/usr/local/share/sane mkdir /construction/graphics/xsane/stage/usr/local/share/sane/xsane install -m 0644 ./xsane-style.rc /construction/graphics/xsane/stage/usr/local/share/sane/xsane/xsane-style.rc install -m 0644 ./xsane-startimage.pnm /construction/graphics/xsane/stage/usr/local/share/sane/xsane/xsane-startimage.pnm install -m 0644 ./xsane-calibration.pnm /construction/graphics/xsane/stage/usr/local/share/sane/xsane/xsane-calibration.pnm install -m 0644 ./xsane-logo.xpm /construction/graphics/xsane/stage/usr/local/share/sane/xsane/xsane-logo.xpm install -m 0644 ./xsane-gpl.txt /construction/graphics/xsane/stage/usr/local/share/sane/xsane/xsane-gpl.txt install -m 0644 ./xsane-eula.txt /construction/graphics/xsane/stage/usr/local/share/sane/xsane/xsane-eula.txt install -m 0644 ./xsane.desktop /construction/graphics/xsane/stage/usr/local/share/applications/xsane.desktop install -m 0644 ./xsane.xpm /construction/graphics/xsane/stage/usr/local/share/pixmaps/xsane.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/Mustek-logo.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/Plustek-logo.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/UMAX-logo.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/sane-epson-logo.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/sane-hp-logo.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/sane-umax-logo.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/sane-xsane-logo.xpm installing /construction/graphics/xsane/stage/usr/local/share/sane/xsane/xsane-logo.xpm gmake[2]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/src' making install in po gmake[2]: Entering directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/po' ../mkinstalldirs /construction/graphics/xsane/stage/usr/local/share; installing ca.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/ca/LC_MESSAGES/xsane.mo installing cs.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/cs/LC_MESSAGES/xsane.mo installing da.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/da/LC_MESSAGES/xsane.mo installing de.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/de/LC_MESSAGES/xsane.mo installing es.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/es/LC_MESSAGES/xsane.mo installing fi.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/fi/LC_MESSAGES/xsane.mo installing fr.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/fr/LC_MESSAGES/xsane.mo installing hu.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/hu/LC_MESSAGES/xsane.mo installing it.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/it/LC_MESSAGES/xsane.mo installing ja.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/ja/LC_MESSAGES/xsane.mo installing nl.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/nl/LC_MESSAGES/xsane.mo installing pa.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/pa/LC_MESSAGES/xsane.mo installing pl.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/pl/LC_MESSAGES/xsane.mo installing pt.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/pt/LC_MESSAGES/xsane.mo installing pt_BR.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/pt_BR/LC_MESSAGES/xsane.mo installing ro.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/ro/LC_MESSAGES/xsane.mo installing ru.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/ru/LC_MESSAGES/xsane.mo installing sk.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/sk/LC_MESSAGES/xsane.mo installing sl.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/sl/LC_MESSAGES/xsane.mo installing sr.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/sr/LC_MESSAGES/xsane.mo installing sv.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/sv/LC_MESSAGES/xsane.mo installing vi.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/vi/LC_MESSAGES/xsane.mo installing tr.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/tr/LC_MESSAGES/xsane.mo installing zh.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/zh/LC_MESSAGES/xsane.mo installing zh_CN.gmo as /construction/graphics/xsane/stage/usr/local/share/locale/zh_CN/LC_MESSAGES/xsane.mo gmake[2]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/po' gmake[1]: Leaving directory '/construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e' install -m 444 /construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/doc/xsane.man /construction/graphics/xsane/stage/usr/local/man/man1/xsane.1 install -m 0644 /construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/doc/*.html /construction/graphics/xsane/xsane-d01b4089ce6778e76fa86a0410d4e80cf6eb819e-d01b4089ce6778e76fa86a0410d4e80cf6eb819e/doc/*.jpg /construction/graphics/xsane/stage/usr/local/share/doc/xsane ====> Compressing man pages (compress-man) ====> Running Q/A tests (stage-qa) Error: /usr/local/bin/xsane is linked to /usr/local/lib/libgegl-0.4.so.0 from graphics/gegl but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libgegl-0.4.so:graphics/gegl Error: /usr/local/bin/xsane is linked to /usr/local/lib/libgegl-npd-0.4.so from graphics/gegl but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libgegl-npd-0.4.so:graphics/gegl Error: /usr/local/bin/xsane is linked to /usr/local/lib/libjson-glib-1.0.so.0 from devel/json-glib but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libjson-glib-1.0.so:devel/json-glib Error: /usr/local/bin/xsane is linked to /usr/local/lib/libbabl-0.1.so.0 from x11/babl but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libbabl-0.1.so:x11/babl Error: /usr/local/bin/xsane is linked to /usr/local/lib/libcairo.so.2 from graphics/cairo but it is not declared as a dependency Warning: you need USE_GNOME+=cairo Error: /usr/local/bin/xsane is linked to /usr/local/lib/libfontconfig.so.1 from x11-fonts/fontconfig but it is not declared as a dependency Warning: you need LIB_DEPENDS+=libfontconfig.so:x11-fonts/fontconfig Warning: You have disabled the licenses framework with DISABLE_LICENSES, unable to run checks SUCCEEDED 00:00:04 ------------------------------------------------------------------------------- -- Phase: package ------------------------------------------------------------------------------- ===> Building package for xsane-0.999_6 file sizes/checksums [182]: 0% file sizes/checksums [182]: 54% file sizes/checksums [182]: 100% packing files [182]: 0% packing files [182]: 54% packing files [182]: 100% packing directories [0]: 0% packing directories [0]: 100% SUCCEEDED 00:00:06 TOTAL TIME 00:02:13