D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/gnome-paint-0.4.0-8.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RX14qy + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gnome-paint-0.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gnome-paint-0.4.0.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gnome-paint-0.4.0 + rm -rf /home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gnome-paint-deb-crash-in-toolbar.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gnome-paint-deb-ftbfs-format-security.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gnome-paint-deb-ftbfs-libs-lm.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gnome-paint-deb-handle-urls.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gnome-paint-deb-update_translations.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gnome-paint-alt-packaging.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gnome-paint-mga-desktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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.2y7qZM + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gnome-paint-0.4.0 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -fisv autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: running: libtoolize --force libtoolize: putting auxiliary files in '.'. libtoolize: linking file './ltmain.sh' libtoolize: Consider adding 'AC_CONFIG_MACRO_DIRS([m4])' to configure.ac, libtoolize: and rerunning libtoolize and aclocal. libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am. autoreconf: running: intltoolize --force autoreconf: configure.ac: not using Gtkdoc autoreconf: running: aclocal --force autoreconf: running: /usr/bin/autoconf --force configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:10550: AM_INIT_AUTOMAKE is expanded from... configure.ac:6: the top level configure.ac:10: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.ac:10: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.ac:10: the top level configure.ac:12: warning: 'AM_PROG_CC_STDC': this macro is obsolete. configure.ac:12: You should simply use the 'AC_PROG_CC' macro instead. configure.ac:12: Also, your code should no longer depend upon 'am_cv_prog_cc_stdc', configure.ac:12: but upon 'ac_cv_prog_cc_stdc'. aclocal.m4:10870: AM_PROG_CC_STDC is expanded from... configure.ac:12: the top level configure.ac:13: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:13: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.ac:13: the top level configure.ac:26: warning: The macro 'GLIB_GNU_GETTEXT' is obsolete. configure.ac:26: You should run autoupdate. aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:26: the top level configure.ac:26: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:26: 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:73: GLIB_LC_MESSAGES is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:26: the top level configure.ac:26: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:26: 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:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:26: the top level configure.ac:26: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:26: 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:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:26: the top level configure.ac:26: warning: The macro 'AC_OUTPUT_COMMANDS' is obsolete. configure.ac:26: You should run autoupdate. ./lib/autoconf/status.m4:1025: AC_OUTPUT_COMMANDS is expanded from... aclocal.m4:172: GLIB_WITH_NLS is expanded from... aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.ac:26: the top level configure.ac:31: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.ac:31: You should run autoupdate. aclocal.m4:800: AM_PROG_LIBTOOL is expanded from... configure.ac:31: the top level configure.ac:40: warning: AC_OUTPUT should be used without arguments. configure.ac:40: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --force-missing configure.ac:6: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:6: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:10: installing './compile' configure.ac:6: installing './missing' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -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 -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 -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 -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 + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.guess + '[' -f /usr/lib/rpm/mageia/config.guess ']' ++ basename ./config.guess + cp -af /usr/lib/rpm/mageia/config.guess ./config.guess + for i in $(find ${CONFIGURE_TOP} -name config.guess -o -name config.sub) ++ basename ./config.sub + '[' -f /usr/lib/rpm/mageia/config.sub ']' ++ basename ./config.sub + cp -af /usr/lib/rpm/mageia/config.sub ./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 Modifying ltmain.sh underlinking for plugins (cf http://wiki.mandriva.com/en/Underlinking) + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking Fixing libtool's ltmain.sh to prevent overlinking (cf http://wiki.mandriva.com/en/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 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... true 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 whether to enable maintainer-specific portions of Makefiles... no 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 library containing strerror... none required 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 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 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 grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether NLS is requested... yes checking for intltool >= 0.35.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... /usr/bin/xgettext checking for msgmerge... /usr/bin/msgmerge checking for msgfmt... /usr/bin/msgfmt checking for gmsgfmt... /usr/bin/msgfmt checking for perl... /usr/bin/perl checking for perl >= 5.8.1... 5.38.2 checking for XML::Parser... ok 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... (cached) /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... (cached) /usr/bin/msgfmt checking for xgettext... (cached) /usr/bin/xgettext checking build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for dlfcn.h... yes checking for objdir... .libs checking if gcc supports -fno-rtti -fno-exceptions... no checking for gcc option to produce PIC... -fPIC -DPIC checking if gcc PIC flag -fPIC -DPIC works... yes checking if gcc static flag -static works... no checking if gcc supports -c -o file.o... yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries... yes checking whether -lc should be explicitly linked in... no checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... 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 for gtk+-2.0 >= 2.16... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating src/pixmaps/Makefile config.status: creating po/Makefile.in config.status: creating data/Makefile config.status: creating data/ui/Makefile config.status: creating data/icons/Makefile config.status: creating data/icons/16x16/Makefile config.status: creating data/icons/16x16/actions/Makefile config.status: creating data/icons/16x16/apps/Makefile config.status: creating data/desktop/Makefile config.status: creating data/desktop/gnome-paint.desktop.in config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands config.status: executing libtool 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 src Making all in pixmaps make[3]: Nothing to be done for 'all'. make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-toolbar.o `test -f 'toolbar.c' || echo './'`toolbar.c toolbar.c: In function 'get_gtk_image': toolbar.c:503:48: error: passing argument 1 of 'gdk_pixbuf_new_from_xpm_data' from incompatible pointer type [-Wincompatible-pointer-types] 503 | pixbuf = gdk_pixbuf_new_from_xpm_data (xpm); | ^~~ | | | gchar ** {aka char **} 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, from /usr/include/gtk-2.0/gtk/gtk.h:32, from toolbar.h:28, from toolbar.c:25: /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:294:55: note: expected 'const char **' but argument is of type 'gchar **' {aka 'char **'} 294 | GdkPixbuf *gdk_pixbuf_new_from_xpm_data (const char **data); | ~~~~~~~~~~~~~^~~~ make[3]: *** [Makefile:692: gnome_paint-toolbar.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_line_tool.o `test -f 'cv_line_tool.c' || echo './'`cv_line_tool.c cv_line_tool.c: In function 'button_release': cv_line_tool.c:129:33: error: implicit declaration of function 'gdk_draw_line' [-Wimplicit-function-declaration] 129 | gdk_draw_line ( m_priv->cv->pixmap, m_priv->gc, m_priv->x0, m_priv->y0, m_priv->x1, m_priv->y1 ); | ^~~~~~~~~~~~~ make[3]: *** [Makefile:734: gnome_paint-cv_line_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_polygon_tool.o `test -f 'cv_polygon_tool.c' || echo './'`cv_polygon_tool.c cv_polygon_tool.c: In function 'draw_in_pixmap': cv_polygon_tool.c:232:25: error: implicit declaration of function 'gdk_draw_polygon'; did you mean 'gdk_drag_motion'? [-Wimplicit-function-declaration] 232 | gdk_draw_polygon ( drawable, m_priv->gcb, TRUE, points, n_points); | ^~~~~~~~~~~~~~~~ | gdk_drag_motion cv_polygon_tool.c: In function 'save_undo': cv_polygon_tool.c:259:5: error: implicit declaration of function 'cv_get_rect_size' [-Wimplicit-function-declaration] 259 | cv_get_rect_size ( &rect_max ); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:818: gnome_paint-cv_polygon_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_rectangle_tool.o `test -f 'cv_rectangle_tool.c' || echo './'`cv_rectangle_tool.c cv_rectangle_tool.c: In function 'draw_in_pixmap': cv_rectangle_tool.c:193:17: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 193 | gdk_draw_rectangle (drawable, m_priv->gcb, TRUE, rect.x, rect.y, rect.width, rect.height ); | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle cv_rectangle_tool.c: In function 'save_undo': cv_rectangle_tool.c:210:5: error: implicit declaration of function 'cv_get_rect_size' [-Wimplicit-function-declaration] 210 | cv_get_rect_size ( &rect_max ); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:776: gnome_paint-cv_rectangle_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-main.o `test -f 'main.c' || echo './'`main.c main.c: In function 'main': main.c:83:9: error: implicit declaration of function 'gtk_set_locale'; did you mean 'setlocale'? [-Wimplicit-function-declaration] 83 | gtk_set_locale (); | ^~~~~~~~~~~~~~ | setlocale main.c: In function 'on_menu_about_activate': main.c:195:9: error: implicit declaration of function 'gtk_about_dialog_set_name'; did you mean 'gtk_about_dialog_set_logo'? [-Wimplicit-function-declaration] 195 | gtk_about_dialog_set_name ( dlg, "gnome-paint" ); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | gtk_about_dialog_set_logo make[3]: *** [Makefile:678: gnome_paint-main.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_pencil_tool.o `test -f 'cv_pencil_tool.c' || echo './'`cv_pencil_tool.c cv_pencil_tool.c: In function 'draw_in_pixmap': cv_pencil_tool.c:177:9: error: implicit declaration of function 'gdk_draw_lines'; did you mean 'gtk_drag_finish'? [-Wimplicit-function-declaration] 177 | gdk_draw_lines (drawable, m_priv->gc, points, n_points ); | ^~~~~~~~~~~~~~ | gtk_drag_finish cv_pencil_tool.c: In function 'save_undo': cv_pencil_tool.c:196:5: error: implicit declaration of function 'cv_get_rect_size' [-Wimplicit-function-declaration] 196 | cv_get_rect_size ( &rect_max ); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:790: gnome_paint-cv_pencil_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_color_pick_tool.o `test -f 'cv_color_pick_tool.c' || echo './'`cv_color_pick_tool.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-gp_point_array.o `test -f 'gp_point_array.c' || echo './'`gp_point_array.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_curve_tool.o `test -f 'cv_curve_tool.c' || echo './'`cv_curve_tool.c cv_curve_tool.c: In function 'draw_in_pixmap': cv_curve_tool.c:238:17: error: implicit declaration of function 'gdk_draw_line' [-Wimplicit-function-declaration] 238 | gdk_draw_line(drawable, m_priv->gcf, m_priv->start.x, m_priv->start.y, | ^~~~~~~~~~~~~ cv_curve_tool.c: In function 'save_undo': cv_curve_tool.c:291:5: error: implicit declaration of function 'cv_get_rect_size' [-Wimplicit-function-declaration] 291 | cv_get_rect_size ( &rect_max ); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:958: gnome_paint-cv_curve_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-clipboard.o `test -f 'clipboard.c' || echo './'`clipboard.c 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, from clipboard.h:25, from clipboard.c:25: clipboard.c: In function 'on_menu_copy_activate': clipboard.c:43:29: error: implicit declaration of function 'gp_selection_get_pixbuf'; did you mean 'gp_selection_get_cursor'? [-Wimplicit-function-declaration] 43 | pixbuf = GDK_PIXBUF(gp_selection_get_pixbuf()); | ^~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2656:57: note: in definition of macro '_G_TYPE_CIC' 2656 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:92:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 92 | #define GDK_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXBUF, GdkPixbuf)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ clipboard.c:43:18: note: in expansion of macro 'GDK_PIXBUF' 43 | pixbuf = GDK_PIXBUF(gp_selection_get_pixbuf()); | ^~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2656:48: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] 2656 | # define _G_TYPE_CIC(ip, gt, ct) ((ct*) (void *) ip) | ^ /usr/include/glib-2.0/gobject/gtype.h:528:66: note: in expansion of macro '_G_TYPE_CIC' 528 | #define G_TYPE_CHECK_INSTANCE_CAST(instance, g_type, c_type) (_G_TYPE_CIC ((instance), (g_type), c_type)) | ^~~~~~~~~~~ /usr/include/gdk-pixbuf-2.0/gdk-pixbuf/gdk-pixbuf-core.h:92:39: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_CAST' 92 | #define GDK_PIXBUF(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GDK_TYPE_PIXBUF, GdkPixbuf)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ clipboard.c:43:18: note: in expansion of macro 'GDK_PIXBUF' 43 | pixbuf = GDK_PIXBUF(gp_selection_get_pixbuf()); | ^~~~~~~~~~ make[3]: *** [Makefile:986: gnome_paint-clipboard.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_ellipse_tool.o `test -f 'cv_ellipse_tool.c' || echo './'`cv_ellipse_tool.c cv_ellipse_tool.c: In function 'draw_in_pixmap': cv_ellipse_tool.c:191:17: error: implicit declaration of function 'gdk_draw_arc'; did you mean 'gdk_drag_abort'? [-Wimplicit-function-declaration] 191 | gdk_draw_arc (drawable, m_priv->gcb, TRUE, rect.x, rect.y, rect.width, rect.height, 0, 23040); | ^~~~~~~~~~~~ | gdk_drag_abort cv_ellipse_tool.c: In function 'save_undo': cv_ellipse_tool.c:216:5: error: implicit declaration of function 'cv_get_rect_size' [-Wimplicit-function-declaration] 216 | cv_get_rect_size ( &rect_max ); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:804: gnome_paint-cv_ellipse_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_flood_fill_tool.o `test -f 'cv_flood_fill_tool.c' || echo './'`cv_flood_fill_tool.c cv_flood_fill_tool.c: In function 'button_release': cv_flood_fill_tool.c:140:41: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 140 | gdk_drawable_get_size(GDK_DRAWABLE( m_priv->cv->pixmap ), | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type cv_flood_fill_tool.c:148:41: error: implicit declaration of function 'gdk_draw_pixbuf' [-Wimplicit-function-declaration] 148 | gdk_draw_pixbuf(m_priv->pixmap, m_priv->gc, pixbuf, 0, 0, 0, 0, | ^~~~~~~~~~~~~~~ cv_flood_fill_tool.c: In function 'get_fg_color_from_gc': cv_flood_fill_tool.c:234:9: error: implicit declaration of function 'gdk_gc_get_values'; did you mean 'gtk_range_get_value'? [-Wimplicit-function-declaration] 234 | gdk_gc_get_values(gc, &values); | ^~~~~~~~~~~~~~~~~ | gtk_range_get_value make[3]: *** [Makefile:874: gnome_paint-cv_flood_fill_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-pixbuf_util.o `test -f 'pixbuf_util.c' || echo './'`pixbuf_util.c pixbuf_util.c: In function 'fill_draw': pixbuf_util.c:59:9: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 59 | gdk_drawable_get_size(drawable, &width, &height); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type pixbuf_util.c:96:9: error: implicit declaration of function 'gdk_draw_pixbuf' [-Wimplicit-function-declaration] 96 | gdk_draw_pixbuf(drawable, gc, pixbuf, 0, 0, 0, 0, gdk_pixbuf_get_width(pixbuf), | ^~~~~~~~~~~~~~~ make[3]: *** [Makefile:888: gnome_paint-pixbuf_util.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_airbrush_tool.o `test -f 'cv_airbrush_tool.c' || echo './'`cv_airbrush_tool.c cv_airbrush_tool.c: In function 'draw_airbrush': cv_airbrush_tool.c:299:25: error: implicit declaration of function 'gdk_draw_line' [-Wimplicit-function-declaration] 299 | gdk_draw_line(drawable, m_priv->gc, x, y, x, y); | ^~~~~~~~~~~~~ cv_airbrush_tool.c: In function 'save_undo': cv_airbrush_tool.c:342:9: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 342 | gdk_drawable_get_size ( m_priv->cv->pixmap, &w, &h ); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type cv_airbrush_tool.c: In function 'copy_pixmap': cv_airbrush_tool.c:363:9: error: implicit declaration of function 'gdk_draw_drawable' [-Wimplicit-function-declaration] 363 | gdk_draw_drawable ( pixmap_copy, | ^~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:944: gnome_paint-cv_airbrush_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-gp-image.o `test -f 'gp-image.c' || echo './'`gp-image.c gp-image.c: In function 'gp_image_init': gp-image.c:53:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 53 | object->priv = GP_IMAGE_GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gp-image.c: In function 'gp_image_class_init': gp-image.c:77:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 77 | g_type_class_add_private (object_class, sizeof (GpImagePrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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 gp-image.h:23, from gp-image.c:21: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gp-image.c: In function 'gp_image_new_from_pixmap': gp-image.c:110:17: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 110 | gdk_drawable_get_size ( pixmap, &r.width, &r.height ); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type gp-image.c: In function 'gp_image_draw': gp-image.c:397:9: error: implicit declaration of function 'gdk_draw_pixbuf' [-Wimplicit-function-declaration] 397 | gdk_draw_pixbuf ( drawable, | ^~~~~~~~~~~~~~~ make[3]: *** [Makefile:846: gnome_paint-gp-image.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_rect_select.o `test -f 'cv_rect_select.c' || echo './'`cv_rect_select.c cv_rect_select.c: In function 'set_point': cv_rect_select.c:248:5: error: implicit declaration of function 'cv_get_rect_size' [-Wimplicit-function-declaration] 248 | cv_get_rect_size ( &rect); | ^~~~~~~~~~~~~~~~ make[3]: *** [Makefile:1000: gnome_paint-cv_rect_select.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_rounded_rectangle_tool.o `test -f 'cv_rounded_rectangle_tool.c' || echo './'`cv_rounded_rectangle_tool.c cv_rounded_rectangle_tool.c: In function 'save_undo': cv_rounded_rectangle_tool.c:210:5: error: implicit declaration of function 'cv_get_rect_size' [-Wimplicit-function-declaration] 210 | cv_get_rect_size ( &rect_max ); | ^~~~~~~~~~~~~~~~ cv_rounded_rectangle_tool.c: In function 'draw_rounded_rectangle': cv_rounded_rectangle_tool.c:237:17: error: implicit declaration of function 'gdk_draw_arc'; did you mean 'gdk_drag_abort'? [-Wimplicit-function-declaration] 237 | gdk_draw_arc(drawable, gc, filled, x, y, width, height, 0, 360 * 64); | ^~~~~~~~~~~~ | gdk_drag_abort cv_rounded_rectangle_tool.c:258:17: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 258 | gdk_draw_rectangle(drawable, gc, TRUE, x + (warc / 2), y, width - warc, height ); | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle cv_rounded_rectangle_tool.c:268:17: error: implicit declaration of function 'gdk_draw_line' [-Wimplicit-function-declaration] 268 | gdk_draw_line(drawable, gc, x + (warc / 2), y, x + width - (warc / 2), y); | ^~~~~~~~~~~~~ make[3]: *** [Makefile:930: gnome_paint-cv_rounded_rectangle_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-file.o `test -f 'file.c' || echo './'`file.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-color.o `test -f 'color.c' || echo './'`color.c color.c: In function 'on_color_palette_entry_button_press_event': color.c:178:17: error: implicit declaration of function 'notify_brush_of_fg_color_change' [-Wimplicit-function-declaration] 178 | notify_brush_of_fg_color_change(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color.c:183:17: error: implicit declaration of function 'notify_eraser_of_bg_color_change' [-Wimplicit-function-declaration] 183 | notify_eraser_of_bg_color_change(); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:664: gnome_paint-color.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-color-picker.o `test -f 'color-picker.c' || echo './'`color-picker.c color-picker.c: In function 'color_picker_init': color-picker.c:83:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 83 | object->priv = COLOR_PICKER_GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ color-picker.c: In function 'color_picker_class_init': color-picker.c:108:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 108 | g_type_class_add_private (object_class, sizeof (ColorPickerPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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, from color-picker.h:24, from color-picker.c:22: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ color-picker.c: In function 'make_picker_cursor': color-picker.c:165:9: error: implicit declaration of function 'gdk_bitmap_create_from_data' [-Wimplicit-function-declaration] 165 | gdk_bitmap_create_from_data (window, (gchar *) dropper_bits, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ color-picker.c:164:14: error: assignment to 'GdkPixmap *' {aka 'struct _GdkDrawable *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 164 | pixmap = | ^ color-picker.c:168:12: error: assignment to 'GdkPixmap *' {aka 'struct _GdkDrawable *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 168 | mask = | ^ color-picker.c: In function 'grab_color_at_mouse': color-picker.c:197:11: error: implicit declaration of function 'gdk_drawable_get_image'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 197 | image = gdk_drawable_get_image (root_window, x_root, y_root, 1, 1); | ^~~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type color-picker.c:197:9: error: assignment to 'GdkImage *' {aka 'struct _GdkImage *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 197 | image = gdk_drawable_get_image (root_window, x_root, y_root, 1, 1); | ^ color-picker.c:205:13: error: assignment to 'GdkImage *' {aka 'struct _GdkImage *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 205 | image = gdk_drawable_get_image (window, x, y, 1, 1); | ^ color-picker.c:209:11: error: implicit declaration of function 'gdk_image_get_pixel'; did you mean 'gtk_image_get_pixbuf'? [-Wimplicit-function-declaration] 209 | pixel = gdk_image_get_pixel (image, 0, 0); | ^~~~~~~~~~~~~~~~~~~ | gtk_image_get_pixbuf make[3]: *** [Makefile:972: gnome_paint-color-picker.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_eraser_tool.o `test -f 'cv_eraser_tool.c' || echo './'`cv_eraser_tool.c cv_eraser_tool.c: In function 'save_background': cv_eraser_tool.c:104:9: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 104 | gdk_drawable_get_size ( m_priv->cv->pixmap, &w, &h ); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type cv_eraser_tool.c:106:9: error: implicit declaration of function 'gdk_draw_drawable' [-Wimplicit-function-declaration] 106 | gdk_draw_drawable ( m_priv->bg_pixmap, | ^~~~~~~~~~~~~~~~~ cv_eraser_tool.c: In function 'draw_round_eraser': cv_eraser_tool.c:381:9: error: implicit declaration of function 'gdk_draw_arc'; did you mean 'gdk_drag_abort'? [-Wimplicit-function-declaration] 381 | gdk_draw_arc( drawable, m_priv->gc, TRUE, x, y, m_priv->width, m_priv->height, 0, 360 * 64); | ^~~~~~~~~~~~ | gdk_drag_abort cv_eraser_tool.c: In function 'draw_rectangular_eraser': cv_eraser_tool.c:389:9: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 389 | gdk_draw_rectangle( drawable, m_priv->gc, TRUE, x, y, m_priv->width, m_priv->height); | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle cv_eraser_tool.c: In function 'save_undo': cv_eraser_tool.c:471:5: error: implicit declaration of function 'undo_add' [-Wimplicit-function-declaration] 471 | undo_add ( &rect, NULL, m_priv->bg_pixmap, TOOL_ERASER); | ^~~~~~~~ make[3]: *** [Makefile:1028: gnome_paint-cv_eraser_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_resize.o `test -f 'cv_resize.c' || echo './'`cv_resize.c cv_resize.c: In function 'cv_resize_draw': cv_resize.c:77:17: error: implicit declaration of function 'gdk_draw_line' [-Wimplicit-function-declaration] 77 | gdk_draw_line ( cv->drawing, gc_resize, 0, 0, x_res, 0 ); | ^~~~~~~~~~~~~ cv_resize.c: In function 'on_cv_ev_box_realize': cv_resize.c:112:41: error: implicit declaration of function 'gdk_gc_new'; did you mean 'gtk_gc_get'? [-Wimplicit-function-declaration] 112 | gc_resize = gdk_gc_new ( widget->window ); | ^~~~~~~~~~ | gtk_gc_get cv_resize.c:112:33: error: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 112 | gc_resize = gdk_gc_new ( widget->window ); | ^ cv_resize.c:118:9: error: implicit declaration of function 'gdk_gc_set_function'; did you mean 'gdk_window_set_functions'? [-Wimplicit-function-declaration] 118 | gdk_gc_set_function ( gc_resize, GDK_INVERT ); | ^~~~~~~~~~~~~~~~~~~ | gdk_window_set_functions cv_resize.c:119:9: error: implicit declaration of function 'gdk_gc_set_dashes' [-Wimplicit-function-declaration] 119 | gdk_gc_set_dashes ( gc_resize, 0, dash_list, 2 ); | ^~~~~~~~~~~~~~~~~ cv_resize.c:120:9: error: implicit declaration of function 'gdk_gc_set_line_attributes' [-Wimplicit-function-declaration] 120 | gdk_gc_set_line_attributes ( gc_resize, 1, GDK_LINE_ON_OFF_DASH, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cv_resize.c: In function 'cv_resize_stop': cv_resize.c:368:9: error: implicit declaration of function 'undo_add_resize' [-Wimplicit-function-declaration] 368 | undo_add_resize ( width, height ); | ^~~~~~~~~~~~~~~ make[3]: *** [Makefile:706: gnome_paint-cv_resize.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-pixbuf-file-chooser.o `test -f 'pixbuf-file-chooser.c' || echo './'`pixbuf-file-chooser.c pixbuf-file-chooser.c: In function 'pixbuf_file_chooser_class_init': pixbuf-file-chooser.c:91:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 91 | g_type_class_add_private (object_class, sizeof (PixbufFileChooserPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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, from pixbuf-file-chooser.h:29, from pixbuf-file-chooser.c:30: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ pixbuf-file-chooser.c: In function 'pixbuf_file_chooser_init': pixbuf-file-chooser.c:97:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 97 | chooser->priv = PIXBUF_FILE_CHOOSER_GET_PRIVATE (chooser); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-image_menu.o `test -f 'image_menu.c' || echo './'`image_menu.c image_menu.c:65:8: error: type defaults to 'int' in declaration of 'm_cur_unit' [-Wimplicit-int] 65 | static m_cur_unit = px; | ^~~~~~~~~~ image_menu.c:66:8: error: type defaults to 'int' in declaration of 'm_prev_unit' [-Wimplicit-int] 66 | static m_prev_unit = px; | ^~~~~~~~~~~ image_menu.c: In function 'on_menu_flip_rotate_activate': image_menu.c:112:33: error: implicit declaration of function 'gp_selection_flip'; did you mean 'gp_selection_init'? [-Wimplicit-function-declaration] 112 | gp_selection_flip(m_fr.effect); | ^~~~~~~~~~~~~~~~~ | gp_selection_init image_menu.c:115:33: error: implicit declaration of function 'gp_selection_rotate'; did you mean 'gp_selection_create'? [-Wimplicit-function-declaration] 115 | gp_selection_rotate(m_fr.degrees); | ^~~~~~~~~~~~~~~~~~~ | gp_selection_create image_menu.c:139:33: error: implicit declaration of function 'undo_add' [-Wimplicit-function-declaration] 139 | undo_add (&rect, NULL, NULL, TOOL_FLIP_CANVAS ); | ^~~~~~~~ image_menu.c: In function 'on_menu_invert_colors_activate': image_menu.c:260:9: error: implicit declaration of function 'gp_selection_invert'; did you mean 'gp_selection_init'? [-Wimplicit-function-declaration] 260 | gp_selection_invert(); | ^~~~~~~~~~~~~~~~~~~ | gp_selection_init image_menu.c:271:17: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 271 | gdk_drawable_get_size(cv->pixmap, &rect.width, &rect.height); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type image_menu.c: In function 'on_menu_clear_image_activate': image_menu.c:299:9: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 299 | gdk_draw_rectangle(cv->pixmap, cv->gc_bg, TRUE, 0, 0, | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle image_menu.c: In function 'on_menu_attributes_activate': image_menu.c:410:41: error: implicit declaration of function 'undo_add_resize' [-Wimplicit-function-declaration] 410 | undo_add_resize ( (gint)dw, (gint)dh ); | ^~~~~~~~~~~~~~~ make[3]: *** [Makefile:1042: gnome_paint-image_menu.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-undo.o `test -f 'undo.c' || echo './'`undo.c undo.c: In function 'undo_create_mask': undo.c:92:25: error: implicit declaration of function 'gdk_gc_new'; did you mean 'gtk_gc_get'? [-Wimplicit-function-declaration] 92 | *gc_mask = gdk_gc_new ( *mask ); | ^~~~~~~~~~ | gtk_gc_get undo.c:92:17: error: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 92 | *gc_mask = gdk_gc_new ( *mask ); | ^ undo.c:93:5: error: implicit declaration of function 'gdk_gc_set_line_attributes' [-Wimplicit-function-declaration] 93 | gdk_gc_set_line_attributes ( *gc_mask, cv->line_width, GDK_LINE_SOLID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ undo.c:97:5: error: implicit declaration of function 'gdk_gc_set_foreground' [-Wimplicit-function-declaration] 97 | gdk_gc_set_foreground (*gc_mask, &color); | ^~~~~~~~~~~~~~~~~~~~~ undo.c:98:5: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 98 | gdk_draw_rectangle (*mask, *gc_mask, TRUE, 0, 0, width, height); | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle undo.c: In function 'draw_undo': undo.c:351:20: error: implicit declaration of function 'gp_selection_query'; did you mean '_gtk_selection_request'? [-Wimplicit-function-declaration] 351 | if(gp_selection_query () ) | ^~~~~~~~~~~~~~~~~~ | _gtk_selection_request undo.c:354:25: error: implicit declaration of function 'gp_selection_draw_and_clear' [-Wimplicit-function-declaration] 354 | gp_selection_draw_and_clear ( FALSE ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:832: gnome_paint-undo.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_drawing.o `test -f 'cv_drawing.c' || echo './'`cv_drawing.c cv_drawing.c: In function 'cv_set_color_bg': cv_drawing.c:77:9: error: implicit declaration of function 'gdk_gc_set_rgb_bg_color' [-Wimplicit-function-declaration] 77 | gdk_gc_set_rgb_bg_color ( cv.gc_fg, color ); | ^~~~~~~~~~~~~~~~~~~~~~~ cv_drawing.c:78:9: error: implicit declaration of function 'gdk_gc_set_rgb_fg_color' [-Wimplicit-function-declaration] 78 | gdk_gc_set_rgb_fg_color ( cv.gc_bg, color ); | ^~~~~~~~~~~~~~~~~~~~~~~ cv_drawing.c: In function 'cv_set_line_width': cv_drawing.c:99:9: error: implicit declaration of function 'gdk_gc_set_line_attributes' [-Wimplicit-function-declaration] 99 | gdk_gc_set_line_attributes ( cv.gc_fg, width, GDK_LINE_SOLID, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ cv_drawing.c: In function 'cv_set_pixbuf': cv_drawing.c:219:17: error: implicit declaration of function 'gdk_draw_pixbuf' [-Wimplicit-function-declaration] 219 | gdk_draw_pixbuf ( cv.pixmap, | ^~~~~~~~~~~~~~~ cv_drawing.c: In function 'cv_get_pixbuf': cv_drawing.c:239:17: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 239 | gdk_drawable_get_size ( cv.pixmap, &w, &h ); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type cv_drawing.c: In function 'on_cv_drawing_expose_event': cv_drawing.c:375:5: error: implicit declaration of function 'gdk_draw_drawable' [-Wimplicit-function-declaration] 375 | gdk_draw_drawable ( widget->window, | ^~~~~~~~~~~~~~~~~ cv_drawing.c: In function 'cv_create_new_gc': cv_drawing.c:405:25: error: implicit declaration of function 'gdk_gc_new'; did you mean 'gtk_gc_get'? [-Wimplicit-function-declaration] 405 | gc = gdk_gc_new ( cv.widget->window ); | ^~~~~~~~~~ | gtk_gc_get cv_drawing.c:405:17: error: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 405 | gc = gdk_gc_new ( cv.widget->window ); | ^ cv_drawing.c: In function 'cv_create_pixmap': cv_drawing.c:430:17: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 430 | gdk_draw_rectangle( px, cv.gc_bg, TRUE, 0, 0, width, height ); | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle make[3]: *** [Makefile:720: gnome_paint-cv_drawing.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-selection.o `test -f 'selection.c' || echo './'`selection.c selection.c: In function 'gp_selection_set_floating': selection.c:358:17: error: implicit declaration of function 'gdk_draw_pixbuf' [-Wimplicit-function-declaration] 358 | gdk_draw_pixbuf (pm, cv->gc_fg, m_priv->pb_clipboard, 0, 0, | ^~~~~~~~~~~~~~~ selection.c:374:17: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 374 | gdk_drawable_get_size (cv->pixmap, &undo_area.width, &undo_area.height); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type selection.c:382:17: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 382 | gdk_draw_rectangle ( cv->pixmap, cv->gc_bg, TRUE, | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle selection.c: In function 'draw_top_line': selection.c:504:5: error: implicit declaration of function 'gdk_draw_line' [-Wimplicit-function-declaration] 504 | gdk_draw_line ( drawing, gc, tlbox->p1.x+1, tlbox->p0.y, | ^~~~~~~~~~~~~ selection.c: In function 'gp_selection_draw': selection.c:575:25: error: implicit declaration of function 'gdk_gc_new'; did you mean 'gtk_gc_get'? [-Wimplicit-function-declaration] 575 | gc = gdk_gc_new ( cv->widget->window ); | ^~~~~~~~~~ | gtk_gc_get selection.c:575:17: error: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 575 | gc = gdk_gc_new ( cv->widget->window ); | ^ selection.c:576:9: error: implicit declaration of function 'gdk_gc_set_function'; did you mean 'gdk_window_set_functions'? [-Wimplicit-function-declaration] 576 | gdk_gc_set_function ( gc, GDK_INVERT ); | ^~~~~~~~~~~~~~~~~~~ | gdk_window_set_functions selection.c:577:9: error: implicit declaration of function 'gdk_gc_set_dashes' [-Wimplicit-function-declaration] 577 | gdk_gc_set_dashes ( gc, 0, dash_list, 2 ); | ^~~~~~~~~~~~~~~~~ selection.c:578:9: error: implicit declaration of function 'gdk_gc_set_line_attributes' [-Wimplicit-function-declaration] 578 | gdk_gc_set_line_attributes ( gc, 1, GDK_LINE_ON_OFF_DASH, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ selection.c: In function 'gp_selection_get_bg_color_rgb': selection.c:663:17: error: implicit declaration of function 'gdk_gc_get_values'; did you mean 'gtk_range_get_value'? [-Wimplicit-function-declaration] 663 | gdk_gc_get_values (cv->gc_bg, &values); | ^~~~~~~~~~~~~~~~~ | gtk_range_get_value make[3]: *** [Makefile:1014: gnome_paint-selection.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_SRC_DIR=\""."\" -DPACKAGE_DATA_DIR=\""/usr/share"\" -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/webp -I/usr/include/libmount -I/usr/include/uuid -I/usr/include/json-c -I/usr/include/blkid -I/usr/include/fribidi -I/usr/include/cairo -I/usr/include/libxml2 -I/usr/include/pixman-1 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/sysprof-6 -pthread -DG_DISABLE_DEPRECATED -DG_DISABLE_SINGLE_INCLUDES -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGDK_DISABLE_SINGLE_INCLUDES -DGTK_DISABLE_SINGLE_INCLUDES -O2 -g -pipe -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 gnome_paint-cv_paintbrush_tool.o `test -f 'cv_paintbrush_tool.c' || echo './'`cv_paintbrush_tool.c cv_paintbrush_tool.c: In function 'save_background': cv_paintbrush_tool.c:146:9: error: implicit declaration of function 'gdk_drawable_get_size'; did you mean 'gdk_drawable_get_type'? [-Wimplicit-function-declaration] 146 | gdk_drawable_get_size ( m_priv->cv->pixmap, &w, &h ); | ^~~~~~~~~~~~~~~~~~~~~ | gdk_drawable_get_type cv_paintbrush_tool.c:148:9: error: implicit declaration of function 'gdk_draw_drawable' [-Wimplicit-function-declaration] 148 | gdk_draw_drawable ( m_priv->bg_pixmap, | ^~~~~~~~~~~~~~~~~ cv_paintbrush_tool.c: In function 'draw_round_brush': cv_paintbrush_tool.c:425:9: error: implicit declaration of function 'gdk_draw_arc'; did you mean 'gdk_drag_abort'? [-Wimplicit-function-declaration] 425 | gdk_draw_arc( drawable, m_priv->gc, TRUE, x, y, m_priv->width, m_priv->height, 0, 360 * 64); | ^~~~~~~~~~~~ | gdk_drag_abort cv_paintbrush_tool.c: In function 'draw_rectangular_brush': cv_paintbrush_tool.c:434:9: error: implicit declaration of function 'gdk_draw_rectangle'; did you mean 'gdk_cairo_rectangle'? [-Wimplicit-function-declaration] 434 | gdk_draw_rectangle( drawable, m_priv->gc, TRUE, x, y, m_priv->width, m_priv->height); | ^~~~~~~~~~~~~~~~~~ | gdk_cairo_rectangle cv_paintbrush_tool.c: In function 'draw_back_slash_brush': cv_paintbrush_tool.c:448:5: error: implicit declaration of function 'gdk_draw_line' [-Wimplicit-function-declaration] 448 | gdk_draw_line(drawable, m_priv->gc, x, y, x + w, y + h); | ^~~~~~~~~~~~~ cv_paintbrush_tool.c: In function 'draw_pixbuf_brush': cv_paintbrush_tool.c:475:9: error: implicit declaration of function 'gdk_draw_pixbuf' [-Wimplicit-function-declaration] 475 | gdk_draw_pixbuf(drawable, m_priv->gc, g_pixbuf, 0, 0, x, y, | ^~~~~~~~~~~~~~~ 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, from cv_paintbrush_tool.c:21: cv_paintbrush_tool.c: In function 'create_brush_cursor': /usr/include/gtk-2.0/gdk/gdkgc.h:182:35: error: implicit declaration of function 'gdk_gc_get_type'; did you mean 'gtk_hsv_get_type'? [-Wimplicit-function-declaration] 182 | #define GDK_TYPE_GC (gdk_gc_get_type ()) | ^~~~~~~~~~~~~~~ /usr/include/glib-2.0/gobject/gtype.h:2672:60: note: in definition of macro '_G_TYPE_CIT' 2672 | GTypeInstance *__inst = (GTypeInstance*) ip; GType __t = gt; gboolean __r; \ | ^~ /usr/include/gtk-2.0/gdk/gdkgc.h:185:35: note: in expansion of macro 'G_TYPE_CHECK_INSTANCE_TYPE' 185 | #define GDK_IS_GC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC)) | ^~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-2.0/gdk/gdkgc.h:185:73: note: in expansion of macro 'GDK_TYPE_GC' 185 | #define GDK_IS_GC(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GDK_TYPE_GC)) | ^~~~~~~~~~~ cv_paintbrush_tool.c:512:12: note: in expansion of macro 'GDK_IS_GC' 512 | if(GDK_IS_GC(gc)){ | ^~~~~~~~~ cv_paintbrush_tool.c:514:17: error: implicit declaration of function 'gdk_gc_get_values'; did you mean 'gtk_range_get_value'? [-Wimplicit-function-declaration] 514 | gdk_gc_get_values(gc, &bgvalues); | ^~~~~~~~~~~~~~~~~ | gtk_range_get_value cv_paintbrush_tool.c:519:17: error: implicit declaration of function 'gdk_gc_unref'; did you mean 'g_hmac_unref'? [-Wimplicit-function-declaration] 519 | gdk_gc_unref(gc); | ^~~~~~~~~~~~ | g_hmac_unref cv_paintbrush_tool.c: In function 'save_undo': cv_paintbrush_tool.c:637:5: error: implicit declaration of function 'undo_add' [-Wimplicit-function-declaration] 637 | undo_add ( &rect, NULL, m_priv->bg_pixmap, TOOL_PAINTBRUSH); | ^~~~~~~~ cv_paintbrush_tool.c: In function 'color_for_alphaing': cv_paintbrush_tool.c:800:38: error: implicit declaration of function 'gdk_gc_new'; did you mean 'gtk_gc_get'? [-Wimplicit-function-declaration] 800 | gc = gdk_gc_new(widget->window); | ^~~~~~~~~~ | gtk_gc_get cv_paintbrush_tool.c:800:36: error: assignment to 'GdkGC *' {aka 'struct _GdkGC *'} from 'int' makes pointer from integer without a cast [-Wint-conversion] 800 | gc = gdk_gc_new(widget->window); | ^ cv_paintbrush_tool.c:802:33: error: implicit declaration of function 'gdk_gc_set_rgb_bg_color' [-Wimplicit-function-declaration] 802 | gdk_gc_set_rgb_bg_color(gc, &bgvalues.background); | ^~~~~~~~~~~~~~~~~~~~~~~ cv_paintbrush_tool.c:803:33: error: implicit declaration of function 'gdk_gc_set_rgb_fg_color' [-Wimplicit-function-declaration] 803 | gdk_gc_set_rgb_fg_color(gc, &bgvalues.background); | ^~~~~~~~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:916: gnome_paint-cv_paintbrush_tool.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gnome-paint-0.4.0/src' make[2]: *** [Makefile:1064: all-recursive] Error 1 make[1]: *** [Makefile:510: all-recursive] Error 1 make: *** [Makefile:421: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2y7qZM (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.2y7qZM (%build) I: [iurt_root_command] ERROR: chroot