Mock Version: 1.2.17 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/mtpaint.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-3e10e28a79879da49c87a957fd2c713124687e45/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0logger=uid=995) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target armv7hl --nodeps /builddir/build/SPECS/mtpaint.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Wrote: /builddir/build/SRPMS/mtpaint-3.40-20.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/mtpaint.spec'], chrootPath='/var/lib/mock/epel-1-armhfp-3e10e28a79879da49c87a957fd2c713124687e45/root'shell=Falseuid=995env={'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=0private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', u'/usr/bin/rpmbuild -bb --target armv7hl --nodeps /builddir/build/SPECS/mtpaint.spec'] with env {'LANG': 'en_US.UTF-8', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: armv7hl Building for target armv7hl Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.AGu5x8 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf mtpaint-3.40 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/mtpaint-3.40.tar.bz2 + /usr/bin/tar -xf - + 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 . Patch #0 (mtpaint-3.40-xdg-open.patch): + echo 'Patch #0 (mtpaint-3.40-xdg-open.patch):' + /usr/bin/cat /builddir/build/SOURCES/mtpaint-3.40-xdg-open.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/spawn.c Patch #1 (mtpaint-3.31-png.patch): + echo 'Patch #1 (mtpaint-3.31-png.patch):' + /usr/bin/patch -p1 --fuzz=0 + /usr/bin/cat /builddir/build/SOURCES/mtpaint-3.31-png.patch patching file src/png.c Hunk #1 succeeded at 682 (offset 143 lines). Hunk #2 succeeded at 779 (offset 135 lines). Patch #2 (mtpaint-3.40-strip.patch): + echo 'Patch #2 (mtpaint-3.40-strip.patch):' + /usr/bin/cat /builddir/build/SOURCES/mtpaint-3.40-strip.patch + /usr/bin/patch -p0 --fuzz=0 patching file configure Patch #3 (mtpaint-3.40-yad.patch): + echo 'Patch #3 (mtpaint-3.40-yad.patch):' + /usr/bin/cat /builddir/build/SOURCES/mtpaint-3.40-yad.patch + /usr/bin/patch -p1 --fuzz=0 patching file src/spawn.c + /usr/bin/sed -i 's,"/usr/doc/mtpaint/index.html","/usr/share/doc/mtpaint-handbook-3.40/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.4rlQJq + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + export 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC' + export 'LDFLAGS=-Wl,-z,relro -fPIC' + LDFLAGS='-Wl,-z,relro -fPIC' + ./configure --prefix=/usr --docdir=/usr/share/doc/mtpaint-3.40 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 -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC LDFLAGS -Wl,--as-needed -Wl,-z,relro -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 -C src make -C po make -C doc + make -j4 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 /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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=mainwindow -c -o mainwindow.o mainwindow.c 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' es = /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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=inifile -c -o inifile.o inifile.c 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=png -c -o png.o png.c In file included from /usr/include/libpng15/png.h:442:0, from png.c:27: /usr/include/libpng15/pnglibconf.h:85:0: warning: "PNG_READ_PACK_SUPPORTED" redefined [enabled by default] #define PNG_READ_PACK_SUPPORTED 1 ^ png.c:25:0: note: this is the location of the previous definition #define PNG_READ_PACK_SUPPORTED ^ main.c: In function 'main': main.c:288:2: warning: 'g_thread_init' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:265) [-Wdeprecated-declarations] g_thread_init(NULL); ^ /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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=memory -c -o memory.o memory.c png.c: In function 'load_png': png.c:831:3: warning: passing argument 5 of 'png_get_iCCP' from incompatible pointer type [enabled by default] if (png_get_iCCP(png_ptr, info_ptr, &name, &comp, &icc, &len) && ^ In file included from /usr/include/libpng15/png.h:465:0, from png.c:27: /usr/include/libpng15/png.h:2248:30: note: expected 'png_bytepp' but argument is of type 'char **' PNG_EXPORT(158, png_uint_32, png_get_iCCP, ^ /usr/include/libpng15/pngconf.h:286:70: note: in definition of macro 'PNG_FUNCTION' # define PNG_FUNCTION(type, name, args, attributes) attributes type name args ^ /usr/include/libpng15/pngconf.h:310:4: note: in expansion of macro 'PNG_EXPORTA' PNG_EXPORTA(ordinal, type, name, args, PNG_EMPTY) ^ /usr/include/libpng15/png.h:2248:1: note: in expansion of macro 'PNG_EXPORT' PNG_EXPORT(158, png_uint_32, png_get_iCCP, ^ 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]); ^ /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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=canvas -c -o canvas.o canvas.c png.c: In function 'load_xpm': png.c:3737:15: 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:10: 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); ^ mainwindow.c: In function 'repaint_canvas': mainwindow.c:3110:16: warning: '*((void *)&rect+12)' may be used uninitialized in this function [-Wmaybe-uninitialized] draw_segments(irgb, rect[0], rect[1], rect[2], rect[3], pw); ^ mainwindow.c:3110:16: warning: '*((void *)&rect+8)' may be used uninitialized in this function [-Wmaybe-uninitialized] mainwindow.c:3110:16: 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=mygtk -c -o mygtk.o mygtk.c mygtk.c: In function 'resolve_path': mygtk.c:3520:28: 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=viewer -c -o viewer.o viewer.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=polygon -c -o polygon.o polygon.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=layer -c -o layer.o layer.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=info -c -o info.o info.c layer.c: In function 'load_layers': layer.c:583:8: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets(tin, 256, fp); ^ layer.c:604:8: 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=csel -c -o csel.o csel.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=shifter -c -o shifter.o shifter.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=spawn -c -o spawn.o spawn.c csel.c: In function 'csel_scan': csel.c:414:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:154): Use 'GMutex' instead [-Wdeprecated-declarations] LOCK_MUTEX(csel_lock); ^ csel.c:540:2: warning: 'g_static_mutex_get_mutex_impl' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:154): Use 'GMutex' instead [-Wdeprecated-declarations] UNLOCK_MUTEX(csel_lock); ^ /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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=fpick -c -o fpick.o fpick.c spawn.c: In function 'spawn_process': spawn.c:602:24: warning: ignoring return value of 'chdir', declared with attribute warn_unused_result [-Wunused-result] if (directory) chdir(directory); ^ spawn.c:613:9: 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=icons -c -o icons.o icons.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=cpick -c -o cpick.o cpick.c fpick.c: In function 'fpick_scan_directory': fpick.c:507:10: 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm -I/usr/include/harfbuzz -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -march=armv7-a -mfpu=vfpv3-d16 -mfloat-abi=hard -fPIC -frandom-seed=thread -c -o thread.o thread.c thread.c: In function 'launch_threads': thread.c:266:3: warning: 'g_thread_create' is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:104): Use 'g_thread_new' instead [-Wdeprecated-declarations] if (!g_thread_create((GThreadFunc)thread, tp, FALSE, NULL)) ^ /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 -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfontconfig -lgobject-2.0 -lfreetype -lgthread-2.0 -lglib-2.0 -lX11 -Wl,-z,relro -fPIC make[1]: Leaving directory `/builddir/build/BUILD/mtpaint-3.40/src' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.lpAYfg + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm ++ dirname /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm + cd mtpaint-3.40 + make install MT_PREFIX=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr MT_MAN_DEST=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/man MT_LANG_DEST=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/locale MT_DATAROOT=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share BIN_INSTALL=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/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-20.el7.arm/usr/bin cp mtpaint /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/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-20.el7.arm/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-20.el7.arm/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-20.el7.arm/usr/share/man/man1 /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/applications /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/pixmaps cp mtpaint.1 /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/man/man1 cp mtpaint.desktop /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/applications cp mtpaint.png /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/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-20.el7.arm/usr/share/applications /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/applications/mtpaint.desktop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm mtpaint + mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/appdata + cat + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 /builddir/build/BUILD/mtpaint-3.40 extracting debug info from /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/bin/mtpaint dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 2965 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Processing files: mtpaint-3.40-20.el7.armv7hl Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.bzrpvj + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + DOCDIR=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-3.40 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-3.40 + cp -pr COPYING /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-3.40 + cp -pr NEWS /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-3.40 + cp -pr README /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-3.40 + exit 0 Provides: appdata() appdata(mtpaint.appdata.xml) application() application(mtpaint.desktop) 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-20.el7 mtpaint(armv7hl-32) = 3.40-20.el7 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-armhf.so.3 ld-linux-armhf.so.3(GLIBC_2.4) libX11.so.6 libc.so.6 libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.4) libc.so.6(GLIBC_2.7) libfreetype.so.6 libgcc_s.so.1 libgcc_s.so.1(GCC_3.5) libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgif.so.4 libglib-2.0.so.0 libgobject-2.0.so.0 libgthread-2.0.so.0 libgtk-x11-2.0.so.0 libjpeg.so.62 libjpeg.so.62(LIBJPEG_6.2) liblcms2.so.2 libm.so.6 libm.so.6(GLIBC_2.4) libopenjpeg.so.1 libpango-1.0.so.0 libpng15.so.15 libpng15.so.15(PNG15_0) libpthread.so.0 libpthread.so.0(GLIBC_2.4) libtiff.so.5 libtiff.so.5(LIBTIFF_4.0) libz.so.1 libz.so.1(ZLIB_1.2.0) rtld(GNU_HASH) Processing files: mtpaint-handbook-3.40-20.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.RFFtZ2 + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + DOCDIR=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-handbook-3.40 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-handbook-3.40 + cp -pr mtpaint_handbook-3.40/COPYING /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm/usr/share/doc/mtpaint-handbook-3.40 + 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-20.el7.arm/usr/share/doc/mtpaint-handbook-3.40 + exit 0 Provides: mtpaint-handbook = 3.40-20.el7 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: mtpaint-debuginfo-3.40-20.el7.armv7hl Provides: mtpaint-debuginfo = 3.40-20.el7 mtpaint-debuginfo(armv7hl-32) = 3.40-20.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm Wrote: /builddir/build/RPMS/mtpaint-3.40-20.el7.armv7hl.rpm Wrote: /builddir/build/RPMS/mtpaint-handbook-3.40-20.el7.noarch.rpm Wrote: /builddir/build/RPMS/mtpaint-debuginfo-3.40-20.el7.armv7hl.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.kXA4Wv + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.arm + exit 0 Child return code was: 0