D: [iurt_root_command] chroot sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/gypsy-0.9-10.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.tS1wst + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf gypsy-0.9 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/gypsy-0.9.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd gypsy-0.9 + rm -rf /home/pterjan/rpmbuild/BUILD/gypsy-0.9-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/gypsy-0.9-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gypsy-0.9-fedora-gtypeinit.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gypsy-0.9-mga-no-werror.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gypsy-0.9-gcc7.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/gypsy-0.9-format.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.TkkdcE + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd gypsy-0.9 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + autoreconf -vfi autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force -I m4 autoreconf: configure.ac: 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: configure.ac: not using Intltool autoreconf: running: gtkdocize --copy autoreconf: running: aclocal --force -I m4 autoreconf: running: /usr/bin/autoconf --force configure.ac:6: warning: 'AM_CONFIG_HEADER': this macro is obsolete. configure.ac:6: You should use the 'AC_CONFIG_HEADERS' macro instead. aclocal.m4:1051: AM_CONFIG_HEADER is expanded from... configure.ac:6: the top level configure.ac:13: warning: The macro 'AM_PROG_LIBTOOL' is obsolete. configure.ac:13: You should run autoupdate. m4/libtool.m4:101: AM_PROG_LIBTOOL is expanded from... configure.ac:13: the top level configure.ac:17: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:17: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:17: the top level configure.ac:24: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:24: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:24: the top level configure.ac:55: warning: The macro 'AC_HELP_STRING' is obsolete. configure.ac:55: You should run autoupdate. ./lib/autoconf/general.m4:204: AC_HELP_STRING is expanded from... configure.ac:55: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:12: installing './compile' configure.ac:5: installing './missing' docs/reference/Makefile.am:83: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') examples/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 checking for a BSD-compatible install... /usr/bin/install -c checking whether sleep supports fractional seconds... true checking filesystem timestamp resolution... 0.01 checking whether build environment is sane... yes checking for a race-free mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking xargs -n works... yes checking 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 build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking how to print strings... printf checking for a sed that does not truncate output... /usr/bin/sed checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for fgrep... /usr/bin/grep -F checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B checking the name lister (/usr/bin/nm -B) interface... BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... 1572864 checking how to convert x86_64-mageia-linux-gnu file names to x86_64-mageia-linux-gnu format... func_convert_file_noop checking how to convert x86_64-mageia-linux-gnu file names to toolchain format... func_convert_file_noop checking for /usr/bin/ld option to reload object files... -r checking for x86_64-mageia-linux-gnu-file... no checking for file... file checking for x86_64-mageia-linux-gnu-objdump... no checking for objdump... objdump checking how to recognize dependent libraries... pass_all checking for x86_64-mageia-linux-gnu-dlltool... no checking for dlltool... no checking how to associate runtime and link libraries... printf %s\n checking for x86_64-mageia-linux-gnu-ar... no checking for ar... ar checking for archiver @FILE support... @ checking for x86_64-mageia-linux-gnu-strip... no checking for strip... strip checking for x86_64-mageia-linux-gnu-ranlib... no checking for ranlib... ranlib checking command to parse /usr/bin/nm -B output from gcc object... ok checking for sysroot... no checking for a working dd... /usr/bin/dd checking how to truncate binary pipes... /usr/bin/dd bs=4096 count=1 checking for x86_64-mageia-linux-gnu-mt... no checking for mt... no checking if : is a manifest tool... no checking for 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 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 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 gpsbt... no checking for glib-2.0 dbus-glib-1 >= 0.60 gudev-1.0 bluez... yes checking for dbus-binding-tool... /usr/bin/dbus-binding-tool checking for glib-genmarshal... /usr/bin/glib-genmarshal checking what user to run the daemon as... root checking for gtk-doc... yes checking for gtkdoc-check... gtkdoc-check.test checking for gtkdoc-check... /usr/bin/gtkdoc-check checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase checking for gtkdoc-mkpdf... no checking whether to build gtk-doc documentation... no checking for glib-2.0 >= 2.10.0 gobject-2.0 >= 2.10.0... yes checking for xsltproc... xsltproc checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating org.freedesktop.Gypsy.service config.status: creating Gypsy.conf config.status: creating Makefile config.status: creating interfaces/Makefile config.status: creating src/Makefile config.status: creating gypsy/Makefile config.status: creating examples/Makefile config.status: creating docs/Makefile config.status: creating docs/reference/Makefile config.status: creating docs/reference/version.xml config.status: creating docs/tools/Makefile config.status: creating etc/Makefile config.status: creating gypsy.pc config.status: creating config.h config.status: executing depfiles commands config.status: executing libtool commands + /usr/bin/make -O -j48 V=1 VERBOSE=1 /usr/bin/make all-recursive Making all in interfaces make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/interfaces' xsltproc -o gypsy-server.xml ../docs/tools/spec-strip-docs.xsl gypsy-server-full.xml make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/interfaces' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/interfaces' xsltproc -o gypsy-client.xml ../docs/tools/spec-strip-docs.xsl gypsy-client-full.xml make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/interfaces' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/interfaces' xsltproc -o gypsy-discovery.xml ../docs/tools/spec-strip-docs.xsl gypsy-discovery-full.xml error : No such file or directory gypsy-discovery-full.xml:2: warning: failed to load external entity "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" spection 1.0//EN" "http://www.freedesktop.org/standards/dbus/1.0/introspect.dtd" ^ make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/interfaces' /usr/bin/make all-am make[3]: Nothing to be done for 'all-am'. Making all in src make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' /usr/bin/glib-genmarshal gypsy-marshal.list --header --prefix=gypsy_marshal > gypsy-marshal-internal.h INFO: Reading gypsy-marshal.list... make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' /usr/bin/dbus-binding-tool --prefix=gypsy_server --mode=glib-server ../interfaces/gypsy-server.xml > gypsy-server-glue.h WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead INFO: Reading /tmp/dbus-binding-tool-c-marshallers.VK0TR2... WARNING: The token "NONE" is deprecated; use "VOID" instead WARNING: The token "NONE" is deprecated; use "VOID" instead make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' /usr/bin/dbus-binding-tool --prefix=gypsy_client --mode=glib-server ../interfaces/gypsy-client.xml > gypsy-client-glue.h WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead INFO: Reading /tmp/dbus-binding-tool-c-marshallers.PJ0TR2... make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' /usr/bin/dbus-binding-tool --prefix=gypsy_discovery --mode=glib-server ../interfaces/gypsy-discovery.xml > gypsy-discovery-glue.h WARNING: Using --header and --body at the same time is deprecated; use --body --prototypes instead INFO: Reading /tmp/dbus-binding-tool-c-marshallers.K3ZTR2... make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[2]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' echo "#include \"gypsy-marshal-internal.h\"" > gypsy-marshal-internal.c \ && /usr/bin/glib-genmarshal --prefix=gypsy_marshal ./gypsy-marshal.list --body >> gypsy-marshal-internal.c INFO: Reading ./gypsy-marshal.list... make[2]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' /usr/bin/make all-am make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-gypsy-marshal-internal.o `test -f 'gypsy-marshal-internal.c' || echo './'`gypsy-marshal-internal.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-gypsy-parser.o `test -f 'gypsy-parser.c' || echo './'`gypsy-parser.c gypsy-parser.c: In function 'gypsy_parser_class_init': gypsy-parser.c:84:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 84 | g_type_class_add_private (klass, sizeof (GypsyParserPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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 gypsy-parser.h:4, from gypsy-parser.c:1: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gypsy-parser.c: In function 'gypsy_parser_init': gypsy-parser.c:98:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 98 | GypsyParserPrivate *priv = GET_PRIVATE (self); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-gypsy-client.o `test -f 'gypsy-client.c' || echo './'`gypsy-client.c gypsy-client.c: In function 'shutdown_connection': gypsy-client.c:206:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 206 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gps_channel_error': gypsy-client.c:263:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 263 | priv = GET_PRIVATE (userdata); | ^~~~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gps_channel_input': gypsy-client.c:285:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 285 | priv = GET_PRIVATE (userdata); | ^~~~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gps_channel_connect': gypsy-client.c:450:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 450 | priv = GET_PRIVATE (userdata); | ^~~~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_set_start_options': gypsy-client.c:499:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 499 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_start': gypsy-client.c:558:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 558 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c:605:66: error: passing argument 3 of 'g_set_error' makes integer from pointer without a cast [-Wint-conversion] 605 | g_set_error (error, GYPSY_ERROR, "%s", errno, g_strerror (errno)); | ^~~~ | | | char * In file included from /usr/include/glib-2.0/glib/gthread.h:35, from /usr/include/glib-2.0/glib/gasyncqueue.h:34, from /usr/include/glib-2.0/glib.h:34, from gypsy-client.c:57: /usr/include/glib-2.0/glib/gerror.h:223:48: note: expected 'gint' {aka 'int'} but argument is of type 'char *' 223 | gint code, | ~~~~~~~~~~~~~~~^~~~ gypsy-client.c:605:72: error: passing argument 4 of 'g_set_error' makes pointer from integer without a cast [-Wint-conversion] 605 | g_set_error (error, GYPSY_ERROR, "%s", errno, g_strerror (errno)); | ^~~~~ | | | int /usr/include/glib-2.0/glib/gerror.h:224:48: note: expected 'const gchar *' {aka 'const char *'} but argument is of type 'int' 224 | const gchar *format, | ~~~~~~~~~~~~~~~^~~~~~ gypsy-client.c: In function 'gypsy_client_stop': gypsy-client.c:721:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 721 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_get_connection_status': gypsy-client.c:738:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 738 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_get_fix_status': gypsy-client.c:752:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 752 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_get_accuracy': gypsy-client.c:769:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 769 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_get_position': gypsy-client.c:790:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 790 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_get_course': gypsy-client.c:812:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 812 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_get_satellites': gypsy-client.c:832:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 832 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_get_time': gypsy-client.c:871:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 871 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'finalize': gypsy-client.c:883:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 883 | priv = GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'set_property': gypsy-client.c:906:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 906 | priv = GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'get_property': gypsy-client.c:927:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 927 | priv = GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_class_init': gypsy-client.c:951:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 951 | g_type_class_add_private (klass, sizeof (GypsyClientPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/dbus-1.0/dbus/dbus-glib.h:29, from gypsy-client.c:59: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_init': gypsy-client.c:1053:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1053 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_set_position': gypsy-client.c:1072:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1072 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_set_course': gypsy-client.c:1147:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1147 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_set_timestamp': gypsy-client.c:1202:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1202 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_set_fix_type': gypsy-client.c:1218:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1218 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_set_accuracy': gypsy-client.c:1246:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1246 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_add_satellite': gypsy-client.c:1308:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1308 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_clear_satellites': gypsy-client.c:1328:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1328 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ gypsy-client.c: In function 'gypsy_client_set_satellites': gypsy-client.c:1342:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 1342 | priv = GET_PRIVATE (client); | ^~~~~~~~~~~~~~~~~ make[3]: *** [Makefile:522: gypsy_daemon-gypsy-client.o] Error 1 make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: *** Waiting for unfinished jobs.... make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-gypsy-nmea-parser.o `test -f 'gypsy-nmea-parser.c' || echo './'`gypsy-nmea-parser.c gypsy-nmea-parser.c: In function 'gypsy_nmea_parser_class_init': gypsy-nmea-parser.c:171:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 171 | g_type_class_add_private (klass, sizeof (GypsyNmeaParserPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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 gypsy-client.h:30, from nmea-parser.h:33, from gypsy-nmea-parser.c:29: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gypsy-nmea-parser.c: In function 'gypsy_nmea_parser_init': gypsy-nmea-parser.c:177:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 177 | GypsyNmeaParserPrivate *priv = GET_PRIVATE (self); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-main.o `test -f 'main.c' || echo './'`main.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-gypsy-garmin-parser.o `test -f 'gypsy-garmin-parser.c' || echo './'`gypsy-garmin-parser.c gypsy-garmin-parser.c: In function 'gypsy_garmin_parser_class_init': gypsy-garmin-parser.c:348:5: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 348 | g_type_class_add_private (klass, sizeof (GypsyGarminParserPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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 ./gypsy-parser.h:4, from gypsy-garmin-parser.h:4, from gypsy-garmin-parser.c:59: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gypsy-garmin-parser.c: In function 'gypsy_garmin_parser_init': gypsy-garmin-parser.c:354:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 354 | GypsyGarminParserPrivate *priv = GET_PRIVATE (self); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-gypsy-server.o `test -f 'gypsy-server.c' || echo './'`gypsy-server.c gypsy-server.c: In function 'gypsy_server_create': gypsy-server.c:121:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 121 | priv = GET_PRIVATE (gps); | ^~~~~~~~~~~~~~ gypsy-server.c: In function 'gypsy_server_shutdown': gypsy-server.c:211:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 211 | priv = GET_PRIVATE (gps); | ^~~~~~~~~~~~~~ gypsy-server.c: In function 'finalize': gypsy-server.c:255:19: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 255 | GypsyServerPrivate *priv = GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gypsy-server.c: In function 'dispose': gypsy-server.c:264:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 264 | GypsyServerPrivate *priv = GET_PRIVATE (object); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gypsy-server.c: In function 'gypsy_server_class_init': gypsy-server.c:282:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 282 | g_type_class_add_private (klass, sizeof (GypsyServerPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/dbus-1.0/dbus/dbus-glib.h:29, from gypsy-server.c:34: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gypsy-server.c: In function 'gypsy_server_init': gypsy-server.c:300:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 300 | GypsyServerPrivate *priv = GET_PRIVATE (gps); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gypsy-server.c: In function 'gypsy_server_remove_clients': gypsy-server.c:345:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 345 | GypsyServerPrivate *priv = GET_PRIVATE (gps); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gypsy-server.c: In function 'gypsy_server_new': gypsy-server.c:373:20: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 373 | GypsyServerPrivate *priv = GET_PRIVATE (server); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-nmea-parser.o `test -f 'nmea-parser.c' || echo './'`nmea-parser.c make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[3]: Entering directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I. -I.. -DLOCALSTATEDIR=\"/var\" -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/gudev-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -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 -g -Wall -c -o gypsy_daemon-gypsy-discovery.o `test -f 'gypsy-discovery.c' || echo './'`gypsy-discovery.c gypsy-discovery.c: In function 'gypsy_discovery_class_init': gypsy-discovery.c:179:9: warning: 'g_type_class_add_private' is deprecated [-Wdeprecated-declarations] 179 | g_type_class_add_private (klass, sizeof (GypsyDiscoveryPrivate)); | ^~~~~~~~~~~~~~~~~~~~~~~~ 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/dbus-1.0/dbus/dbus-glib.h:29, from gypsy-discovery.c:38: /usr/include/glib-2.0/gobject/gtype.h:1497:10: note: declared here 1497 | void g_type_class_add_private (gpointer g_class, | ^~~~~~~~~~~~~~~~~~~~~~~~ gypsy-discovery.c: In function 'gypsy_discovery_init': gypsy-discovery.c:582:13: warning: Deprecated pre-processor symbol: replace with "G_ADD_PRIVATE" 582 | GypsyDiscoveryPrivate *priv = GET_PRIVATE (self); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[3]: Leaving directory '/home/pterjan/rpmbuild/BUILD/gypsy-0.9/src' make[2]: *** [Makefile:392: all] Error 2 make[1]: *** [Makefile:544: all-recursive] Error 1 make: *** [Makefile:407: all] Error 2 error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TkkdcE (%build) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TkkdcE (%build) I: [iurt_root_command] ERROR: chroot