D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/mtpaint-3.50-5.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jLtVZ5 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RskzlP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build + rm -rf mtpaint-3.50 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mtpaint-3.50.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd mtpaint-3.50 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/mtpaint_handbook-3.50.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mtpaint-3.50-xdg-open.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mtpaint-3.40-strip.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mtpaint-3.40-png.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mtpaint-3.40-yad.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/mtpaint-configure-c99.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + chmod 0755 mtpaint_handbook-3.50/docs/en_GB mtpaint_handbook-3.50/docs/img mtpaint_handbook-3.50/docs/files mtpaint_handbook-3.50/docs/cs + dos2unix -k mtpaint_handbook-3.50/docs/index.html dos2unix: converting file mtpaint_handbook-3.50/docs/index.html to Unix format... + dos2unix -k mtpaint_handbook-3.50/docs/en_GB/chap_00.html mtpaint_handbook-3.50/docs/en_GB/chap_01.html mtpaint_handbook-3.50/docs/en_GB/chap_02.html mtpaint_handbook-3.50/docs/en_GB/chap_03.html mtpaint_handbook-3.50/docs/en_GB/chap_04.html mtpaint_handbook-3.50/docs/en_GB/chap_05.html mtpaint_handbook-3.50/docs/en_GB/chap_06.html mtpaint_handbook-3.50/docs/en_GB/chap_07.html mtpaint_handbook-3.50/docs/en_GB/chap_08.html mtpaint_handbook-3.50/docs/en_GB/chap_09.html mtpaint_handbook-3.50/docs/en_GB/chap_10.html mtpaint_handbook-3.50/docs/en_GB/chap_A.html mtpaint_handbook-3.50/docs/en_GB/chap_B.html mtpaint_handbook-3.50/docs/en_GB/chap_C.html mtpaint_handbook-3.50/docs/en_GB/chap_D.html mtpaint_handbook-3.50/docs/cs/chap_00.html mtpaint_handbook-3.50/docs/cs/chap_01.html mtpaint_handbook-3.50/docs/cs/chap_02.html mtpaint_handbook-3.50/docs/cs/chap_03.html mtpaint_handbook-3.50/docs/cs/chap_04.html mtpaint_handbook-3.50/docs/cs/chap_05.html mtpaint_handbook-3.50/docs/cs/chap_06.html mtpaint_handbook-3.50/docs/cs/chap_07.html mtpaint_handbook-3.50/docs/cs/chap_08.html mtpaint_handbook-3.50/docs/cs/chap_09.html mtpaint_handbook-3.50/docs/cs/chap_A.html mtpaint_handbook-3.50/docs/cs/chap_B.html mtpaint_handbook-3.50/docs/cs/chap_C.html mtpaint_handbook-3.50/docs/cs/chap_D.html dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_00.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_01.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_02.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_03.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_04.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_05.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_06.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_07.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_08.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_09.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_10.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_A.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_B.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_C.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/en_GB/chap_D.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_00.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_01.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_02.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_03.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_04.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_05.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_06.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_07.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_08.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_09.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_A.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_B.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_C.html to Unix format... dos2unix: converting file mtpaint_handbook-3.50/docs/cs/chap_D.html to Unix format... + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7FBE5p + umask 022 + cd /home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd mtpaint-3.50 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + export 'CFLAGS=-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC' + export 'LDFLAGS=-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC' + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC' + ./configure --cpu=x86-64 --prefix=/usr gtkfilesel gtkcolsel cflags asneeded intl man thread gtk3 GIF tiff jpeg jp2v2 imagick lcms2 --------------------- mtPaint Configuration --------------------- ------- General ------- Version 3.50 System GNU/Linux Toolkit GTK+3 Lists GTK+2 File Picker mtpaint Colour Picker gtkcolsel Animation Package ImageMagick Use FreeType YES Use CMS LittleCMS2 Icon set icons1 Internationalized YES Multithreaded YES -------- Compiler -------- Optimizations CFLAGS CFLAGS -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon LDFLAGS -Wl,--as-needed -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC Static libraries NONE ---------- File Types ---------- Use GIF GIF Use JPEG YES Use JPEG 2000 OpenJPEG2 Use TIFF YES Use WebP YES ------------ Installation ------------ Binary install /usr/bin Locale install /usr/share/locale Locale program /usr/share/locale Install man page YES Man page install /usr/share/man + /usr/bin/make -O -j16 V=1 VERBOSE=1 /usr/bin/make -C src /usr/bin/make -C po /usr/bin/make -C doc make[1]: Nothing to be done for 'all'. make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/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 = 802 translated messages, 205 untranslated messages. cs = 767 translated messages, 240 untranslated messages. fr = fr.po:1220: 'msgid' and 'msgstr' entries do not both end with '\n' fr.po:1459: 'msgid' and 'msgstr' entries do not both end with '\n' msgfmt: found 2 fatal errors 985 translated messages, 22 untranslated messages. pt = 190 translated messages, 817 untranslated messages. pt_BR = 448 translated messages, 559 untranslated messages. de = 925 translated messages, 82 untranslated messages. pl = 573 translated messages, 434 untranslated messages. tr = 302 translated messages, 705 untranslated messages. zh_TW = 616 translated messages, 9 fuzzy translations, 382 untranslated messages. sk = 630 translated messages, 377 untranslated messages. zh_CN = 777 translated messages, 230 untranslated messages. ja = 796 translated messages, 9 fuzzy translations, 202 untranslated messages. ru = 985 translated messages, 1 fuzzy translation, 21 untranslated messages. gl = 803 translated messages, 204 untranslated messages. nl = 854 translated messages, 153 untranslated messages. it = 831 translated messages, 176 untranslated messages. sv = 741 translated messages, 266 untranslated messages. tl = 364 translated messages, 643 untranslated messages. hu = 622 translated messages, 385 untranslated messages. make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/po' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=mtlib -c -o mtlib.o mtlib.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=layer -c -o layer.o layer.c layer.c: In function 'layer_show_new': layer.c:202:9: error: too many arguments to function 'layer_refresh_list'; expected 0, have 1 202 | layer_refresh_list(layers_total); | ^~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ In file included from layer.c:29: layer.h:75:6: note: declared here 75 | void layer_refresh_list(); | ^~~~~~~~~~~~~~~~~~ layer.c: At top level: layer.c:292:6: error: conflicting types for 'layer_refresh_list'; have 'void(int)' 292 | void layer_refresh_list(int slot) | ^~~~~~~~~~~~~~~~~~ layer.h:75:6: note: previous declaration of 'layer_refresh_list' with type 'void(void)' 75 | void layer_refresh_list(); | ^~~~~~~~~~~~~~~~~~ layer.c: In function 'load_layers': layer.c:469:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 469 | fgets(tin, 256, fp); | ^~~~~~~~~~~~~~~~~~~ layer.c:490:17: warning: ignoring return value of 'fgets' declared with attribute 'warn_unused_result' [-Wunused-result] 490 | fgets(tin, 256, fp); | ^~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:20: layer.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: *** Waiting for unfinished jobs.... make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=prefs -c -o prefs.o prefs.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=info -c -o info.o info.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=polygon -c -o polygon.o polygon.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=main -c -o main.o main.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=png -c -o png.o png.c png.c: In function 'load_png': png.c:728:51: error: passing argument 3 of 'png_set_read_user_chunk_fn' from incompatible pointer type [-Wincompatible-pointer-types] 728 | png_set_read_user_chunk_fn(png_ptr, NULL, buggy_libpng_handler); | ^~~~~~~~~~~~~~~~~~~~ | | | int (*)(void) In file included from /usr/include/libpng16/png.h:337, from png.c:27: /usr/include/libpng16/png.h:1699:50: note: expected 'png_user_chunk_ptr' {aka 'int (*)(struct png_struct_def *, struct png_unknown_chunk_t *)'} but argument is of type 'int (*)(void)' 1699 | png_voidp user_chunk_ptr, png_user_chunk_ptr read_user_chunk_fn)); | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /usr/include/libpng16/pngconf.h:286:75: note: in definition of macro 'PNG_FUNCTION' 286 | # define PNG_FUNCTION(type, name, args, attributes) attributes type name args | ^~~~ /usr/include/libpng16/pngconf.h:310:4: note: in expansion of macro 'PNG_EXPORTA' 310 | PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) | ^~~~~~~~~~~ /usr/include/libpng16/png.h:1698:1: note: in expansion of macro 'PNG_EXPORT' 1698 | PNG_EXPORT(88, void, png_set_read_user_chunk_fn, (png_structrp png_ptr, | ^~~~~~~~~~ png.c:638:12: note: 'buggy_libpng_handler' declared here 638 | static int buggy_libpng_handler() | ^~~~~~~~~~~~~~~~~~~~ /usr/include/libpng16/png.h:840:28: note: 'png_user_chunk_ptr' declared here 840 | typedef PNG_CALLBACK(int, *png_user_chunk_ptr, (png_structp, | ^~~~~~~~~~~~~~~~~~ /usr/include/libpng16/pngconf.h:318:57: note: in definition of macro 'PNG_CALLBACK' 318 | # define PNG_CALLBACK(type, name, args) type (PNGCBAPI name) args | ^~~~ png.c: In function 'prepare_opj': png.c:2231:17: warning: 'bpp' is deprecated: Use prec instead [-Wdeprecated-declarations] 2231 | channels[i].prec = channels[i].bpp = 8; | ^~~~~~~~ In file included from png.c:43: /usr/include/openjpeg-2.5/openjpeg.h:752:45: note: declared here 752 | OPJ_DEPRECATED_STRUCT_MEMBER(OPJ_UINT32 bpp, "Use prec instead"); | ^~~ /usr/include/openjpeg-2.5/openjpeg.h:80:83: note: in definition of macro 'OPJ_DEPRECATED_STRUCT_MEMBER' 80 | #define OPJ_DEPRECATED_STRUCT_MEMBER(memb, msg) __attribute__ ((deprecated(msg))) memb | ^~~~ png.c: In function 'load_tiff_frame': png.c:2840:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2840 | uint16 bpsamp, sampp, xsamp, pmetric, planar, orient, sform; | ^~~~~~ png.c:2840:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2840:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2840:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2840:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2840:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2840:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2841:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 2841 | uint16 *sampinfo, *red16, *green16, *blue16; | ^~~~~~ png.c:2841:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2841:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2841:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] png.c:2842:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 2842 | uint32 width, height, tw = 0, th = 0, rps = 0; | ^~~~~~ png.c:2842:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:2842:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:2842:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:2842:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:2843:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 2843 | uint32 *tr, *raster = NULL; | ^~~~~~ png.c:2843:9: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:2978:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 2978 | uint32 size; | ^~~~~~ png.c:3005:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 3005 | raster = (uint32 *)_TIFFmalloc(width * height * sizeof(uint32)); | ^~~~~~ png.c:3005:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:3040:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 3040 | uint32 x0, y0, xstep = tw ? tw : width, ystep = th ? th : rps; | ^~~~~~ png.c:3040:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:3040:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:3040:17: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:3102:25: warning: 'uint32' is deprecated [-Wdeprecated-declarations] 3102 | uint32 x, y, w, h, l; | ^~~~~~ png.c:3102:25: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:3102:25: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:3102:25: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c:3102:25: warning: 'uint32' is deprecated [-Wdeprecated-declarations] png.c: In function 'save_tiff': png.c:3346:9: warning: 'uint16' is deprecated [-Wdeprecated-declarations] 3346 | uint16 rgb[256 * 3]; | ^~~~~~ png.c: In function 'load_xpm': png.c:4441:16: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 4441 | j = 0; fscanf(fp, " /* XPM */%n", &j); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c: In function 'load_txtpal': png.c:8125:25: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8125 | fscanf(fp, "%i,%i,%i\n", rgb + 0, rgb + 1, rgb + 2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: *** [Makefile:20: png.o] Error 1 make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=wu -c -o wu.o wu.c wu.c: In function 'Hist3d': wu.c:72:13: warning: old-style function definition [-Wold-style-definition] 72 | static void Hist3d(inbuf, vwt, vmr, vmg, vmb) // build 3-D color histogram of counts, r/g/b, c^2 | ^~~~~~ wu.c: In function 'M3d': wu.c:128:13: warning: old-style function definition [-Wold-style-definition] 128 | static void M3d(vwt, vmr, vmg, vmb) // compute cumulative moments. | ^~~ wu.c: In function 'Vol': wu.c:167:17: warning: old-style function definition [-Wold-style-definition] 167 | static long int Vol(cube, mmt) // Compute sum over a box of any given statistic | ^~~ wu.c: In function 'Bottom': wu.c:187:17: warning: old-style function definition [-Wold-style-definition] 187 | static long int Bottom(cube, dir, mmt) | ^~~~~~ wu.c: In function 'Top': wu.c:219:17: warning: old-style function definition [-Wold-style-definition] 219 | static long int Top(cube, dir, pos, mmt) | ^~~ wu.c: In function 'Var': wu.c:252:15: warning: old-style function definition [-Wold-style-definition] 252 | static double Var(cube) | ^~~ wu.c: In function 'Maximize': wu.c:281:15: warning: old-style function definition [-Wold-style-definition] 281 | static double Maximize(cube, dir, first, last, cut, whole_r, whole_g, whole_b, whole_w) | ^~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=inifile -c -o inifile.o inifile.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=ani -c -o ani.o ani.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=viewer -c -o viewer.o viewer.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=toolbar -c -o toolbar.o toolbar.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=otherwindow -c -o otherwindow.o otherwindow.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=mygtk -c -o mygtk.o mygtk.c mygtk.c: In function 'import_pixmap': mygtk.c:2649:17: warning: 'gdk_screen_width' is deprecated [-Wdeprecated-declarations] 2649 | p->w = gdk_screen_width(); | ^ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50, from /usr/include/gtk-3.0/gtk/gtk.h:30, from mygtk.h:20, from mygtk.c:24: /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here 108 | gint gdk_screen_width (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~ mygtk.c:2650:17: warning: 'gdk_screen_height' is deprecated [-Wdeprecated-declarations] 2650 | p->h = gdk_screen_height(); | ^ /usr/include/gtk-3.0/gdk/gdkmain.h:110:6: note: declared here 110 | gint gdk_screen_height (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~~ mygtk.c: In function 'wjcanvas_realize': mygtk.c:3681:9: warning: 'gdk_window_set_background_pattern' is deprecated [-Wdeprecated-declarations] 3681 | gdk_window_set_background_pattern(win, NULL); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkseat.h:28, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:33, from /usr/include/gtk-3.0/gdk/gdkscreen.h:32, from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32: /usr/include/gtk-3.0/gdk/gdkwindow.h:790:15: note: declared here 790 | void gdk_window_set_background_pattern (GdkWindow *window, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ mygtk.c: In function 'undo_grab': mygtk.c:5870:9: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations] 5870 | gdk_device_ungrab(gdk_device_get_associated_device(mouse), time); // kbd | ^~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdkdnd.h:33, from /usr/include/gtk-3.0/gdk/gdkevents.h:34, from /usr/include/gtk-3.0/gdk/gdkdisplay.h:31: /usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here 239 | void gdk_device_ungrab (GdkDevice *device, | ^~~~~~~~~~~~~~~~~ mygtk.c:5871:9: warning: 'gdk_device_ungrab' is deprecated: Use 'gdk_seat_ungrab' instead [-Wdeprecated-declarations] 5871 | gdk_device_ungrab(mouse, time); | ^~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gdk/gdkdevice.h:239:15: note: declared here 239 | void gdk_device_ungrab (GdkDevice *device, | ^~~~~~~~~~~~~~~~~ mygtk.c: In function 'window_dpi': mygtk.c:5996:9: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] 5996 | return ((gdk_screen_get_height(sc) * (double)25.4) / gdk_screen_get_height_mm(sc)); | ^~~~~~ /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here 60 | gint gdk_screen_get_height (GdkScreen *screen); | ^~~~~~~~~~~~~~~~~~~~~ mygtk.c:5996:9: warning: 'gdk_screen_get_height_mm' is deprecated [-Wdeprecated-declarations] 5996 | return ((gdk_screen_get_height(sc) * (double)25.4) / gdk_screen_get_height_mm(sc)); | ^~~~~~ /usr/include/gtk-3.0/gdk/gdkscreen.h:64:14: note: declared here 64 | gint gdk_screen_get_height_mm (GdkScreen *screen); | ^~~~~~~~~~~~~~~~~~~~~~~~ mygtk.c: In function 'resolve_path': mygtk.c:5498:17: warning: ignoring return value of 'getcwd' declared with attribute 'warn_unused_result' [-Wunused-result] 5498 | getcwd(wbuf, PATHBUF - 1); | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=canvas -c -o canvas.o canvas.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=mainwindow -c -o mainwindow.o mainwindow.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make[1]: Entering directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' gcc -Wall -Wno-pointer-sign -Wno-int-to-pointer-cast -Wno-pointer-to-int-cast -Wno-misleading-indentation -Wno-stringop-truncation -Wformat-truncation=0 -Wformat-overflow=0 -DHAVE__SFA -DHAVE_MKDTEMP -DU_GIF -DU_JP2=2 -DU_WEBP -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_GTK -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.50"' -I/usr/include/openjpeg-2.5 -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 -I/usr/include/sysprof-6 -pthread -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -fPIC -fcommon -frandom-seed=memory -c -o memory.o memory.c make[1]: Leaving directory '/home/pterjan/rpmbuild/BUILD/mtpaint-3.50-build/mtpaint-3.50/src' make: *** [Makefile:8: src] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7FBE5p (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.7FBE5p (%build) I: [iurt_root_command] ERROR: chroot