Input buildinfo: https://buildinfos.debian.net/buildinfo-pool/m/mtpaint/mtpaint_3.40-3.1+b1_amd64.buildinfo Use metasnap for getting required timestamps New buildinfo file: /tmp/mtpaint-3.40-3.1+b1v787vnfy/mtpaint_3.40-3.1+b1_amd64.buildinfo Get source package info: mtpaint=3.40-3.1 Source URL: http://snapshot.notset.fr/mr/package/mtpaint/3.40-3.1/srcfiles?fileinfo=1 env -i PATH=/usr/sbin:/usr/bin:/sbin:/bin TMPDIR=/tmp mmdebstrap --arch=amd64 --include=adwaita-icon-theme=3.38.0-1 autoconf=2.69-14 automake=1:1.16.4-1 autopoint=0.21-4 autotools-dev=20180224.1+nmu1 base-files=11.1 base-passwd=3.5.51 bash=5.1-3+b1 binutils=2.35.2-2 binutils-common=2.35.2-2 binutils-x86-64-linux-gnu=2.35.2-2 bsdextrautils=2.36.1-8 bsdutils=1:2.36.1-8 build-essential=12.9 bzip2=1.0.8-4 coreutils=8.32-4+b1 cpp=4:10.2.1-1 cpp-10=10.2.1-6 dash=0.5.11+git20210120+802ebd4-1 debconf=1.5.77 debhelper=13.3.4 debianutils=4.11.2 dh-autoreconf=20 dh-strip-nondeterminism=1.12.0-1 diffutils=1:3.7-5 dpkg=1.20.9 dpkg-dev=1.20.9 dwz=0.14-1 file=1:5.39-3 findutils=4.8.0-1 fontconfig=2.13.1-4.2 fontconfig-config=2.13.1-4.2 fonts-dejavu-core=2.37-2 g++=4:10.2.1-1 g++-10=10.2.1-6 gcc=4:10.2.1-1 gcc-10=10.2.1-6 gcc-10-base=10.2.1-6 gettext=0.21-4 gettext-base=0.21-4 gir1.2-atk-1.0=2.36.0-2 gir1.2-freedesktop=1.66.1-1+b1 gir1.2-gdkpixbuf-2.0=2.42.6+dfsg-2 gir1.2-glib-2.0=1.66.1-1+b1 gir1.2-gtk-2.0=2.24.33-2 gir1.2-harfbuzz-0.0=2.7.4-1 gir1.2-pango-1.0=1.46.2-3 grep=3.6-1 groff-base=1.22.4-6 gtk-update-icon-cache=3.24.30-1 gzip=1.10-4 hicolor-icon-theme=0.17-2 hostname=3.23 icu-devtools=67.1-7 init-system-helpers=1.60 intltool-debian=0.35.0+20060710.5 libacl1=2.2.53-10 libarchive-zip-perl=1.68-1 libasan6=10.2.1-6 libatk1.0-0=2.36.0-2 libatk1.0-data=2.36.0-2 libatk1.0-dev=2.36.0-2 libatomic1=10.2.1-6 libattr1=1:2.4.48-6 libaudit-common=1:3.0-2 libaudit1=1:3.0-2 libavahi-client3=0.8-5 libavahi-common-data=0.8-5 libavahi-common3=0.8-5 libbinutils=2.35.2-2 libblkid-dev=2.36.1-8 libblkid1=2.36.1-8 libbrotli-dev=1.0.9-2+b2 libbrotli1=1.0.9-2+b2 libbsd0=0.11.3-1 libbz2-1.0=1.0.8-4 libc-bin=2.31-13 libc-dev-bin=2.31-13 libc6=2.31-13 libc6-dev=2.31-13 libcairo-gobject2=1.16.0-5 libcairo-script-interpreter2=1.16.0-5 libcairo2=1.16.0-5 libcairo2-dev=1.16.0-5 libcap-ng0=0.7.9-2.2+b1 libcc1-0=10.2.1-6 libcom-err2=1.46.2-2 libcrypt-dev=1:4.4.18-5 libcrypt1=1:4.4.18-5 libctf-nobfd0=2.35.2-2 libctf0=2.35.2-2 libcups2=2.3.3op2-3+deb11u1 libdatrie-dev=0.2.13-1 libdatrie1=0.2.13-1 libdb5.3=5.3.28+dfsg1-0.8 libdbus-1-3=1.12.20-2 libdebconfclient0=0.260 libdebhelper-perl=13.3.4 libdeflate-dev=1.7-1 libdeflate0=1.7-1 libdpkg-perl=1.20.9 libelf1=0.185-2 libexpat1=2.2.10-2 libexpat1-dev=2.2.10-2 libffi-dev=3.3-6 libffi7=3.3-6 libfile-stripnondeterminism-perl=1.12.0-1 libfontconfig-dev=2.13.1-4.2 libfontconfig1=2.13.1-4.2 libfontconfig1-dev=2.13.1-4.2 libfreetype-dev=2.10.4+dfsg-1 libfreetype6=2.10.4+dfsg-1 libfreetype6-dev=2.10.4+dfsg-1 libfribidi-dev=1.0.8-2 libfribidi0=1.0.8-2 libgcc-10-dev=10.2.1-6 libgcc-s1=10.2.1-6 libgcrypt20=1.8.7-6 libgdbm-compat4=1.19-2 libgdbm6=1.19-2 libgdk-pixbuf-2.0-0=2.42.6+dfsg-2 libgdk-pixbuf-2.0-dev=2.42.6+dfsg-2 libgdk-pixbuf2.0-bin=2.42.6+dfsg-2 libgdk-pixbuf2.0-common=2.42.6+dfsg-2 libgif-dev=5.1.9-2 libgif7=5.1.9-2 libgirepository-1.0-1=1.66.1-1+b1 libglib2.0-0=2.68.3-2 libglib2.0-bin=2.68.3-2 libglib2.0-data=2.68.3-2 libglib2.0-dev=2.68.3-2 libglib2.0-dev-bin=2.68.3-2 libgmp10=2:6.2.1+dfsg-1 libgnutls30=3.7.1-5 libgomp1=10.2.1-6 libgpg-error0=1.38-2 libgraphite2-3=1.3.14-1 libgraphite2-dev=1.3.14-1 libgssapi-krb5-2=1.18.3-6 libgtk2.0-0=2.24.33-2 libgtk2.0-common=2.24.33-2 libgtk2.0-dev=2.24.33-2 libharfbuzz-dev=2.7.4-1 libharfbuzz-gobject0=2.7.4-1 libharfbuzz-icu0=2.7.4-1 libharfbuzz0b=2.7.4-1 libhogweed6=3.7.3-1 libice-dev=2:1.0.10-1 libice6=2:1.0.10-1 libicu-dev=67.1-7 libicu67=67.1-7 libidn2-0=2.3.0-5 libisl23=0.23-1 libitm1=10.2.1-6 libjbig-dev=2.1-3.1+b2 libjbig0=2.1-3.1+b2 libjpeg-dev=1:2.0.6-4 libjpeg62-turbo=1:2.0.6-4 libjpeg62-turbo-dev=1:2.0.6-4 libk5crypto3=1.18.3-6 libkeyutils1=1.6.1-2 libkrb5-3=1.18.3-6 libkrb5support0=1.18.3-6 liblsan0=10.2.1-6 liblz4-1=1.9.3-2 liblzma-dev=5.2.5-2 liblzma5=5.2.5-2 liblzo2-2=2.10-2 libmagic-mgc=1:5.39-3 libmagic1=1:5.39-3 libmd0=1.0.3-3 libmount-dev=2.36.1-8 libmount1=2.36.1-8 libmpc3=1.2.0-1 libmpdec3=2.5.1-2 libmpfr6=4.1.0-3 libncursesw6=6.2+20201114-2 libnettle8=3.7.3-1 libnsl-dev=1.3.0-2 libnsl2=1.3.0-2 libp11-kit0=0.23.22-1 libpam-modules=1.4.0-9 libpam-modules-bin=1.4.0-9 libpam-runtime=1.4.0-9 libpam0g=1.4.0-9 libpango-1.0-0=1.46.2-3 libpango1.0-dev=1.46.2-3 libpangocairo-1.0-0=1.46.2-3 libpangoft2-1.0-0=1.46.2-3 libpangoxft-1.0-0=1.46.2-3 libpcre16-3=2:8.39-13 libpcre2-16-0=10.36-2 libpcre2-32-0=10.36-2 libpcre2-8-0=10.36-2 libpcre2-dev=10.36-2 libpcre2-posix2=10.36-2 libpcre3=2:8.39-13 libpcre3-dev=2:8.39-13 libpcre32-3=2:8.39-13 libpcrecpp0v5=2:8.39-13 libperl5.32=5.32.1-5 libpipeline1=1.5.3-1 libpixman-1-0=0.40.0-1 libpixman-1-dev=0.40.0-1 libpng-dev=1.6.37-3 libpng16-16=1.6.37-3 libpthread-stubs0-dev=0.4-1 libpython3-stdlib=3.9.2-3 libpython3.9-minimal=3.9.2-1 libpython3.9-stdlib=3.9.2-1 libquadmath0=10.2.1-6 libreadline8=8.1-2 libseccomp2=2.5.1-1 libselinux1=3.1-3 libselinux1-dev=3.1-3 libsepol1=3.1-1 libsepol1-dev=3.1-1 libsigsegv2=2.13-1 libsm-dev=2:1.2.3-1 libsm6=2:1.2.3-1 libsmartcols1=2.36.1-8 libsqlite3-0=3.34.1-3 libssl1.1=1.1.1k-1 libstdc++-10-dev=10.2.1-6 libstdc++6=10.2.1-6 libsub-override-perl=0.09-2 libsystemd0=247.3-6 libtasn1-6=4.16.0-2 libthai-data=0.1.28-4 libthai-dev=0.1.28-4 libthai0=0.1.28-4 libtiff-dev=4.2.0-1 libtiff5=4.2.0-1 libtiffxx5=4.2.0-1 libtinfo6=6.2+20201114-2 libtirpc-common=1.3.1-1 libtirpc-dev=1.3.1-1 libtirpc3=1.3.1-1 libtool=2.4.6-15 libtsan0=10.2.1-6 libubsan1=10.2.1-6 libuchardet0=0.0.7-1 libudev1=247.3-6 libunistring2=0.9.10-4 libuuid1=2.36.1-8 libwebp6=0.6.1-2.1 libx11-6=2:1.7.2-1 libx11-data=2:1.7.2-1 libx11-dev=2:1.7.2-1 libxau-dev=1:1.0.9-1 libxau6=1:1.0.9-1 libxcb-render0=1.14-3 libxcb-render0-dev=1.14-3 libxcb-shm0=1.14-3 libxcb-shm0-dev=1.14-3 libxcb1=1.14-3 libxcb1-dev=1.14-3 libxcomposite-dev=1:0.4.5-1 libxcomposite1=1:0.4.5-1 libxcursor-dev=1:1.2.0-2 libxcursor1=1:1.2.0-2 libxdamage-dev=1:1.1.5-2 libxdamage1=1:1.1.5-2 libxdmcp-dev=1:1.1.2-3 libxdmcp6=1:1.1.2-3 libxext-dev=2:1.3.3-1.1 libxext6=2:1.3.3-1.1 libxfixes-dev=1:5.0.3-2 libxfixes3=1:5.0.3-2 libxft-dev=2.3.2-2 libxft2=2.3.2-2 libxi-dev=2:1.7.10-1 libxi6=2:1.7.10-1 libxinerama-dev=2:1.1.4-2 libxinerama1=2:1.1.4-2 libxml2=2.9.10+dfsg-6.7 libxml2-utils=2.9.10+dfsg-6.7 libxrandr-dev=2:1.5.1-1 libxrandr2=2:1.5.1-1 libxrender-dev=1:0.9.10-1 libxrender1=1:0.9.10-1 libzstd1=1.4.8+dfsg-2.1 linux-libc-dev=5.10.46-4 login=1:4.8.1-1 lsb-base=11.1.0 m4=1.4.18-5 make=4.3-4.1 man-db=2.9.4-2 mawk=1.3.4.20200120-2 media-types=4.0.0 ncurses-base=6.2+20201114-2 ncurses-bin=6.2+20201114-2 pango1.0-tools=1.46.2-3 patch=2.7.6-7 perl=5.32.1-5 perl-base=5.32.1-5 perl-modules-5.32=5.32.1-5 pkg-config=0.29.2-1 po-debconf=1.0.21+nmu1 python3=3.9.2-3 python3-distutils=3.9.2-1 python3-lib2to3=3.9.2-1 python3-minimal=3.9.2-3 python3.9=3.9.2-1 python3.9-minimal=3.9.2-1 readline-common=8.1-2 sed=4.7-1 sensible-utils=0.0.14 shared-mime-info=2.0-1 sysvinit-utils=2.96-7 tar=1.34+dfsg-1 tzdata=2021a-1 ucf=3.0043 util-linux=2.36.1-8 uuid-dev=2.36.1-8 x11-common=1:7.7+22 x11proto-dev=2020.1-1 x11proto-input-dev=2020.1-1 x11proto-randr-dev=2020.1-1 x11proto-xext-dev=2020.1-1 x11proto-xinerama-dev=2020.1-1 xorg-sgml-doctools=1:1.11-1.1 xtrans-dev=1.4.0-1 xz-utils=5.2.5-2 zlib1g=1:1.2.11.dfsg-2 zlib1g-dev=1:1.2.11.dfsg-2 --variant=apt --aptopt=Acquire::Check-Valid-Until "false" --aptopt=Acquire::http::Dl-Limit "1000"; --aptopt=Acquire::https::Dl-Limit "1000"; --aptopt=Acquire::Retries "5"; --aptopt=APT::Get::allow-downgrades "true"; --keyring=/usr/share/keyrings/ --essential-hook=chroot "$1" sh -c "apt-get --yes install fakeroot util-linux" --essential-hook=copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ --essential-hook=chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210820T090154Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210815T204244Z/ unstable main' >> /etc/apt/sources.list && apt-get update" --customize-hook=chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash --customize-hook=chroot "$1" env sh -c "apt-get source --only-source -d mtpaint=3.40-3.1 && mkdir -p /build/mtpaint-AYDMcS && dpkg-source --no-check -x /*.dsc /build/mtpaint-AYDMcS/mtpaint-3.40 && cd /build/mtpaint-AYDMcS/mtpaint-3.40 && { printf '%s' 'mtpaint (3.40-3.1+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild to drop dependency on libgdk-puxbif2.0-0 -- all / amd64 / i386 Build Daemon (x86-conova-01) Mon, 16 Aug 2021 16:12:54 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mtpaint-AYDMcS" --customize-hook=chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mtpaint-AYDMcS/mtpaint-3.40 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1629130374" dpkg-buildpackage -uc -a amd64 --build=any" --customize-hook=sync-out /build/mtpaint-AYDMcS /tmp/mtpaint-3.40-3.1+b1v787vnfy bullseye /dev/null deb http://snapshot.notset.fr/archive/debian/20210815T204244Z unstable main I: automatically chosen mode: root I: chroot architecture amd64 is equal to the host's architecture I: automatically chosen format: tar I: using /tmp/mmdebstrap.reNqQhcrZz as tempdir I: running apt-get update... I: downloading packages with apt... I: extracting archives... I: installing essential packages... I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "apt-get --yes install fakeroot util-linux"' exec /tmp/mmdebstrap.reNqQhcrZz Reading package lists... Building dependency tree... util-linux is already the newest version (2.36.1-8). The following NEW packages will be installed: fakeroot libfakeroot 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded. Need to get 134 kB of archives. After this operation, 397 kB of additional disk space will be used. Get:1 http://snapshot.notset.fr/archive/debian/20210815T204244Z unstable/main amd64 libfakeroot amd64 1.25.3-1.1 [47.0 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210815T204244Z unstable/main amd64 fakeroot amd64 1.25.3-1.1 [87.0 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 134 kB in 0s (1031 kB/s) Selecting previously unselected package libfakeroot:amd64. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 4668 files and directories currently installed.) Preparing to unpack .../libfakeroot_1.25.3-1.1_amd64.deb ... Unpacking libfakeroot:amd64 (1.25.3-1.1) ... Selecting previously unselected package fakeroot. Preparing to unpack .../fakeroot_1.25.3-1.1_amd64.deb ... Unpacking fakeroot (1.25.3-1.1) ... Setting up libfakeroot:amd64 (1.25.3-1.1) ... Setting up fakeroot (1.25.3-1.1) ... update-alternatives: using /usr/bin/fakeroot-sysv to provide /usr/bin/fakeroot (fakeroot) in auto mode Processing triggers for libc-bin (2.31-13) ... I: running special hook: copy-in /usr/share/keyrings/debian-archive-bullseye-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-security-automatic.gpg /usr/share/keyrings/debian-archive-bullseye-stable.gpg /usr/share/keyrings/debian-archive-buster-automatic.gpg /usr/share/keyrings/debian-archive-buster-security-automatic.gpg /usr/share/keyrings/debian-archive-buster-stable.gpg /usr/share/keyrings/debian-archive-keyring.gpg /usr/share/keyrings/debian-archive-removed-keys.gpg /usr/share/keyrings/debian-archive-stretch-automatic.gpg /usr/share/keyrings/debian-archive-stretch-security-automatic.gpg /usr/share/keyrings/debian-archive-stretch-stable.gpg /usr/share/keyrings/debian-ports-archive-keyring-removed.gpg /usr/share/keyrings/debian-ports-archive-keyring.gpg /usr/share/keyrings/debian-keyring.gpg /etc/apt/trusted.gpg.d/ I: running --essential-hook in shell: sh -c 'chroot "$1" sh -c "rm /etc/apt/sources.list && echo 'deb http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb-src http://snapshot.notset.fr/archive/debian/20210814T212851Z/ bookworm main deb http://snapshot.notset.fr/archive/debian/20210820T090154Z/ unstable main deb http://snapshot.notset.fr/archive/debian/20210815T204244Z/ unstable main' >> /etc/apt/sources.list && apt-get update"' exec /tmp/mmdebstrap.reNqQhcrZz Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm InRelease [81.6 kB] Get:2 http://snapshot.notset.fr/archive/debian/20210820T090154Z unstable InRelease [165 kB] Hit:3 http://snapshot.notset.fr/archive/debian/20210815T204244Z unstable InRelease Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Ign:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources Ign:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages Get:4 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main Sources [11.4 MB] Get:5 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main amd64 Packages [11.1 MB] Ign:6 http://snapshot.notset.fr/archive/debian/20210820T090154Z unstable/main amd64 Packages Err:6 http://snapshot.notset.fr/archive/debian/20210820T090154Z unstable/main amd64 Packages 404 Not Found [IP: 10.13.0.253 80] Ign:6 http://snapshot.notset.fr/archive/debian/20210820T090154Z unstable/main amd64 Packages Get:6 http://snapshot.notset.fr/archive/debian/20210820T090154Z unstable/main amd64 Packages [11.8 MB] Fetched 34.6 MB in 28s (1224 kB/s) Reading package lists... I: installing remaining packages inside the chroot... I: running --customize-hook in shell: sh -c 'chroot "$1" useradd --no-create-home -d /nonexistent -p "" builduser -s /bin/bash' exec /tmp/mmdebstrap.reNqQhcrZz I: running --customize-hook in shell: sh -c 'chroot "$1" env sh -c "apt-get source --only-source -d mtpaint=3.40-3.1 && mkdir -p /build/mtpaint-AYDMcS && dpkg-source --no-check -x /*.dsc /build/mtpaint-AYDMcS/mtpaint-3.40 && cd /build/mtpaint-AYDMcS/mtpaint-3.40 && { printf '%s' 'mtpaint (3.40-3.1+b1) sid; urgency=low, binary-only=yes * Binary-only non-maintainer upload for amd64; no source changes. * Rebuild to drop dependency on libgdk-puxbif2.0-0 -- all / amd64 / i386 Build Daemon (x86-conova-01) Mon, 16 Aug 2021 16:12:54 +0000 '; cat debian/changelog; } > debian/changelog.debrebuild && mv debian/changelog.debrebuild debian/changelog && chown -R builduser:builduser /build/mtpaint-AYDMcS"' exec /tmp/mmdebstrap.reNqQhcrZz Reading package lists... Need to get 1113 kB of source archives. Get:1 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mtpaint 3.40-3.1 (dsc) [1808 B] Get:2 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mtpaint 3.40-3.1 (tar) [925 kB] Get:3 http://snapshot.notset.fr/archive/debian/20210814T212851Z bookworm/main mtpaint 3.40-3.1 (diff) [186 kB] Fetched 1113 kB in 1s (1174 kB/s) Download complete and in download only mode W: Download is performed unsandboxed as root as file 'mtpaint_3.40-3.1.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) dpkg-source: info: extracting mtpaint in /build/mtpaint-AYDMcS/mtpaint-3.40 dpkg-source: info: unpacking mtpaint_3.40.orig.tar.gz dpkg-source: info: unpacking mtpaint_3.40-3.1.debian.tar.xz dpkg-source: info: using patch list from debian/patches/series dpkg-source: info: applying 01_change_configure.patch dpkg-source: info: applying 02_src_Makefile.patch dpkg-source: info: applying 03_po_Makefile.patch dpkg-source: info: applying giflib5.diff dpkg-source: info: applying spawn.diff I: running --customize-hook in shell: sh -c 'chroot "$1" env --unset=TMPDIR runuser builduser -c "cd /build/mtpaint-AYDMcS/mtpaint-3.40 && env DEB_BUILD_OPTIONS="parallel=4" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1629130374" dpkg-buildpackage -uc -a amd64 --build=any"' exec /tmp/mmdebstrap.reNqQhcrZz dpkg-buildpackage: info: source package mtpaint dpkg-buildpackage: info: source version 3.40-3.1+b1 dpkg-buildpackage: info: source distribution sid dpkg-buildpackage: info: source changed by all / amd64 / i386 Build Daemon (x86-conova-01) dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_clean make[1]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40' touch doc/mtpaint.1.gz touch po/cs.mo touch _conf.txt rm -f src/a.out [ ! -f Makefile ] || /usr/bin/make clean make[2]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40' for dir in ; do /usr/bin/make -C $dir clean; done make[2]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40' rm -f config.sub config.guess _conf.txt rm -rf /build/mtpaint-AYDMcS/mtpaint-3.40/src/graphics/ make[1]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40' dh_clean dh_clean: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules build-arch dh build-arch dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_update_autotools_config -a debian/rules override_dh_auto_configure make[1]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40' ./configure gtk2 cflags GIF jpeg tiff intl man --prefix=/usr \ --bindir=/usr/bin --mandir=/usr/share/man ./configure: 1: freetype-config: not found ./configure: 1: freetype-config: not found --------------------- mtPaint Configuration --------------------- ------- General ------- Version 3.40 System GNU/Linux Toolkit GTK+2 File Picker mtpaint Colour Picker mtpaint Animation Package Gifsicle Use FreeType YES Use CMS NO Icon set icons1 Internationalized YES Multithreaded YES -------- Compiler -------- Optimizations CFLAGS CFLAGS -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon LDFLAGS -s -Wl,-z,relro -Wl,-z,now Static libraries NONE ---------- File Types ---------- Use GIF GIF Use JPEG YES Use JPEG 2000 NO Use TIFF YES ------------ Installation ------------ Binary install /usr/bin Locale install /usr/share/locale Locale program /usr/share/locale Install man page YES Man page install /usr/share/man make[1]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40' dh_auto_build -a dh_auto_build: warning: Compatibility levels before 10 are deprecated (level 9 in use) make -j1 make[1]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40' make -C src make[2]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40/src' /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=main -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o main.o main.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from main.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from main.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from main.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from main.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ main.c: In function ‘main’: main.c:288:2: warning: ‘g_thread_init’ is deprecated [-Wdeprecated-declarations] 288 | g_thread_init(NULL); | ^~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from main.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:261:10: note: declared here 261 | void g_thread_init (gpointer vtable); | ^~~~~~~~~~~~~ main.c:362:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 362 | if (strcmp(argv[i], "-w")) continue; j++; | ^~ main.c:362:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 362 | if (strcmp(argv[i], "-w")) continue; j++; | ^ main.c:363:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 363 | if (++i >= argc) break; j++; | ^~ main.c:363:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 363 | if (++i >= argc) break; j++; | ^ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=mainwindow -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o mainwindow.o mainwindow.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from mainwindow.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mainwindow.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from mainwindow.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mainwindow.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ mainwindow.c: In function ‘clipboard_export_fn’: mainwindow.c:432:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 432 | int res, len, type = (int)user_data; | ^ mainwindow.c: In function ‘draw_tgrid’: mainwindow.c:2767:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2767 | if (nx < 0) nx = 0; nx++; dx++; | ^~ mainwindow.c:2767:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2767 | if (nx < 0) nx = 0; nx++; dx++; | ^~ mainwindow.c:2770:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2770 | if (ny < 0) ny = 0; ny++; dy++; | ^~ mainwindow.c:2770:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2770 | if (ny < 0) ny = 0; ny++; dy++; | ^~ mainwindow.c: In function ‘draw_poly’: mainwindow.c:2932:3: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 2932 | if (dx < dy) dx = dy; shift += dx; | ^~ mainwindow.c:2932:25: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 2932 | if (dx < dy) dx = dy; shift += dx; | ^~~~~ mainwindow.c: In function ‘save_clip’: mainwindow.c:598:31: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 598 | snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item); | ^ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mainwindow.c:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 2059 bytes into a destination of size 2048 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.c: In function ‘load_clip’: mainwindow.c:571:32: warning: ‘__builtin___snprintf_chk’ output may be truncated before the last format character [-Wformat-truncation=] 571 | snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item); | ^ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mainwindow.c:22: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output between 2 and 2059 bytes into a destination of size 2048 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mainwindow.c: In function ‘repaint_canvas’: mainwindow.c:3029:6: warning: ‘*((void *)&rect+12)’ may be used uninitialized in this function [-Wmaybe-uninitialized] 3029 | int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; | ^~~~ mainwindow.c:3029:6: warning: ‘*((void *)&rect+8)’ may be used uninitialized in this function [-Wmaybe-uninitialized] mainwindow.c:2769:10: warning: ‘*((void *)&rect+4)’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2769 | ny = (y * zoom - dy) / (tgrid_dy * scale); | ~~^~~~~~ mainwindow.c:3029:6: note: ‘*((void *)&rect+4)’ was declared here 3029 | int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; | ^~~~ mainwindow.c:2766:10: warning: ‘rect’ may be used uninitialized in this function [-Wmaybe-uninitialized] 2766 | nx = (x * zoom - dx) / (tgrid_dx * scale); | ~~^~~~~~ mainwindow.c:3029:6: note: ‘rect’ was declared here 3029 | int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; | ^~~~ In file included from /usr/include/string.h:495, from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mainwindow.c:22: In function ‘strncpy’, inlined from ‘main_init’ at mainwindow.c:5183:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=inifile -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o inifile.o inifile.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from inifile.c:34: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from inifile.c:34: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from inifile.c:34: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from inifile.c:34: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ inifile.c: In function ‘write_ini’: inifile.c:543:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 543 | if (defv && ((int)slotp->value == slotp->defv)) break; | ^ inifile.c:544:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 544 | fprintf(fp, "%s = %d\n", name, (int)slotp->value); | ^ inifile.c: In function ‘ini_setint’: inifile.c:590:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 590 | slot->value = (char *)value; | ^ inifile.c: In function ‘ini_setbool’: inifile.c:599:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 599 | slot->value = (char *)!!value; | ^ inifile.c: In function ‘ini_getint’: inifile.c:672:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 672 | if (slot->flags & INI_DEFAULT) return ((int)(slot->value)); | ^ inifile.c:693:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 693 | slot->value = (char *)defv; | ^ inifile.c:697:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 697 | return ((int)(slot->value)); | ^ inifile.c: In function ‘ini_getbool’: inifile.c:718:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 718 | if (slot->flags & INI_DEFAULT) return ((int)(slot->value)); | ^ inifile.c:731:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 731 | slot->value = (char *)(i & 1); | ^ inifile.c:739:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 739 | slot->value = (char *)defv; | ^ inifile.c:743:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 743 | return ((int)(slot->value)); | ^ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=png -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o png.o png.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from png.c:62: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from png.c:62: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from png.c:62: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from png.c:62: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ png.c: In function ‘save_pixmap’: png.c:5994:3: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] 5994 | *(Pixmap *)(void *)&mf->buf = GDK_WINDOW_XWINDOW(exported[0]); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ png.c: In function ‘load_xpm’: png.c:3737:9: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3737 | j = 0; fscanf(fp, " /* XPM */%n", &j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c: In function ‘load_txtpal’: png.c:6192:4: warning: ignoring return value of ‘fscanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 6192 | fscanf(fp, "%i,%i,%i\n", rgb + 0, rgb + 1, rgb + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from png.c:62: In function ‘strncpy’, inlined from ‘save_png’ at png.c:978:3, inlined from ‘save_image_x’ at png.c:6262:21: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 5 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=memory -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o memory.o memory.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from memory.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from memory.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from memory.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from memory.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ memory.c: In function ‘tile_row_compare’: memory.c:1063:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1063 | (((int)src & amask) == ((int)dest & amask))) | ^ memory.c:1063:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1063 | (((int)src & amask) == ((int)dest & amask))) | ^ memory.c:1070:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1070 | d0 = (((int)src ^ amask) + 1) & amask; | ^ memory.c:1071:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1071 | d1 = (int)(src + l) & amask; | ^ memory.c: In function ‘shapeburst’: memory.c:4009:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 4009 | if (*r0) *r0 = 1; r0 += dx; | ^~ memory.c:4009:22: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 4009 | if (*r0) *r0 = 1; r0 += dx; | ^~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=canvas -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o canvas.o canvas.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from canvas.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from canvas.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from canvas.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from canvas.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ canvas.c: In function ‘do_fx’: canvas.c:414:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 414 | do_effect((int)fdata, i); | ^ canvas.c: In function ‘do_a_load’: canvas.c:1461:20: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1461 | FS_XTYPE_KEY, (gpointer)ftype); | ^ canvas.c: In function ‘change_image_format’: canvas.c:1540:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1540 | ftype = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); | ^ canvas.c: In function ‘image_widgets’: canvas.c:1622:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1622 | gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); | ^ canvas.c: In function ‘ftype_widgets’: canvas.c:1660:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1660 | gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); | ^ canvas.c: In function ‘ls_settings_box’: canvas.c:1698:44: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1698 | gtk_object_set_user_data(GTK_OBJECT(box), (gpointer)mode); | ^ canvas.c:1715:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1715 | ftype = (int)gtk_object_get_data(GTK_OBJECT(fs), FS_XTYPE_KEY); | ^ canvas.c: In function ‘selected_file_type’: canvas.c:1741:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1741 | return ((int)gtk_object_get_user_data(GTK_OBJECT(opt))); | ^ canvas.c: In function ‘init_ls_settings’: canvas.c:1764:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1764 | xmode = (int)gtk_object_get_user_data(GTK_OBJECT(box)); | ^ canvas.c: In function ‘fs_ok’: canvas.c:1974:9: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1974 | res = (int)gtk_object_get_data(GTK_OBJECT(fs), FS_XTYPE_KEY); | ^ In file included from /usr/include/string.h:495, from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from canvas.c:22: In function ‘strncpy’, inlined from ‘fs_setup’ at canvas.c:2052:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=otherwindow -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o otherwindow.o otherwindow.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from otherwindow.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from otherwindow.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from otherwindow.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from otherwindow.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ otherwindow.c: In function ‘expose_pat’: otherwindow.c:417:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 417 | int w = (int)user_data; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c: In function ‘choose_pattern’: otherwindow.c:458:32: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 458 | GTK_SIGNAL_FUNC(expose_pat), (gpointer)w); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c: In function ‘brcosa_spinslide_moved’: otherwindow.c:735:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 735 | brcosa_values[(int)user_data] = ADJ2INT(adj); | ^ otherwindow.c: In function ‘brcosa_posterize_changed’: otherwindow.c:846:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 846 | posterize_mode = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); | ^ otherwindow.c: In function ‘pressed_brcosa’: otherwindow.c:908:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 908 | GTK_SIGNAL_FUNC(brcosa_spinslide_moved), (gpointer)i); | ^ otherwindow.c: In function ‘sisca_moved’: otherwindow.c:1046:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1046 | int w, h, nw, idx = (int)user_data; | ^ otherwindow.c: In function ‘color_expose’: otherwindow.c:1318:49: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1318 | unsigned char *rgb, *lc = ctable_[CHN_IMAGE] + (int)user_data * 3; | ^ otherwindow.c: In function ‘color_set’: otherwindow.c:1350:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1350 | idx = (int)gtk_object_get_user_data(GTK_OBJECT(widget)); | ^ otherwindow.c: In function ‘color_select’: otherwindow.c:1366:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1366 | int rgb, idx = (int)gtk_object_get_user_data(GTK_OBJECT(widget)); | ^ otherwindow.c: In function ‘colour_window’: otherwindow.c:1420:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1420 | gtk_object_set_user_data(GTK_OBJECT(l_item), (gpointer)i); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c:1422:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1422 | "button_press_event", lhook, (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c:1434:35: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1434 | GTK_SIGNAL_FUNC(color_expose), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c: In function ‘click_colour’: otherwindow.c:1586:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1586 | (int)user_data); | ^ otherwindow.c:1591:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1591 | (int)user_data); | ^ otherwindow.c: In function ‘AB_spin_moved’: otherwindow.c:1798:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1798 | ctable_[(int)user_data][allcol_idx] = ADJ2INT(adj); | ^ otherwindow.c: In function ‘csel_mode_changed’: otherwindow.c:1880:25: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1880 | if (csel_data->mode == (int)user_data) return; | ^ otherwindow.c:1881:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1881 | csel_data->mode = (int)user_data; | ^ otherwindow.c: In function ‘colour_selector’: otherwindow.c:2068:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2068 | GTK_SIGNAL_FUNC(AB_spin_moved), (gpointer)i); | ^ otherwindow.c: In function ‘click_quantize_radio’: otherwindow.c:2208:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2208 | int c0 = 1, c1 = 256, n = (int)data; | ^ otherwindow.c: In function ‘choose_selective’: otherwindow.c:2340:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2340 | int i = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); | ^ otherwindow.c: In function ‘pressed_quantize’: otherwindow.c:2474:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2474 | click_quantize_radio(NULL, (gpointer)quantize_mode); // Update widgets | ^ otherwindow.c: In function ‘palette_pad_draw’: otherwindow.c:2523:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2523 | rgb = render_color_grid(w, h, cellsize, (int)user_data); | ^ otherwindow.c: In function ‘palette_pad_click’: otherwindow.c:2566:39: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2566 | palette_pad_select(y * PPAD_XSZ + x, (int)user_data); | ^ otherwindow.c: In function ‘palette_pad_key’: otherwindow.c:2581:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2581 | palette_pad_select(y, (int)user_data); | ^ otherwindow.c: In function ‘grad_edit_scroll’: otherwindow.c:2704:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2704 | int dir = (int)user_data; | ^ otherwindow.c: In function ‘grad_edit_slot’: otherwindow.c:2715:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2715 | grad_load_slot((int)user_data + grad_ofs); | ^ otherwindow.c: In function ‘grad_draw_slot’: otherwindow.c:2722:13: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2722 | int i, n = (int)idx + grad_ofs, mode = n >= grad_cnt ? -2 : grad_mode; | ^ otherwindow.c: In function ‘grad_edit’: otherwindow.c:2773:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2773 | int i, idx, opac = (int)user_data != 0; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c:2808:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2808 | (gpointer)(opac ? -1 : grad_channel)); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c:2810:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2810 | GTK_SIGNAL_FUNC(palette_pad_click), (gpointer)!grad_mode); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c:2812:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2812 | GTK_SIGNAL_FUNC(palette_pad_key), (gpointer)!grad_mode); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c:2859:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2859 | GTK_SIGNAL_FUNC(grad_edit_slot), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c:2864:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2864 | GTK_SIGNAL_FUNC(grad_draw_slot), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c: In function ‘grad_reset_menu’: otherwindow.c:2911:7: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2911 | i = (int)gtk_object_get_user_data(GTK_OBJECT(items->data)); | ^ otherwindow.c: In function ‘grad_channel_changed’: otherwindow.c:2985:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2985 | if ((int)user_data == grad_channel) return; | ^ otherwindow.c:2989:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2989 | show_channel_gradient((int)user_data); | ^ otherwindow.c:2990:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 2990 | grad_channel = (int)user_data; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from otherwindow.c:22: otherwindow.c: In function ‘grad_selector_box’: otherwindow.c:3005:31: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 3005 | GTK_SIGNAL_FUNC(grad_edit), (gpointer)op); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ otherwindow.c: In function ‘seg_mode_toggled’: otherwindow.c:3379:28: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3379 | if (sw->vars[(int)*cp] == (int)idx) return; | ^ otherwindow.c:3381:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 3381 | sw->vars[(int)*cp] = (int)idx; | ^ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=mygtk -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o mygtk.o mygtk.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from mygtk.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mygtk.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from mygtk.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from mygtk.c:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ mygtk.c: In function ‘alert_reply’: mygtk.c:227:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 227 | if (!alert_result) alert_result = (int)data; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function ‘alert_box’: mygtk.c:260:34: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 260 | GTK_SIGNAL_FUNC(alert_reply), (gpointer)(++i)); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:55:62: note: in definition of macro ‘gtk_signal_connect_object’ 55 | gtk_signal_connect_full ((object), (name), (func), NULL, (slot_object), NULL, 1, 0) | ^~~~~~~~~~~ mygtk.c:267:33: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 267 | GTK_SIGNAL_FUNC(alert_reply), (gpointer)(++i)); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:55:62: note: in definition of macro ‘gtk_signal_connect_object’ 55 | gtk_signal_connect_full ((object), (name), (func), NULL, (slot_object), NULL, 1, 0) | ^~~~~~~~~~~ mygtk.c: In function ‘wj_radio_toggle’: mygtk.c:361:62: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 361 | *(int *)gtk_object_get_user_data(GTK_OBJECT(btn->parent)) = (int)idx; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function ‘wj_radio_pack’: mygtk.c:391:4: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 391 | (gpointer)(i)); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ mygtk.c: In function ‘wj_option’: mygtk.c:681:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 681 | *(int *)user_data = (int)gtk_object_get_user_data(GTK_OBJECT(menuitem)); | ^ mygtk.c: In function ‘wj_option_menu’: mygtk.c:710:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 710 | gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); | ^ mygtk.c: In function ‘wj_option_menu_get_history’: mygtk.c:730:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 730 | return ((int)gtk_object_get_user_data(GTK_OBJECT(optmenu))); | ^ mygtk.c: In function ‘widget_size_req’: mygtk.c:738:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 738 | int h = (guint32)user_data >> 16, w = (guint32)user_data & 0xFFFF; | ^ mygtk.c:738:40: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 738 | int h = (guint32)user_data >> 16, w = (guint32)user_data & 0xFFFF; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function ‘widget_set_minsize’: mygtk.c:756:37: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 756 | GTK_SIGNAL_FUNC(widget_size_req), (gpointer)hw); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:53:62: note: in definition of macro ‘gtk_signal_connect_after’ 53 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 1) | ^~~~~~~~~ mygtk.c: In function ‘widget_size_keep’: mygtk.c:783:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 783 | l = (int)gtk_object_get_data_by_id(GTK_OBJECT(widget), keepsize_key); | ^ mygtk.c:791:3: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 791 | (gpointer)l0); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function ‘widget_set_keepsize’: mygtk.c:801:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 801 | GTK_SIGNAL_FUNC(widget_size_keep), (gpointer)keep_height); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:53:62: note: in definition of macro ‘gtk_signal_connect_after’ 53 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 1) | ^~~~~~~~~ mygtk.c: In function ‘click_file_browse’: mygtk.c:847:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 847 | if ((int)data == FS_SELECT_DIR) flag |= FPICK_DIRS_ONLY; | ^ mygtk.c:852:15: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 852 | fs_setup(fs, (int)data); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from mygtk.c:21: mygtk.c: In function ‘mt_path_box’: mygtk.c:869:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 869 | GTK_SIGNAL_FUNC(click_file_browse), (gpointer)fsmode); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ mygtk.c: In function ‘clipboard_get_callback’: mygtk.c:1992:45: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1992 | ((clip_function)user_data)(selection_data, (gpointer)(int)info); | ^ mygtk.c: In function ‘resolve_path’: mygtk.c:3520:22: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 3520 | if (path[0] != '/') getcwd(wbuf, PATHBUF - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=viewer -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o viewer.o viewer.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from viewer.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from viewer.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from viewer.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from viewer.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=polygon -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o polygon.o polygon.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from polygon.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from polygon.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from polygon.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from polygon.c:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=layer -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o layer.o layer.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from layer.c:20: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from layer.c:20: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from layer.c:20: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from layer.c:20: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ layer.c: In function ‘layer_tog_visible’: layer.c:935:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 935 | int j = (int)user_data; | ^ layer.c: In function ‘layer_inputs_changed’: layer.c:960:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 960 | switch ((int)user_data) | ^ layer.c: In function ‘layer_select’: layer.c:1000:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1000 | j = (int)gtk_object_get_user_data(GTK_OBJECT(widget)); | ^ layer.c: In function ‘create_layers_box’: layer.c:1224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1224 | gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from layer.c:20: layer.c:1242:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1242 | GTK_SIGNAL_FUNC(layer_tog_visible), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ layer.c: In function ‘load_layers’: layer.c:583:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 583 | fgets(tin, 256, fp); | ^~~~~~~~~~~~~~~~~~~ layer.c:604:3: warning: ignoring return value of ‘fgets’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 604 | fgets(tin, 256, fp); | ^~~~~~~~~~~~~~~~~~~ layer.c: In function ‘layers_update_titlebar.part.0’: layer.c:155:28: warning: ‘%s’ directive output may be truncated writing up to 4095 bytes into a region of size between 287 and 288 [-Wformat-truncation=] 155 | snprintf(txt, 290, "%s %s %s", _("Layers"), | ^~ In file included from /usr/include/stdio.h:867, from /usr/include/pango-1.0/pango/pango-utils.h:25, from /usr/include/pango-1.0/pango/pango.h:47, from /usr/include/gtk-2.0/gdk/gdktypes.h:37, from /usr/include/gtk-2.0/gdk/gdkscreen.h:32, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from layer.c:20: /usr/include/x86_64-linux-gnu/bits/stdio2.h:67:10: note: ‘__builtin___snprintf_chk’ output 3 or more bytes (assuming 4099) into a destination of size 290 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from layer.c:20: In function ‘strncpy’, inlined from ‘layers_init’ at layer.c:70:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 35 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘layer_update_filename’ at layer.c:504:2, inlined from ‘load_to_layers’ at layer.c:768:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘parse_filename’ at layer.c:783:3, inlined from ‘save_layers’ at layer.c:878:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘layer_update_filename’ at layer.c:504:2, inlined from ‘save_layers’ at layer.c:889:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘load_layers’ at layer.c:606:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 35 bytes from a string of length 299 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In function ‘strncpy’, inlined from ‘layer_update_filename’ at layer.c:504:2, inlined from ‘load_layers’ at layer.c:634:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 2048 equals destination size [-Wstringop-truncation] In function ‘strncpy’, inlined from ‘layer_inputs_changed’ at layer.c:964:3: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 35 equals destination size [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=info -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o info.o info.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from info.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from info.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from info.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from info.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=wu -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o wu.o wu.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from wu.c:19: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from wu.c:19: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from wu.c:19: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from wu.c:19: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=prefs -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o prefs.o prefs.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from prefs.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from prefs.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from prefs.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from prefs.c:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=ani -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o ani.o ani.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from ani.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from ani.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from ani.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from ani.c:26: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/string.h:495, from /usr/include/glib-2.0/glib/gslice.h:26, from /usr/include/glib-2.0/glib.h:79, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from ani.c:26: In function ‘strncpy’, inlined from ‘ani_read_file’ at ani.c:1197:2: /usr/include/x86_64-linux-gnu/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ output may be truncated copying 17 bytes from a string of length 2047 [-Wstringop-truncation] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=mtlib -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o mtlib.o mtlib.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=toolbar -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o toolbar.o toolbar.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from toolbar.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from toolbar.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from toolbar.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from toolbar.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ toolbar.c: In function ‘ts_spinslide_moved’: toolbar.c:341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 341 | switch ((int)user_data) | ^ toolbar.c: In function ‘create_settings_box’: toolbar.c:977:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 977 | GTK_SIGNAL_FUNC(ts_spinslide_moved), (gpointer)i); | ^ toolbar.c: In function ‘twobar_size_alloc’: toolbar.c:1203:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1203 | oldbar = (int)gtk_object_get_data(GTK_OBJECT(widget), TWOBAR_KEY); | ^ toolbar.c:1206:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1206 | gtk_object_set_data(GTK_OBJECT(widget), TWOBAR_KEY, (gpointer)bar); | ^ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=channels -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o channels.o channels.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from channels.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from channels.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from channels.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from channels.c:23: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ channels.c: In function ‘click_newchan_ok’: channels.c:224:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 224 | if ((int)gtk_object_get_user_data(GTK_OBJECT(window)) >= CHN_ALPHA) | ^ channels.c: In function ‘pressed_channel_create’: channels.c:258:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 258 | gtk_object_set_user_data(GTK_OBJECT(newchan_window), (gpointer)channel); | ^ channels.c: In function ‘click_delete_ok’: channels.c:295:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 295 | cmask |= (int)gtk_object_get_user_data(GTK_OBJECT(check)); | ^ channels.c: In function ‘pressed_channel_delete’: channels.c:325:47: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 325 | gtk_object_set_user_data(GTK_OBJECT(check), (gpointer)CMASK_FOR(i)); | ^ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=csel -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o csel.o csel.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from csel.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from csel.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ csel.c: In function ‘csel_scan’: csel.c:411:2: warning: ‘GStaticMutex’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 411 | DEF_MUTEX(csel_lock); // To prevent concurrent writes to *info | ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:129:9: note: declared here 129 | typedef struct | ^~~~~~ csel.c:411:13: warning: Deprecated pre-processor symbol, replace with 411 | DEF_MUTEX(csel_lock); // To prevent concurrent writes to *info | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:414:13: warning: Deprecated pre-processor symbol 414 | LOCK_MUTEX(csel_lock); | ^~~~~~~~~~~ csel.c:414:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 414 | LOCK_MUTEX(csel_lock); | ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:414:13: warning: Deprecated pre-processor symbol, replace with 414 | LOCK_MUTEX(csel_lock); | ^~~~~~~~~~~ csel.c:540:13: warning: Deprecated pre-processor symbol 540 | UNLOCK_MUTEX(csel_lock); | ^~~~~~~~~~~~~ csel.c:540:2: warning: ‘g_static_mutex_get_mutex_impl’ is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] 540 | UNLOCK_MUTEX(csel_lock); | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:150:9: note: declared here 150 | GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:540:13: warning: Deprecated pre-processor symbol, replace with 540 | UNLOCK_MUTEX(csel_lock); | ^~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=shifter -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o shifter.o shifter.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from shifter.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from shifter.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from shifter.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from shifter.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=spawn -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o spawn.o spawn.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from spawn.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from spawn.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from spawn.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from spawn.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ spawn.c: In function ‘faction_changed’: spawn.c:327:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 327 | (int)user_data, gtk_entry_get_text(GTK_ENTRY(entry))); | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from spawn.c:24: spawn.c: In function ‘pressed_file_configure’: spawn.c:512:38: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 512 | GTK_SIGNAL_FUNC(faction_changed), (gpointer)j); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ spawn.c: In function ‘spawn_process’: spawn.c:602:19: warning: ignoring return value of ‘chdir’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 602 | if (directory) chdir(directory); | ^~~~~~~~~~~~~~~~ spawn.c:613:4: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 613 | write(fds[1], &err, sizeof(err)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=font -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o font.o font.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from font.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from font.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from font.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from font.c:24: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ font.c: In function ‘update_clist’: font.c:961:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 961 | gtk_clist_moveto(clist, (int)(clist->selection->data), 0, 0.5, 0); | ^ font.c: In function ‘font_clist_update’: font.c:967:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 967 | int cl = (int)user_data; | ^ font.c: In function ‘click_remove_font_dir’: font.c:1239:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1239 | if (clist->selection) delete_row = (int)(clist->selection->data); | ^ font.c: In function ‘font_clist_select_row’: font.c:1319:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1319 | int cl = (int) user; | ^ font.c: In function ‘font_clist_column_button’: font.c:1389:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 1389 | int cl = (int) user; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from font.c:24: font.c: In function ‘make_font_clist’: font.c:1468:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1468 | GTK_SIGNAL_FUNC(font_clist_column_button), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ font.c:1484:43: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1484 | GTK_SIGNAL_FUNC(font_clist_select_row), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ font.c:1488:39: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1488 | GTK_SIGNAL_FUNC(font_clist_update), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:53:62: note: in definition of macro ‘gtk_signal_connect_after’ 53 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 1) | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=fpick -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o fpick.o fpick.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from fpick.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from fpick.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from fpick.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from fpick.c:21: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ fpick.c: In function ‘fpick_scan_directory’: fpick.c:507:4: warning: ignoring return value of ‘getcwd’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 507 | getcwd(full_name, PATHBUF - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=icons -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o icons.o icons.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from icons.c:20: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from icons.c:20: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from icons.c:20: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from icons.c:20: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=cpick -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o cpick.o cpick.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from cpick.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from cpick.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from cpick.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from cpick.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ cpick.c: In function ‘cpick_spin_change’: cpick.c:727:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 727 | int i, input = (int)user_data; | ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40, from /usr/include/gtk-2.0/gtk/gtk.h:53, from mygtk.h:20, from cpick.c:22: cpick.c: In function ‘cpicker_init’: cpick.c:1027:40: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1027 | GTK_SIGNAL_FUNC(cpick_hex_change), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ cpick.c:1037:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 1037 | GTK_SIGNAL_FUNC(cpick_spin_change), (gpointer)i); | ^ /usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro ‘gtk_signal_connect’ 51 | gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0) | ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -frandom-seed=thread -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/x86_64-linux-gnu -I/usr/include/pango-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/build/mtpaint-AYDMcS/mtpaint-3.40=. -fstack-protector-strong -Wformat -Werror=format-security -fcommon -c -o thread.o thread.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from thread.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: ‘GTypeDebugFlags’ is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from thread.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here 679 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from thread.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: ‘GTimeVal’ is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from thread.c:22: /usr/include/glib-2.0/glib/gtypes.h:547:8: note: declared here 547 | struct _GTimeVal | ^~~~~~~~~ thread.c: In function ‘launch_threads’: thread.c:266:3: warning: ‘g_thread_create’ is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] 266 | if (!g_thread_create((GThreadFunc)thread, tp, FALSE, NULL)) | ^~ In file included from /usr/include/glib-2.0/glib.h:112, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:22, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from thread.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:100:10: note: declared here 100 | GThread *g_thread_create (GThreadFunc func, | ^~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign main.o mainwindow.o inifile.o png.o memory.o canvas.o otherwindow.o mygtk.o viewer.o polygon.o layer.o info.o wu.o prefs.o ani.o mtlib.o toolbar.o channels.o csel.o shifter.o spawn.o font.o fpick.o icons.o cpick.o thread.o -o mtpaint -lgif -ltiff -ljpeg -lpng -lz -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lX11 -s -Wl,-z,relro -Wl,-z,now -lgif -ltiff -ljpeg -lpng -lz -lm -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lharfbuzz -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lX11 -s -Wl,-z,relro -Wl,-z,now make[2]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40/src' make -C po make[2]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40/po' for iii in es cs fr pt pt_BR de pl tr zh_TW sk zh_CN ja ru gl nl it sv tl hu; do echo -n "$iii = "; msgfmt -v -o $iii.mo $iii.po; done es = 805 translated messages, 67 untranslated messages. cs = 770 translated messages, 102 untranslated messages. fr = 786 translated messages, 86 untranslated messages. pt = 190 translated messages, 682 untranslated messages. pt_BR = 449 translated messages, 423 untranslated messages. de = 559 translated messages, 313 untranslated messages. pl = 574 translated messages, 298 untranslated messages. tr = 303 translated messages, 569 untranslated messages. zh_TW = 617 translated messages, 9 fuzzy translations, 246 untranslated messages. sk = 631 translated messages, 241 untranslated messages. zh_CN = 780 translated messages, 92 untranslated messages. ja = 799 translated messages, 9 fuzzy translations, 64 untranslated messages. ru = 861 translated messages, 2 fuzzy translations, 9 untranslated messages. gl = 806 translated messages, 66 untranslated messages. nl = 797 translated messages, 75 untranslated messages. it = 834 translated messages, 38 untranslated messages. sv = 744 translated messages, 128 untranslated messages. tl = 365 translated messages, 507 untranslated messages. hu = 622 translated messages, 250 untranslated messages. make[2]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40/po' make -C doc make[2]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40/doc' make[2]: Nothing to be done for 'all'. make[2]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40/doc' make[1]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40' dh_auto_test -a dh_auto_test: warning: Compatibility levels before 10 are deprecated (level 9 in use) fakeroot debian/rules binary-arch dh binary-arch dh: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_testroot -a dh_prep -a dh_installdirs -a dh_installdirs: warning: Compatibility levels before 10 are deprecated (level 9 in use) debian/rules override_dh_auto_install make[1]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40' /usr/bin/make install DESTDIR=/build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/ make[2]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40' for dir in src po doc; do /usr/bin/make -C $dir install; done make[3]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40/src' mkdir -p /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/bin" cp mtpaint /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/bin" make[3]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40/src' make[3]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40/po' for iii in es cs fr pt pt_BR de pl tr zh_TW sk zh_CN ja ru gl nl it sv tl hu; do mkdir -p /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share/locale"/$iii/LC_MESSAGES/; done for iii in es cs fr pt pt_BR de pl tr zh_TW sk zh_CN ja ru gl nl it sv tl hu; do cp $iii.mo /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share/locale"/$iii/LC_MESSAGES/mtpaint.mo; done make[3]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40/po' make[3]: Entering directory '/build/mtpaint-AYDMcS/mtpaint-3.40/doc' mkdir -p /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share/man"/man1 /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share"/applications /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share"/pixmaps cp mtpaint.1 /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share/man"/man1 cp mtpaint.desktop /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share"/applications cp mtpaint.png /build/mtpaint-AYDMcS/mtpaint-3.40/debian/mtpaint/"/usr/share"/pixmaps make[3]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40/doc' make[2]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40' make[1]: Leaving directory '/build/mtpaint-AYDMcS/mtpaint-3.40' dh_install -a dh_install: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdocs -a dh_installdocs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installchangelogs -a dh_installchangelogs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installman -a dh_installman: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_perl -a dh_link -a dh_strip_nondeterminism -a Normalized debian/mtpaint/usr/share/locale/zh_CN/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/ja/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/ru/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/gl/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/nl/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/de/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/pl/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/tr/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/zh_TW/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/sk/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/es/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/cs/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/fr/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/pt/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/pt_BR/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/it/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/sv/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/tl/LC_MESSAGES/mtpaint.mo Normalized debian/mtpaint/usr/share/locale/hu/LC_MESSAGES/mtpaint.mo dh_compress -a dh_compress: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_fixperms -a dh_missing -a dh_missing: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_strip -a dh_strip: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_makeshlibs -a dh_makeshlibs: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_shlibdeps -a dh_shlibdeps: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_installdeb -a dh_installdeb: warning: Compatibility levels before 10 are deprecated (level 9 in use) dh_gencontrol -a dh_md5sums -a dh_builddeb -a dpkg-deb: building package 'mtpaint' in '../mtpaint_3.40-3.1+b1_amd64.deb'. dpkg-genbuildinfo --build=any dpkg-genchanges --build=any >../mtpaint_3.40-3.1+b1_amd64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage: info: binary-only upload (no source included) I: running special hook: sync-out /build/mtpaint-AYDMcS /tmp/mtpaint-3.40-3.1+b1v787vnfy I: cleaning package lists and apt cache... I: creating tarball... I: done I: removing tempdir /tmp/mmdebstrap.reNqQhcrZz... I: success in 2830.3355 seconds md5: mtpaint_3.40-3.1+b1_amd64.deb: OK sha1: mtpaint_3.40-3.1+b1_amd64.deb: OK sha256: mtpaint_3.40-3.1+b1_amd64.deb: OK Checksums: OK