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/grdesktop-0.23-19.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rORf4Z sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aYDb9D + umask 022 + cd /home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build + rm -rf grdesktop-0.23 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/grdesktop-0.23.tar.bz2 + STATUS=0 + '[' 0 -ne 0 ']' + cd grdesktop-0.23 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/grdesktop-0.23-desktopentry.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/grdesktop-0.23-format-strings.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/grdesktop-0.23-fix-desktop.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/grdesktop-fix-building-with-gcc14.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/01_gettext.diff + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/02_iter.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/04_typos.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/06_no-libgnome.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/07_avoid-scrollkeeper.diff + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/08_gsettings-port.diff + /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.wQUtEA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -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 grdesktop-0.23 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/bin/autoconf --force configure.ac:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. ./lib/autoconf/general.m4:2434: AC_DIAGNOSE is expanded from... aclocal.m4:1358: AM_INIT_AUTOMAKE is expanded from... configure.ac:24: the top level configure.ac:25: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:25: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:1672: AM_CONFIG_HEADER is expanded from... configure.ac:25: the top level configure.ac:30: warning: The macro 'AC_PROG_CC_STDC' is obsolete. configure.ac:30: You should run autoupdate. ./lib/autoconf/c.m4:1669: AC_PROG_CC_STDC is expanded from... configure.ac:30: the top level configure.ac:36: warning: The macro 'AC_ISC_POSIX' is obsolete. configure.ac:36: You should run autoupdate. ./lib/autoconf/specific.m4:732: AC_ISC_POSIX is expanded from... configure.ac:36: the top level configure.ac:39: warning: The macro 'AC_STDC_HEADERS' is obsolete. configure.ac:39: You should run autoupdate. ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:39: the top level configure.ac:39: warning: The macro 'AC_HEADER_STDC' is obsolete. configure.ac:39: You should run autoupdate. ./lib/autoconf/headers.m4:663: AC_HEADER_STDC is expanded from... ./lib/autoconf/oldnames.m4:75: AC_STDC_HEADERS is expanded from... configure.ac:39: the top level configure.ac:40: warning: The macro 'AC_HAVE_HEADERS' is obsolete. configure.ac:40: You should run autoupdate. ./lib/autoconf/oldnames.m4:35: AC_HAVE_HEADERS is expanded from... configure.ac:40: the top level configure.ac:44: warning: The macro 'GLIB_GNU_GETTEXT' is obsolete. configure.ac:44: 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:44: the top level configure.ac:44: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:44: 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:44: the top level configure.ac:44: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:44: 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:44: the top level configure.ac:44: warning: The macro 'AC_TRY_LINK' is obsolete. configure.ac:44: 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:44: the top level configure.ac:44: warning: The macro 'AC_OUTPUT_COMMANDS' is obsolete. configure.ac:44: 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:44: the top level configure.ac:63: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:63: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:63: the top level configure.ac:73: warning: AC_OUTPUT should be used without arguments. configure.ac:73: You should run autoupdate. autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:24: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.ac:24: https://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.ac:29: installing './compile' src/Makefile.am:24: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -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 -fcommon -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 -fcommon -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 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + CONFIGURE_TOP=. + '[' 1 = 1 ']' ++ find . -name config.guess -o -name config.sub + /usr/lib/rpm/mageia/force-as-needed-for-shared-lib-in-libtool Forcing -Wl,--as-needed in configure/libtool to workaround libtool bug (cf http://lists.gnu.org/archive/html/libtool-patches/2004-06/msg00002.html) + /usr/lib/rpm/mageia/drop-ld-no-undefined-for-shared-lib-modules-in-libtool + /usr/lib/rpm/mageia/fix-libtool-ltmain-from-overlinking + /usr/lib/rpm/mageia/fix-libtool-from-moving-options-after-libs . + /usr/lib/rpm/mageia/fix-dlsearch-path-in-libtool-for-multilib . lib64 + ./configure --host=x86_64-mageia-linux-gnu --build=x86_64-mageia-linux-gnu --program-prefix= --disable-dependency-tracking --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-keymap-path=/usr/share/rdesktop/keymaps 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 for an ANSI C-conforming const... yes checking whether ln -s works... yes 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 for string.h... (cached) yes checking for fcntl.h... yes checking for sys/files.h... no checking for sys/params.h... 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... /usr/bin/msgfmt checking for dcgettext... yes checking if msgfmt accepts -c... yes checking for gmsgfmt... /usr/bin/msgfmt checking for xgettext... /usr/bin/xgettext checking for catalogs to be installed... de fr es 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... yes checking for x86_64-mageia-linux-gnu-pkg-config... (cached) /usr/bin/x86_64-mageia-linux-gnu-pkg-config checking pkg-config is at least version 0.16... yes checking for rdesktop... no configure: WARNING: *** rdesktop is required to use grdesktp! *** checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating po/Makefile.in config.status: WARNING: 'po/Makefile.in.in' seems to ignore the --datarootdir setting config.status: creating help/Makefile config.status: creating help/C/Makefile config.status: creating doc/Makefile config.status: creating src/Makefile config.status: creating pixmaps/Makefile config.status: creating config.h config.status: executing depfiles commands config.status: executing default-1 commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in po make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/po' file=./`echo de | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file de.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/po' file=./`echo es | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file es.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/po' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/po' file=./`echo fr | sed 's,.*/,,'`.gmo \ && rm -f $file && /usr/bin/msgfmt -o $file fr.po make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/po' Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' /usr/bin/glib-compile-schemas --strict --dry-run --schema-file=org.nongnu.grdesktop.gschema.xml && mkdir -p . && touch org.nongnu.grdesktop.gschema.valid make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o main.o main.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from main.h:28, from main.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n.h:23, from main.h:27: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ main.c: In function 'main': main.c:206:17: error: too many arguments to function 'usage'; expected 0, have 1 206 | usage(argv[0]); | ^~~~~ ~~~~~~~ main.h:45:6: note: declared here 45 | void usage(); | ^~~~~ make[2]: *** [Makefile:456: main.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: *** Waiting for unfinished jobs.... make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o srvsel.o srvsel.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from srvsel.h:27, from srvsel.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n.h:23, from srvsel.h:26: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o run.o run.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from run.h:26, from run.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ run.c: In function 'run_rdesktop': run.c:139:12: error: too many arguments to function 'saveServers'; expected 0, have 1 139 | if(saveServers(SHASH("hostname")) == 0) { | ^~~~~~~~~~~ In file included from run.h:32: options.h:49:6: note: declared here 49 | gint saveServers(); | ^~~~~~~~~~~ make[2]: *** [Makefile:456: run.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o sshbox.o sshbox.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from sshbox.h:27, from sshbox.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n.h:23, from sshbox.h:26: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o options.o options.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from options.h:26, from options.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ options.c: In function 'loadScreens': options.c:90:25: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 90 | if(!g_strcasecmp(SHASH("geometry"), item)) { | ^~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ options.c: In function 'loadKeymap': options.c:155:25: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 155 | if(!g_strcasecmp(entry->d_name, "common")) | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ options.c:157:25: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 157 | if(!g_strcasecmp(entry->d_name, "modifiers")) | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ options.c:167:33: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 167 | if(!g_strcasecmp(SHASH("keymap"), entry->d_name)) | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ options.c:170:25: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 170 | if(!g_strcasecmp("EN", entry->d_name)) | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ options.c: At top level: options.c:236:6: error: conflicting types for 'saveServers'; have 'gint(gchar *)' {aka 'int(char *)'} 236 | gint saveServers(gchar *newitem) { | ^~~~~~~~~~~ options.h:49:6: note: previous declaration of 'saveServers' with type 'gint(void)' {aka 'int(void)'} 49 | gint saveServers(); | ^~~~~~~~~~~ options.c: In function 'saveServers': options.c:256:17: warning: 'g_strncasecmp' is deprecated [-Wdeprecated-declarations] 256 | if(!g_strncasecmp(item, newitem, MAXHOSTNAMELEN)) | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:271:23: note: declared here 271 | gint g_strncasecmp (const gchar *s1, | ^~~~~~~~~~~~~ options.c: In function 'loadOptions': options.c:454:25: warning: 'g_strup' is deprecated [-Wdeprecated-declarations] 454 | g_strup((gchar*)g_get_user_name())); | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:277:23: note: declared here 277 | gchar* g_strup (gchar *string); | ^~~~~~~ options.c: In function 'screenCommand': options.c:505:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 505 | if(!g_strcasecmp(SHASH("geometry"), _("Fullscreen"))) { | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ make[2]: *** [Makefile:456: options.o] Error 1 make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o rdpparse.o rdpparse.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from rdpparse.h:26, from rdpparse.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ rdpparse.c: In function 'sig_file_save': rdpparse.c:86:17: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 86 | if(!g_strcasecmp(SHASH("geometry"), _("Fullscreen"))) { | ^~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c: In function 'parse_line': rdpparse.c:208:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 208 | if(!g_strcasecmp(items[0], "username")) | ^~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:210:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 210 | else if(!g_strcasecmp(items[0], "domain")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:212:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 212 | else if(!g_strcasecmp(items[0], "alternate shell")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:214:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 214 | else if(!g_strcasecmp(items[0], "shell working directory")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:216:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 216 | else if(!g_strcasecmp(items[0], "full address")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:218:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 218 | else if(!g_strcasecmp(items[0], "session bpp")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:220:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 220 | else if(!g_strcasecmp(items[0], "bitmapcachepersistenable")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:222:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 222 | else if(!g_strcasecmp(items[0], "desktopwidth")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:225:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 225 | else if(!g_strcasecmp(items[0], "desktopheight")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ rdpparse.c:228:9: warning: 'g_strcasecmp' is deprecated [-Wdeprecated-declarations] 228 | else if(!g_strcasecmp(items[0], "screen mode id")) | ^~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:268:23: note: declared here 268 | gint g_strcasecmp (const gchar *s1, | ^~~~~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o btnbox.o btnbox.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from btnbox.h:27, from btnbox.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/glib/gi18n.h:23, from btnbox.h:26: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -I../intl -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 -DDATADIR=\""/usr/share"\" -DLOCALEDIR=\""/usr/share/locale"\" -DKBPATH=\""/usr/share/rdesktop/keymaps"\" -O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -fcommon -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full -c -o optbox.o optbox.c In file included from /usr/include/gtk-2.0/gtk/gtkobject.h:37, from /usr/include/gtk-2.0/gtk/gtkwidget.h:36, from /usr/include/gtk-2.0/gtk/gtkcontainer.h:35, from /usr/include/gtk-2.0/gtk/gtkbin.h:35, from /usr/include/gtk-2.0/gtk/gtkwindow.h:36, from /usr/include/gtk-2.0/gtk/gtkdialog.h:35, from /usr/include/gtk-2.0/gtk/gtkaboutdialog.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:33, from optbox.h:26, from optbox.c:23: /usr/include/gtk-2.0/gtk/gtktypeutils.h:236:1: warning: 'GTypeDebugFlags' is deprecated [-Wdeprecated-declarations] 236 | void gtk_type_init (GTypeDebugFlags debug_flags); | ^~~~ In file included from /usr/include/glib-2.0/gobject/gobject.h:26, from /usr/include/glib-2.0/gobject/gbinding.h:31, from /usr/include/glib-2.0/glib-object.h:24, from /usr/include/glib-2.0/gio/gioenums.h:30, from /usr/include/glib-2.0/gio/giotypes.h:30, from /usr/include/glib-2.0/gio/gio.h:28, from /usr/include/gtk-2.0/gdk/gdkapplaunchcontext.h:30, from /usr/include/gtk-2.0/gdk/gdk.h:32, from /usr/include/gtk-2.0/gtk/gtk.h:32: /usr/include/glib-2.0/gobject/gtype.h:725:1: note: declared here 725 | { | ^ In file included from /usr/include/gtk-2.0/gtk/gtktoolitem.h:31, from /usr/include/gtk-2.0/gtk/gtktoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtkmenutoolbutton.h:30, from /usr/include/gtk-2.0/gtk/gtk.h:126: /usr/include/gtk-2.0/gtk/gtktooltips.h:73:3: warning: 'GTimeVal' is deprecated: Use 'GDateTime' instead [-Wdeprecated-declarations] 73 | GTimeVal last_popdown; | ^~~~~~~~ In file included from /usr/include/glib-2.0/glib/galloca.h:34, from /usr/include/glib-2.0/glib.h:32, from /usr/include/glib-2.0/gobject/gbinding.h:30: /usr/include/glib-2.0/glib/gtypes.h:580:8: note: declared here 580 | struct _GTimeVal | ^~~~~~~~~ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/grdesktop-0.23-build/grdesktop-0.23/src' make[1]: *** [Makefile:487: all-recursive] Error 1 make: *** [Makefile:365: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wQUtEA (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.wQUtEA (%build) I: [iurt_root_command] ERROR: chroot