Mock Version: 1.2.20 Mock Version: 1.2.20 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/mtpaint.spec'], chrootPath='/var/lib/mock/epel7-build-6646632-650554/root'timeout=172800user='mockbuild'uid=1000printOutput=Falseshell=Falseenv={'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'}gid=425logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target ppc64le --nodeps /builddir/build/SPECS/mtpaint.spec'] with env {'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'} and shell False warning: Could not canonicalize hostname: buildppcle-03.phx2.fedoraproject.org Building target platforms: ppc64le Building for target ppc64le Wrote: /builddir/build/SRPMS/mtpaint-3.40-20.el7.src.rpm Child return code was: 0 ENTER ['do'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/mtpaint.spec'], chrootPath='/var/lib/mock/epel7-build-6646632-650554/root'timeout=172800user='mockbuild'uid=1000printOutput=Falseshell=Falseenv={'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'}private_network=Truegid=425logger=) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target ppc64le --nodeps /builddir/build/SPECS/mtpaint.spec'] with env {'LANG': 'en_US.UTF-8', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'HOME': '/builddir', 'SHELL': '/bin/bash', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOSTNAME': 'mock', 'PS1': ' \\s-\\v\\$ ', 'TERM': 'vt100'} and shell False Building target platforms: ppc64le Building for target ppc64le Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.SX92ei + 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 . + echo 'Patch #0 (mtpaint-3.40-xdg-open.patch):' 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/cat /builddir/build/SOURCES/mtpaint-3.31-png.patch + /usr/bin/patch -p1 --fuzz=0 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.syxlxp + 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 -m64 -mcpu=power7 -mtune=power8 -fPIC' + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mcpu=power7 -mtune=power8 -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 -m64 -mcpu=power7 -mtune=power8 -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 -j4 make -C src 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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=main -c -o main.o main.c make -C 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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=mainwindow -c -o mainwindow.o mainwindow.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 -C doc es = 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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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 = 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)); ^ 806 translated messages, 66 untranslated messages. nl = 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); ^ 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; ^ 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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=png -c -o png.o png.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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=memory -c -o memory.o memory.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 ^ /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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=canvas -c -o canvas.o canvas.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, ^ 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; ^ 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: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); ^ 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: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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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); ^ 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; ^ otherwindow.c: In function 'grad_edit_scroll': 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': 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': 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) ^ 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; ^ mygtk.c: In function 'wj_radio_toggle': otherwindow.c: In function 'grad_edit': 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': 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; ^ 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) ^ 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) ^ mygtk.c: In function 'wj_option': 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) ^ 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; ^ 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) ^ 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': 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) ^ 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': otherwindow.c: In function 'grad_reset_menu': 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': 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)); ^ 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': otherwindow.c: In function 'grad_channel_changed': 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) ^ 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) ^ 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); ^ 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 '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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=info -c -o info.o info.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: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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=channels -c -o channels.o channels.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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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 (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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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 -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=fpick -c -o fpick.o fpick.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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=icons -c -o icons.o icons.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: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)); ^ 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) ^ 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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -fPIC -frandom-seed=cpick -c -o cpick.o cpick.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/lib64/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/lib64/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 -m64 -mcpu=power7 -mtune=power8 -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 (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.tsZ00A + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le '!=' / ']' + rm -rf /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le ++ dirname /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le + cd mtpaint-3.40 + make install MT_PREFIX=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr MT_MAN_DEST=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/man MT_LANG_DEST=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/locale MT_DATAROOT=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share BIN_INSTALL=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/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.ppc64le/usr/bin cp mtpaint /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/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.ppc64le/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.ppc64le/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.ppc64le/usr/share/man/man1 /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/applications /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/pixmaps cp mtpaint.1 /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/man/man1 cp mtpaint.desktop /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/applications cp mtpaint.png /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/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.ppc64le/usr/share/applications /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/applications/mtpaint.desktop + /usr/lib/rpm/find-lang.sh /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le mtpaint + mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/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.ppc64le/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.ppc64le Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.5tVDbN + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + DOCDIR=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/doc/mtpaint-3.40 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/doc/mtpaint-3.40 + cp -pr COPYING /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/doc/mtpaint-3.40 + cp -pr NEWS /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/doc/mtpaint-3.40 + cp -pr README /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/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(ppc-64) = 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: libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.17)(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.17)(64bit) libopenjpeg.so.1()(64bit) libpango-1.0.so.0()(64bit) libpng15.so.15()(64bit) libpng15.so.15(PNG15_0)(64bit) libpthread.so.0()(64bit) libpthread.so.0(GLIBC_2.17)(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-20.el7.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.fDx0pZ + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + DOCDIR=/builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/doc/mtpaint-handbook-3.40 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/usr/share/doc/mtpaint-handbook-3.40 + cp -pr mtpaint_handbook-3.40/COPYING /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le/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.ppc64le/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.ppc64le Provides: mtpaint-debuginfo = 3.40-20.el7 mtpaint-debuginfo(ppc-64) = 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.ppc64le Wrote: /builddir/build/RPMS/mtpaint-3.40-20.el7.ppc64le.rpm Wrote: /builddir/build/RPMS/mtpaint-handbook-3.40-20.el7.noarch.rpm Wrote: /builddir/build/RPMS/mtpaint-debuginfo-3.40-20.el7.ppc64le.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.eNN2aP + umask 022 + cd /builddir/build/BUILD + cd mtpaint-3.40 + /usr/bin/rm -rf /builddir/build/BUILDROOT/mtpaint-3.40-20.el7.ppc64le + exit 0 Child return code was: 0