D: [iurt_root_command] chroot warning: %make is deprecated, use %make_build instead Installing /home/iurt/rpmbuild/SRPMS/xsm-1.0.4-3.mga8.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.3E72wF + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/iurt/rpmbuild/BUILD + rm -rf xsm-1.0.4 + /usr/bin/bzip2 -dc /home/iurt/rpmbuild/SOURCES/xsm-1.0.4.tar.bz2 + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd xsm-1.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.vlkIWC + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xsm-1.0.4 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + sed -i '/XAW_/ s/)/, xaw7)/; /XAW_/ s/XAW_CHECK_XPRINT_SUPPORT/PKG_CHECK_MODULES/' configure.ac + autoreconf -f -i -v autoreconf: export WARNINGS= autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force configure.ac:38: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:38: You should run autoupdate. ./lib/autoconf/c.m4:1493: AC_PROG_CC_C99 is expanded from... /usr/share/aclocal/xorg-macros.m4:1533: XORG_COMPILER_BRAND is expanded from... /usr/share/aclocal/xorg-macros.m4:1652: XORG_COMPILER_FLAGS is expanded from... /usr/share/aclocal/xorg-macros.m4:1824: XORG_DEFAULT_OPTIONS is expanded from... configure.ac:38: the top level 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:38: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:38: You should run autoupdate. ./lib/autoconf/c.m4:1493: AC_PROG_CC_C99 is expanded from... aclocal.m4:1899: XORG_COMPILER_BRAND is expanded from... aclocal.m4:2018: XORG_COMPILER_FLAGS is expanded from... aclocal.m4:2190: XORG_DEFAULT_OPTIONS is expanded from... configure.ac:38: the top level autoreconf: running: /usr/bin/autoheader --force autoreconf: running: automake --add-missing --copy --force-missing configure.ac:38: warning: The macro `AC_PROG_CC_C99' is obsolete. configure.ac:38: You should run autoupdate. ./lib/autoconf/c.m4:1493: AC_PROG_CC_C99 is expanded from... aclocal.m4:1899: XORG_COMPILER_BRAND is expanded from... aclocal.m4:2018: XORG_COMPILER_FLAGS is expanded from... aclocal.m4:2190: XORG_DEFAULT_OPTIONS is expanded from... configure.ac:38: the top level autoreconf: Leaving directory '.' + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables ' + export FCFLAGS + LDFLAGS=' -Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-O1 -Wl,--build-id -Wl,--enable-new-dtags' + export LDFLAGS + 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 + /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 checking for a BSD-compatible install... /usr/bin/install -c 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 whether make supports the include directive... yes (GNU style) checking for x86_64-mageia-linux-gnu-gcc... x86_64-mageia-linux-gnu-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 x86_64-mageia-linux-gnu-gcc accepts -g... yes checking for x86_64-mageia-linux-gnu-gcc option to enable C11 features... none needed checking whether x86_64-mageia-linux-gnu-gcc understands -c and -o together... yes checking dependency style of x86_64-mageia-linux-gnu-gcc... none checking how x86_64-mageia-linux-gnu-gcc reports undeclared standard C functions... error checking for sys/types.h... yes checking for sys/stat.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking whether __clang__ is declared... no checking whether __INTEL_COMPILER is declared... no checking whether __SUNPRO_C is declared... 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 build system type... x86_64-mageia-linux-gnu checking host system type... x86_64-mageia-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if x86_64-mageia-linux-gnu-gcc supports -Werror=unknown-warning-option... no checking if x86_64-mageia-linux-gnu-gcc supports -Werror=unused-command-line-argument... no checking if x86_64-mageia-linux-gnu-gcc supports -Wall... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wpointer-arith... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wmissing-declarations... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wformat=2... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wstrict-prototypes... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wmissing-prototypes... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wnested-externs... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wbad-function-cast... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wold-style-definition... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wdeclaration-after-statement... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wunused... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wuninitialized... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wshadow... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wmissing-noreturn... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wmissing-format-attribute... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wredundant-decls... yes checking if x86_64-mageia-linux-gnu-gcc supports -Wlogical-op... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=implicit... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=nonnull... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=init-self... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=main... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=missing-braces... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=sequence-point... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=return-type... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=trigraphs... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=array-bounds... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=write-strings... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=address... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=int-to-pointer-cast... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=pointer-to-int-cast... yes checking if x86_64-mageia-linux-gnu-gcc supports -pedantic... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror... yes checking if x86_64-mageia-linux-gnu-gcc supports -Werror=attributes... yes checking whether make supports nested variables... (cached) yes checking for mkstemp... yes checking for putenv... yes checking for XSM... yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating man/Makefile config.status: creating config.h config.status: executing depfiles commands + /usr/bin/make -O -j8 /usr/bin/make all-recursive Making all in man make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4/man' GEN xsm.1 make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4/man' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC mainwin.o mainwin.c: In function 'create_main_window': mainwin.c:68:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 68 | {"DelMainWinAction", DelMainWinAction} | ^~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC log.o log.c: In function 'create_log_popup': log.c:112:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | {"DelLogWinAction", DelLogWinAction} | ^~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC misc.o misc.c: In function 'nomem': misc.c:124:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 124 | nomem(void) | ^~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC list.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC lock.o lock.c: In function 'LockSession': lock.c:51:25: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 51 | LockSession(const char *session_name, Bool write_id) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from lock.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ lock.c: In function 'UnlockSession': lock.c:92:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 92 | UnlockSession(const char *session_name) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from lock.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ lock.c: In function 'GetLockId': lock.c:107:23: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 107 | GetLockId(const char *session_name) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from lock.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ lock.c: In function 'CheckSessionLocked': lock.c:137:32: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 137 | CheckSessionLocked(const char *session_name, Bool get_id, char **id_ret) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from lock.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ lock.c: In function 'UnableToLockSession': lock.c:151:33: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 151 | UnableToLockSession(const char *session_name) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from lock.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ lock.c: In function 'GetLockId': lock.c:127:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 127 | fscanf (fp, "%255s\n", buf); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC auth.o auth.c: In function 'SetAuthentication': auth.c:132:24: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] 132 | IceAuthDataEntry **authDataEntries) | ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from auth.c:28: xsm.h:147:26: note: shadowed declaration is here 147 | extern IceAuthDataEntry *authDataEntries; | ^~~~~~~~~~~~~~~ auth.c:191:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | (*authDataEntries)[i].protocol_name = "ICE"; | ^ auth.c:192:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 192 | (*authDataEntries)[i].auth_name = "MIT-MAGIC-COOKIE-1"; | ^ auth.c:200:40: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 200 | (*authDataEntries)[i+1].protocol_name = "XSMP"; | ^ auth.c:201:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 201 | (*authDataEntries)[i+1].auth_name = "MIT-MAGIC-COOKIE-1"; | ^ auth.c: In function 'FreeAuthenticationData': auth.c:256:53: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] 256 | FreeAuthenticationData(int count, IceAuthDataEntry *authDataEntries) | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ In file included from auth.c:28: xsm.h:147:26: note: shadowed declaration is here 147 | extern IceAuthDataEntry *authDataEntries; | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC printhex.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC popup.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC remote.o remote.c: In function 'remote_start': remote.c:41:31: warning: declaration of 'non_local_display_env' shadows a global declaration [-Wshadow] 41 | char **env, const char *non_local_display_env, | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from remote.c:32: xsm.h:132:29: note: shadowed declaration is here 132 | extern char *display_env, *non_local_display_env; | ^~~~~~~~~~~~~~~~~~~~~ remote.c:42:19: warning: declaration of 'non_local_session_env' shadows a global declaration [-Wshadow] 42 | const char *non_local_session_env) | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ In file included from remote.c:32: xsm.h:133:29: note: shadowed declaration is here 133 | extern char *session_env, *non_local_session_env; | ^~~~~~~~~~~~~~~~~~~~~ remote.c:92:6: warning: ignoring return value of 'dup' declared with attribute 'warn_unused_result' [-Wunused-result] 92 | dup (pipefd[0]); | ^~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC prop.o make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC choose.o choose.c: In function 'create_choose_session_popup': choose.c:684:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 684 | {"ChooseSessionUp", ChooseSessionUp}, | ^~~~~~~~~~~~~~~~~ choose.c:685:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 685 | {"ChooseSessionDown", ChooseSessionDown}, | ^~~~~~~~~~~~~~~~~~~ choose.c:686:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 686 | {"ChooseSessionBtn1Down", ChooseSessionBtn1Down} | ^~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC signals.o signals.c: In function 'register_signals': signals.c:188:32: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] 188 | register_signals (XtAppContext appContext) | ~~~~~~~~~~~~~^~~~~~~~~~ In file included from signals.c:95: xsm.h:184:21: note: shadowed declaration is here 184 | extern XtAppContext appContext; | ^~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC info.o info.c: In function 'UpdateClientList': info.c:507:13: warning: declaration of 'client' shadows a previous local [-Wshadow] 507 | ClientRec *client = (ClientRec *) cl->thing; | ^~~~~~ info.c:383:16: note: shadowed declaration is here 383 | ClientRec *client; | ^~~~~~ info.c: In function 'RestartHintXtProc': info.c:643:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 643 | prop.name = SmRestartStyleHint; | ^ info.c:644:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 644 | prop.type = SmCARD8; | ^ info.c: In function 'create_client_info_popup': info.c:776:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 776 | {"DelClientInfoWinAction", DelClientInfoWinAction}, | ^~~~~~~~~~~~~~~~~~~~~~~~ info.c:777:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 777 | {"DelPropWinAction", DelPropWinAction} | ^~~~~~~~~~~~~~~~~~ info.c: In function 'DisplayProps': info.c:214:44: warning: '__builtin___snprintf_chk' output may be truncated before the last format character [-Wformat-truncation=] 214 | snprintf (number, sizeof(number), "%d", propnum); | ^ In file included from /usr/include/stdio.h:867, from xsm.h:64, from info.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output between 2 and 11 bytes into a destination of size 10 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC xtwatch.o xtwatch.c: In function 'InitWatchProcs': xtwatch.c:40:29: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] 40 | InitWatchProcs(XtAppContext appContext) | ~~~~~~~~~~~~~^~~~~~~~~~ In file included from xtwatch.c:30: xsm.h:184:21: note: shadowed declaration is here 184 | extern XtAppContext appContext; | ^~~~~~~~~~ xtwatch.c: In function '_XtIceWatchProc': xtwatch.c:53:15: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] 53 | XtAppContext appContext = (XtAppContext) client_data; | ^~~~~~~~~~ In file included from xtwatch.c:30: xsm.h:184:21: note: shadowed declaration is here 184 | extern XtAppContext appContext; | ^~~~~~~~~~ xtwatch.c:55:16: warning: cast from function call of type 'XtInputId' {aka 'long unsigned int'} to non-matching type 'void *' [-Wbad-function-cast] 55 | *watch_data = (IcePointer) XtAppAddInput ( | ^ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC restart.o restart.c: In function 'Restart': restart.c:266:7: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 266 | chdir(cwd); | ^~~~~~~~~~ restart.c: In function 'Clone': restart.c:454:3: warning: ignoring return value of 'chdir' declared with attribute 'warn_unused_result' [-Wunused-result] 454 | chdir(cwd); | ^~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC saveutil.o saveutil.c: In function 'set_session_save_file_name': saveutil.c:37:40: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 37 | set_session_save_file_name(const char *session_name) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from saveutil.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ saveutil.c: In function 'ReadSave': saveutil.c:56:22: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 56 | ReadSave(const char *session_name, char **sm_id) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from saveutil.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ saveutil.c:56:43: warning: declaration of 'sm_id' shadows a global declaration [-Wshadow] 56 | ReadSave(const char *session_name, char **sm_id) | ~~~~~~~^~~~~ In file included from saveutil.c:28: xsm.h:142:15: note: shadowed declaration is here 142 | extern char *sm_id; | ^~~~~ saveutil.c: In function 'WriteSave': saveutil.c:301:23: warning: declaration of 'sm_id' shadows a global declaration [-Wshadow] 301 | WriteSave(const char *sm_id) | ~~~~~~~~~~~~^~~~~ In file included from saveutil.c:28: xsm.h:142:15: note: shadowed declaration is here 142 | extern char *sm_id; | ^~~~~ saveutil.c: In function 'DeleteSession': saveutil.c:410:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] 410 | DeleteSession(const char *session_name) | ~~~~~~~~~~~~^~~~~~~~~~~~ In file included from saveutil.c:28: xsm.h:145:15: note: shadowed declaration is here 145 | extern char *session_name; | ^~~~~~~~~~~~ saveutil.c: In function 'WriteSave': saveutil.c:316:68: warning: '%s' directive output may be truncated writing up to 4095 bytes into a region of size 221 [-Wformat-truncation=] 316 | snprintf (msg, sizeof(msg), "%s: Error creating session save file %s", | ^~ 317 | Argv[0], session_save_file); | ~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:867, from xsm.h:64, from saveutil.c:28: /usr/include/bits/stdio2.h:67:10: note: '__builtin___snprintf_chk' output 36 or more bytes (assuming 4131) into a destination of size 256 67 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 68 | __bos (__s), __fmt, __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC save.o save.c: In function 'create_save_popup': save.c:832:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 832 | {"SaveOkAction", SaveOkAction}, | ^~~~~~~~~~~~~~ save.c:833:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 833 | {"DelSaveWinAction", DelSaveWinAction}, | ^~~~~~~~~~~~~~~~~~ save.c:834:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 834 | {"DelNameInUseWinAction", DelNameInUseWinAction}, | ^~~~~~~~~~~~~~~~~~~~~~~ save.c:835:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 835 | {"DelBadSaveWinAction", DelBadSaveWinAction}, | ^~~~~~~~~~~~~~~~~~~~~ save.c:836:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 836 | {"DelSaveHelpWinAction", DelSaveHelpWinAction} | ^~~~~~~~~~~~~~~~~~~~~~ save.c:876:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 876 | "saveTypeLocal", /* widgetName */ | ^~~~~~~~~~~~~~~ save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ save.c:886:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 886 | "saveTypeGlobal", /* widgetName */ | ^~~~~~~~~~~~~~~~ save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ save.c:896:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 896 | "saveTypeBoth", /* widgetName */ | ^~~~~~~~~~~~~~ save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ save.c:919:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 919 | "interactStyleNone", /* widgetName */ | ^~~~~~~~~~~~~~~~~~~ save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ save.c:929:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 929 | "interactStyleErrors", /* widgetName */ | ^~~~~~~~~~~~~~~~~~~~~ save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ save.c:939:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 939 | "interactStyleAny", /* widgetName */ | ^~~~~~~~~~~~~~~~~~ save.c:623:17: note: expected 'char *' but argument is of type 'const char *' 623 | AddToggle(char *widgetName, Widget parent, int state, Widget radioGroup, | ~~~~~~^~~~~~~~~~ save.c: In function 'PopupBadSave': save.c:1277:13: warning: declaration of 'client' shadows a previous local [-Wshadow] 1277 | ClientRec *client = (ClientRec *) cl->thing; | ^~~~~~ save.c:1196:16: note: shadowed declaration is here 1196 | ClientRec *client; | ^~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CC xsm.o xsm.c: In function 'EndSession': xsm.c:657:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] 657 | EndSession(int status) | ^~~~~~~~~~ make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' CCLD xsm make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.xN73pE + umask 022 + cd /home/iurt/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64 '!=' / ']' + rm -rf /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64 ++ dirname /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64 + mkdir -p /home/iurt/rpmbuild/BUILDROOT + mkdir /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64 + cd xsm-1.0.4 + '[' 1 -eq 1 ']' + /usr/bin/make install DESTDIR=/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64 'INSTALL=/usr/bin/install -p' Making install in man make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4/man' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4/man' make[2]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/share/man/man1' /usr/bin/install -p -m 644 xsm.1 '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/share/man/man1' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4/man' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4/man' make[1]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[2]: Entering directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/bin' /usr/bin/install -p xsm '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/bin' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/share/X11/app-defaults' /usr/bin/install -p -m 644 app-defaults/XSm '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/share/X11/app-defaults' /usr/bin/mkdir -p '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/etc/X11/xsm' /usr/bin/install -p -m 644 system.xsm '/home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/etc/X11/xsm' make[2]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' make[1]: Leaving directory '/home/iurt/rpmbuild/BUILD/xsm-1.0.4' + /usr/lib/rpm/find-debuginfo.sh -j96 --strict-build-id -m -i --build-id-seed 1.0.4-3.mga8 --unique-debug-suffix -1.0.4-3.mga8.x86_64 --unique-debug-src-base xsm-1.0.4-3.mga8.x86_64 --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 -S debugsourcefiles.list /home/iurt/rpmbuild/BUILD/xsm-1.0.4 explicitly decompress any DWARF compressed ELF sections in /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/bin/xsm extracting debug info from /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64/usr/bin/xsm original debug info size: 348kB, size after compression: 296kB /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 428 blocks + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python3 1 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Processing files: xsm-1.0.4-3.mga8.x86_64 Provides: config(xsm) = 1.0.4-3.mga8 xsm = 1.0.4-3.mga8 xsm(x86-64) = 1.0.4-3.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: libICE.so.6()(64bit) libSM.so.6()(64bit) libX11.so.6()(64bit) libXaw.so.7()(64bit) libXt.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc.so.6(GLIBC_2.7)(64bit) Processing files: xsm-debugsource-1.0.4-3.mga8.x86_64 Provides: xsm-debugsource = 1.0.4-3.mga8 xsm-debugsource(x86-64) = 1.0.4-3.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Processing files: xsm-debuginfo-1.0.4-3.mga8.x86_64 Provides: debuginfo(build-id) = 06e7caebbdfeb3f52add2ea4896b6e7bf83dce55 xsm-debuginfo = 1.0.4-3.mga8 xsm-debuginfo(x86-64) = 1.0.4-3.mga8 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Recommends: xsm-debugsource(x86-64) = 1.0.4-3.mga8 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64 Wrote: /home/iurt/rpmbuild/RPMS/x86_64/xsm-1.0.4-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/xsm-debuginfo-1.0.4-3.mga8.x86_64.rpm Wrote: /home/iurt/rpmbuild/RPMS/x86_64/xsm-debugsource-1.0.4-3.mga8.x86_64.rpm Executing(%clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.I25sfG + umask 022 + cd /home/iurt/rpmbuild/BUILD + cd xsm-1.0.4 + /usr/bin/rm -rf /home/iurt/rpmbuild/BUILDROOT/xsm-1.0.4-3.mga8.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(--clean): /bin/sh -e /home/iurt/rpmbuild/tmp/rpm-tmp.gi2YoG + umask 022 + cd /home/iurt/rpmbuild/BUILD + rm -rf xsm-1.0.4 + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!