D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 warning: Macro expanded in comment on line 8: %{version}.tar.gz sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/clipit-1.4.6-0.git20241103.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.fGzCBB sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.nLvT5p + umask 022 + cd /home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build + rm -rf ClipIt-master + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/master.zip + STATUS=0 + '[' 0 -ne 0 ']' + cd ClipIt-master + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + echo 'Patch #0 (0001-Autostart-in-MATE.patch):' Patch #0 (0001-Autostart-in-MATE.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .mate --fuzz=0 patching file data/clipit-startup.desktop.in + echo 'Patch #1 (clipit-1.4.5-force-gdk_backend-x11.patch):' Patch #1 (clipit-1.4.5-force-gdk_backend-x11.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .nowayland --fuzz=0 patching file src/main.c Hunk #1 succeeded at 1082 (offset -4 lines). + echo 'Patch #2 (clipit-fix-build-with-gcc14.patch):' Patch #2 (clipit-fix-build-with-gcc14.patch): + /usr/bin/patch --no-backup-if-mismatch -f -p1 -b --suffix .gcc14 --fuzz=0 patching file src/keybinder.c patching file src/main.c patching file src/preferences.c + sed -i data/clipit.desktop.in -e '\@_Comment.*hr@d' + sed -i data/clipit-startup.desktop.in -e '\@_Comment.*hr@d' + ./autogen.sh autopoint... Creating /aclocal.m4 ... Running autopoint... Ignore non-fatal messages. autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using autopoint: *** Stop. Making aclocal.m4 writable ... intltoolize... cp: cannot create regular file 'm4/intltool.m4': No such file or directory intltoolize: cannot copy '/usr/share/aclocal/intltool.m4' to 'm4/intltool.m4' aclocal... aclocal: warning: couldn't open directory 'm4': No such file or directory autoheader... automake... configure.ac:32: installing './compile' configure.ac:6: installing './install-sh' configure.ac:6: installing './missing' src/Makefile.am: installing './depcomp' autoconf... configure.ac:11: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:11: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:2022: AM_CONFIG_HEADER is expanded from... configure.ac:11: the top level configure.ac:32: warning: The macro 'GLIB_GNU_GETTEXT' is obsolete. configure.ac:32: You should run autoupdate. aclocal.m4:604: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:704: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... aclocal.m4:289: GLIB_LC_MESSAGES is expanded from... aclocal.m4:604: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:704: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:690: _AS_IF_ELSE is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/general.m4:2249: AC_CACHE_VAL is expanded from... ./lib/autoconf/general.m4:2270: AC_CACHE_CHECK is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:388: GLIB_WITH_NLS is expanded from... aclocal.m4:604: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:704: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/general.m4:2918: AC_TRY_LINK is expanded from... lib/m4sugar/m4sh.m4:697: AS_IF is expanded from... ./lib/autoconf/headers.m4:89: _AC_CHECK_HEADER_COMPILE is expanded from... ./lib/autoconf/headers.m4:56: AC_CHECK_HEADER is expanded from... aclocal.m4:388: GLIB_WITH_NLS is expanded from... aclocal.m4:604: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:704: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:32: the top level configure.ac:32: warning: The macro 'AC_OUTPUT_COMMANDS' is obsolete. configure.ac:32: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... aclocal.m4:388: GLIB_WITH_NLS is expanded from... aclocal.m4:604: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:704: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:32: the top level configure.ac:114: warning: The macro 'AC_TYPE_SIGNAL' is obsolete. configure.ac:114: You should run autoupdate. ./lib/autoconf/types.m4:805: AC_TYPE_SIGNAL is expanded from... configure.ac:114: the top level configure.ac:121: warning: AC_OUTPUT should be used without arguments. configure.ac:121: You should run autoupdate. now run configure + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pOVDjZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd ClipIt-master + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-gtk3 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... yes checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking for pkg-config... yes checking for x86_64-mageia-linux-gnu-pkg-config... /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.9.0... yes checking whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether the compiler supports GNU C... yes checking whether gcc accepts -g... yes checking for gcc option to enable C11 features... none needed checking whether gcc understands -c and -o together... yes checking dependency style of gcc... none checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for locale.h... yes checking for LC_MESSAGES... yes checking for CFPreferencesCopyAppValue... no checking for CFLocaleCopyCurrent... no checking for libintl.h... yes checking for ngettext in libc... yes checking for dgettext in libc... yes checking for bind_textdomain_codeset... yes checking for msgfmt... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... ca cs da de es es_ES et fr hr hu it ja nb pl pl pt_BR ro ru sv tr zh_CN checking whether NLS is requested... yes checking for intltool >= 0.40.0... 0.51.0 found checking for intltool-update... /usr/bin/intltool-update checking for intltool-merge... /usr/bin/intltool-merge checking for intltool-extract... /usr/bin/intltool-extract checking for xgettext... (cached) /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... (cached) /usr/bin/msgfmt checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.40.1 checking whether to enable maintainer-specific portions of Makefiles... no checking for x86_64-mageia-linux-gnu-gcc... (cached) gcc checking whether the compiler supports GNU C... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to enable C11 features... (cached) none needed checking whether gcc understands -c and -o together... (cached) yes checking dependency style of gcc... (cached) none checking whether make sets $(MAKE)... (cached) yes checking for gtk+-3.0... yes checking for x86_64-mageia-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for glib-2.0 >= 2.14.0... yes checking for GLIB - version >= 2.14.0... yes (version 2.84.1) checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for an ANSI C-conforming const... yes checking return type of signal handlers... void checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating data/Makefile config.status: creating po/Makefile.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing po/stamp-it commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in data make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/data' LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po clipit-startup.desktop.in clipit-startup.desktop Generating and caching the translation database Merging translations into clipit-startup.desktop. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/data' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/data' LC_ALL=C /usr/bin/intltool-merge -d -u -c ../po/.intltool-merge-cache ../po clipit.desktop.in clipit.desktop Generating and caching the translation database Merging translations into clipit.desktop. make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/data' Making all in doc make[2]: Nothing to be done for 'all'. Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o preferences.o preferences.c preferences.c: In function 'read_actions': preferences.c:324:12: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 324 | size_t fread_return; | ^~~~~~~~~~~~ preferences.c: In function 'start_purge_timer': preferences.c:449:66: error: passing argument 2 of 'g_timeout_add_seconds' from incompatible pointer type [-Wincompatible-pointer-types] 449 | history_timeout_timer = g_timeout_add_seconds(timeout_seconds, purge_history, NULL); | ^~~~~~~~~~~~~ | | | gboolean (*)(void) {aka int (*)(void)} In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56, from preferences.c:23: /usr/include/glib-2.0/glib/gmain.h:946:54: note: expected 'GSourceFunc' {aka 'int (*)(void *)'} but argument is of type 'gboolean (*)(void)' {aka 'int (*)(void)'} 946 | GSourceFunc function, | ~~~~~~~~~~~~~~~~^~~~~~~~ preferences.c:433:17: note: 'purge_history' declared here 433 | static gboolean purge_history() { | ^~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmain.h:199:20: note: 'GSourceFunc' declared here 199 | typedef gboolean (*GSourceFunc) (gpointer user_data); | ^~~~~~~~~~~ preferences.c: In function 'read_excludes': preferences.c:596:12: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 596 | size_t fread_return; | ^~~~~~~~~~~~ preferences.c: In function 'show_preferences': preferences.c:732:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 732 | GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, | ^~~~~~~~~~~~~~~~ preferences.c:733:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 733 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); | ^~~~~~~~~~~~ preferences.c:735:3: warning: 'gtk_widget_render_icon_pixbuf' is deprecated: Use 'gtk_icon_theme_load_icon' instead [-Wdeprecated-declarations] 735 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon_pixbuf(dialog, GTK_STOCK_PREFERENCES, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from preferences.c:24: /usr/include/gtk-3.0/gtk/gtkwidget.h:1182:15: note: declared here 1182 | GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:735:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 735 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon_pixbuf(dialog, GTK_STOCK_PREFERENCES, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ preferences.c:747:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 747 | GtkWidget* page_settings = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:255: /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:748:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 748 | gtk_alignment_set_padding((GtkAlignment*)page_settings, 12, 6, 12, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:759:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 759 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:760:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 760 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:783:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 783 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:784:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 784 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:803:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 803 | GtkWidget* page_history = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:804:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 804 | gtk_alignment_set_padding((GtkAlignment*)page_history, 12, 6, 12, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:815:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 815 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:816:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 816 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:826:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 826 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:835:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 835 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:847:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 847 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:861:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 861 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:877:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 877 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:878:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 878 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:889:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 889 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:898:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 898 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:931:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 931 | GtkWidget* page_actions = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:932:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 932 | gtk_alignment_set_padding((GtkAlignment*)page_actions, 6, 6, 6, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:940:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 940 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:952:3: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] 952 | gtk_tree_view_set_rules_hint((GtkTreeView*)treeview, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42: /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246 | void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:977:3: warning: 'gtk_hbutton_box_new' is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations] 977 | GtkWidget* hbbox = gtk_hbutton_box_new(); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:261: /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here 62 | GtkWidget* gtk_hbutton_box_new (void); | ^~~~~~~~~~~~~~~~~~~ preferences.c:981:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 981 | gtk_button_set_image((GtkButton*)add_button, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:981:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 981 | gtk_button_set_image((GtkButton*)add_button, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:985:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 985 | gtk_button_set_image((GtkButton*)remove_button, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:985:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 985 | gtk_button_set_image((GtkButton*)remove_button, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:989:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 989 | gtk_button_set_image((GtkButton*)up_button, gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:989:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 989 | gtk_button_set_image((GtkButton*)up_button, gtk_image_new_from_stock(GTK_STOCK_GO_UP, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:993:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 993 | gtk_button_set_image((GtkButton*)down_button, gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:993:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 993 | gtk_button_set_image((GtkButton*)down_button, gtk_image_new_from_stock(GTK_STOCK_GO_DOWN, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:999:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 999 | GtkWidget* page_exclude = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:1000:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1000 | gtk_alignment_set_padding((GtkAlignment*)page_exclude, 6, 6, 6, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1008:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1008 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1020:3: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] 1020 | gtk_tree_view_set_rules_hint((GtkTreeView*)treeview_exclude, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246 | void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1038:3: warning: 'gtk_hbutton_box_new' is deprecated: Use 'gtk_button_box_new' instead [-Wdeprecated-declarations] 1038 | GtkWidget* hbbox_exclude = gtk_hbutton_box_new(); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkhbbox.h:62:12: note: declared here 62 | GtkWidget* gtk_hbutton_box_new (void); | ^~~~~~~~~~~~~~~~~~~ preferences.c:1042:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1042 | gtk_button_set_image((GtkButton*)add_button_exclude, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1042:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1042 | gtk_button_set_image((GtkButton*)add_button_exclude, gtk_image_new_from_stock(GTK_STOCK_ADD, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:1046:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 1046 | gtk_button_set_image((GtkButton*)remove_button_exclude, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1046:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 1046 | gtk_button_set_image((GtkButton*)remove_button_exclude, gtk_image_new_from_stock(GTK_STOCK_REMOVE, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~ preferences.c:1054:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1054 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.0); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1065:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 1065 | GtkWidget* page_extras = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:1066:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1066 | gtk_alignment_set_padding((GtkAlignment*)page_extras, 12, 6, 12, 6); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1077:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations] 1077 | alignment = gtk_alignment_new(0.50, 0.50, 1.0, 1.0); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here 79 | GtkWidget* gtk_alignment_new (gfloat xalign, | ^~~~~~~~~~~~~~~~~ preferences.c:1078:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations] 1078 | gtk_alignment_set_padding((GtkAlignment*)alignment, 12, 0, 12, 0); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here 91 | void gtk_alignment_set_padding (GtkAlignment *alignment, | ^~~~~~~~~~~~~~~~~~~~~~~~~ preferences.c:1086:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1086 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1095:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1095 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1104:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1104 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1113:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1113 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ preferences.c:1122:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations] 1122 | gtk_misc_set_alignment((GtkMisc*)label, 0.0, 0.50); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:9: note: declared here 72 | void gtk_misc_set_alignment (GtkMisc *misc, | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:429: preferences.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o daemon.o daemon.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o main.o main.c main.c: In function 'show_about_dialog': main.c:389:25: warning: 'gtk_widget_render_icon_pixbuf' is deprecated: Use 'gtk_icon_theme_load_icon' instead [-Wdeprecated-declarations] 389 | gtk_widget_render_icon_pixbuf(about_dialog, GTK_STOCK_ABOUT, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from main.c:31: /usr/include/gtk-3.0/gtk/gtkwidget.h:1182:15: note: declared here 1182 | GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:389:25: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 389 | gtk_widget_render_icon_pixbuf(about_dialog, GTK_STOCK_ABOUT, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:426:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 426 | gtk_about_dialog_set_logo_icon_name((GtkAboutDialog*)about_dialog, GTK_STOCK_PASTE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'show_actions_menu': main.c:466:3: warning: 'gtk_image_menu_item_new_with_label' is deprecated: Use 'gtk_menu_item_new_with_label' instead [-Wdeprecated-declarations] 466 | menu_item = gtk_image_menu_item_new_with_label(_("Actions using:")); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:269: /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:80:12: note: declared here 80 | GtkWidget* gtk_image_menu_item_new_with_label (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:467:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 467 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EXECUTE, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkentry.h:42, from /usr/include/gtk-3.0/gtk/gtktreeview.h:29, from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42: /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:467:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 467 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EXECUTE, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ main.c:468:3: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 468 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:511:12: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 511 | size_t fread_return; | ^~~~~~~~~~~~ main.c:558:3: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] 558 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Edit actions")); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:559:3: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 559 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:559:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 559 | menu_image = gtk_image_new_from_stock(GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ main.c:560:3: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 560 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:565:3: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 565 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:34, from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35, from /usr/include/gtk-3.0/gtk/gtk.h:33: /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ main.c: In function 'selected_by_digit': main.c:719:28: warning: passing argument 1 of 'gtk_widget_destroy' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 719 | gtk_widget_destroy(history_menu); | ^~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:619:65: note: expected 'GtkWidget *' {aka 'struct _GtkWidget *'} but argument is of type 'const GtkWidget *' {aka 'const struct _GtkWidget *'} 619 | void gtk_widget_destroy (GtkWidget *widget); | ~~~~~~~~~~~~~~~~~~~~~^~~~~~ main.c: In function 'toggle_offline_mode': main.c:736:3: warning: 'gtk_status_icon_set_from_icon_name' is deprecated [-Wdeprecated-declarations] 736 | gtk_status_icon_set_from_icon_name(status_icon, prefs.offline_mode ? ICON_OFFLINE : ICON); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:275: /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:106:23: note: declared here 106 | void gtk_status_icon_set_from_icon_name (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'show_history_menu': main.c:897:3: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 897 | gtk_menu_popup((GtkMenu*)menu, NULL, NULL, NULL, NULL, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ main.c: In function 'create_tray_menu': main.c:925:17: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] 925 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:925:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 925 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_ABOUT, NULL); | ^~~~~~~~~ main.c:929:17: warning: 'gtk_image_menu_item_new_with_mnemonic' is deprecated: Use 'gtk_menu_item_new_with_mnemonic' instead [-Wdeprecated-declarations] 929 | menu_item = gtk_image_menu_item_new_with_mnemonic(_("_Manage history")); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:82:12: note: declared here 82 | GtkWidget* gtk_image_menu_item_new_with_mnemonic (const gchar *label); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:930:17: warning: 'gtk_image_new_from_stock' is deprecated: Use 'gtk_image_new_from_icon_name' instead [-Wdeprecated-declarations] 930 | menu_image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkimage.h:122:12: note: declared here 122 | GtkWidget* gtk_image_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:930:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 930 | menu_image = gtk_image_new_from_stock(GTK_STOCK_FIND, GTK_ICON_SIZE_MENU); | ^~~~~~~~~~ main.c:931:17: warning: 'gtk_image_menu_item_set_image' is deprecated [-Wdeprecated-declarations] 931 | gtk_image_menu_item_set_image((GtkImageMenuItem*)menu_item, menu_image); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:92:12: note: declared here 92 | void gtk_image_menu_item_set_image (GtkImageMenuItem *image_menu_item, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:935:17: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] 935 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:935:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 935 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_PREFERENCES, NULL); | ^~~~~~~~~ main.c:939:17: warning: 'gtk_image_menu_item_new_from_stock' is deprecated: Use 'gtk_menu_item_new' instead [-Wdeprecated-declarations] 939 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkimagemenuitem.h:84:12: note: declared here 84 | GtkWidget* gtk_image_menu_item_new_from_stock (const gchar *stock_id, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:939:17: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 939 | menu_item = gtk_image_menu_item_new_from_stock(GTK_STOCK_QUIT, NULL); | ^~~~~~~~~ main.c: In function 'show_clipit_menu': main.c:977:9: warning: 'gtk_menu_popup' is deprecated: Use '(gtk_menu_popup_at_widget, gtk_menu_popup_at_pointer, gtk_menu_popup_at_rect)' instead [-Wdeprecated-declarations] 977 | gtk_menu_popup((GtkMenu*)statusicon_menu, NULL, NULL, gtk_status_icon_position_menu, status_icon, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ main.c:977:9: warning: 'gtk_status_icon_position_menu' is deprecated [-Wdeprecated-declarations] 977 | gtk_menu_popup((GtkMenu*)statusicon_menu, NULL, NULL, gtk_status_icon_position_menu, status_icon, 1, gtk_get_current_event_time()); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:160:23: note: declared here 160 | void gtk_status_icon_position_menu (GtkMenu *menu, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c: In function 'search_hotkey': main.c:1030:36: error: passing argument 2 of 'g_timeout_add' from incompatible pointer type [-Wincompatible-pointer-types] 1030 | g_timeout_add(POPUP_DELAY, show_search, NULL); | ^~~~~~~~~~~ | | | gboolean (*)(void) {aka int (*)(void)} In file included from /usr/include/glib-2.0/glib/giochannel.h:35, from /usr/include/glib-2.0/glib.h:56, from main.c:29: /usr/include/glib-2.0/glib/gmain.h:932:54: note: expected 'GSourceFunc' {aka 'int (*)(void *)'} but argument is of type 'gboolean (*)(void)' {aka 'int (*)(void)'} 932 | GSourceFunc function, | ~~~~~~~~~~~~~~~~^~~~~~~~ In file included from main.c:43: manage.h:27:10: note: 'show_search' declared here 27 | gboolean show_search(); | ^~~~~~~~~~~ /usr/include/glib-2.0/glib/gmain.h:199:20: note: 'GSourceFunc' declared here 199 | typedef gboolean (*GSourceFunc) (gpointer user_data); | ^~~~~~~~~~~ main.c: In function 'clipit_init': main.c:1072:9: warning: 'gtk_status_icon_new_from_icon_name' is deprecated [-Wdeprecated-declarations] 1072 | status_icon = gtk_status_icon_new_from_icon_name(ICON); | ^~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:92:23: note: declared here 92 | GtkStatusIcon *gtk_status_icon_new_from_icon_name (const gchar *icon_name); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:1073:9: warning: 'gtk_status_icon_set_tooltip_text' is deprecated [-Wdeprecated-declarations] 1073 | gtk_status_icon_set_tooltip_text((GtkStatusIcon*)status_icon, _("Clipboard Manager")); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/deprecated/gtkstatusicon.h:137:23: note: declared here 137 | void gtk_status_icon_set_tooltip_text (GtkStatusIcon *status_icon, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:429: main.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o utils.o utils.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o keybinder.o keybinder.c keybinder.c: In function 'do_grab_key': keybinder.c:105:9: warning: 'gdk_keymap_get_default' is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations] 105 | GdkKeymap *keymap = gdk_keymap_get_default (); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:48, from keybinder.c:20: /usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here 84 | GdkKeymap* gdk_keymap_get_default (void); | ^~~~~~~~~~~~~~~~~~~~~~ keybinder.c:134:9: warning: 'gdk_error_trap_push' is deprecated: Use 'gdk_x11_display_error_trap_push' instead [-Wdeprecated-declarations] 134 | gdk_error_trap_push (); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50: /usr/include/gtk-3.0/gdk/gdkmain.h:70:32: note: declared here 70 | void gdk_error_trap_push (void); | ^~~~~~~~~~~~~~~~~~~ keybinder.c:140:9: warning: 'gdk_flush' is deprecated: Use 'gdk_display_flush' instead [-Wdeprecated-declarations] 140 | gdk_flush (); | ^~~~~~~~~ /usr/include/gtk-3.0/gdk/gdkmain.h:124:6: note: declared here 124 | void gdk_flush (void); | ^~~~~~~~~ keybinder.c:142:9: warning: 'gdk_error_trap_pop' is deprecated: Use 'gdk_x11_display_error_trap_pop' instead [-Wdeprecated-declarations] 142 | if (gdk_error_trap_pop ()) { | ^~ /usr/include/gtk-3.0/gdk/gdkmain.h:73:32: note: declared here 73 | G_GNUC_WARN_UNUSED_RESULT gint gdk_error_trap_pop (void); | ^~~~~~~~~~~~~~~~~~ keybinder.c: In function 'keymap_changed': keybinder.c:218:9: warning: 'gdk_keymap_get_default' is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations] 218 | GdkKeymap *keymap = gdk_keymap_get_default (); | ^~~~~~~~~ /usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here 84 | GdkKeymap* gdk_keymap_get_default (void); | ^~~~~~~~~~~~~~~~~~~~~~ keybinder.c: In function 'keybinder_init': keybinder.c:239:9: warning: 'gdk_keymap_get_default' is deprecated: Use 'gdk_keymap_get_for_display' instead [-Wdeprecated-declarations] 239 | GdkKeymap *keymap = gdk_keymap_get_default (); | ^~~~~~~~~ /usr/include/gtk-3.0/gdk/gdkkeys.h:84:12: note: declared here 84 | GdkKeymap* gdk_keymap_get_default (void); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o history.o history.c history.c: In function 'is_excluded': history.c:69:24: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 69 | size_t fread_return; | ^~~~~~~~~~~~ history.c: In function 'read_history': history.c:107:24: warning: variable 'fread_return' set but not used [-Wunused-but-set-variable] 107 | size_t fread_return; | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o manage.o manage.c manage.c: In function 'edit_selected': manage.c:139:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 139 | GTK_STOCK_CANCEL, GTK_RESPONSE_REJECT, | ^~~~~~~~~~~~~~~~ manage.c:140:53: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 140 | GTK_STOCK_OK, GTK_RESPONSE_ACCEPT, NULL); | ^~~~~~~~~~~~ manage.c:143:5: warning: 'gtk_widget_render_icon_pixbuf' is deprecated: Use 'gtk_icon_theme_load_icon' instead [-Wdeprecated-declarations] 143 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon_pixbuf(dialog, GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkapplication.h:27, from /usr/include/gtk-3.0/gtk/gtkwindow.h:33, from /usr/include/gtk-3.0/gtk/gtkdialog.h:32, from /usr/include/gtk-3.0/gtk/gtkaboutdialog.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:31, from manage.c:24: /usr/include/gtk-3.0/gtk/gtkwidget.h:1182:15: note: declared here 1182 | GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ manage.c:143:5: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 143 | gtk_window_set_icon((GtkWindow*)dialog, gtk_widget_render_icon_pixbuf(dialog, GTK_STOCK_EDIT, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ manage.c: In function 'show_search': manage.c:351:3: warning: 'gtk_widget_render_icon_pixbuf' is deprecated: Use 'gtk_icon_theme_load_icon' instead [-Wdeprecated-declarations] 351 | gtk_window_set_icon((GtkWindow*)search_dialog, gtk_widget_render_icon_pixbuf(search_dialog, GTK_STOCK_FIND, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1182:15: note: declared here 1182 | GdkPixbuf *gtk_widget_render_icon_pixbuf (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ manage.c:351:3: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations] 351 | gtk_window_set_icon((GtkWindow*)search_dialog, gtk_widget_render_icon_pixbuf(search_dialog, GTK_STOCK_FIND, GTK_ICON_SIZE_MENU)); | ^~~~~~~~~~~~~~~~~~~ manage.c:364:3: warning: 'gdk_screen_get_height' is deprecated [-Wdeprecated-declarations] 364 | gint screen_height = gdk_screen_get_height(screen)-120; | ^~~~ In file included from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:31, from /usr/include/gtk-3.0/gdk/gdk.h:32, from /usr/include/gtk-3.0/gtk/gtk.h:30: /usr/include/gtk-3.0/gdk/gdkscreen.h:60:14: note: declared here 60 | gint gdk_screen_get_height (GdkScreen *screen); | ^~~~~~~~~~~~~~~~~~~~~ manage.c:387:3: warning: 'gtk_tree_view_set_rules_hint' is deprecated [-Wdeprecated-declarations] 387 | gtk_tree_view_set_rules_hint((GtkTreeView*)treeview_search, TRUE); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtkcombobox.h:27, from /usr/include/gtk-3.0/gtk/gtkappchooserbutton.h:29, from /usr/include/gtk-3.0/gtk/gtk.h:42: /usr/include/gtk-3.0/gtk/gtktreeview.h:246:24: note: declared here 246 | void gtk_tree_view_set_rules_hint (GtkTreeView *tree_view, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/cloudproviders -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/atk-1.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/fribidi -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/gio-unix-2.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/sysprof-6 -pthread -Wall -g -DCLIPITLOCALEDIR=\""/usr/share/locale"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o eggaccelerators.o eggaccelerators.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/clipit-1.4.6-build/ClipIt-master/src' make[1]: *** [Makefile:419: all-recursive] Error 1 make: *** [Makefile:360: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pOVDjZ (%build) RPM build warnings: Macro expanded in comment on line 8: %{version}.tar.gz RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.pOVDjZ (%build) I: [iurt_root_command] ERROR: chroot