Mock Version: 3.5 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/gimp-separate+.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1684760678.348729/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wtlrkjhn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wtlrkjhn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'f2196d1d77254b2082a1b40017e8a47a', '-D', '/var/lib/mock/fedora-rawhide-i686-1684760678.348729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wtlrkjhn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target i686 --nodeps /builddir/build/SPECS/gimp-separate+.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1674086400 Wrote: /builddir/build/SRPMS/gimp-separate+-0.5.8-34.fc39.src.rpm RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/gimp-separate+.spec'], chrootPath='/var/lib/mock/fedora-rawhide-i686-1684760678.348729/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wtlrkjhn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']unshare_net=TrueprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wtlrkjhn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7a67c1409c044260afeb053e364beb7c', '-D', '/var/lib/mock/fedora-rawhide-i686-1684760678.348729/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.wtlrkjhn:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target i686 --nodeps /builddir/build/SPECS/gimp-separate+.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False warning: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Building target platforms: i686 Building for target i686 setting SOURCE_DATE_EPOCH=1674086400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.T7p1cp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf separate+-0.5.8 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/separate+-0.5.8.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd separate+-0.5.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (separate+-0.5.8-lcms2.patch):' Patch #0 (separate+-0.5.8-lcms2.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file Makefile + echo 'Patch #1 (gimp-separate+-c99.patch):' Patch #1 (gimp-separate+-c99.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 --fuzz=0 patching file iccbutton.h patching file separate-export.c + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IBEiLr + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd separate+-0.5.8 + /usr/bin/make -j2 'JPEG_LIB=-ljpeg -lm' gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c separate-core.c gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c separate-gui.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from separate-core.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from separate-gui.c:22: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from platform.h:4, from separate-core.c:32: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ separate-core.c: In function 'embed_cmyk_profile': separate-core.c:67:7: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 67 | gimp_image_parasite_attach (image_id, parasite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47, from separate-core.c:28: /usr/include/gimp-2.0/libgimp/gimpimage.h:98:16: note: declared here 98 | gboolean gimp_image_parasite_attach (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c: In function 'duplicate_paths': separate-core.c:91:11: warning: 'gimp_vectors_get_name' is deprecated: Use 'gimp_item_get_name' instead [-Wdeprecated-declarations] 91 | gchar *name = gimp_vectors_get_name (src[i]); | ^~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:64: /usr/include/gimp-2.0/libgimp/gimpvectors.h:38:16: note: declared here 38 | gchar * gimp_vectors_get_name (gint32 vectors_ID); | ^~~~~~~~~~~~~~~~~~~~~ separate-core.c:114:11: warning: 'gimp_vectors_set_visible' is deprecated: Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations] 114 | gimp_vectors_set_visible (vectors_id, gimp_vectors_get_visible (src[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpvectors.h:45:16: note: declared here 45 | gboolean gimp_vectors_set_visible (gint32 vectors_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:114:11: warning: 'gimp_vectors_get_visible' is deprecated: Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations] 114 | gimp_vectors_set_visible (vectors_id, gimp_vectors_get_visible (src[i])); | ^~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpvectors.h:43:16: note: declared here 43 | gboolean gimp_vectors_get_visible (gint32 vectors_ID); | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:115:11: warning: 'gimp_vectors_set_linked' is deprecated: Use 'gimp_item_set_linked' instead [-Wdeprecated-declarations] 115 | gimp_vectors_set_linked (vectors_id, gimp_vectors_get_linked (src[i])); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpvectors.h:50:16: note: declared here 50 | gboolean gimp_vectors_set_linked (gint32 vectors_ID, | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:115:11: warning: 'gimp_vectors_get_linked' is deprecated: Use 'gimp_item_get_linked' instead [-Wdeprecated-declarations] 115 | gimp_vectors_set_linked (vectors_id, gimp_vectors_get_linked (src[i])); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpvectors.h:48:16: note: declared here 48 | gboolean gimp_vectors_get_linked (gint32 vectors_ID); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:116:11: warning: 'gimp_image_add_vectors' is deprecated: Use 'gimp_image_insert_vectors' instead [-Wdeprecated-declarations] 116 | gimp_image_add_vectors (dst_id, vectors_id, i); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55, from /usr/include/gimp-2.0/libgimp/gimp.h:66: /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:99:26: note: declared here 99 | gboolean gimp_image_add_vectors (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~ separate-core.c: In function 'setup_transform': separate-core.c:146:52: warning: comparison between 'cmsProfileClassSignature' and 'enum ' [-Wenum-compare] 146 | if (hInProfile && cmsGetDeviceClass (hInProfile) == icSigLinkClass) | ^~ separate-core.c:161:11: warning: 'gimp_image_parasite_find' is deprecated: Use 'gimp_image_get_parasite' instead [-Wdeprecated-declarations] 161 | GimpParasite *parasite = gimp_image_parasite_find (sc->imageID, "icc-profile"); | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage.h:95:16: note: declared here 95 | GimpParasite * gimp_image_parasite_find (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c: In function 'separate_full': separate-core.c:395:5: warning: 'gimp_drawable_get_image' is deprecated: Use 'gimp_item_get_image' instead [-Wdeprecated-declarations] 395 | gchar *filename = separate_filename_add_suffix (gimp_image_get_filename (gimp_drawable_get_image (drawable->drawable_id)), "CMYK"); | ^~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:99:16: note: declared here 99 | gint32 gimp_drawable_get_image (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:410:9: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 410 | drawables[counter] = gimp_drawable_get (mask[counter]); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-core.c:421:9: warning: 'gimp_drawable_set_visible' is deprecated: Use 'gimp_item_set_visible' instead [-Wdeprecated-declarations] 421 | gimp_drawable_set_visible (channel, FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:108:16: note: declared here 108 | gboolean gimp_drawable_set_visible (gint32 drawable_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:422:9: warning: 'gimp_image_add_channel' is deprecated: Use 'gimp_image_insert_channel' instead [-Wdeprecated-declarations] 422 | gimp_image_add_channel (new_image_id, channel, 0); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:87:26: note: declared here 87 | gboolean gimp_image_add_channel (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~ separate-core.c:424:9: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 424 | drawables[4] = gimp_drawable_get (channel); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-core.c:429:5: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 429 | gimp_pixel_rgn_init (&srcPR, drawable, 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:432:7: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 432 | gimp_pixel_rgn_init (&pixrgn[counter], drawables[counter], 0, 0, width, height, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:438:5: warning: 'gimp_pixel_rgns_register' is deprecated: Use 'gegl_buffer_iterator_new' instead [-Wdeprecated-declarations] 438 | tileiterator = gimp_pixel_rgns_register (n_drawables + 1, &srcPR, | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:111:11: note: declared here 111 | gpointer gimp_pixel_rgns_register (gint nrgns, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:459:9: warning: 'gimp_pixel_rgns_process' is deprecated: Use 'gegl_buffer_iterator_next' instead [-Wdeprecated-declarations] 459 | tileiterator = gimp_pixel_rgns_process (tileiterator); | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:117:11: note: declared here 117 | gpointer gimp_pixel_rgns_process (gpointer pri_ptr); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:473:9: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] 473 | gimp_drawable_flush (drawables[counter]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here 56 | void gimp_drawable_flush (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~ separate-core.c:475:9: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 475 | gimp_drawable_detach (drawables[counter]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ separate-core.c: In function 'separate_light': separate-core.c:507:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 507 | gimp_pixel_rgn_init (&srcPR, drawable, 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:518:5: warning: 'gimp_drawable_get_image' is deprecated: Use 'gimp_item_get_image' instead [-Wdeprecated-declarations] 518 | gchar *filename = separate_filename_add_suffix (gimp_image_get_filename (gimp_drawable_get_image (drawable->drawable_id)), "CMYK"); | ^~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:99:16: note: declared here 99 | gint32 gimp_drawable_get_image (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:527:5: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 527 | gimp_pixel_rgn_init (&srcPR, drawable, 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:531:9: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 531 | drawables[counter] = gimp_drawable_get (layers[counter]); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-core.c:532:9: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 532 | gimp_pixel_rgn_init (&pixrgn[counter], drawables[counter], 0, 0, width, height, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:543:9: warning: 'gimp_drawable_set_visible' is deprecated: Use 'gimp_item_set_visible' instead [-Wdeprecated-declarations] 543 | gimp_drawable_set_visible (channel, FALSE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:108:16: note: declared here 108 | gboolean gimp_drawable_set_visible (gint32 drawable_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:544:9: warning: 'gimp_image_add_channel' is deprecated: Use 'gimp_image_insert_channel' instead [-Wdeprecated-declarations] 544 | gimp_image_add_channel (new_image_id, channel, 0); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:87:26: note: declared here 87 | gboolean gimp_image_add_channel (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~ separate-core.c:546:9: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 546 | drawables[4] = gimp_drawable_get (channel); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-core.c:547:9: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 547 | gimp_pixel_rgn_init (&pixrgn[4], drawables[4], 0, 0, width, height, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:556:5: warning: 'gimp_pixel_rgns_register' is deprecated: Use 'gegl_buffer_iterator_new' instead [-Wdeprecated-declarations] 556 | tileiterator = gimp_pixel_rgns_register (n_drawables + 1, &srcPR, | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:111:11: note: declared here 111 | gpointer gimp_pixel_rgns_register (gint nrgns, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:576:9: warning: 'gimp_pixel_rgns_process' is deprecated: Use 'gegl_buffer_iterator_next' instead [-Wdeprecated-declarations] 576 | tileiterator = gimp_pixel_rgns_process (tileiterator); | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:117:11: note: declared here 117 | gpointer gimp_pixel_rgns_process (gpointer pri_ptr); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:590:9: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] 590 | gimp_drawable_flush (drawables[counter]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here 56 | void gimp_drawable_flush (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~ separate-core.c:592:9: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 592 | gimp_drawable_detach (drawables[counter]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ separate-core.c:489:8: warning: variable 'bytes' set but not used [-Wunused-but-set-variable] 489 | gint bytes; | ^~~~~ separate-core.c: In function 'separate_proof': separate-core.c:674:7: warning: 'gimp_image_parasite_find' is deprecated: Use 'gimp_image_get_parasite' instead [-Wdeprecated-declarations] 674 | GimpParasite *parasite = gimp_image_parasite_find (cmykimage, CMYKPROFILE); | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage.h:95:16: note: declared here 95 | GimpParasite * gimp_image_parasite_find (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:712:29: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 712 | LPcmsCIExyY D50_xyY = cmsD50_xyY(); | ^~~~~~~~~~ separate-core.c:768:5: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 768 | drawables[0] = gimp_drawable_get (layers[0]); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-core.c:771:7: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 771 | gimp_pixel_rgn_init (&pixrgn[counter], drawables[counter], 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:773:5: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 773 | gimp_pixel_rgn_init (&pixrgn[0], drawables[0], 0, 0, width, height, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:779:5: warning: 'gimp_pixel_rgns_register' is deprecated: Use 'gegl_buffer_iterator_new' instead [-Wdeprecated-declarations] 779 | tileiterator = gimp_pixel_rgns_register (n_drawables + 1, &pixrgn[0], | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:111:11: note: declared here 111 | gpointer gimp_pixel_rgns_register (gint nrgns, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:812:9: warning: 'gimp_pixel_rgns_process' is deprecated: Use 'gegl_buffer_iterator_next' instead [-Wdeprecated-declarations] 812 | tileiterator = gimp_pixel_rgns_process (tileiterator); | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:117:11: note: declared here 117 | gpointer gimp_pixel_rgns_process (gpointer pri_ptr); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:862:15: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 862 | gimp_image_parasite_attach (new_image_id, parasite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage.h:98:16: note: declared here 98 | gboolean gimp_image_parasite_attach (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:871:5: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] 871 | gimp_drawable_flush (drawables[4]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here 56 | void gimp_drawable_flush (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~ separate-core.c:873:5: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 873 | gimp_drawable_detach (drawables[4]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ separate-core.c:605:8: warning: variable 'bytes' set but not used [-Wunused-but-set-variable] 605 | gint bytes; | ^~~~~ separate-core.c: In function 'separate_duotone': separate-core.c:911:9: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 911 | drawables[counter] = gimp_drawable_get (mask[counter]); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-core.c:922:9: warning: 'gimp_drawable_set_visible' is deprecated: Use 'gimp_item_set_visible' instead [-Wdeprecated-declarations] 922 | gimp_drawable_set_visible (channel, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:108:16: note: declared here 108 | gboolean gimp_drawable_set_visible (gint32 drawable_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:923:9: warning: 'gimp_image_add_channel' is deprecated: Use 'gimp_image_insert_channel' instead [-Wdeprecated-declarations] 923 | gimp_image_add_channel (new_image_id, channel, 0); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:87:26: note: declared here 87 | gboolean gimp_image_add_channel (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~ separate-core.c:925:9: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 925 | drawables[2] = gimp_drawable_get (channel); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-core.c:930:5: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 930 | gimp_pixel_rgn_init (&srcPR, drawable, 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:933:7: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 933 | gimp_pixel_rgn_init (&pixrgn[counter], drawables[counter], 0, 0, width, height, TRUE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ separate-core.c:937:5: warning: 'gimp_pixel_rgns_register' is deprecated: Use 'gegl_buffer_iterator_new' instead [-Wdeprecated-declarations] 937 | tileiterator = gimp_pixel_rgns_register (n_drawables + 1, &srcPR, | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:111:11: note: declared here 111 | gpointer gimp_pixel_rgns_register (gint nrgns, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:972:9: warning: 'gimp_pixel_rgns_process' is deprecated: Use 'gegl_buffer_iterator_next' instead [-Wdeprecated-declarations] 972 | tileiterator = gimp_pixel_rgns_process (tileiterator); | ^~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:117:11: note: declared here 117 | gpointer gimp_pixel_rgns_process (gpointer pri_ptr); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:979:9: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] 979 | gimp_drawable_flush (drawables[counter]); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here 56 | void gimp_drawable_flush (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~ separate-core.c:981:9: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 981 | gimp_drawable_detach (drawables[counter]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ In file included from platform.h:4, from separate-gui.c:29: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ In file included from /usr/include/gimp-2.0/libgimpwidgets/gimpwidgets.h:60, from /usr/include/gimp-2.0/libgimp/gimpui.h:24, from separate-gui.c:25: separate-gui.c: In function 'query': /usr/include/gimp-2.0/libgimpwidgets/gimpicons.h:618:45: warning: pointer targets in passing argument 3 of 'gimp_plugin_icon_register' differ in signedness [-Wpointer-sign] 618 | #define GIMP_STOCK_DISPLAY_FILTER_PROOF "gimp-display-filter-proof" | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ | | | char * separate-gui.c:243:81: note: in expansion of macro 'GIMP_STOCK_DISPLAY_FILTER_PROOF' 243 | gimp_plugin_icon_register ("plug_in_separate_proof" ,GIMP_ICON_TYPE_STOCK_ID, GIMP_STOCK_DISPLAY_FILTER_PROOF); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:58, from separate-gui.c:24: /usr/include/gimp-2.0/libgimp/gimpplugin.h:39:51: note: expected 'const guint8 *' {aka 'const unsigned char *'} but argument is of type 'char *' 39 | const guint8 *icon_data); | ~~~~~~~~~~~~~~^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtk.h:174: /usr/include/gtk-2.0/gtk/gtkstock.h:866:36: warning: pointer targets in passing argument 3 of 'gimp_plugin_icon_register' differ in signedness [-Wpointer-sign] 866 | #define GTK_STOCK_SAVE_AS "gtk-save-as" | ^~~~~~~~~~~~~ | | | char * separate-gui.c:245:82: note: in expansion of macro 'GTK_STOCK_SAVE_AS' 245 | gimp_plugin_icon_register ("plug_in_separate_export" ,GIMP_ICON_TYPE_STOCK_ID, GTK_STOCK_SAVE_AS); | ^~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpplugin.h:39:51: note: expected 'const guint8 *' {aka 'const unsigned char *'} but argument is of type 'char *' 39 | const guint8 *icon_data); | ~~~~~~~~~~~~~~^~~~~~~~~ separate-gui.c: In function 'run': separate-gui.c:299:3: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 299 | drawable = gimp_drawable_get (param[index].data.d_drawable); | ^~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ separate-gui.c:300:3: warning: 'gimp_drawable_get_image' is deprecated: Use 'gimp_item_get_image' instead [-Wdeprecated-declarations] 300 | mysc.imageID = gimp_drawable_get_image (param[index++].data.d_drawable);//param[1].data.d_image; | ^~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:99:16: note: declared here 99 | gint32 gimp_drawable_get_image (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~~~~~~~ separate-gui.c:514:3: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 514 | gimp_drawable_detach (drawable); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ separate-gui.c: In function 'separate_dialog': separate-gui.c:719:5: warning: 'gimp_image_parasite_find' is deprecated: Use 'gimp_image_get_parasite' instead [-Wdeprecated-declarations] 719 | if ((parasite = gimp_image_parasite_find (sc->imageID, "icc-profile")) != NULL) | ^~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47: /usr/include/gimp-2.0/libgimp/gimpimage.h:95:16: note: declared here 95 | GimpParasite * gimp_image_parasite_find (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-gui.c: In function 'proof_dialog': separate-gui.c:1023:5: warning: 'gimp_image_parasite_find' is deprecated: Use 'gimp_image_get_parasite' instead [-Wdeprecated-declarations] 1023 | if ((parasite = gimp_image_parasite_find (sc->imageID, CMYKPROFILE)) != NULL) | ^~ /usr/include/gimp-2.0/libgimp/gimpimage.h:95:16: note: declared here 95 | GimpParasite * gimp_image_parasite_find (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-gui.c: In function 'separate_save_dialog': separate-gui.c:1215:13: warning: 'gimp_vectors_get_name' is deprecated: Use 'gimp_item_get_name' instead [-Wdeprecated-declarations] 1215 | vector_name = gimp_vectors_get_name (vector_id[i]); | ^~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:64: /usr/include/gimp-2.0/libgimp/gimpvectors.h:38:16: note: declared here 38 | gchar * gimp_vectors_get_name (gint32 vectors_ID); | ^~~~~~~~~~~~~~~~~~~~~ separate-gui.c:1241:5: warning: 'gimp_image_parasite_find' is deprecated: Use 'gimp_image_get_parasite' instead [-Wdeprecated-declarations] 1241 | if ((parasite = gimp_image_parasite_find (sc->imageID, CMYKPROFILE)) != NULL) | ^~ /usr/include/gimp-2.0/libgimp/gimpimage.h:95:16: note: declared here 95 | GimpParasite * gimp_image_parasite_find (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c: In function 'separate_core': separate-core.c:327:20: warning: 'b5' may be used uninitialized [-Wmaybe-uninitialized] 327 | dp5[i*b5] = *(src++); | ~^~~ separate-core.c:246:27: note: 'b5' was declared here 246 | gint i, b1, b2, b3, b4, b5; | ^~ separate-core.c:327:18: warning: 'dp5' may be used uninitialized [-Wmaybe-uninitialized] 327 | dp5[i*b5] = *(src++); | ^ separate-core.c:247:35: note: 'dp5' was declared here 247 | guchar *dp1, *dp2, *dp3, *dp4, *dp5; | ^~~ separate-core.c: In function 'duplicate_paths': separate-core.c:121:7: warning: 'dst_active_vectors_id' may be used uninitialized [-Wmaybe-uninitialized] 121 | gimp_image_set_active_vectors (dst_id, dst_active_vectors_id); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ separate-core.c:87:12: note: 'dst_active_vectors_id' was declared here 87 | gint dst_active_vectors_id; | ^~~~~~~~~~~~~~~~~~~~~ In function 'separate_dialog', inlined from 'run' at separate-gui.c:378:60: separate-gui.c:880:28: warning: 'compositeselector' may be used uninitialized [-Wmaybe-uninitialized] 880 | sc->ss.composite = gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (compositeselector)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ separate-gui.c: In function 'run': separate-gui.c:660:14: note: 'compositeselector' was declared here 660 | GtkWidget *compositeselector; | ^~~~~~~~~~~~~~~~~ gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c separate-export.c gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c util.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from separate-export.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from util.c:26: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from platform.h:4, from separate-export.c:32: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ separate-export.c: In function 'create_psd_path_resource': separate-export.c:147:7: warning: 'gimp_vectors_get_name' is deprecated: Use 'gimp_item_get_name' instead [-Wdeprecated-declarations] 147 | name = gimp_vectors_get_name (vector_id[i]); | ^~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:64, from separate-export.c:28: /usr/include/gimp-2.0/libgimp/gimpvectors.h:38:16: note: declared here 38 | gchar * gimp_vectors_get_name (gint32 vectors_ID); | ^~~~~~~~~~~~~~~~~~~~~ separate-export.c:156:42: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | const gchar **language_names = g_get_language_names (); | ^~~~~~~~~~~~~~~~~~~~ separate-export.c:201:39: warning: pointer targets in passing argument 2 of 'g_byte_array_append' differ in signedness [-Wpointer-sign] 201 | g_byte_array_append (resources, _name, temp.ui8); | ^~~~~ | | | gchar * {aka char *} In file included from /usr/include/glib-2.0/glib.h:33: /usr/include/glib-2.0/glib/garray.h:294:63: note: expected 'const guint8 *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 294 | const guint8 *data, | ~~~~~~~~~~~~~~~~~~^~~~ separate-export.c:305:39: warning: pointer targets in passing argument 2 of 'g_byte_array_append' differ in signedness [-Wpointer-sign] 305 | g_byte_array_append (resources, clipping_path_name, temp.ui8); | ^~~~~~~~~~~~~~~~~~ | | | gchar * {aka char *} /usr/include/glib-2.0/glib/garray.h:294:63: note: expected 'const guint8 *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 294 | const guint8 *data, | ~~~~~~~~~~~~~~~~~~^~~~ separate-export.c:109:19: warning: unused variable 'max_res_id' [-Wunused-variable] 109 | guint16 res_id, max_res_id; | ^~~~~~~~~~ separate-export.c: In function 'separate_export': separate-export.c:340:9: warning: 'gimp_image_parasite_find' is deprecated: Use 'gimp_image_get_parasite' instead [-Wdeprecated-declarations] 340 | GimpParasite *parasite = gimp_image_parasite_find (imageID, CMYKPROFILE); | ^~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47: /usr/include/gimp-2.0/libgimp/gimpimage.h:95:16: note: declared here 95 | GimpParasite * gimp_image_parasite_find (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ separate-export.c:345:13: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 345 | profile_data = g_memdup (gimp_parasite_data (parasite), | ^~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ separate-export.c:369:41: warning: comparison between 'cmsColorSpaceSignature' and 'enum ' [-Wenum-compare] 369 | cmsGetColorSpace (hProfile) == icSigCmykData) | ^~ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from platform.h:4, from util.c:31: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ util.c: In function 'separate_find_channel': util.c:85:7: warning: 'gimp_drawable_get_name' is deprecated: Use 'gimp_item_get_name' instead [-Wdeprecated-declarations] 85 | char *layer_name = gimp_drawable_get_name (layers[i]); | ^~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41, from util.c:29: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:101:16: note: declared here 101 | gchar* gimp_drawable_get_name (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~~~~~~ util.c:89:11: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 89 | result = gimp_drawable_get (layers[i]); | ^~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ util.c:91:13: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 91 | result = gimp_drawable_get (gimp_layer_get_mask (layers[i])); | ^~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ util.c: In function 'separate_find_alpha': util.c:108:3: warning: 'gimp_drawable_get_visible' is deprecated: Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations] 108 | if (n_channels && gimp_drawable_get_visible (channels[0])) | ^~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:106:16: note: declared here 106 | gboolean gimp_drawable_get_visible (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~~~~~~~~~ util.c:109:5: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 109 | return gimp_drawable_get (channels[0]); | ^~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ util.c:104:8: warning: unused variable 'i' [-Wunused-variable] 104 | gint i; | ^ util.c: In function 'separate_is_CMYK': util.c:129:7: warning: 'gimp_drawable_get_name' is deprecated: Use 'gimp_item_get_name' instead [-Wdeprecated-declarations] 129 | char *layer_name = gimp_drawable_get_name (layers[i]); | ^~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:101:16: note: declared here 101 | gchar* gimp_drawable_get_name (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~~~~~~ util.c: In function 'separate_create_RGB': util.c:311:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 311 | gimp_image_add_layer (image_id, layers[0], -1); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55, from /usr/include/gimp-2.0/libgimp/gimp.h:66: /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c: In function 'separate_create_planes_grey': util.c:332:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 332 | gimp_image_add_layer (image_id, layers[0], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:335:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 335 | gimp_image_add_layer (image_id, layers[1], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:338:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 338 | gimp_image_add_layer (image_id, layers[2], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:341:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 341 | gimp_image_add_layer (image_id, layers[3], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c: In function 'separate_create_planes_CMYK': util.c:366:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 366 | gimp_image_add_layer (image_id, background_id, -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:369:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 369 | gimp_image_add_layer (image_id, layers[0], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:372:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 372 | gimp_image_add_layer (image_id, layers[1], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:375:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 375 | gimp_image_add_layer (image_id, layers[2], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:378:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 378 | gimp_image_add_layer (image_id, layers[3], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c: In function 'separate_create_planes_Duotone': util.c:418:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 418 | gimp_image_add_layer (image_id, background_id, -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:422:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 422 | gimp_image_add_layer (image_id, layers[0], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ util.c:426:3: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 426 | gimp_image_add_layer (image_id, layers[1], -1); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c tiff.c gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c psd.c In file included from platform.h:4, from tiff.c:30: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from separate.h:25, from tiff.c:32: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At top level: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/gegl-0.4/gegl.h:22, from /usr/include/gimp-2.0/libgimp/gimp.h:25, from tiff.c:26: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ tiff.c: In function 'separate_writetiffdata': tiff.c:47:3: warning: 'int32' is deprecated [-Wdeprecated-declarations] 47 | int32 BufSizeOut = TIFFStripSize (out); | ^~~~~ tiff.c:51:3: warning: 'int32' is deprecated [-Wdeprecated-declarations] 51 | int32 sw = width; | ^~~~~ tiff.c:52:3: warning: 'int32' is deprecated [-Wdeprecated-declarations] 52 | int32 sl = MIN (height, STRIPHEIGHT); | ^~~~~ tiff.c:69:9: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 69 | gimp_pixel_rgn_init (&pixrgn[i], drw[i], 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ tiff.c:98:22: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'unsigned char *' differ in signedness [-Wpointer-sign] 98 | src[j] = chanbuf[j]; | ^ tiff.c:99:15: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] 99 | gimp_pixel_rgn_get_rect (&pixrgn[j], src[j], left, top, wd, ht); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here 80 | void gimp_pixel_rgn_get_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ In file included from platform.h:4, from psd.c:32: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from separate.h:25, from psd.c:34: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At top level: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/gegl-0.4/gegl.h:22, from /usr/include/gimp-2.0/libgimp/gimp.h:25, from psd.c:28: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c jpeg.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gprintf.h:23, from /usr/include/glib-2.0/glib/gstdio.h:24, from psd.c:26: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ psd.c: In function 'psd_write_image_data_packbits': psd.c:131:11: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 131 | gimp_pixel_rgn_init (®ion, drw[i], 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ psd.c:141:15: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] 141 | gimp_pixel_rgn_get_rect (®ion, src_buf, 0, y, width, n_lines); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here 80 | void gimp_pixel_rgn_get_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ psd.c:141:49: warning: pointer targets in passing argument 2 of 'gimp_pixel_rgn_get_rect' differ in signedness [-Wpointer-sign] 141 | gimp_pixel_rgn_get_rect (®ion, src_buf, 0, y, width, n_lines); | ^~~~~~~ | | | gchar * {aka char *} /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:81:53: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 81 | guchar *buf, | ~~~~~~~~~~~~~~~^~~ psd.c:124:12: warning: variable 'result' set but not used [-Wunused-but-set-variable] 124 | gint result; | ^~~~~~ psd.c: In function 'psd_write_image_data_raw': psd.c:301:11: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 301 | gimp_pixel_rgn_init (®ion, drw[i], 0, 0, width, height, FALSE, FALSE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ psd.c:309:15: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] 309 | gimp_pixel_rgn_get_rect (®ion, buf, 0, y, width, n_lines); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here 80 | void gimp_pixel_rgn_get_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ psd.c:309:49: warning: pointer targets in passing argument 2 of 'gimp_pixel_rgn_get_rect' differ in signedness [-Wpointer-sign] 309 | gimp_pixel_rgn_get_rect (®ion, buf, 0, y, width, n_lines); | ^~~ | | | gchar * {aka char *} /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:81:53: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 81 | guchar *buf, | ~~~~~~~~~~~~~~~^~~ psd.c:294:12: warning: variable 'result' set but not used [-Wunused-but-set-variable] 294 | gint result; | ^~~~~~ psd.c: In function 'separate_psd_export': psd.c:373:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 373 | write (fd, &header, sizeof (header)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c:377:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 377 | write (fd, &length, sizeof (gint32)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c:414:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 414 | write (fd, &length, sizeof (gint32)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c:416:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 416 | write (fd, &res, sizeof (PSDResResource)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c:420:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 420 | write (fd, &icc, sizeof (PSDIccResource)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c:421:11: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 421 | write (fd, profile_data, profile_length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c:425:9: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 425 | write (fd, path_data, path_length); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c:429:7: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 429 | write (fd, &length, sizeof (gint32)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c: In function 'psd_write_image_data_packbits': psd.c:116:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 116 | write (fd, &compression, sizeof (gint16)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ psd.c: In function 'psd_write_image_data_raw': psd.c:289:3: warning: ignoring return value of 'write' declared with attribute 'warn_unused_result' [-Wunused-result] 289 | write (fd, &compression, sizeof (gint16)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from platform.h:4, from jpeg.c:35: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from separate.h:25, from jpeg.c:37: /usr/include/gtk-2.0/gtk/gtktypeutils.h: At top level: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/gegl-0.4/gegl.h:22, from /usr/include/gimp-2.0/libgimp/gimp.h:25, from jpeg.c:29: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c iccbutton.c In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gprintf.h:23, from /usr/include/glib-2.0/glib/gstdio.h:24, from jpeg.c:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ jpeg.c: In function 'jpeg_write_image_data': jpeg.c:199:11: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 199 | gimp_pixel_rgn_init (®ion[i], drw[i], | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ jpeg.c:219:13: warning: 'gimp_pixel_rgn_get_rect' is deprecated: Use 'gegl_buffer_get' instead [-Wdeprecated-declarations] 219 | gimp_pixel_rgn_get_rect (®ion[i], src_buf[i], 0, y, cinfo->image_width, n_lines); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:80:11: note: declared here 80 | void gimp_pixel_rgn_get_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ jpeg.c:219:57: warning: pointer targets in passing argument 2 of 'gimp_pixel_rgn_get_rect' differ in signedness [-Wpointer-sign] 219 | gimp_pixel_rgn_get_rect (®ion[i], src_buf[i], 0, y, cinfo->image_width, n_lines); | ~~~~~~~^~~ | | | gchar * {aka char *} /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:81:53: note: expected 'guchar *' {aka 'unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 81 | guchar *buf, | ~~~~~~~~~~~~~~~^~~ jpeg.c:239:36: warning: passing argument 2 of 'jpeg_write_scanlines' from incompatible pointer type [-Wincompatible-pointer-types] 239 | jpeg_write_scanlines (cinfo, dst_buf, n_lines); | ^~~~~~~ | | | gchar ** {aka char **} In file included from jpeg.c:31: /usr/include/jpeglib.h:954:52: note: expected 'JSAMPARRAY' {aka 'unsigned char **'} but argument is of type 'gchar **' {aka 'char **'} 954 | JSAMPARRAY scanlines, | ~~~~~~~~~~~^~~~~~~~~ gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c lcms_wrapper.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkbutton.h:35, from iccbutton.h:9, from iccbutton.c:6: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtkwidget.h:34: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from iccbutton.h:10: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126, from iccbutton.c:8: /usr/include/gtk-2.0/gtk/gtktooltips.h: At top level: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from lcms_wrapper.c:6: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ lcms_wrapper.c: In function 'lcms_get_adapted_whitepoint': lcms_wrapper.c:106:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] 106 | if (m = (cmsCIEXYZ *)cmsReadTag (profile, cmsSigChromaticAdaptationTag)) | ^ lcms_wrapper.c: In function 'readLocalizedText': lcms_wrapper.c:208:37: warning: pointer targets in passing argument 1 of 'g_strndup' differ in signedness [-Wpointer-sign] 208 | buf = g_strndup (tag_data + 12, length); | ~~~~~~~~~^~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56, from lcms_wrapper.h:9: /usr/include/glib-2.0/glib/gstrfuncs.h:292:54: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 292 | gchar* g_strndup (const gchar *str, | ~~~~~~~~~~~~~^~~ lcms_wrapper.c:179:8: warning: unused variable 'n' [-Wunused-variable] 179 | gint n; | ^ lcms_wrapper.c:178:9: warning: unused variable 'offet' [-Wunused-variable] 178 | gsize offet, size; | ^~~~~ iccbutton.c: In function 'profile_data_new_from_file': iccbutton.c:99:74: warning: pointer targets in passing argument 2 of 'g_compute_checksum_for_data' differ in signedness [-Wpointer-sign] 99 | _data->digest = g_compute_checksum_for_data (G_CHECKSUM_MD5, buf, len); | ^~~ | | | gchar * {aka char *} In file included from /usr/include/glib-2.0/glib.h:42: /usr/include/glib-2.0/glib/gchecksum.h:93:71: note: expected 'const guchar *' {aka 'const unsigned char *'} but argument is of type 'gchar *' {aka 'char *'} 93 | const guchar *data, | ~~~~~~~~~~~~~~~~~^~~~ iccbutton.c: In function 'icc_button_drag_data_received': iccbutton.c:241:49: warning: pointer targets in passing argument 1 of 'g_uri_list_extract_uris' differ in signedness [-Wpointer-sign] 241 | uris = g_uri_list_extract_uris (selection_data->data); | ~~~~~~~~~~~~~~^~~~~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:43: /usr/include/glib-2.0/glib/gconvert.h:175:47: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 175 | gchar **g_uri_list_extract_uris (const gchar *uri_list); | ~~~~~~~~~~~~~^~~~~~~~ iccbutton.c: In function 'icc_button_class_init': iccbutton.c:557:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 557 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_input_class_icon, FALSE, NULL); | ^~~~~~ In file included from /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf.h:34, from /usr/include/gtk-2.0/gdk/gdkpixbuf.h:37, from /usr/include/gtk-2.0/gdk/gdkcairo.h:28, from /usr/include/gtk-2.0/gdk/gdk.h:33: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c:563:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 563 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_display_class_icon, FALSE, NULL); | ^~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c:569:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 569 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_rgb_output_class_icon, FALSE, NULL); | ^~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c:575:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 575 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_cmyk_output_class_icon, FALSE, NULL); | ^~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c:581:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 581 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_link_class_icon, FALSE, NULL); | ^~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c:587:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 587 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_abstract_class_icon, FALSE, NULL); | ^~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c:593:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 593 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_link_class_icon, FALSE, NULL); // replace the icon with correct icon later | ^~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c:599:7: warning: 'gdk_pixbuf_new_from_inline' is deprecated [-Wdeprecated-declarations] 599 | pixbuf = gdk_pixbuf_new_from_inline (-1, icc_link_class_icon, FALSE, NULL); // replace the icon with correct icon later | ^~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:298:12: note: declared here 298 | GdkPixbuf* gdk_pixbuf_new_from_inline (gint data_length, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ iccbutton.c: In function 'icc_button_finalize': iccbutton.c:712:47: warning: pointer targets in passing argument 2 of 'g_key_file_to_data' differ in signedness [-Wpointer-sign] 712 | buf = g_key_file_to_data (key_file, &len, NULL); | ^~~~ | | | gssize * {aka int *} In file included from /usr/include/glib-2.0/glib.h:57: /usr/include/glib-2.0/glib/gkeyfile.h:101:68: note: expected 'gsize *' {aka 'unsigned int *'} but argument is of type 'gssize *' {aka 'int *'} 101 | gsize *length, | ~~~~~~~~~~~~~~~~~~~~~~^~~~~~ iccbutton.c:712:15: warning: pointer targets in assignment from 'gchar *' {aka 'char *'} to 'guchar *' {aka 'unsigned char *'} differ in signedness [-Wpointer-sign] 712 | buf = g_key_file_to_data (key_file, &len, NULL); | ^ iccbutton.c:713:38: warning: pointer targets in passing argument 2 of 'g_file_set_contents' differ in signedness [-Wpointer-sign] 713 | g_file_set_contents (path, buf, len, NULL); | ^~~ | | | guchar * {aka unsigned char *} In file included from /usr/include/glib-2.0/glib.h:50: /usr/include/glib-2.0/glib/gfileutils.h:126:44: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 126 | const gchar *contents, | ~~~~~~~~~~~~~^~~~~~~~ iccbutton.c: In function 'icc_button_set_filename': iccbutton.c:860:11: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 860 | GTimeVal time_val; | ^~~~~~~~ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ iccbutton.c:864:11: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 864 | g_get_current_time (&time_val); | ^~~~~~~~~~~~~~~~~~ In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ iccbutton.c: In function 'icc_button_choose_profile': iccbutton.c:1098:36: warning: pointer targets in passing argument 2 of 'icc_button_set_filename' differ in signedness [-Wpointer-sign] 1098 | icc_button_set_filename (button, path, TRUE); | ^~~~ | | | guchar * {aka unsigned char *} iccbutton.c:818:39: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'guchar *' {aka 'unsigned char *'} 818 | const gchar *filename, | ~~~~~~~~~~~~~^~~~~~~~ iccbutton.c: In function 'setupMenu': iccbutton.c:1108:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 1108 | GTimeVal time_val; | ^~~~~~~~ /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ iccbutton.c:1207:3: warning: 'g_get_current_time' is deprecated: Use 'g_get_real_time' instead [-Wdeprecated-declarations] 1207 | g_get_current_time (&time_val); | ^~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmain.h:728:8: note: declared here 728 | void g_get_current_time (GTimeVal *result); | ^~~~~~~~~~~~~~~~~~ iccbutton.c: In function 'icc_dialog_selected': iccbutton.c:1277:56: warning: too many arguments for format [-Wformat-extra-args] 1277 | g_string_append_printf (str, "K", temperature); | ^~~ gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c import.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from import.c:25: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from separate.h:26, from import.c:36: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ import.c: In function 'run': import.c:232:17: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 232 | gimp_image_add_layer (values[1].data.d_image, layers[i], i); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:55, from /usr/include/gimp-2.0/libgimp/gimp.h:66, from import.c:29: /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ import.c:235:17: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 235 | drw[i] = gimp_drawable_get (masks[i]); | ^~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ import.c:242:13: warning: 'gimp_image_add_layer' is deprecated: Use 'gimp_image_insert_layer' instead [-Wdeprecated-declarations] 242 | gimp_image_add_layer (values[1].data.d_image, layers[4], 4); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:75:26: note: declared here 75 | gboolean gimp_image_add_layer (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~ import.c:253:17: warning: 'gimp_drawable_set_visible' is deprecated: Use 'gimp_item_set_visible' instead [-Wdeprecated-declarations] 253 | gimp_drawable_set_visible (channel, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:108:16: note: declared here 108 | gboolean gimp_drawable_set_visible (gint32 drawable_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~ import.c:254:17: warning: 'gimp_image_add_channel' is deprecated: Use 'gimp_image_insert_channel' instead [-Wdeprecated-declarations] 254 | gimp_image_add_channel (values[1].data.d_image, channel, 0); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage_pdb.h:87:26: note: declared here 87 | gboolean gimp_image_add_channel (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~ import.c:256:17: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 256 | drw[4 + i] = gimp_drawable_get (channel); | ^~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ import.c:275:21: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 275 | gimp_pixel_rgn_init (&rgn[j], drw[j], | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ import.c:314:19: warning: 'gimp_pixel_rgn_set_rect' is deprecated: Use 'gegl_buffer_set' instead [-Wdeprecated-declarations] 314 | gimp_pixel_rgn_set_rect (&rgn[j], maskbuf[j], 0, stripHeight * i, width, rowCount); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:104:11: note: declared here 104 | void gimp_pixel_rgn_set_rect (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~~~~~ import.c:324:17: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 324 | gimp_drawable_detach (drw[i]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ import.c:333:17: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 333 | gimp_image_parasite_attach (values[1].data.d_image, parasite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47: /usr/include/gimp-2.0/libgimp/gimpimage.h:98:16: note: declared here 98 | gboolean gimp_image_parasite_attach (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -g -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -DUSE_LCMS2 `pkg-config gimp-2.0 --cflags` `pkg-config gimpui-2.0 --cflags` `pkg-config gtk+-2.0 --cflags` `pkg-config lcms2 --cflags` -DENABLE_COLOR_MANAGEMENT -DENABLE_NLS -DGETTEXT_PACKAGE="\"gimp20-separate\"" -DUSE_ICC_BUTTON -c icc_colorspace.c cd po && make PREFIX="/usr" make[1]: Entering directory '/builddir/build/BUILD/separate+-0.5.8/po' msgfmt -o cs.gmo cs.po msgfmt -o es.gmo es.po msgfmt -o fr.gmo fr.po msgfmt -o pl.gmo pl.po msgfmt -o ko.gmo ko.po make[1]: Leaving directory '/builddir/build/BUILD/separate+-0.5.8/po' gcc -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes separate-core.o separate-gui.o separate-export.o util.o tiff.o psd.o jpeg.o iccbutton.o lcms_wrapper.o -o separate `pkg-config gimp-2.0 --libs` `pkg-config gimpui-2.0 --libs` `pkg-config gtk+-2.0 --libs` `pkg-config lcms2 --libs` -ltiff -ljpeg -lm In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from icc_colorspace.c:10: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:723:1: note: declared here 723 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ In file included from icc_colorspace.h:9, from icc_colorspace.c:17: lcms_wrapper.h: In function 'lcms_get_colorants': lcms_wrapper.h:241:31: warning: missing braces around initializer [-Wmissing-braces] 241 | cmsCIEXYZTRIPLE colorants = { -1 }; | ^ | { } lcms_wrapper.h: In function 'lcms_estimate_gamma': lcms_wrapper.h:271:1: warning: no return statement in function returning non-void [-Wreturn-type] 271 | } | ^ icc_colorspace.c: In function 'run': icc_colorspace.c:208:11: warning: enumeration value 'ICC_COLORSPACE_NONE' not handled in switch [-Wswitch] 208 | switch (context.func) | ^~~~~~ icc_colorspace.c: In function 'icc_colorspace_init': icc_colorspace.c:411:3: warning: 'gimp_image_parasite_find' is deprecated: Use 'gimp_image_get_parasite' instead [-Wdeprecated-declarations] 411 | if ((parasite = gimp_image_parasite_find (imageID, "icc-profile"))) | ^~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:47, from icc_colorspace.c:12: /usr/include/gimp-2.0/libgimp/gimpimage.h:95:16: note: declared here 95 | GimpParasite * gimp_image_parasite_find (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:414:7: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 414 | context->profile = g_memdup (gimp_parasite_data (parasite), context->profileSize); | ^~~~~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ icc_colorspace.c:455:11: warning: 'g_memdup' is deprecated: Use 'g_memdup2' instead [-Wdeprecated-declarations] 455 | context->workspaceProfile = g_memdup (sRGB_profile, context->workspaceProfileSize); | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:350:23: note: declared here 350 | gpointer g_memdup (gconstpointer mem, | ^~~~~~~~ icc_colorspace.c: In function 'icc_colorspace_compare_display_profile': icc_colorspace.c:554:37: warning: comparison between 'cmsProfileClassSignature' and 'enum ' [-Wenum-compare] 554 | cmsGetDeviceClass (hProfile1) == icSigDisplayClass && | ^~ icc_colorspace.c:555:37: warning: comparison between 'cmsProfileClassSignature' and 'enum ' [-Wenum-compare] 555 | cmsGetDeviceClass (hProfile2) == icSigDisplayClass) | ^~ icc_colorspace.c: In function 'icc_colorspace_assign': icc_colorspace.c:632:7: warning: 'gimp_image_parasite_attach' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 632 | gimp_image_parasite_attach (context->imageID, parasite); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage.h:98:16: note: declared here 98 | gboolean gimp_image_parasite_attach (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:636:5: warning: 'gimp_image_parasite_detach' is deprecated: Use 'gimp_image_detach_parasite' instead [-Wdeprecated-declarations] 636 | gimp_image_parasite_detach (context->imageID, "icc-profile"); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage.h:101:16: note: declared here 101 | gboolean gimp_image_parasite_detach (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:648:5: warning: 'gimp_drawable_get_visible' is deprecated: Use 'gimp_item_get_visible' instead [-Wdeprecated-declarations] 648 | for (i = 0; i < nLayers && !gimp_drawable_get_visible (layerID[i]); i++) ; | ^~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:41: /usr/include/gimp-2.0/libgimp/gimpdrawable.h:106:16: note: declared here 106 | gboolean gimp_drawable_get_visible (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c: In function 'icc_colorspace_convert': icc_colorspace.c:851:17: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 851 | drawables[i] = gimp_drawable_get (layerID[i]); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ icc_colorspace.c:861:19: warning: 'gimp_drawable_get' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 861 | drawables[i] = gimp_drawable_get (layerID[i]); | ^~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:52:16: note: declared here 52 | GimpDrawable * gimp_drawable_get (gint32 drawable_ID); | ^~~~~~~~~~~~~~~~~ icc_colorspace.c:882:15: warning: 'gimp_image_attach_new_parasite' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 882 | return_val = gimp_image_attach_new_parasite (context->imageID, "icc-profile", | ^~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage.h:108:16: note: declared here 108 | gboolean gimp_image_attach_new_parasite (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:897:15: warning: 'gimp_drawable_detach' is deprecated [-Wdeprecated-declarations] 897 | gimp_drawable_detach (drawables[i]); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:54:16: note: declared here 54 | void gimp_drawable_detach (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:902:15: warning: 'gimp_selection_load' is deprecated: Use 'gimp_image_select_item' instead [-Wdeprecated-declarations] 902 | gimp_selection_load (selectionID); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp_pdb_headers.h:79, from /usr/include/gimp-2.0/libgimp/gimp.h:66: /usr/include/gimp-2.0/libgimp/gimpselection_pdb.h:67:24: note: declared here 67 | gboolean gimp_selection_load (gint32 channel_ID); | ^~~~~~~~~~~~~~~~~~~ icc_colorspace.c:929:11: warning: 'gimp_image_attach_new_parasite' is deprecated: Use 'gimp_image_attach_parasite' instead [-Wdeprecated-declarations] 929 | return_val = gimp_image_attach_new_parasite (context->imageID, "icc-profile", | ^~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpimage.h:108:16: note: declared here 108 | gboolean gimp_image_attach_new_parasite (gint32 image_ID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c: In function 'icc_colorspace_convert_layer': icc_colorspace.c:1030:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 1030 | gimp_pixel_rgn_init (®ion_in, drawable, x1, y1, width, height, TRUE, FALSE); /* "FALSE, FALSE" is bad. */ | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gimp-2.0/libgimp/gimp.h:57: /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ icc_colorspace.c:1031:3: warning: 'gimp_pixel_rgn_init' is deprecated: Use 'gimp_drawable_get_buffer' instead [-Wdeprecated-declarations] 1031 | gimp_pixel_rgn_init (®ion_out, drawable, x1, y1, width, height, TRUE, TRUE); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:48:11: note: declared here 48 | void gimp_pixel_rgn_init (GimpPixelRgn *pr, | ^~~~~~~~~~~~~~~~~~~ icc_colorspace.c:1033:3: warning: 'gimp_pixel_rgns_register' is deprecated: Use 'gegl_buffer_iterator_new' instead [-Wdeprecated-declarations] 1033 | iterator = gimp_pixel_rgns_register (2, ®ion_in, ®ion_out); | ^~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:111:11: note: declared here 111 | gpointer gimp_pixel_rgns_register (gint nrgns, | ^~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:1042:13: warning: Deprecated pre-processor symbol: replace with "memmove" 1042 | g_memmove (region_out.data, region_in.data, region_in.rowstride * region_in.h); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:1059:7: warning: 'gimp_pixel_rgns_process' is deprecated: Use 'gegl_buffer_iterator_next' instead [-Wdeprecated-declarations] 1059 | iterator = gimp_pixel_rgns_process (iterator); | ^~~~~~~~ /usr/include/gimp-2.0/libgimp/gimppixelrgn.h:117:11: note: declared here 117 | gpointer gimp_pixel_rgns_process (gpointer pri_ptr); | ^~~~~~~~~~~~~~~~~~~~~~~ icc_colorspace.c:1062:3: warning: 'gimp_drawable_flush' is deprecated: Use 'gegl_buffer_flush' instead [-Wdeprecated-declarations] 1062 | gimp_drawable_flush (drawable); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gimp-2.0/libgimp/gimpdrawable.h:56:16: note: declared here 56 | void gimp_drawable_flush (GimpDrawable *drawable); | ^~~~~~~~~~~~~~~~~~~ icc_colorspace.c: In function 'abstract_dialog': icc_colorspace.c:1379:24: warning: unused variable 'string' [-Wunused-variable] 1379 | gchar *profileDesc, *string; | ^~~~~~ icc_colorspace.c:1379:10: warning: unused variable 'profileDesc' [-Wunused-variable] 1379 | gchar *profileDesc, *string; | ^~~~~~~~~~~ icc_colorspace.c:1373:14: warning: unused variable 'hbox' [-Wunused-variable] 1373 | GtkWidget *hbox, *vbox1, *vbox2; | ^~~~ icc_colorspace.c:1372:14: warning: unused variable 'arrow' [-Wunused-variable] 1372 | GtkWidget *arrow; | ^~~~~ gcc -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes import.o -o separate_import `pkg-config gimp-2.0 --libs` `pkg-config gimpui-2.0 --libs` `pkg-config gtk+-2.0 --libs` `pkg-config lcms2 --libs` -ltiff -ljpeg -lm gcc -g -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes icc_colorspace.o iccbutton.o lcms_wrapper.o -o icc_colorspace `pkg-config gimp-2.0 --libs` `pkg-config gimpui-2.0 --libs` `pkg-config gtk+-2.0 --libs` `pkg-config lcms2 --libs` -ltiff -ljpeg -lm + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.N4FJpD + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386 ++ dirname /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m32 -march=i686 -mtune=generic -msse2 -mfpmath=sse -mstackrealign -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -I/usr/lib/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd separate+-0.5.8 + install -pDm755 separate /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/lib/gimp/2.0/plug-ins/separate + install -pDm755 separate_import /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/lib/gimp/2.0/plug-ins/separate_import + install -pDm755 icc_colorspace /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/lib/gimp/2.0/plug-ins/icc_colorspace + mkdir -p /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/share/appdata + install -m 644 /builddir/build/SOURCES/gimp-separate+.metainfo.xml /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/share/appdata + /usr/bin/find-debuginfo -j2 --strict-build-id -m -i --build-id-seed 0.5.8-34.fc39 --unique-debug-suffix -0.5.8-34.fc39.i386 --unique-debug-src-base gimp-separate+-0.5.8-34.fc39.i386 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 50000000 -S debugsourcefiles.list /builddir/build/BUILD/separate+-0.5.8 extracting debug info from /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/lib/gimp/2.0/plug-ins/icc_colorspace extracting debug info from /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/lib/gimp/2.0/plug-ins/separate extracting debug info from /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/lib/gimp/2.0/plug-ins/separate_import original debug info size: 736kB, size after compression: 592kB /usr/bin/sepdebugcrcfix: Updated 3 CRC32s, 0 CRC32s did match. 695 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: gimp-separate+-0.5.8-34.fc39.i686 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.3JASHZ + umask 022 + cd /builddir/build/BUILD + cd separate+-0.5.8 + DOCDIR=/builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/share/doc/gimp-separate+ + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/share/doc/gimp-separate+ + cp -pr COPYING /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/share/doc/gimp-separate+ + cp -pr README /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/share/doc/gimp-separate+ + cp -pr README_ICC_COLORSPACE /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386/usr/share/doc/gimp-separate+ + RPM_EC=0 ++ jobs -p + exit 0 Provides: gimp-cmyk = 0.5.8-34.fc39 gimp-separate+ = 0.5.8-34.fc39 gimp-separate+(x86-32) = 0.5.8-34.fc39 metainfo() metainfo(gimp-separate+.metainfo.xml) Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libc.so.6 libc.so.6(GLIBC_2.0) libc.so.6(GLIBC_2.1) libc.so.6(GLIBC_2.1.3) libc.so.6(GLIBC_2.11) libc.so.6(GLIBC_2.2) libc.so.6(GLIBC_2.3.4) libc.so.6(GLIBC_2.34) libc.so.6(GLIBC_2.4) libgdk-x11-2.0.so.0 libgdk_pixbuf-2.0.so.0 libgimp-2.0.so.0 libgimpbase-2.0.so.0 libgimpcolor-2.0.so.0 libgimpui-2.0.so.0 libgimpwidgets-2.0.so.0 libglib-2.0.so.0 libgobject-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.0) libtiff.so.6 libtiff.so.6(LIBTIFF_4.0) rtld(GNU_HASH) Processing files: gimp-separate+-debugsource-0.5.8-34.fc39.i686 Provides: gimp-separate+-debugsource = 0.5.8-34.fc39 gimp-separate+-debugsource(x86-32) = 0.5.8-34.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: gimp-separate+-debuginfo-0.5.8-34.fc39.i686 Provides: debuginfo(build-id) = 2ec14ab0d8b8d7918c199eec453a41134fb732b5 debuginfo(build-id) = 9dc1fc8e7ef19144881b850d04011bfcd4b7ddf8 debuginfo(build-id) = b2cceb4ed2b950fb2a8ac5231b9ab354f0b0c6ee gimp-separate+-debuginfo = 0.5.8-34.fc39 gimp-separate+-debuginfo(x86-32) = 0.5.8-34.fc39 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: gimp-separate+-debugsource(x86-32) = 0.5.8-34.fc39 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386 Wrote: /builddir/build/RPMS/gimp-separate+-debugsource-0.5.8-34.fc39.i686.rpm Wrote: /builddir/build/RPMS/gimp-separate+-debuginfo-0.5.8-34.fc39.i686.rpm Wrote: /builddir/build/RPMS/gimp-separate+-0.5.8-34.fc39.i686.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.IEyDO1 + umask 022 + cd /builddir/build/BUILD + cd separate+-0.5.8 + /usr/bin/rm -rf /builddir/build/BUILDROOT/gimp-separate+-0.5.8-34.fc39.i386 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.rogkjI + umask 022 + cd /builddir/build/BUILD + rm -rf separate+-0.5.8 separate+-0.5.8.gemspec + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: %patchN is deprecated (2 usages found), use %patch N (or %patch -P N) Child return code was: 0