D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/galculator-2.1.4-9.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VWWKHl sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.1dDEpZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build + rm -rf galculator-2.1.4 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/galculator-2.1.4.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd galculator-2.1.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/galculator-gcc-10-no-common.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.qMpus4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/galculator-2.1.4-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 galculator-2.1.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: Entering directory '.' autoreconf: configure.in: not using Gettext autoreconf: running: aclocal --force -I m4 aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: configure.in: tracing autoreconf: running: libtoolize --copy --force libtoolize: putting auxiliary files in '.'. libtoolize: copying file './ltmain.sh' libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'. libtoolize: copying file 'm4/libtool.m4' libtoolize: copying file 'm4/ltoptions.m4' libtoolize: copying file 'm4/ltsugar.m4' libtoolize: copying file 'm4/ltversion.m4' libtoolize: copying file 'm4/lt~obsolete.m4' autoreconf: running: intltoolize --copy --force You should update your 'aclocal.m4' by running aclocal. autoreconf: configure.in: not using Gtkdoc autoreconf: running: aclocal --force -I m4 aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: /usr/bin/autoconf --force configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1302: AM_INIT_AUTOMAKE is expanded from... configure.in:4: the top level configure.in:8: warning: The macro 'AC_CONFIG_HEADER' is obsolete. configure.in:8: You should run autoupdate. ./lib/autoconf/status.m4:719: AC_CONFIG_HEADER is expanded from... configure.in:8: the top level configure.in:11: warning: The macro 'AC_PROG_INTLTOOL' is obsolete. configure.in:11: You should run autoupdate. m4/intltool.m4:209: AC_PROG_INTLTOOL is expanded from... configure.in:11: the top level configure.in:12: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.in:12: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.in:12: the top level configure.in:14: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.in:14: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... configure.in:14: the top level configure.in:20: warning: The macro 'AC_CHECK_LIBM' is obsolete. configure.in:20: You should run autoupdate. m4/libtool.m4:3998: AC_CHECK_LIBM is expanded from... configure.in:20: the top level configure.in:27: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:27: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.in:27: the top level configure.in:48: warning: The macro 'AC_HELP_STRING' is obsolete. configure.in:48: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... ./lib/autoconf/general.m4:1534: AC_ARG_ENABLE is expanded from... configure.in:48: the top level configure.in:64: warning: AC_PROG_LEX without either yywrap or noyywrap is obsolete ./lib/autoconf/programs.m4:743: _AC_PROG_LEX is expanded from... ./lib/autoconf/programs.m4:736: AC_PROG_LEX is expanded from... aclocal.m4:1503: AM_PROG_LEX is expanded from... configure.in:64: the top level configure.in:72: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.in:72: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.in:72: the top level configure.in:76: warning: The macro 'GLIB_GNU_GETTEXT' is obsolete. configure.in:76: You should run autoupdate. aclocal.m4:388: GLIB_GNU_GETTEXT is expanded from... aclocal.m4:488: AM_GLIB_GNU_GETTEXT is expanded from... configure.in:76: the top level configure.in:76: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:76: 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.in:76: the top level configure.in:76: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:76: 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.in:76: the top level configure.in:76: warning: The macro 'AC_TRY_LINK' is obsolete. configure.in:76: 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.in:76: the top level configure.in:76: warning: The macro 'AC_OUTPUT_COMMANDS' is obsolete. configure.in:76: 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.in:76: the top level configure.in:83: warning: The macro 'AC_ERROR' is obsolete. configure.in:83: You should run autoupdate. ./lib/autoconf/oldnames.m4:34: AC_ERROR is expanded from... configure.in:83: the top level configure.in:102: warning: AC_OUTPUT should be used without arguments. configure.in:102: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoheader: warning: autoconf input should be named 'configure.ac', not 'configure.in' autoreconf: running: automake --add-missing --copy --force-missing automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:4: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:4: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:10: installing './compile' configure.in:4: installing './missing' automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' src/Makefile.am: installing './depcomp' autoreconf: Leaving directory '.' + 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 + 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 --disable-static --enable-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 whether to enable maintainer-specific portions of Makefiles... no 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 whether make supports the include directive... yes (GNU style) checking dependency style of gcc... none checking whether NLS is requested... yes 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.40.1 checking for library containing strerror... none required 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 build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for cos in -lm... 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+-3.0... yes checking for sinhq in -lquadmath... no checking for flex... no checking for lex... no 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 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-ranlib... no checking for ranlib... ranlib 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 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... no 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 for catalogs to be installed... de fr ja pt pt_BR pl ro sk es_MX ru zh_TW zh_CN sv tr lt hu es cs el en_AU gl id it kk mr uk checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating galculator.spec config.status: creating src/Makefile config.status: creating po/Makefile.in config.status: creating ui/Makefile config.status: creating ui/about.ui config.status: creating doc/Makefile config.status: creating pixmaps/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool 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 src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-ui.o `test -f 'ui.c' || echo './'`ui.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from galculator.h:24, from ui.c:25: /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro 'G_CONST_RETURN' 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro 'G_CONST_RETURN' 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ ui.c: In function 'set_scientific_object_data': ui.c:177:38: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkToggleButton *)' {aka 'void (*)(struct _GtkToggleButton *)'} [-Wincompatible-pointer-types] 177 | {"button_sign", "-", display_result_toggle_sign}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:177:38: note: (near initialization for 'gfunc_map[0].func') In file included from ui.c:27: display.h:86:6: note: 'display_result_toggle_sign' declared here 86 | void display_result_toggle_sign (GtkToggleButton *button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:178:36: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkToggleButton *)' {aka 'void (*)(struct _GtkToggleButton *)'} [-Wincompatible-pointer-types] 178 | {"button_ee", "e", display_append_e}, | ^~~~~~~~~~~~~~~~ ui.c:178:36: note: (near initialization for 'gfunc_map[1].func') display.h:85:6: note: 'display_append_e' declared here 85 | void display_append_e (GtkToggleButton *button); | ^~~~~~~~~~~~~~~~ ui.c:179:36: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkToggleButton *)' {aka 'void (*)(struct _GtkToggleButton *)'} [-Wincompatible-pointer-types] 179 | {"button_f1", "(", gfunc_f1}, /* paropen or swapxy */ | ^~~~~~~~ ui.c:179:36: note: (near initialization for 'gfunc_map[2].func') In file included from ui.c:30: general_functions.h:62:6: note: 'gfunc_f1' declared here 62 | void gfunc_f1 (GtkToggleButton *button); | ^~~~~~~~ ui.c:180:36: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkToggleButton *)' {aka 'void (*)(struct _GtkToggleButton *)'} [-Wincompatible-pointer-types] 180 | {"button_f2", ")", gfunc_f2}, /* parclose or rolldn */ | ^~~~~~~~ ui.c:180:36: note: (near initialization for 'gfunc_map[3].func') general_functions.h:63:6: note: 'gfunc_f2' declared here 63 | void gfunc_f2 (GtkToggleButton *button); | ^~~~~~~~ ui.c: In function 'set_basic_object_data': ui.c:225:38: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkToggleButton *)' {aka 'void (*)(struct _GtkToggleButton *)'} [-Wincompatible-pointer-types] 225 | {"button_sign", "-", display_result_toggle_sign}, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:225:38: note: (near initialization for 'gfunc_map[0].func') display.h:86:6: note: 'display_result_toggle_sign' declared here 86 | void display_result_toggle_sign (GtkToggleButton *button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:226:36: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkToggleButton *)' {aka 'void (*)(struct _GtkToggleButton *)'} [-Wincompatible-pointer-types] 226 | {"button_f1", "(", gfunc_f1}, /* paropen or swapxy */ | ^~~~~~~~ ui.c:226:36: note: (near initialization for 'gfunc_map[1].func') general_functions.h:62:6: note: 'gfunc_f1' declared here 62 | void gfunc_f1 (GtkToggleButton *button); | ^~~~~~~~ ui.c:227:36: error: initialization of 'void (*)(void)' from incompatible pointer type 'void (*)(GtkToggleButton *)' {aka 'void (*)(struct _GtkToggleButton *)'} [-Wincompatible-pointer-types] 227 | {"button_f2", ")", gfunc_f2}, /* parclose or rolldn */ | ^~~~~~~~ ui.c:227:36: note: (near initialization for 'gfunc_map[2].func') general_functions.h:63:6: note: 'gfunc_f2' declared here 63 | void gfunc_f2 (GtkToggleButton *button); | ^~~~~~~~ ui.c: In function 'ui_pack_from_xml': ui.c:324:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 324 | if(parent) | ^~ ui.c:327:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 327 | gtk_box_reorder_child ((GtkBox *) box, child_widget, index); | ^~~~~~~~~~~~~~~~~~~~~ ui.c: In function 'ui_main_window_buttons_create': ui.c:436:17: error: too many arguments to function 'set_basic_object_data'; expected 0, have 1 436 | set_basic_object_data (button_box_xml); | ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ui.c:206:13: note: declared here 206 | static void set_basic_object_data () | ^~~~~~~~~~~~~~~~~~~~~ ui.c:443:17: error: too many arguments to function 'set_scientific_object_data'; expected 0, have 1 443 | set_scientific_object_data (button_box_xml); | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~ ui.c:152:13: note: declared here 152 | static void set_scientific_object_data () | ^~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c: In function 'set_table_child_font': ui.c:525:9: warning: 'gtk_widget_override_font' is deprecated [-Wdeprecated-declarations] 525 | gtk_widget_override_font(w, font); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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: /usr/include/gtk-3.0/gtk/gtkwidget.h:1153:14: note: declared here 1153 | void gtk_widget_override_font (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~ ui.c: In function 'position_menu': ui.c:879:9: warning: 'gdk_screen_width' is deprecated [-Wdeprecated-declarations] 879 | screen_width = gdk_screen_width (); | ^~~~~~~~~~~~ In file included from /usr/include/gtk-3.0/gdk/gdk.h:50: /usr/include/gtk-3.0/gdk/gdkmain.h:108:6: note: declared here 108 | gint gdk_screen_width (void) G_GNUC_CONST; | ^~~~~~~~~~~~~~~~ ui.c: At top level: /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1145:28: note: in expansion of macro 'G_CONST_RETURN' 1145 | void ui_formula_entry_set (G_CONST_RETURN gchar *text) | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1154:31: note: in expansion of macro 'G_CONST_RETURN' 1154 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text) | ^~~~~~~~~~~~~~ ui.c:1180:6: error: conflicting types for 'ui_formula_entry_state'; have 'void(gboolean)' {aka 'void(int)'} 1180 | void ui_formula_entry_state (gboolean error) | ^~~~~~~~~~~~~~~~~~~~~~ In file included from ui.c:26: ui.h:77:6: note: previous declaration of 'ui_formula_entry_state' with type 'void(void)' 77 | void ui_formula_entry_state (); | ^~~~~~~~~~~~~~~~~~~~~~ ui.c: In function 'ui_formula_entry_state': ui.c:1190:9: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations] 1190 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_NORMAL, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1191:5: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations] 1191 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_ACTIVE, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1192:5: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations] 1192 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_PRELIGHT, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ ui.c:1193:5: warning: 'gtk_widget_override_color' is deprecated [-Wdeprecated-declarations] 1193 | gtk_widget_override_color (formula_entry, GTK_STATE_FLAG_INSENSITIVE, pcolor); | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkwidget.h:1144:14: note: declared here 1144 | void gtk_widget_override_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:622: galculator-ui.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-callbacks.o `test -f 'callbacks.c' || echo './'`callbacks.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from calc_basic.h:40, from callbacks.c:26: /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro 'G_CONST_RETURN' 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro 'G_CONST_RETURN' 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_gfunc_button_clicked': callbacks.c:280:23: error: too many arguments to function 'func'; expected 0, have 1 280 | if (func != NULL) func(button); | ^~~~ ~~~~~~ callbacks.c: In function 'on_prefs_result_font_set': callbacks.c:694:5: warning: 'gtk_font_button_get_font_name' is deprecated [-Wdeprecated-declarations] 694 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109, from galculator.h:24, from callbacks.c:27: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function 'on_prefs_stack_font_set': callbacks.c:723:5: warning: 'gtk_font_button_get_font_name' is deprecated [-Wdeprecated-declarations] 723 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function 'on_prefs_mod_font_set': callbacks.c:752:5: warning: 'gtk_font_button_get_font_name' is deprecated [-Wdeprecated-declarations] 752 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function 'on_prefs_button_font_set': callbacks.c:818:5: warning: 'gtk_font_button_get_font_name' is deprecated [-Wdeprecated-declarations] 818 | font_name = gtk_font_button_get_font_name(button); | ^~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkfontbutton.h:96:23: note: declared here 96 | const gchar * gtk_font_button_get_font_name (GtkFontButton *font_button); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function 'on_user_function_button_clicked': callbacks.c:986:5: 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] 986 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ 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, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_constant_button_clicked': callbacks.c:1017:5: 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] 1017 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_ms_button_clicked': callbacks.c:1057:5: 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] 1057 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_mr_button_clicked': callbacks.c:1081:5: 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] 1081 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_mplus_button_clicked': callbacks.c:1101:5: 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] 1101 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_mc_button_clicked': callbacks.c:1132:5: 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] 1132 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_mx_button_clicked': callbacks.c:1156:5: 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] 1156 | gtk_menu_popup ((GtkMenu *)menu, NULL, NULL, (GtkMenuPositionFunc) position_menu, | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_button_press_event': callbacks.c:1628:5: 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] 1628 | gtk_menu_popup ((GtkMenu *) menu, NULL, NULL, NULL, NULL, 3, event->time); | ^~~~~~~~~~~~~~ /usr/include/gtk-3.0/gtk/gtkmenu.h:138:12: note: declared here 138 | void gtk_menu_popup (GtkMenu *menu, | ^~~~~~~~~~~~~~ callbacks.c: In function 'on_formula_entry_activate': callbacks.c:1637:5: error: too many arguments to function 'ui_formula_entry_state'; expected 0, have 1 1637 | ui_formula_entry_state (result.error); | ^~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~ In file included from callbacks.c:33: ui.h:77:6: note: declared here 77 | void ui_formula_entry_state (); | ^~~~~~~~~~~~~~~~~~~~~~ callbacks.c: In function 'on_formula_entry_changed': callbacks.c:1643:5: error: too many arguments to function 'ui_formula_entry_state'; expected 0, have 1 1643 | ui_formula_entry_state(FALSE); | ^~~~~~~~~~~~~~~~~~~~~~ ui.h:77:6: note: declared here 77 | void ui_formula_entry_state (); | ^~~~~~~~~~~~~~~~~~~~~~ make[2]: *** [Makefile:608: galculator-callbacks.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-math_functions.o `test -f 'math_functions.c' || echo './'`math_functions.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-main.o `test -f 'main.c' || echo './'`main.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from calc_basic.h:40, from main.c:31: /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro 'G_CONST_RETURN' 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro 'G_CONST_RETURN' 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-calc_basic.o `test -f 'calc_basic.c' || echo './'`calc_basic.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-config_file.o `test -f 'config_file.c' || echo './'`config_file.c make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-general_functions.o `test -f 'general_functions.c' || echo './'`general_functions.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from galculator.h:24, from general_functions.c:29: /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro 'G_CONST_RETURN' 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro 'G_CONST_RETURN' 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ general_functions.c: In function 'set_button_font': general_functions.c:233:9: warning: 'gtk_font_button_set_font_name' is deprecated [-Wdeprecated-declarations] 233 | if (button) gtk_font_button_set_font_name (GTK_FONT_BUTTON(button), *string_var); | ^~ In file included from /usr/include/gtk-3.0/gtk/gtk.h:109: /usr/include/gtk-3.0/gtk/gtkfontbutton.h:98:23: note: declared here 98 | gboolean gtk_font_button_set_font_name (GtkFontButton *font_button, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-display.o `test -f 'display.c' || echo './'`display.c In file included from /usr/lib64/glib-2.0/include/glibconfig.h:9, from /usr/include/glib-2.0/glib/gtypes.h:34, from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/gtk-3.0/gdk/gdkconfig.h:8, from /usr/include/gtk-3.0/gdk/gdk.h:30, from /usr/include/gtk-3.0/gtk/gtk.h:30, from galculator.h:24, from display.c:27: /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:74:28: note: in expansion of macro 'G_CONST_RETURN' 74 | void ui_formula_entry_set (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1301:33: warning: Deprecated pre-processor symbol: replace with "const" 1301 | #define _GLIB_GNUC_DO_PRAGMA(x) _Pragma(G_STRINGIFY (x)) | ^~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1304:3: note: in expansion of macro '_GLIB_GNUC_DO_PRAGMA' 1304 | _GLIB_GNUC_DO_PRAGMA(GCC warning G_STRINGIFY (Deprecated pre-processor symbol: replace with #f)) | ^~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/glib-visibility.h:108:46: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_FOR' 108 | #define GLIB_DEPRECATED_MACRO_IN_2_30_FOR(f) GLIB_DEPRECATED_MACRO_FOR (f) | ^~~~~~~~~~~~~~~~~~~~~~~~~ /usr/include/glib-2.0/glib/gmacros.h:1052:30: note: in expansion of macro 'GLIB_DEPRECATED_MACRO_IN_2_30_FOR' 1052 | #define G_CONST_RETURN const GLIB_DEPRECATED_MACRO_IN_2_30_FOR(const) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ui.h:75:31: note: in expansion of macro 'G_CONST_RETURN' 75 | void ui_formula_entry_insert (G_CONST_RETURN gchar *text); | ^~~~~~~~~~~~~~ display.c: In function 'display_set_bkg_color': display.c:613:9: warning: 'gtk_widget_override_background_color' is deprecated [-Wdeprecated-declarations] 613 | gtk_widget_override_background_color(GTK_WIDGET(view), | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 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: /usr/include/gtk-3.0/gtk/gtkwidget.h:1148:14: note: declared here 1148 | void gtk_widget_override_background_color (GtkWidget *widget, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' gcc -DHAVE_CONFIG_H -I. -I.. -DPACKAGE_LOCALE_DIR=\""/usr/share/locale"\" -DPACKAGE_UI_DIR=\""/usr/share/galculator/ui"\" -DPACKAGE_PIXMAPS_DIR=\""/usr/share/pixmaps"\" -DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -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 -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 -Wall -c -o galculator-flex_parser.o `test -f 'flex_parser.c' || echo './'`flex_parser.c flex_parser.c:1554:16: warning: 'input' defined but not used [-Wunused-function] 1554 | static int input (void) | ^~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/galculator-2.1.4-build/galculator-2.1.4/src' make[1]: *** [Makefile:535: all-recursive] Error 1 make: *** [Makefile:423: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qMpus4 (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.qMpus4 (%build) I: [iurt_root_command] ERROR: chroot