<86>Oct 2 03:42:38 userdel[68662]: delete user 'rooter' <86>Oct 2 03:42:38 userdel[68662]: removed group 'rooter' owned by 'rooter' <86>Oct 2 03:42:38 userdel[68662]: removed shadow group 'rooter' owned by 'rooter' <86>Oct 2 03:42:38 groupadd[68699]: group added to /etc/group: name=rooter, GID=645 <86>Oct 2 03:42:38 groupadd[68699]: group added to /etc/gshadow: name=rooter <86>Oct 2 03:42:38 groupadd[68699]: new group: name=rooter, GID=645 <86>Oct 2 03:42:38 useradd[68737]: new user: name=rooter, UID=645, GID=645, home=/root, shell=/bin/bash <86>Oct 2 03:42:38 userdel[68775]: delete user 'builder' <86>Oct 2 03:42:38 userdel[68775]: removed group 'builder' owned by 'builder' <86>Oct 2 03:42:38 userdel[68775]: removed shadow group 'builder' owned by 'builder' <86>Oct 2 03:42:38 groupadd[68803]: group added to /etc/group: name=builder, GID=646 <86>Oct 2 03:42:38 groupadd[68803]: group added to /etc/gshadow: name=builder <86>Oct 2 03:42:38 groupadd[68803]: new group: name=builder, GID=646 <86>Oct 2 03:42:38 useradd[68819]: new user: name=builder, UID=646, GID=646, home=/usr/src, shell=/bin/bash <13>Oct 2 03:42:43 rpmi: xorg-proto-devel-2019.1-alt1 sisyphus+232786.100.1.1 1561106722 installed <13>Oct 2 03:42:43 rpmi: libexpat-2.2.4-alt1 1503305341 installed <13>Oct 2 03:42:43 rpmi: libglvnd-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Oct 2 03:42:43 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Oct 2 03:42:43 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Oct 2 03:42:43 rpmi: zlib-devel-1.2.11-alt1 sisyphus+221902.6000.4.1 1550600768 installed <13>Oct 2 03:42:43 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Oct 2 03:42:43 rpmi: libwayland-server-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Oct 2 03:42:45 rpmi: libicu64-1:6.4.2-alt1 sisyphus+227580.100.1.2 1555784315 installed <13>Oct 2 03:42:45 rpmi: libgraphite2-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Oct 2 03:42:45 rpmi: libharfbuzz-2.6.2-alt1 sisyphus+238429.100.1.1 1569910526 installed <13>Oct 2 03:42:45 rpmi: libfreetype-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>Oct 2 03:42:45 rpmi: fontconfig-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed Updating fonts cache: <29>Oct 2 03:42:46 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Oct 2 03:42:46 rpmi: libgdbm-1.8.3-alt10 1454943313 installed <13>Oct 2 03:42:46 rpmi: libharfbuzz-icu-2.6.2-alt1 sisyphus+238429.100.1.1 1569910526 installed <13>Oct 2 03:42:46 rpmi: libgraphite2-devel-1.3.13-alt2 sisyphus+226799.100.1.1 1554648233 installed <13>Oct 2 03:42:46 rpmi: icu-utils-1:6.4.2-alt1 sisyphus+227580.100.1.2 1555784315 installed <13>Oct 2 03:42:46 rpmi: libicu-devel-1:6.4.2-alt1 sisyphus+227580.100.1.2 1555784315 installed <13>Oct 2 03:42:46 rpmi: libXau-devel-1.0.9-alt1 sisyphus+223149.200.2.1 1551268156 installed <13>Oct 2 03:42:46 rpmi: libpng-devel-1.6.37-alt1 sisyphus+236677.100.2.1 1566917982 installed <13>Oct 2 03:42:46 rpmi: libjasper-2.0.16-alt1 sisyphus+231386.100.1.1 1559568071 installed <13>Oct 2 03:42:46 rpmi: libOpenGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Oct 2 03:42:46 rpmi: libGLES-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Oct 2 03:42:46 rpmi: libnatspec-0.3.1-alt2 1445691578 installed <13>Oct 2 03:42:47 rpmi: libgtk+2-locales-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Oct 2 03:42:47 rpmi: libgif-4.1.6-alt3 1299634266 installed <13>Oct 2 03:42:47 rpmi: libfribidi-1.0.7-alt1 sisyphus+238256.100.1.1 1569654630 installed <13>Oct 2 03:42:47 rpmi: libdatrie-0.2.9-alt1_6 1511686677 installed <13>Oct 2 03:42:47 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Oct 2 03:42:47 rpmi: libpixman-3:0.38.4-alt1 sisyphus+228006.100.1.1 1556013486 installed <13>Oct 2 03:42:47 rpmi: liblz4-1:1.9.1-alt1 sisyphus+228057.100.1.1 1556059262 installed <13>Oct 2 03:42:47 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521088 installed <13>Oct 2 03:42:47 rpmi: libgcrypt20-1.8.5-alt1 sisyphus+236872.100.1.1 1567111842 installed <13>Oct 2 03:42:47 rpmi: libsystemd-1:243-alt2 sisyphus+238287.100.2.1 1569866082 installed <13>Oct 2 03:42:47 rpmi: libdbus-1.12.12-alt2 sisyphus+221234.100.1.2 1549918037 installed <13>Oct 2 03:42:47 rpmi: libavahi-0.7-alt1 sisyphus+237493.100.1.1 1568299460 installed <13>Oct 2 03:42:47 rpmi: libcups-2.2.12-alt2 sisyphus+236663.100.1.1 1566900250 installed <13>Oct 2 03:42:47 rpmi: libatk-locales-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Oct 2 03:42:47 rpmi: libatk-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <13>Oct 2 03:42:47 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268594 installed <13>Oct 2 03:42:47 rpmi: libX11-locales-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Oct 2 03:42:47 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949347 installed <13>Oct 2 03:42:47 rpmi: libxcb-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Oct 2 03:42:47 rpmi: libX11-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Oct 2 03:42:47 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Oct 2 03:42:47 rpmi: libXrender-0.9.8-alt1 1371312110 installed <13>Oct 2 03:42:47 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614842 installed <13>Oct 2 03:42:47 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Oct 2 03:42:47 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949282 installed <13>Oct 2 03:42:49 rpmi: libxcb-devel-1.13.1-alt1 sisyphus+226527.100.2.2 1554593799 installed <13>Oct 2 03:42:49 rpmi: libX11-devel-3:1.6.8-alt1 sisyphus+232786.200.1.1 1561106874 installed <13>Oct 2 03:42:49 rpmi: libXrender-devel-0.9.8-alt1 1371312110 installed <13>Oct 2 03:42:49 rpmi: libXext-devel-1.3.4-alt1 sisyphus+225206.700.1.2 1552949422 installed <13>Oct 2 03:42:49 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949214 installed <13>Oct 2 03:42:49 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949698 installed <13>Oct 2 03:42:49 rpmi: libXxf86vm-1.1.4-alt2 1527672159 installed <13>Oct 2 03:42:49 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106975 installed <13>Oct 2 03:42:49 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268223 installed <13>Oct 2 03:42:49 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949136 installed <13>Oct 2 03:42:49 rpmi: libwayland-client-1.17.0-alt1 sisyphus+225894.100.1.1 1553872803 installed <13>Oct 2 03:42:49 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438297 installed <13>Oct 2 03:42:49 rpmi: libdrm-1:2.4.99-alt1 sisyphus+234110.100.1.1 1562593655 installed <13>Oct 2 03:42:49 rpmi: libGLX-mesa-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Oct 2 03:42:49 rpmi: libGLX-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Oct 2 03:42:49 rpmi: libGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Oct 2 03:42:49 rpmi: libgbm-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Oct 2 03:42:49 rpmi: libEGL-mesa-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Oct 2 03:42:49 rpmi: libEGL-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Oct 2 03:42:49 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Oct 2 03:42:49 rpmi: libpango-1.44.6-alt1 sisyphus+237086.200.1.1 1567541051 installed <13>Oct 2 03:42:50 rpmi: libglvnd-devel-7:1.1.1-alt1 sisyphus+224993.100.4.1 1552634540 installed <13>Oct 2 03:42:50 rpmi: libEGL-devel-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Oct 2 03:42:50 rpmi: libGL-devel-4:19.1.7-alt1 sisyphus+237720.100.1.1 1568798560 installed <13>Oct 2 03:42:50 rpmi: icon-theme-hicolor-0.17-alt1 1505715846 installed <13>Oct 2 03:42:50 rpmi: libwebp7-1.0.3-alt1 sisyphus+234493.100.1.1 1563090161 installed <13>Oct 2 03:42:50 rpmi: libjbig-2.1-alt1 1401380921 installed <13>Oct 2 03:42:50 rpmi: libtiff5-4.0.10.0.93.91480d3d-alt1 sisyphus+231496.100.1.1 1559668975 installed <13>Oct 2 03:42:50 rpmi: shared-mime-info-1.13.1-alt1 sisyphus+238155.100.2.1 1569407984 installed <13>Oct 2 03:42:50 rpmi: libgdk-pixbuf-locales-2.38.2-alt1 sisyphus+237289.100.1.1 1568014737 installed <13>Oct 2 03:42:50 rpmi: libverto-0.3.0-alt1_7 sisyphus+225932.100.1.1 1553994917 installed <13>Oct 2 03:42:50 rpmi: libkeyutils-1.6-alt2 sisyphus+226520.100.2.1 1554512088 installed <13>Oct 2 03:42:50 rpmi: libcom_err-1.44.6-alt1 sisyphus+224154.100.1.1 1552091653 installed <13>Oct 2 03:42:50 rpmi: gsettings-desktop-schemas-data-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Oct 2 03:42:50 rpmi: libgio-2.62.0-alt1 sisyphus+237956.100.4.2 1569330845 installed <13>Oct 2 03:42:50 rpmi: gsettings-desktop-schemas-3.34.0-alt1 sisyphus+237956.300.4.2 1569331130 installed <13>Oct 2 03:42:50 rpmi: libgdk-pixbuf-2.38.2-alt1 sisyphus+237289.100.1.1 1568014737 installed <13>Oct 2 03:42:50 rpmi: gtk-update-icon-cache-3.24.11-alt1 sisyphus+237086.240.2.1 1567572418 installed <13>Oct 2 03:42:51 rpmi: libgtk+2-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Oct 2 03:42:51 rpmi: libgdk-pixbuf-xlib-2.38.2-alt1 sisyphus+237289.100.1.1 1568014737 installed <13>Oct 2 03:42:51 rpmi: xml-utils-1:2.9.9.0.52.f824-alt1 sisyphus+229881.200.3.1 1558978732 installed <13>Oct 2 03:42:51 rpmi: rpm-build-gir-0.7.3-alt2 sisyphus+234037.40.2.1 1562495133 installed <13>Oct 2 03:42:51 rpmi: libp11-kit-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Oct 2 03:42:51 rpmi: libtasn1-4.14-alt1 sisyphus+235791.100.1.1 1565282369 installed <13>Oct 2 03:42:51 rpmi: rpm-macros-alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 2 03:42:51 rpmi: alternatives-0.5.1-alt1 sisyphus+226946.100.1.1 1554830426 installed <13>Oct 2 03:42:51 rpmi: ca-certificates-2019.09.10-alt1 sisyphus+237323.300.1.1 1568103476 installed <13>Oct 2 03:42:51 rpmi: ca-trust-0.1.2-alt1 sisyphus+233348.100.1.1 1561653823 installed <13>Oct 2 03:42:51 rpmi: p11-kit-trust-0.23.15-alt1 sisyphus+226408.100.2.1 1554288187 installed <13>Oct 2 03:42:51 rpmi: libcrypto1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Oct 2 03:42:51 rpmi: libssl1.1-1.1.1d-alt1.1 sisyphus+237931.100.2.1 1569235630 installed <13>Oct 2 03:42:51 rpmi: libpython3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575266 installed <13>Oct 2 03:42:51 rpmi: python3-3.7.4-alt1 sisyphus+236519.100.1.1 1566575266 installed <13>Oct 2 03:42:52 rpmi: python3-base-3.7.4-alt1 sisyphus+236519.100.1.1 1566575266 installed <13>Oct 2 03:42:52 rpmi: glib2-devel-2.62.0-alt1 sisyphus+237956.100.4.2 1569330845 installed <13>Oct 2 03:42:52 rpmi: libharfbuzz-devel-2.6.2-alt1 sisyphus+238429.100.1.1 1569910526 installed <13>Oct 2 03:42:53 rpmi: libfreetype-devel-2.10.1-alt1 sisyphus+237471.100.1.1 1568276349 installed <13>Oct 2 03:42:53 rpmi: fontconfig-devel-2.13.1-alt1 sisyphus+226691.100.2.2 1554598717 installed <13>Oct 2 03:42:53 rpmi: libcairo-devel-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515520 installed <13>Oct 2 03:42:53 rpmi: libgio-devel-2.62.0-alt1 sisyphus+237956.100.4.2 1569330845 installed <13>Oct 2 03:42:53 rpmi: libgdk-pixbuf-devel-2.38.2-alt1 sisyphus+237289.100.1.1 1568014737 installed <13>Oct 2 03:42:53 rpmi: libXft-devel-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987714 installed <13>Oct 2 03:42:53 rpmi: libpango-devel-1.44.6-alt1 sisyphus+237086.200.1.1 1567541051 installed <13>Oct 2 03:42:53 rpmi: libatk-devel-2.34.1-alt1 sisyphus+237956.700.4.2 1569332333 installed <86>Oct 2 03:42:53 groupadd[101435]: group added to /etc/group: name=_keytab, GID=499 <86>Oct 2 03:42:53 groupadd[101435]: group added to /etc/gshadow: name=_keytab <86>Oct 2 03:42:53 groupadd[101435]: new group: name=_keytab, GID=499 <13>Oct 2 03:42:53 rpmi: libkrb5-1.16.3-alt1 sisyphus+223678.100.1.1 1551746443 installed <13>Oct 2 03:42:53 rpmi: libtirpc-1.0.3-alt1 1532008015 installed <13>Oct 2 03:42:53 rpmi: libnsl2-1.1.0-alt1_1 1511548748 installed <13>Oct 2 03:42:53 rpmi: python-modules-encodings-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 2 03:42:53 rpmi: python-modules-compiler-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 2 03:42:53 rpmi: python-modules-email-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 2 03:42:53 rpmi: python-modules-unittest-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 2 03:42:53 rpmi: python-modules-nis-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 2 03:42:53 rpmi: python-modules-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 2 03:42:53 rpmi: python-modules-xml-2.7.16-alt1 sisyphus+226365.200.2.1 1554143277 installed <13>Oct 2 03:42:53 rpmi: gtk-builder-convert-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Oct 2 03:42:53 rpmi: libgtk+2-devel-2.24.32-alt3 sisyphus+227306.100.1.3 1555646039 installed <13>Oct 2 03:42:54 rpmi: libtiff-devel-4.0.10.0.93.91480d3d-alt1 sisyphus+231496.100.1.1 1559668975 installed <13>Oct 2 03:42:54 rpmi: libgif-devel-4.1.6-alt3 1299634266 installed <13>Oct 2 03:42:54 rpmi: unzip-6.0-alt2.qa1 1366155323 installed <13>Oct 2 03:42:54 rpmi: libjpeg-devel-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902884 installed <13>Oct 2 03:42:54 rpmi: desktop-file-utils-0.23-alt2 sisyphus+226879.100.1.1 1554744353 installed <13>Oct 2 03:42:54 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 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.24164 + 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.8456 + 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from main.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from main.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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:110, 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:261: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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from inifile.c:34: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 inifile.c:34: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from inifile.c:34: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 inifile.c:34: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ inifile.c: In function 'write_ini': inifile.c:543:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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=canvas -c -o canvas.o canvas.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from canvas.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 canvas.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from canvas.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 canvas.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ canvas.c: In function 'do_fx': canvas.c:414:12: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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=viewer -c -o viewer.o viewer.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from viewer.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 viewer.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from viewer.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 viewer.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from mainwindow.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 mainwindow.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from mainwindow.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 mainwindow.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ mainwindow.c: In function 'clipboard_export_fn': mainwindow.c:432:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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=wu -c -o wu.o wu.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from wu.c:19: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 wu.c:19: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from wu.c:19: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 wu.c:19: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from mygtk.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 mygtk.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from mygtk.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 mygtk.c:21: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ mygtk.c: In function 'alert_reply': mygtk.c:227:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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=info -c -o info.o info.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from info.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 info.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from info.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 info.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from polygon.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 polygon.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from polygon.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 polygon.c:21: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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=otherwindow -c -o otherwindow.o otherwindow.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from otherwindow.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 otherwindow.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from otherwindow.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 otherwindow.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ otherwindow.c: In function 'expose_pat': otherwindow.c:417:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from prefs.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 prefs.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from prefs.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 prefs.c:21: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from memory.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 memory.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from memory.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 memory.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ memory.c: In function 'tile_row_compare': memory.c:1063:5: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (((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=ani -c -o ani.o ani.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from ani.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 ani.c:26: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from ani.c:26: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 ani.c:26: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from toolbar.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 toolbar.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from toolbar.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 toolbar.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ toolbar.c: In function 'ts_spinslide_moved': toolbar.c:341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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=layer -c -o layer.o layer.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from layer.c:20: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 layer.c:20: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from layer.c:20: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 layer.c:20: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ layer.c: In function 'layer_tog_visible': layer.c:935:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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=channels -c -o channels.o channels.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from channels.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 channels.c:23: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from channels.c:23: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 channels.c:23: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ channels.c: In function 'click_newchan_ok': channels.c:224:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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=csel -c -o csel.o csel.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from csel.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from csel.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ csel.c: In function 'csel_scan': csel.c:411:2: warning: 'GStaticMutex' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] DEF_MUTEX(csel_lock); // To prevent concurrent writes to *info ^~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:110, 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:129:9: note: declared here typedef struct ^~~~~~ csel.c:411:13: warning: g_mutex_init DEF_MUTEX(csel_lock); // To prevent concurrent writes to *info ^~~~~~~~~~~~~~ csel.c:414:13: warning: Deprecated pre-processor symbol LOCK_MUTEX(csel_lock); ^~~~~~~~~~~ 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:110, 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:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:414:13: warning: g_mutex_lock LOCK_MUTEX(csel_lock); ^~~~~~~~~~~ csel.c:540:13: warning: Deprecated pre-processor symbol UNLOCK_MUTEX(csel_lock); ^~~~~~~~~~~~~ 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:110, 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:150:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:540:13: warning: g_mutex_unlock UNLOCK_MUTEX(csel_lock); ^~~~~~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from shifter.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 shifter.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from shifter.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 shifter.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from png.c:62: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 png.c:62: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from png.c:62: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 png.c:62: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from spawn.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 spawn.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from spawn.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 spawn.c:24: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ spawn.c: In function 'faction_changed': spawn.c:327:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (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=icons -c -o icons.o icons.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from icons.c:20: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 icons.c:20: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from icons.c:20: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 icons.c:20: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from fpick.c:21: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 fpick.c:21: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from fpick.c:21: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 fpick.c:21: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ 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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from thread.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from thread.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ thread.c: In function 'launch_threads': thread.c:266:3: warning: 'g_thread_create' is deprecated: Use 'g_thread_new' instead [-Wdeprecated-declarations] if (!g_thread_create((GThreadFunc)thread, tp, FALSE, NULL)) ^~ In file included from /usr/include/glib-2.0/glib.h:110, 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:100: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=cpick -c -o cpick.o cpick.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from cpick.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 cpick.c:22: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from cpick.c:22: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 cpick.c:22: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ cpick.c: In function 'cpick_spin_change': cpick.c:727:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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 -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 In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from mygtk.h:20, from font.c:24: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] void gtk_type_init (GTypeDebugFlags debug_flags); ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:24, from /usr/include/glib-2.0/gobject/gbinding.h:29, from /usr/include/glib-2.0/glib-object.h: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 font.c:24: /usr/include/glib-2.0/gobject/gtype.h:679:1: note: declared here { ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from mygtk.h:20, from font.c:24: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] GTimeVal last_popdown; ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:32, from /usr/include/glib-2.0/glib.h:30, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h: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 font.c:24: /usr/include/glib-2.0/glib/gtypes.h:551:8: note: declared here struct _GTimeVal ^~~~~~~~~ font.c: In function 'update_clist': font.c:961:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] 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 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.55628 + 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 + cd mtpaint-3.40 + rm -rf /usr/src/tmp/mtpaint-buildroot + /usr/bin/make 'INSTALL=/bin/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) /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.6257 + 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.D36LAr 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.XCs900 find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,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.bhOsQG Creating mtpaint-debuginfo package Processing files: mtpaint-handbook-3.40-alt2.1 Executing(%doc): /bin/sh -e /usr/src/tmp/rpm-tmp.61024 + 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.PajXJr 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.130x9f find-requires: running scripts (cpp,debuginfo,files,gir-js,gir-python,gir,lib,pam,perl,pkgconfig,pkgconfiglib,python,rpmlib,shebang,shell,static,symlinks,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.XsFBE8 find-provides: running scripts (debuginfo) Finding Requires (using /usr/lib/rpm/find-requires) Executing: /bin/sh -e /usr/src/tmp/rpm-tmp.fJfcK4 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 Wrote: /usr/src/RPM/RPMS/noarch/mtpaint-handbook-3.40-alt2.1.noarch.rpm Wrote: /usr/src/RPM/RPMS/x86_64/mtpaint-debuginfo-3.40-alt2.1.x86_64.rpm 18.29user 3.36system 0:23.33elapsed 92%CPU (0avgtext+0avgdata 109924maxresident)k 0inputs+0outputs (0major+932198minor)pagefaults 0swaps 34.17user 8.19system 0:48.88elapsed 86%CPU (0avgtext+0avgdata 114608maxresident)k 0inputs+0outputs (0major+1358937minor)pagefaults 0swaps