<86>May  9 03:12:32 userdel[2180459]: delete user 'rooter'
<86>May  9 03:12:32 userdel[2180459]: removed group 'rooter' owned by 'rooter'
<86>May  9 03:12:32 userdel[2180459]: removed shadow group 'rooter' owned by 'rooter'
<86>May  9 03:12:33 groupadd[2180738]: group added to /etc/group: name=rooter, GID=672
<86>May  9 03:12:33 groupadd[2180738]: group added to /etc/gshadow: name=rooter
<86>May  9 03:12:33 groupadd[2180738]: new group: name=rooter, GID=672
<86>May  9 03:12:33 useradd[2180911]: new user: name=rooter, UID=672, GID=672, home=/root, shell=/bin/bash
<86>May  9 03:12:33 userdel[2181198]: delete user 'builder'
<86>May  9 03:12:33 groupadd[2181226]: group added to /etc/group: name=builder, GID=673
<86>May  9 03:12:33 groupadd[2181226]: new group: name=builder, GID=673
<86>May  9 03:12:33 useradd[2181250]: new user: name=builder, UID=673, GID=673, home=/usr/src, shell=/bin/bash
<13>May  9 03:12:40 rpmi: xorg-proto-devel-2018.4-alt3 1527685079 installed
<13>May  9 03:12:40 rpmi: libexpat-2.2.10-alt1 p9+261554.100.1.1 1605103332 installed
<13>May  9 03:12:40 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed
<13>May  9 03:12:40 rpmi: libpng16-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed
<13>May  9 03:12:40 rpmi: libglvnd-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed
<13>May  9 03:12:40 rpmi: libnettle6-3.4.1-alt1 sisyphus+226533.100.2.1 1554512181 installed
<13>May  9 03:12:40 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed
<13>May  9 03:12:40 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed
<13>May  9 03:12:40 rpmi: libwayland-server-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed
<13>May  9 03:12:41 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed
<13>May  9 03:12:41 rpmi: libharfbuzz-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed
<13>May  9 03:12:41 rpmi: libfreetype-2.10.1-alt1.1.p9.1 p9+260179.200.3.1 1603971391 installed
<13>May  9 03:12:41 rpmi: fontconfig-2.13.1-alt1 p9+247340.200.3.1 1583400482 installed
Updating fonts cache: <29>May  9 03:12:42 fontconfig: Updating fonts cache: succeeded
[ DONE ]
<13>May  9 03:12:42 rpmi: libgdbm-1.8.3-alt10 1454943313 installed
<13>May  9 03:12:42 rpmi: libp11-kit-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed
<13>May  9 03:12:42 rpmi: libtasn1-4.14-alt1 p9+235792.100.2.1 1565425233 installed
<13>May  9 03:12:42 rpmi: libgraphite2-devel-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed
<13>May  9 03:12:42 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed
<13>May  9 03:12:42 rpmi: libpng-devel-1.6.36-alt1 sisyphus+219478.100.1.1 1547633315 installed
<13>May  9 03:12:42 rpmi: libhogweed4-3.4.1-alt1 sisyphus+226533.100.2.1 1554512181 installed
<13>May  9 03:12:42 rpmi: libOpenGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed
<13>May  9 03:12:42 rpmi: libjasper-2.0.22-alt1 p9+259398.100.5.1 1602695042 installed
<13>May  9 03:12:42 rpmi: libnatspec-0.3.1-alt2 1445691578 installed
<13>May  9 03:12:42 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed
<13>May  9 03:12:42 rpmi: libgif-4.1.6-alt3 1299634266 installed
<13>May  9 03:12:43 rpmi: libfribidi-1.0.7-alt1 p9+238309.200.1.1 1569787041 installed
<13>May  9 03:12:43 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed
<13>May  9 03:12:43 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed
<13>May  9 03:12:43 rpmi: libidn2-2.2.0-alt1 p9+229971.100.2.1 1558696275 installed
<13>May  9 03:12:43 rpmi: libgnutls30-3.6.15-alt2 p9+268190.200.4.1 1616499125 installed
<13>May  9 03:12:43 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed
<13>May  9 03:12:43 rpmi: liblz4-1:1.9.2-alt1 p9+238696.500.1.1 1570228072 installed
<13>May  9 03:12:43 rpmi: libgpg-error-1.36-alt1 p9+261942.140.4.1 1606237682 installed
<13>May  9 03:12:43 rpmi: libgcrypt20-1.8.5-alt3 p9+261942.200.4.1 1606237844 installed
<13>May  9 03:12:43 rpmi: libsystemd-1:246.13-alt1 p9+265718.640.15.1 1618506267 installed
<13>May  9 03:12:43 rpmi: libdbus-1.12.16-alt2 p9+240607.100.1.1 1573553670 installed
<13>May  9 03:12:43 rpmi: libavahi-0.8-alt2 p9+270905.100.1.1 1619639855 installed
<13>May  9 03:12:43 rpmi: libcups-2.3.3-alt2.op2 p9+267729.100.2.1 1616001930 installed
<13>May  9 03:12:43 rpmi: libatk-locales-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed
<13>May  9 03:12:43 rpmi: libatk-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed
<13>May  9 03:12:43 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed
<13>May  9 03:12:43 rpmi: libX11-locales-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed
<13>May  9 03:12:43 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed
<13>May  9 03:12:43 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed
<13>May  9 03:12:43 rpmi: libX11-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed
<13>May  9 03:12:43 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed
<13>May  9 03:12:43 rpmi: libXrender-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed
<13>May  9 03:12:43 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed
<13>May  9 03:12:43 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed
<13>May  9 03:12:46 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed
<13>May  9 03:12:46 rpmi: libX11-devel-3:1.6.7-alt2 p9+258208.100.1.1 1600333167 installed
<13>May  9 03:12:46 rpmi: libXrender-devel-0.9.10-alt1 p9+261891.200.2.1 1606149106 installed
<13>May  9 03:12:46 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed
<13>May  9 03:12:46 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed
<13>May  9 03:12:46 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed
<13>May  9 03:12:46 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed
<13>May  9 03:12:46 rpmi: libXi-1.7.9-alt2 sisyphus+226377.100.1.2 1554260258 installed
<13>May  9 03:12:46 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed
<13>May  9 03:12:46 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed
<13>May  9 03:12:46 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed
<13>May  9 03:12:46 rpmi: libwayland-client-1.18.0-alt1 p9+260591.100.12.1 1606212847 installed
<13>May  9 03:12:46 rpmi: libpciaccess-1:0.14-alt1 1528969624 installed
<13>May  9 03:12:46 rpmi: libdrm-1:2.4.105-alt1 p9+269192.100.1.1 1617869797 installed
<13>May  9 03:12:46 rpmi: libGLX-mesa-4:21.0.2-alt1 p9+269192.200.1.1 1617870169 installed
<13>May  9 03:12:46 rpmi: libGLX-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed
<13>May  9 03:12:46 rpmi: libGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed
<13>May  9 03:12:46 rpmi: libgbm-4:21.0.2-alt1 p9+269192.200.1.1 1617870169 installed
<13>May  9 03:12:46 rpmi: libEGL-mesa-4:21.0.2-alt1 p9+269192.200.1.1 1617870169 installed
<13>May  9 03:12:46 rpmi: libEGL-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed
<13>May  9 03:12:46 rpmi: libglvnd-devel-7:1.3.2-alt0.p9 p9+265957.240.8.1 1617618104 installed
<13>May  9 03:12:46 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<13>May  9 03:12:46 rpmi: libpango-1.44.6-alt1 p9+237353.700.2.2 1568373865 installed
<13>May  9 03:12:46 rpmi: libEGL-devel-4:21.0.2-alt1 p9+269192.200.1.1 1617870169 installed
<13>May  9 03:12:46 rpmi: libGL-devel-4:21.0.2-alt1 p9+269192.200.1.1 1617870169 installed
<13>May  9 03:12:46 rpmi: icon-theme-hicolor-0.17-alt2 p9+248347.100.1.1 1584981172 installed
<13>May  9 03:12:46 rpmi: libwebp7-1.0.3-alt1 p9+234901.200.1.1 1563552213 installed
<13>May  9 03:12:47 rpmi: libjbig-2.1-alt1 1401380921 installed
<13>May  9 03:12:47 rpmi: libtiff5-4.0.10.0.57.f9fc01c3-alt1 sisyphus+226958.100.1.1 1554850937 installed
<13>May  9 03:12:47 rpmi: shared-mime-info-1.13.1-alt1 p9+238204.100.1.1 1569496447 installed
<13>May  9 03:12:47 rpmi: libgdk-pixbuf-locales-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed
<13>May  9 03:12:47 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed
<13>May  9 03:12:47 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed
<13>May  9 03:12:47 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed
<13>May  9 03:12:47 rpmi: gsettings-desktop-schemas-data-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed
<13>May  9 03:12:47 rpmi: libgio-2.60.7-alt1 p9+237353.100.2.2 1568372980 installed
<13>May  9 03:12:47 rpmi: gsettings-desktop-schemas-3.32.0-alt1 sisyphus+225059.300.3.2 1552843929 installed
<13>May  9 03:12:47 rpmi: libgdk-pixbuf-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed
<13>May  9 03:12:47 rpmi: gtk-update-icon-cache-3.24.11-alt1 p9+260591.300.12.1 1606214030 installed
<13>May  9 03:12:48 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed
<13>May  9 03:12:48 rpmi: libgdk-pixbuf-xlib-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed
<13>May  9 03:12:51 rpmi: libicu64-1:6.4.2-alt2 p9+247371.14540.149.1 1590835182 installed
<13>May  9 03:12:51 rpmi: libharfbuzz-icu-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed
<13>May  9 03:12:53 rpmi: libicu65-1:6.5.1-alt2 p9+270410.100.1.1 1619007054 installed
<13>May  9 03:12:53 rpmi: icu-utils-1:6.5.1-alt2 p9+270410.100.1.1 1619007054 installed
<13>May  9 03:12:54 rpmi: libicu-devel-1:6.5.1-alt2 p9+270410.100.1.1 1619007054 installed
<13>May  9 03:12:54 rpmi: xml-utils-1:2.9.10-alt6 p9+266566.100.3.1 1614357016 installed
<13>May  9 03:12:54 rpmi: rpm-build-gir-0.7.3-alt2 p9+234356.40.2.1 1562933848 installed
<13>May  9 03:12:54 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>May  9 03:12:54 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed
<13>May  9 03:12:54 rpmi: ca-certificates-2020.06.29-alt1 p9+258899.100.3.1 1601998604 installed
<13>May  9 03:12:54 rpmi: ca-trust-0.1.2-alt1 p9+233349.100.1.1 1561655062 installed
<13>May  9 03:12:54 rpmi: p11-kit-trust-0.23.15-alt2 p9+254920.2400.19.1 1601385869 installed
<13>May  9 03:12:54 rpmi: libcrypto1.1-1.1.1k-alt1 p9+268376.100.3.1 1616720932 installed
<13>May  9 03:12:55 rpmi: libssl1.1-1.1.1k-alt1 p9+268376.100.3.1 1616720932 installed
<13>May  9 03:12:55 rpmi: libpython3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed
<13>May  9 03:12:55 rpmi: python3-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed
<13>May  9 03:12:56 rpmi: python3-base-3.7.4-alt3 p9+249932.100.2.1 1587126956 installed
<13>May  9 03:12:57 rpmi: glib2-devel-2.60.7-alt1 p9+237353.100.2.2 1568372980 installed
<13>May  9 03:12:57 rpmi: libharfbuzz-devel-2.6.2-alt1 p9+238790.200.1.1 1570435797 installed
<13>May  9 03:12:57 rpmi: libfreetype-devel-2.10.1-alt1.1.p9.1 p9+260179.200.3.1 1603971391 installed
<13>May  9 03:12:57 rpmi: fontconfig-devel-2.13.1-alt1 p9+247340.200.3.1 1583400482 installed
<13>May  9 03:12:57 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed
<13>May  9 03:12:57 rpmi: libgio-devel-2.60.7-alt1 p9+237353.100.2.2 1568372980 installed
<13>May  9 03:12:57 rpmi: libgdk-pixbuf-devel-2.38.2-alt1 p9+237353.1000.2.2 1568374008 installed
<13>May  9 03:12:57 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed
<13>May  9 03:12:57 rpmi: libpango-devel-1.44.6-alt1 p9+237353.700.2.2 1568373865 installed
<13>May  9 03:12:57 rpmi: libatk-devel-2.32.0-alt1 sisyphus+225059.600.3.2 1552845198 installed
<86>May  9 03:12:57 groupadd[2250003]: group added to /etc/group: name=_keytab, GID=499
<86>May  9 03:12:57 groupadd[2250003]: group added to /etc/gshadow: name=_keytab
<86>May  9 03:12:57 groupadd[2250003]: new group: name=_keytab, GID=499
<13>May  9 03:12:58 rpmi: libkrb5-1.17.2-alt1 p9+262110.100.3.1 1606242396 installed
<13>May  9 03:12:58 rpmi: libtirpc-1.0.3-alt1 1532008015 installed
<13>May  9 03:12:58 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed
<13>May  9 03:12:58 rpmi: python-modules-encodings-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>May  9 03:12:58 rpmi: python-modules-compiler-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>May  9 03:12:58 rpmi: python-modules-email-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>May  9 03:12:58 rpmi: python-modules-unittest-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>May  9 03:12:58 rpmi: python-modules-nis-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>May  9 03:12:58 rpmi: python-modules-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>May  9 03:12:58 rpmi: python-modules-xml-2.7.16-alt1.M90P.2 p9+260393.40.3.1 1604003646 installed
<13>May  9 03:12:58 rpmi: gtk-builder-convert-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed
<13>May  9 03:12:58 rpmi: libgtk+2-devel-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed
<13>May  9 03:12:58 rpmi: libtiff-devel-4.0.10.0.57.f9fc01c3-alt1 sisyphus+226958.100.1.1 1554850937 installed
<13>May  9 03:12:58 rpmi: libgif-devel-4.1.6-alt3 1299634266 installed
<13>May  9 03:12:58 rpmi: unzip-6.0-alt4 p9+261695.100.1.1 1605219254 installed
<13>May  9 03:12:58 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed
<13>May  9 03:12:58 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744353 installed
<13>May  9 03:12:59 rpmi: dos2unix-7.3.5-alt1 1499695585 installed
Building target platforms: x86_64
Building for target x86_64
Wrote: /usr/src/in/nosrpm/mtpaint-3.40-alt2.1.nosrc.rpm (w1.gzdio)
Installing mtpaint-3.40-alt2.1.src.rpm
Building target platforms: x86_64
Building for target x86_64
Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.68577
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ rm -rf mtpaint-3.40
+ echo 'Source #0 (mtpaint-3.40.tar.bz2):'
Source #0 (mtpaint-3.40.tar.bz2):
+ /bin/bzip2 -dc /usr/src/RPM/SOURCES/mtpaint-3.40.tar.bz2
+ /bin/tar -xf -
+ cd mtpaint-3.40
+ echo 'Source #1 (mtpaint_handbook-3.40.zip):'
Source #1 (mtpaint_handbook-3.40.zip):
+ /usr/bin/unzip -qq /usr/src/RPM/SOURCES/mtpaint_handbook-3.40.zip
+ /bin/chmod -c -Rf u+rwX,go-w .
+ echo 'Patch #0 (mtpaint-3.40-xdg-open.patch):'
Patch #0 (mtpaint-3.40-xdg-open.patch):
+ /usr/bin/patch -p1
patching file src/spawn.c
Hunk #1 succeeded at 757 (offset -3233 lines).
+ echo 'Patch #1 (mtpaint-3.40-openjpeg.patch):'
Patch #1 (mtpaint-3.40-openjpeg.patch):
+ /usr/bin/patch -p1
patching file src/png.c
+ sed -i 's,#define HANDBOOK_LOCATION "/usr/doc/mtpaint/index.html",#define HANDBOOK_LOCATION "/usr/share/doc/mtpaint-handbook-3.40/index.html",' src/spawn.c
+ chmod 0755 mtpaint_handbook-3.40/docs/en_GB mtpaint_handbook-3.40/docs/img mtpaint_handbook-3.40/docs/files mtpaint_handbook-3.40/docs/cs
+ dos2unix -k mtpaint_handbook-3.40/docs/index.html
dos2unix: converting file mtpaint_handbook-3.40/docs/index.html to Unix format...
+ dos2unix -k mtpaint_handbook-3.40/docs/en_GB/chap_00.html mtpaint_handbook-3.40/docs/en_GB/chap_01.html mtpaint_handbook-3.40/docs/en_GB/chap_02.html mtpaint_handbook-3.40/docs/en_GB/chap_03.html mtpaint_handbook-3.40/docs/en_GB/chap_04.html mtpaint_handbook-3.40/docs/en_GB/chap_05.html mtpaint_handbook-3.40/docs/en_GB/chap_06.html mtpaint_handbook-3.40/docs/en_GB/chap_07.html mtpaint_handbook-3.40/docs/en_GB/chap_08.html mtpaint_handbook-3.40/docs/en_GB/chap_09.html mtpaint_handbook-3.40/docs/en_GB/chap_A.html mtpaint_handbook-3.40/docs/en_GB/chap_B.html mtpaint_handbook-3.40/docs/en_GB/chap_C.html mtpaint_handbook-3.40/docs/en_GB/chap_D.html mtpaint_handbook-3.40/docs/cs/chap_00.html mtpaint_handbook-3.40/docs/cs/chap_01.html mtpaint_handbook-3.40/docs/cs/chap_02.html mtpaint_handbook-3.40/docs/cs/chap_03.html mtpaint_handbook-3.40/docs/cs/chap_04.html mtpaint_handbook-3.40/docs/cs/chap_05.html mtpaint_handbook-3.40/docs/cs/chap_06.html mtpaint_handbook-3.40/docs/cs/chap_07.html mtpaint_handbook-3.40/docs/cs/chap_08.html mtpaint_handbook-3.40/docs/cs/chap_09.html mtpaint_handbook-3.40/docs/cs/chap_A.html mtpaint_handbook-3.40/docs/cs/chap_B.html mtpaint_handbook-3.40/docs/cs/chap_C.html mtpaint_handbook-3.40/docs/cs/chap_D.html
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_00.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_01.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_02.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_03.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_04.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_05.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_06.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_07.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_08.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_09.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_A.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_B.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_C.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/en_GB/chap_D.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_00.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_01.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_02.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_03.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_04.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_05.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_06.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_07.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_08.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_09.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_A.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_B.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_C.html to Unix format...
dos2unix: converting file mtpaint_handbook-3.40/docs/cs/chap_D.html to Unix format...
+ exit 0
Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.83526
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd mtpaint-3.40
+ ./configure --datarootdir=/usr/share cflags asneeded debug intl man gtk2 tiff jpeg GIF

Package bzip2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bzip2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'bzip2', required by 'freetype2', not found
Package bzip2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `bzip2.pc'
to the PKG_CONFIG_PATH environment variable
Package 'bzip2', required by 'freetype2', 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       DEBUG
    CFLAGS              -ggdb
    LDFLAGS             -Wl,--as-needed 
    Static libraries    NONE

----------
File Types
----------

    Use GIF             GIF
    Use JPEG            YES
    Use JPEG 2000       NO
    Use TIFF            YES

------------
Installation
------------

    Binary install      /usr/local/bin
    Locale install      /usr/share/locale
    Locale program      /usr/share/locale
    Install man page    YES
    Man page install    /usr/share/man

+ make -j8
make -C src
make -C po
make -C doc
make[1]: Nothing to be done for 'all'.
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=main -c -o main.o main.c
main.c: In function 'main':
main.c:288:2: warning: 'g_thread_init' is deprecated [-Wdeprecated-declarations]
  g_thread_init(NULL);
  ^~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 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:265:10: note: declared here
 void     g_thread_init                   (gpointer vtable);
          ^~~~~~~~~~~~~
main.c:362:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (strcmp(argv[i], "-w")) continue; j++;
                                         ^
main.c:363:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (++i >= argc) break; j++;
                            ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/po'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=inifile -c -o inifile.o inifile.c
inifile.c: In function 'write_ini':
inifile.c:543:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     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]
     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]
  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]
  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]
   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]
   slot->value = (char *)defv;
                 ^
inifile.c:697:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
   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]
    slot->value = (char *)(i & 1);
                  ^
inifile.c:739:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
   slot->value = (char *)defv;
                 ^
inifile.c:743:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  return ((int)(slot->value));
          ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=viewer -c -o viewer.o viewer.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=polygon -c -o polygon.o polygon.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=mainwindow -c -o mainwindow.o mainwindow.c
mainwindow.c: In function 'clipboard_export_fn':
mainwindow.c:432:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
  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'
  if (nx < 0) nx = 0; nx++; dx++;
                      ^~
mainwindow.c:2770:2: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
  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'
  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]
   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'
   if (dx < dy) dx = dy; shift += dx;
                         ^~~~~
mainwindow.c: In function 'load_clip':
mainwindow.c:571:32: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
   snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item);
                                ^
mainwindow.c:571:3: note: 'snprintf' output between 2 and 2059 bytes into a destination of size 2048
   snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item);
   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mainwindow.c: In function 'save_clip':
mainwindow.c:598:31: warning: 'snprintf' output may be truncated before the last format character [-Wformat-truncation=]
  snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item);
                               ^
mainwindow.c:598:2: note: 'snprintf' output between 2 and 2059 bytes into a destination of size 2048
  snprintf(clip, PATHBUF, "%s%i", mem_clip_file, item);
  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=mygtk -c -o mygtk.o mygtk.c
mygtk.c: In function 'alert_reply':
mygtk.c:227:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
    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'
    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]
   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'
    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]
  *(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]
    (gpointer)(i));
    ^
/usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect'
    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]
  *(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]
   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]
  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]
  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]
  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]
   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'
    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]
  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]
   (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]
   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'
    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]
  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]
  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]
   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'
    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]
  ((clip_function)user_data)(selection_data, (gpointer)(int)info);
                                             ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=layer -c -o layer.o layer.c
layer.c: In function 'layer_tog_visible':
layer.c:935:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
  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]
  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]
   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]
    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'
    gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0)
                                                              ^~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=info -c -o info.o info.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=png -c -o png.o png.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=mtlib -c -o mtlib.o mtlib.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=wu -c -o wu.o wu.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=memory -c -o memory.o memory.c
memory.c: In function 'tile_row_compare':
memory.c:1063:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (((int)src & amask) == ((int)dest & amask)))
     ^
memory.c:1063:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (((int)src & amask) == ((int)dest & amask)))
                           ^
memory.c:1070:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   d0 = (((int)src ^ amask) + 1) & amask;
          ^
memory.c:1071:8: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   d1 = (int)(src + l) & amask;
        ^
memory.c: In function 'shapeburst':
memory.c:4009:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
    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'
    if (*r0) *r0 = 1; r0 += dx;
                      ^~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=canvas -c -o canvas.o canvas.c
canvas.c: In function 'do_fx':
canvas.c:414:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
      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]
  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]
   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]
   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]
  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]
   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]
  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]
   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]
   res = (int)gtk_object_get_data(GTK_OBJECT(fs), FS_XTYPE_KEY);
         ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=otherwindow -c -o otherwindow.o otherwindow.c
otherwindow.c: In function 'expose_pat':
otherwindow.c:417:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
   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'
    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]
  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]
  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]
    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]
  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]
  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]
  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]
  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]
   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]
    "button_press_event", lhook, (gpointer)i);
                                 ^
/usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect'
    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]
    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'
    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]
    (int)user_data);
    ^
otherwindow.c:1591:4: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
    (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]
  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]
  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]
  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]
     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]
  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]
  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]
  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]
  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]
  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]
  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]
  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]
  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]
  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]
  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]
   (gpointer)(opac ? -1 : grad_channel));
   ^
/usr/include/gtk-2.0/gtk/gtksignal.h:51:62: note: in definition of macro 'gtk_signal_connect'
    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]
   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'
    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]
   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'
    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]
    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'
    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]
    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'
    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]
   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]
  if ((int)user_data == grad_channel) return;
      ^
otherwindow.c:2989:24: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  show_channel_gradient((int)user_data);
                        ^
otherwindow.c:2990:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
   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'
    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]
  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]
  sw->vars[(int)*cp] = (int)idx;
                       ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=prefs -c -o prefs.o prefs.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=csel -c -o csel.o csel.c
csel.c: In function 'csel_scan':
csel.c:414:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  LOCK_MUTEX(csel_lock);
  ^~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 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:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
csel.c:540:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations]
  UNLOCK_MUTEX(csel_lock);
  ^~~~~~~~~~~~
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 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:154:9: note: declared here
 GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=channels -c -o channels.o channels.c
channels.c: In function 'click_newchan_ok':
channels.c:224:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
  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]
   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]
   gtk_object_set_user_data(GTK_OBJECT(check), (gpointer)CMASK_FOR(i));
                                               ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=ani -c -o ani.o ani.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=shifter -c -o shifter.o shifter.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=icons -c -o icons.o icons.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=spawn -c -o spawn.o spawn.c
spawn.c: In function 'faction_changed':
spawn.c:327:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   (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]
    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'
    gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0)
                                                              ^~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=fpick -c -o fpick.o fpick.c
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=toolbar -c -o toolbar.o toolbar.c
toolbar.c: In function 'ts_spinslide_moved':
toolbar.c:341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
    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]
  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]
   gtk_object_set_data(GTK_OBJECT(widget), TWOBAR_KEY, (gpointer)bar);
                                                       ^
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=thread -c -o thread.o thread.c
thread.c: In function 'launch_threads':
thread.c:266:3: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations]
   if (!g_thread_create((GThreadFunc)thread, tp, FALSE, NULL))
   ^~
In file included from /usr/include/glib-2.0/glib.h:111,
                 from /usr/include/glib-2.0/gobject/gbinding.h:28,
                 from /usr/include/glib-2.0/glib-object.h:23,
                 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:104:10: note: declared here
 GThread *g_thread_create       (GThreadFunc       func,
          ^~~~~~~~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=font -c -o font.o font.c
font.c: In function 'update_clist':
font.c:961:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
   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]
  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]
  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]
  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]
  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]
     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'
    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]
   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'
    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]
   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'
    gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 1)
                                                              ^~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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"'  -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/pango-1.0 -I/usr/include/cairo -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include  -ggdb -frandom-seed=cpick -c -o cpick.o cpick.c
cpick.c: In function 'cpick_spin_change':
cpick.c:727:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
  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]
     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'
    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]
     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'
    gtk_signal_connect_full ((object), (name), (func), NULL, (func_data), NULL, 0, 0)
                                                              ^~~~~~~~~
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
/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 -Wl,--as-needed   -lgif -ltiff -ljpeg -lfreetype -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 -pthread -lgthread-2.0 -lglib-2.0 -lX11 
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
+ exit 0
Executing(%install): /bin/sh -e /usr/src/tmp/rpm-tmp.49460
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ /bin/chmod -Rf u+rwX -- /usr/src/tmp/mtpaint-buildroot
+ :
+ /bin/rm -rf -- /usr/src/tmp/mtpaint-buildroot
+ PATH=/usr/libexec/rpm-build:/usr/src/bin:/bin:/usr/bin:/usr/X11R6/bin:/usr/games
+ cd mtpaint-3.40
+ rm -rf /usr/src/tmp/mtpaint-buildroot
+ /usr/bin/make 'INSTALL=/usr/libexec/rpm-build/install -p' prefix=/usr/src/tmp/mtpaint-buildroot/usr exec_prefix=/usr/src/tmp/mtpaint-buildroot/usr bindir=/usr/src/tmp/mtpaint-buildroot/usr/bin sbindir=/usr/src/tmp/mtpaint-buildroot/usr/sbin sysconfdir=/usr/src/tmp/mtpaint-buildroot/etc datadir=/usr/src/tmp/mtpaint-buildroot/usr/share includedir=/usr/src/tmp/mtpaint-buildroot/usr/include libdir=/usr/src/tmp/mtpaint-buildroot/usr/lib64 libexecdir=/usr/src/tmp/mtpaint-buildroot/usr/lib localstatedir=/usr/src/tmp/mtpaint-buildroot/var/lib sharedstatedir=/usr/src/tmp/mtpaint-buildroot/var/lib mandir=/usr/src/tmp/mtpaint-buildroot/usr/share/man infodir=/usr/src/tmp/mtpaint-buildroot/usr/share/info install MT_PREFIX=/usr/src/tmp/mtpaint-buildroot/usr MT_MAN_DEST=/usr/src/tmp/mtpaint-buildroot/usr/share/man MT_DATAROOT=/usr/src/tmp/mtpaint-buildroot/usr/share MT_LANG_DEST=/usr/src/tmp/mtpaint-buildroot/usr/share/locale BIN_INSTALL=/usr/src/tmp/mtpaint-buildroot/usr/bin
make: Entering directory '/usr/src/RPM/BUILD/mtpaint-3.40'
for dir in src po doc; do /usr/bin/make -C $dir install; done
make[1]: Entering directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
mkdir -p /usr/src/tmp/mtpaint-buildroot/usr/bin
cp mtpaint /usr/src/tmp/mtpaint-buildroot/usr/bin
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/src'
make[1]: Entering directory '/usr/src/RPM/BUILD/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 /usr/src/tmp/mtpaint-buildroot/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 /usr/src/tmp/mtpaint-buildroot/usr/share/locale/$iii/LC_MESSAGES/mtpaint.mo; done
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/po'
make[1]: Entering directory '/usr/src/RPM/BUILD/mtpaint-3.40/doc'
mkdir -p /usr/src/tmp/mtpaint-buildroot/usr/share/man/man1 /usr/src/tmp/mtpaint-buildroot/usr/share/applications /usr/src/tmp/mtpaint-buildroot/usr/share/pixmaps
cp mtpaint.1 /usr/src/tmp/mtpaint-buildroot/usr/share/man/man1
cp mtpaint.desktop /usr/src/tmp/mtpaint-buildroot/usr/share/applications
cp mtpaint.png /usr/src/tmp/mtpaint-buildroot/usr/share/pixmaps
make[1]: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40/doc'
make: Leaving directory '/usr/src/RPM/BUILD/mtpaint-3.40'
+ desktop-file-install --delete-original --vendor '' --dir /usr/src/tmp/mtpaint-buildroot/usr/share/applications /usr/src/tmp/mtpaint-buildroot/usr/share/applications/mtpaint.desktop
+ /usr/lib/rpm/find-lang mtpaint
+ /usr/lib/rpm/brp-alt
Cleaning files in /usr/src/tmp/mtpaint-buildroot (auto)
Verifying and fixing files in /usr/src/tmp/mtpaint-buildroot (binconfig,pkgconfig,libtool,desktop,gnuconfig)
/usr/share/applications/mtpaint.desktop: performed minor cleanup:
3d2
< Encoding=UTF-8
Checking contents of files in /usr/src/tmp/mtpaint-buildroot/ (default)
Compressing files in /usr/src/tmp/mtpaint-buildroot (auto)
Verifying ELF objects in /usr/src/tmp/mtpaint-buildroot (arch=normal,fhs=normal,lfs=relaxed,lint=relaxed,rpath=normal,stack=normal,textrel=normal,unresolved=normal)
Hardlinking identical .pyc and .pyo files
Processing files: mtpaint-3.40-alt2.1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.14988
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd mtpaint-3.40
+ DOCDIR=/usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-3.40
+ export DOCDIR
+ rm -rf /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-3.40
+ /bin/mkdir -p /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-3.40
+ cp -prL COPYING NEWS README /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-3.40
+ chmod -R go-w /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-3.40
+ chmod -R a+rX /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-3.40
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.J6mFqD
find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.LghO9r
find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib)
Requires: mtpaint-handbook, /lib64/ld-linux-x86-64.so.2, libX11.so.6()(64bit) >= set:onLHj4, libc.so.6(GLIBC_2.14)(64bit), libc.so.6(GLIBC_2.2.5)(64bit), libc.so.6(GLIBC_2.27)(64bit), libc.so.6(GLIBC_2.4)(64bit), libc.so.6(GLIBC_2.7)(64bit), libfreetype.so.6()(64bit) >= set:lhJrJfovpFnY1r0DRZ51BT22iGLWNsUZx7, libgdk-x11-2.0.so.0()(64bit) >= set:ng4eN0gRB3OxCrrEiKK88gEP0vnCgruZiQrhK8GkEZ3VM2PKc8QS8SZGjLM4RCFgnIg2VX743B3I8AERZkL2R4QpbhT5ddSvZkZdGCW0ZGCwbqybMF3Ta7m4tg1oPyq0t4Vsx92lSBl4j2yanNLAXUo6AeuAc1wmOpEQhFQR0hyCRwcTCBoguJx7T1k2KMoJRNprCzwmSCG06BULd, libgdk_pixbuf-2.0.so.0()(64bit) >= set:lhnLq1aGGzWAjTFgRt5oaFZaL6iThrw3, libgif.so.4()(64bit) >= set:jfr7sCIbj9aWZ1C6WnCh4PEmjmx8zL4nhRA63, libglib-2.0.so.0()(64bit) >= set:oifwuFgX4UPDtt5atdKaQAzLnhmwcpliQfDSxZfmmPmRGm9JMt4ss7tMXLS2dtmuhEmJUvSeMr23JZC6gaZvjsD0SdRNzSKTgieysrN0XhhQU01KIa, libgobject-2.0.so.0()(64bit) >= set:mihfZvYO465ZAVLcTgNybj7DNKNeV9xQ7, libgthread-2.0.so.0()(64bit) >= set:edqf, libgtk-x11-2.0.so.0()(64bit) >= set:pg3qcRuRwHPahatq10aYxCPDYuW02Dem1ZAOclS5GUmoyrzoAeZ90b8BqI6iVwI7uncDyvE80Cu8CbrCOOHDco4KvkaeKZkVS4c907TVZGzyb9qaEM4KqSbozriI2fKZnmssA8ClWzYL7NAeZucjnZejbQcBGZoLnDKxTMFOVZDwFnSErTElUaUmZmmy3Rn110gQ6N8kzJB2MHcgliZm0NdkRiVd0Z208cTST898VH47eZ61Jar1XBSUZaiabirkSu1UAPYovTKpeos8Ac18HLphXu2OAMyzVQoUSP2sojKFG61CRMTRi8JZ4ZGV2MubdZqh2Os6mwWap4RPQ0hpOal3jlek9C5Uq902mqxyNtNz7sSD5q8mxPcDQXTuuFTM7iE5cesLxRBkvPr2ZGC9Z3DBGDZeWhm6zvzlLSIInBd2i11gKq5YIBv07dNLHg1bnJEjbRlSbdyzgbvmCqJhqqIqr351aZdR0cGja2QYPQrayLKEge0lbjLwTjVSwPcnoQWhq8Q792apCf3NXC1ZJFsHU6BkaAk98W3V97OeYlFnK2MuRFmDhxd5OGXFAqqseT8nUME4N5DUgQ9iKE4rXCYzE2wsv7veK5mE1dXJQ6DO2HLqCVqQaZ1Z6kz3uKTK7lJPwSb28OMSVjO1RBmiFwDHFpp5SVtBDuvIRPQpLznxVRc6VgQI83qgMpVmsC1bmdQlbIkPKVomoPt1sES5T508hDOHQB0BZAeUmWaT9lpzRorF48tC5bWxPZJbBpMm10gcKtVTB4sZ8gwP7DgaJu7Huh083xl4szKZ8PZ42pBlkYyEZhLtD9sdPvMMjOz3a6Z2qABvjffakrhm1f970mkq, libjpeg.so.62()(64bit) >= set:jevZgURjfaN3dYp5gJjW58IXEq5IWHPlODZfUC7, libm.so.6(GLIBC_2.2.5)(64bit), libpango-1.0.so.0()(64bit) >= set:miVPAaAPkJvkcYBHFyfaZBL4uvHf, libpng16.so.16()(64bit) >= set:lfmxVRcLRGeFiwrhwhnBFjYzK1h900W6q4yuAurmQYXL0HGzc5cVc6KSbJvTsOMrS2bVnScZDBqlq44mKNyH6vSIqKpxPjmV2, libpng16.so.16(PNG16_0)(64bit), libpthread.so.0(GLIBC_2.2.5)(64bit), libtiff.so.5()(64bit) >= set:lg8GCsdwwcfPQ3rhtwcPlnxcEOWhEZkGaZaPiCrSO11TSY1EwhMrByj1, libz.so.1()(64bit) >= set:kiuXOSqHAe1, libz.so.1(ZLIB_1.2.0)(64bit), rtld(GNU_HASH)
Requires(rpmlib): rpmlib(SetVersions)
Finding debuginfo files (using /usr/lib/rpm/find-debuginfo-files)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NGJKBs
Creating mtpaint-debuginfo package
Processing files: mtpaint-handbook-3.40-alt2.1
Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.74111
+ umask 022
+ /bin/mkdir -p /usr/src/RPM/BUILD
+ cd /usr/src/RPM/BUILD
+ cd mtpaint-3.40
+ DOCDIR=/usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-handbook-3.40
+ export DOCDIR
+ rm -rf /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-handbook-3.40
+ /bin/mkdir -p /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-handbook-3.40
+ cp -prL mtpaint_handbook-3.40/COPYING mtpaint_handbook-3.40/docs/cs mtpaint_handbook-3.40/docs/en_GB mtpaint_handbook-3.40/docs/files mtpaint_handbook-3.40/docs/img mtpaint_handbook-3.40/docs/index.html /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-handbook-3.40
+ chmod -R go-w /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-handbook-3.40
+ chmod -R a+rX /usr/src/tmp/mtpaint-buildroot/usr/share/doc/mtpaint-handbook-3.40
+ exit 0
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.NRwHHy
find-provides: running scripts (alternatives,debuginfo,gir,lib,pam,perl,pkgconfig,python,shell,typelib)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.xWWBXI
find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,systemd-services,typelib)
Requires: mtpaint = 3.40-alt2.1
Processing files: mtpaint-debuginfo-3.40-alt2.1
Finding Provides (using /usr/lib/rpm/find-provides)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.Fx7EiX
find-provides: running scripts (debuginfo)
Finding Requires (using /usr/lib/rpm/find-requires)
Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.lai7Qf
find-requires: running scripts (debuginfo)
Requires: mtpaint = 3.40-alt2.1, /usr/lib/debug/lib64/ld-linux-x86-64.so.2.debug, debug64(libX11.so.6), debug64(libc.so.6), debug64(libfreetype.so.6), debug64(libgdk-x11-2.0.so.0), debug64(libgdk_pixbuf-2.0.so.0), debug64(libgif.so.4), debug64(libglib-2.0.so.0), debug64(libgobject-2.0.so.0), debug64(libgthread-2.0.so.0), debug64(libgtk-x11-2.0.so.0), debug64(libjpeg.so.62), debug64(libm.so.6), debug64(libpango-1.0.so.0), debug64(libpng16.so.16), debug64(libpthread.so.0), debug64(libtiff.so.5), debug64(libz.so.1)
Adding to mtpaint-handbook a strict dependency on mtpaint
Adding to mtpaint-debuginfo a strict dependency on mtpaint
Adding to mtpaint a strict dependency on mtpaint-handbook
Wrote: /usr/src/RPM/RPMS/x86_64/mtpaint-3.40-alt2.1.x86_64.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/noarch/mtpaint-handbook-3.40-alt2.1.noarch.rpm (w2.lzdio)
Wrote: /usr/src/RPM/RPMS/x86_64/mtpaint-debuginfo-3.40-alt2.1.x86_64.rpm (w2.lzdio)
15.38user 2.28system 0:31.89elapsed 55%CPU (0avgtext+0avgdata 108352maxresident)k
0inputs+0outputs (0major+1009240minor)pagefaults 0swaps
27.63user 5.41system 1:14.67elapsed 44%CPU (0avgtext+0avgdata 115064maxresident)k
0inputs+0outputs (0major+1433242minor)pagefaults 0swaps