+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/mtpaint.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.qvb5VD + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtpaint-3.40 + /usr/bin/tar -xof - + /usr/bin/bzip2 -dc /builddir/build/SOURCES/mtpaint-3.40.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd mtpaint-3.40 + /usr/bin/unzip -qq /builddir/build/SOURCES/mtpaint_handbook-3.40.zip + STATUS=0 + '[' 0 -ne 0 ']' + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (mtpaint-3.40-xdg-open.patch):' Patch #0 (mtpaint-3.40-xdg-open.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/spawn.c + echo 'Patch #1 (mtpaint-3.31-png.patch):' Patch #1 (mtpaint-3.31-png.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/png.c Hunk #1 succeeded at 682 (offset 143 lines). Hunk #2 succeeded at 779 (offset 135 lines). + echo 'Patch #2 (mtpaint-3.40-strip.patch):' Patch #2 (mtpaint-3.40-strip.patch): + /usr/bin/patch --no-backup-if-mismatch -p0 --fuzz=0 patching file configure + echo 'Patch #3 (mtpaint-3.40-yad.patch):' Patch #3 (mtpaint-3.40-yad.patch): + /usr/bin/patch --no-backup-if-mismatch -p1 --fuzz=0 patching file src/spawn.c + /usr/bin/sed -i 's,"/usr/doc/mtpaint/index.html","/usr/share/doc/mtpaint-handbook/index.html",' src/spawn.c + /usr/bin/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 /var/tmp/rpm-tmp.TeQJj4 + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + export 'CFLAGS=-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC' + export 'LDFLAGS=-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC' + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC' + ./configure --prefix=/usr --docdir=/usr/share/doc/mtpaint cflags asneeded intl man thread gtk2 GIF tiff jpeg jp2 imagick lcms2 --------------------- mtPaint Configuration --------------------- ------- General ------- Version 3.40 System GNU/Linux Toolkit GTK+2 File Picker mtpaint Colour Picker mtpaint Animation Package ImageMagick Use FreeType YES Use CMS LittleCMS2 Icon set icons1 Internationalized YES Multithreaded YES -------- Compiler -------- Optimizations CFLAGS CFLAGS -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC LDFLAGS -Wl,--as-needed -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC Static libraries NONE ---------- File Types ---------- Use GIF GIF Use JPEG YES Use JPEG 2000 OpenJPEG Use TIFF YES ------------ Installation ------------ Binary install /usr/bin Locale install /usr/share/locale Locale program /usr/share/locale Install man page YES Man page install /usr/share/man + make -j4 make -C src make -C po make -C doc make[1]: Entering directory '/builddir/build/BUILD/mtpaint-3.40/src' /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=main -c -o main.o main.c make[1]: Entering directory '/builddir/build/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 make[1]: Entering directory '/builddir/build/BUILD/mtpaint-3.40/doc' make[1]: Nothing to be done for 'all'. make[1]: Leaving directory '/builddir/build/BUILD/mtpaint-3.40/doc' /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=mainwindow -c -o mainwindow.o mainwindow.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=inifile -c -o inifile.o inifile.c 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 '/builddir/build/BUILD/mtpaint-3.40/po' /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=png -c -o png.o png.c inifile.c: In function 'write_ini': inifile.c:543:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (defv && ((int)slotp->value == slotp->defv)) break; ^ inifile.c:544:36: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] fprintf(fp, "%s = %d\n", name, (int)slotp->value); ^ inifile.c: In function 'ini_setint': inifile.c:590:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)value; ^ inifile.c: In function 'ini_setbool': inifile.c:599:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)!!value; ^ inifile.c: In function 'ini_getint': inifile.c:672:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (slot->flags & INI_DEFAULT) return ((int)(slot->value)); ^ inifile.c:693:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)defv; ^ inifile.c:697:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int)(slot->value)); ^ inifile.c: In function 'ini_getbool': inifile.c:718:42: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (slot->flags & INI_DEFAULT) return ((int)(slot->value)); ^ inifile.c:731:18: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)(i & 1); ^ inifile.c:739:17: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] slot->value = (char *)defv; ^ inifile.c:743:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] return ((int)(slot->value)); ^ 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++; ^~ 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:108:0, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from main.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:265:10: note: declared here void g_thread_init (gpointer vtable); ^~~~~~~~~~~~~ main.c:362:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (strcmp(argv[i], "-w")) continue; j++; ^~ main.c:362:41: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (strcmp(argv[i], "-w")) continue; j++; ^ main.c:363:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] if (++i >= argc) break; j++; ^~ main.c:363:28: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' if (++i >= argc) break; j++; ^ 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; ^~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=memory -c -o memory.o memory.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=canvas -c -o canvas.o canvas.c png.c: In function 'load_png': png.c:831:53: warning: passing argument 5 of 'png_get_iCCP' from incompatible pointer type [-Wincompatible-pointer-types] if (png_get_iCCP(png_ptr, info_ptr, &name, &comp, &icc, &len) && ^ In file included from /usr/include/libpng16/png.h:366:0, from png.c:27: /usr/include/libpng16/png.h:2121:30: note: expected 'png_bytepp {aka unsigned char **}' but argument is of type 'char **' PNG_EXPORT(158, png_uint_32, png_get_iCCP, (png_const_structrp png_ptr, ^ /usr/include/libpng16/pngconf.h:287:70: note: in definition of macro 'PNG_FUNCTION' # define PNG_FUNCTION(type, name, args, attributes) attributes type name args ^~~~ /usr/include/libpng16/pngconf.h:311:4: note: in expansion of macro 'PNG_EXPORTA' PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) ^~~~~~~~~~~ /usr/include/libpng16/png.h:2121:1: note: in expansion of macro 'PNG_EXPORT' PNG_EXPORT(158, png_uint_32, png_get_iCCP, (png_const_structrp png_ptr, ^~~~~~~~~~ png.c: In function 'save_pixmap': png.c:5994:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] *(Pixmap *)(void *)&mf->buf = GDK_WINDOW_XWINDOW(exported[0]); ^ png.c: In function 'load_xpm': png.c:3737:9: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] j = 0; fscanf(fp, " /* XPM */%n", &j); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ png.c: In function 'load_txtpal': png.c:6192:4: warning: ignoring return value of 'fscanf', declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%i,%i,%i\n", rgb + 0, rgb + 1, rgb + 2); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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; ^~ 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); ^ mainwindow.c: In function 'repaint_canvas': mainwindow.c:3029:6: warning: '*((void *)&rect+12)' may be used uninitialized in this function [-Wmaybe-uninitialized] int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; ^~~~ mainwindow.c:3029:6: warning: '*((void *)&rect+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] mainwindow.c:3029:6: warning: '*((void *)&rect+4)' may be used uninitialized in this function [-Wmaybe-uninitialized] mainwindow.c:2793:19: warning: 'rect' may be used uninitialized in this function [-Wmaybe-uninitialized] tm2 = tmp + (k - x) * 3; ~~~^~~~ mainwindow.c:3029:6: note: 'rect' was declared here int rect[4], vxy[4], vport[4], lx = 0, ly = 0, rpx, rpy; ^~~~ png.c: In function 'save_image_x': png.c:4414:23: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized] buf[idx >> 1] |= k << ((idx & 1) << 2); ++idx; ~~^~~~~~~~~~~~~~~~~~~ png.c:4347:12: note: 'k' was declared here int i, j, k, last, cnt, idx; ^ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=otherwindow -c -o otherwindow.o otherwindow.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=mygtk -c -o mygtk.o mygtk.c otherwindow.c: In function 'expose_pat': otherwindow.c:417:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int w = (int)user_data; ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, 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:0, 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:0, 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:0, 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; ^ 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:0, 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:0, 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:0, 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:0, 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:0, 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); ^ mygtk.c: In function 'resolve_path': mygtk.c:3520:22: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] if (path[0] != '/') getcwd(wbuf, PATHBUF - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=viewer -c -o viewer.o viewer.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=polygon -c -o polygon.o polygon.c memory.c: In function 'wjfloodfill': memory.c:4221:21: warning: 'lastr[2]' may be used uninitialized in this function [-Wmaybe-uninitialized] (abs(thisr[2] - lastr[2]) > flood_step)) ~~~~~~~~~^~~~~~~~~~ memory.c:4220:21: warning: 'lastr[1]' may be used uninitialized in this function [-Wmaybe-uninitialized] (abs(thisr[1] - lastr[1]) > flood_step) || ~~~~~~~~~^~~~~~~~~~ memory.c:4219:24: warning: 'lastr[0]' may be used uninitialized in this function [-Wmaybe-uninitialized] if ((abs(thisr[0] - lastr[0]) > flood_step) || ~~~~~~~~~^~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=layer -c -o layer.o layer.c layer.c: In function 'layer_tog_visible': layer.c:935:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int j = (int)user_data; ^ layer.c: In function 'layer_inputs_changed': layer.c:960:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)user_data) ^ layer.c: In function 'layer_select': layer.c:1000:6: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] j = (int)gtk_object_get_user_data(GTK_OBJECT(widget)); ^ layer.c: In function 'create_layers_box': layer.c:1224:46: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_user_data(GTK_OBJECT(item), (gpointer)i); ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, 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) ^~~~~~~~~ layer.c: In function 'load_layers': layer.c:583:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tin, 256, fp); ^~~~~~~~~~~~~~~~~~~ layer.c:604:3: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tin, 256, fp); ^~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=info -c -o info.o info.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=wu -c -o wu.o wu.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=prefs -c -o prefs.o prefs.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=ani -c -o ani.o ani.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=mtlib -c -o mtlib.o mtlib.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=toolbar -c -o toolbar.o toolbar.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=channels -c -o channels.o channels.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=csel -c -o csel.o csel.c toolbar.c: In function 'ts_spinslide_moved': toolbar.c:341:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] switch ((int)user_data) ^ toolbar.c: In function 'create_settings_box': toolbar.c:977:41: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] GTK_SIGNAL_FUNC(ts_spinslide_moved), (gpointer)i); ^ toolbar.c: In function 'twobar_size_alloc': toolbar.c:1203:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] oldbar = (int)gtk_object_get_data(GTK_OBJECT(widget), TWOBAR_KEY); ^ toolbar.c:1206:55: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] gtk_object_set_data(GTK_OBJECT(widget), TWOBAR_KEY, (gpointer)bar); ^ 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)); ^ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=shifter -c -o shifter.o shifter.c csel.c: In function 'csel_scan': csel.c:414:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] LOCK_MUTEX(csel_lock); ^~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ csel.c:540:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated: Use 'GMutex' instead [-Wdeprecated-declarations] UNLOCK_MUTEX(csel_lock); ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib.h:108:0, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from csel.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:154:9: note: declared here GMutex *g_static_mutex_get_mutex_impl (GStaticMutex *mutex); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=spawn -c -o spawn.o spawn.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=font -c -o font.o font.c /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=fpick -c -o fpick.o fpick.c spawn.c: In function 'faction_changed': spawn.c:327:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] (int)user_data, gtk_entry_get_text(GTK_ENTRY(entry))); ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, 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) ^~~~~~~~~ spawn.c: In function 'spawn_process': spawn.c:602:19: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] if (directory) chdir(directory); ^~~~~~~~~~~~~~~~ spawn.c:613:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result [-Wunused-result] write(fds[1], &err, sizeof(err)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=icons -c -o icons.o icons.c font.c: In function 'update_clist': font.c:961:27: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] gtk_clist_moveto(clist, (int)(clist->selection->data), 0, 0.5, 0); ^ font.c: In function 'font_clist_update': font.c:967:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int cl = (int)user_data; ^ font.c: In function 'click_remove_font_dir': font.c:1239:37: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] if (clist->selection) delete_row = (int)(clist->selection->data); ^ font.c: In function 'font_clist_select_row': font.c:1319:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int cl = (int) user; ^ font.c: In function 'font_clist_column_button': font.c:1389:11: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int cl = (int) user; ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, 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) ^~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=cpick -c -o cpick.o cpick.c fpick.c: In function 'fpick_scan_directory': fpick.c:507:4: warning: ignoring return value of 'getcwd', declared with attribute warn_unused_result [-Wunused-result] getcwd(full_name, PATHBUF - 1); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/bin/gcc -Wall -Wno-pointer-sign -DU_THREADS -DU_FPICK_MTPAINT -DU_CPICK_MTPAINT -DU_ANIM_IMAGICK -DMT_VERSION='"mtPaint 3.40"' -DHAVE_MKDTEMP -DU_GIF -DU_JP2 -DU_TIFF -DU_JPEG -DU_FREETYPE -DU_LCMS=2 -DU_NLS -DMT_LANG_DEST='"/usr/share/locale"' -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 -pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fPIC -frandom-seed=thread -c -o thread.o thread.c cpick.c: In function 'cpick_spin_change': cpick.c:727:17: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] int i, input = (int)user_data; ^ In file included from /usr/include/gtk-2.0/gtk/gtkcalendar.h:40:0, 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) ^~~~~~~~~ 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:108:0, from /usr/include/glib-2.0/gobject/gbinding.h:28, from /usr/include/glib-2.0/glib-object.h:23, from /usr/include/glib-2.0/gio/gioenums.h:28, from /usr/include/glib-2.0/gio/giotypes.h:28, from /usr/include/glib-2.0/gio/gio.h:26, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32, from mygtk.h:20, from thread.c:22: /usr/include/glib-2.0/glib/deprecated/gthread.h:104:10: note: declared here GThread *g_thread_create (GThreadFunc func, ^~~~~~~~~~~~~~~ /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 -lopenjpeg -ltiff -ljpeg -lfreetype -llcms2 -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 -lfontconfig -lfreetype -lgthread-2.0 -pthread -lglib-2.0 -lX11 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -fPIC make[1]: Leaving directory '/builddir/build/BUILD/mtpaint-3.40/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.rX2pkJ + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64 + cd mtpaint-3.40 + make install MT_PREFIX=/builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr MT_MAN_DEST=/builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/man MT_LANG_DEST=/builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/locale MT_DATAROOT=/builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share BIN_INSTALL=/builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/bin for dir in src po doc; do make -C $dir install; done make[1]: Entering directory '/builddir/build/BUILD/mtpaint-3.40/src' mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/bin cp mtpaint /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/bin make[1]: Leaving directory '/builddir/build/BUILD/mtpaint-3.40/src' make[1]: Entering directory '/builddir/build/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 /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/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 /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/locale/$iii/LC_MESSAGES/mtpaint.mo; done make[1]: Leaving directory '/builddir/build/BUILD/mtpaint-3.40/po' make[1]: Entering directory '/builddir/build/BUILD/mtpaint-3.40/doc' mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/applications /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/pixmaps cp mtpaint.1 /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/man/man1 cp mtpaint.desktop /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/applications cp mtpaint.png /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/pixmaps make[1]: Leaving directory '/builddir/build/BUILD/mtpaint-3.40/doc' + desktop-file-install --delete-original --dir /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/applications /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/applications/mtpaint.desktop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64 mtpaint + mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/appdata + cat + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: mtpaint-3.40-23.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.JVTIML + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + DOCDIR=/builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint + cp -pr COPYING /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint + cp -pr NEWS /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint + cp -pr README /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint + exit 0 Provides: application() application(mtpaint.desktop) metainfo() metainfo(mtpaint.appdata.xml) mimehandler(image/bmp) mimehandler(image/gif) mimehandler(image/jpeg) mimehandler(image/jpg) mimehandler(image/pjpeg) mimehandler(image/png) mimehandler(image/svg) mimehandler(image/svg+xml) mimehandler(image/tiff) mimehandler(image/x-bmp) mimehandler(image/x-ms-bmp) mimehandler(image/x-pcx) mimehandler(image/x-png) mimehandler(image/x-portable-anymap) mimehandler(image/x-portable-bitmap) mimehandler(image/x-portable-graymap) mimehandler(image/x-portable-pixmap) mimehandler(image/x-tga) mimehandler(image/x-xbitmap) mimehandler(image/x-xbm) mimehandler(image/x-xpixmap) mimehandler(image/x-xpm) mimehandler(image/xbm) mimehandler(image/xpm) mtpaint = 3.40-23.fc28 mtpaint(riscv-64) = 3.40-23.fc28 Requires(interp): /bin/sh /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires(posttrans): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libfreetype.so.6()(64bit) libgdk-x11-2.0.so.0()(64bit) libgdk_pixbuf-2.0.so.0()(64bit) libgif.so.4()(64bit) libglib-2.0.so.0()(64bit) libgobject-2.0.so.0()(64bit) libgthread-2.0.so.0()(64bit) libgtk-x11-2.0.so.0()(64bit) libjpeg.so.62()(64bit) libjpeg.so.62(LIBJPEG_6.2)(64bit) liblcms2.so.2()(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.27)(64bit) libopenjpeg.so.1()(64bit) libpango-1.0.so.0()(64bit) libpng16.so.16()(64bit) libpng16.so.16(PNG16_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.27)(64bit) libtiff.so.5()(64bit) libtiff.so.5(LIBTIFF_4.0)(64bit) libz.so.1()(64bit) libz.so.1(ZLIB_1.2.0)(64bit) rtld(GNU_HASH) Processing files: mtpaint-handbook-3.40-23.fc28.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.uHSfvd + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + DOCDIR=/builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint-handbook + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint-handbook + cp -pr mtpaint_handbook-3.40/COPYING /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint-handbook + cp -pr 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 /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64/usr/share/doc/mtpaint-handbook + exit 0 Provides: mtpaint-handbook = 3.40-23.fc28 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64 Wrote: /builddir/build/SRPMS/mtpaint-3.40-23.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/mtpaint-3.40-23.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/noarch/mtpaint-handbook-3.40-23.fc28.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.L67tB3 + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mtpaint-3.40-23.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff