>>> xapp_xsm 1.0.4 Extracting bzcat /home/naourr/work/instance-1/dl/xapp_xsm/xsm-1.0.4.tar.bz2 | /home/naourr/work/instance-1/output/host/bin/tar --strip-components=1 -C /home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4 -xf - >>> xapp_xsm 1.0.4 Patching >>> xapp_xsm 1.0.4 Updating config.sub and config.guess for file in config.guess config.sub; do for i in $(find /home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4 -name $file); do cp support/gnuconfig/$file $i; done; done >>> xapp_xsm 1.0.4 Patching libtool >>> xapp_xsm 1.0.4 Configuring >>> xapp_xsm 1.0.4 Checking configure (powerpc64/powerpc64le) support/scripts/fix-configure-powerpc64.sh /home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4 (cd /home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/ && rm -rf config.cache && PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" AR="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-ar" AS="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-as" LD="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-ld" NM="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-nm" CC="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc" GCC="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc" CPP="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-cpp" CXX="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-g++" FC="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gfortran" F77="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gfortran" RANLIB="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-ranlib" READELF="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-readelf" STRIP="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-strip" OBJCOPY="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-objcopy" OBJDUMP="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-objdump" AR_FOR_BUILD="/usr/bin/ar" AS_FOR_BUILD="/usr/bin/as" CC_FOR_BUILD="/usr/bin/gcc" GCC_FOR_BUILD="/usr/bin/gcc" CXX_FOR_BUILD="/usr/bin/g++" LD_FOR_BUILD="/usr/bin/ld" CPPFLAGS_FOR_BUILD="-I/home/naourr/work/instance-1/output/host/include" CFLAGS_FOR_BUILD="-O2 -I/home/naourr/work/instance-1/output/host/include" CXXFLAGS_FOR_BUILD="-O2 -I/home/naourr/work/instance-1/output/host/include" LDFLAGS_FOR_BUILD="-L/home/naourr/work/instance-1/output/host/lib -Wl,-rpath,/home/naourr/work/instance-1/output/host/lib" FCFLAGS_FOR_BUILD="" DEFAULT_ASSEMBLER="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-as" DEFAULT_LINKER="/home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-ld" CPPFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64" CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " CXXFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -Os " LDFLAGS="" FCFLAGS=" -Os " FFLAGS=" -Os " PKG_CONFIG="/home/naourr/work/instance-1/output/host/bin/pkg-config" STAGING_DIR="/home/naourr/work/instance-1/output/host/powerpc64le-buildroot-linux-gnu/sysroot" INTLTOOL_PERL=/usr/bin/perl ac_cv_lbl_unaligned_fail=no ac_cv_func_mmap_fixed_mapped=yes ac_cv_func_memcmp_working=yes ac_cv_have_decl_malloc=yes gl_cv_func_malloc_0_nonnull=yes ac_cv_func_malloc_0_nonnull=yes ac_cv_func_calloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes lt_cv_sys_lib_search_path_spec="" ac_cv_c_bigendian=no CONFIG_SITE=/dev/null ./configure --target=powerpc64le-buildroot-linux-gnu --host=powerpc64le-buildroot-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --localstatedir=/var --program-prefix="" --disable-gtk-doc --disable-gtk-doc-html --disable-doc --disable-docs --disable-documentation --with-xmlto=no --with-fop=no --disable-dependency-tracking --enable-ipv6 --disable-nls --disable-static --enable-shared ) configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for powerpc64le-buildroot-linux-gnu-strip... /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-strip checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for style of include used by make... GNU checking for powerpc64le-buildroot-linux-gnu-gcc... /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-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... yes checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc accepts -g... yes checking for /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc option to accept ISO C89... none needed checking whether /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc understands -c and -o together... yes checking dependency style of /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc... none checking for /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc option to accept ISO C99... none needed checking how to run the C preprocessor... /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-cpp checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.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 pkg-config is at least version 0.9.0... yes checking build system type... x86_64-pc-linux-gnu checking host system type... powerpc64le-buildroot-linux-gnu checking for a sed that does not truncate output... /usr/bin/sed checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=unknown-warning-option... no checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=unused-command-line-argument... no checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wall... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wpointer-arith... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wmissing-declarations... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wformat=2... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wstrict-prototypes... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wmissing-prototypes... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wnested-externs... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wbad-function-cast... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wold-style-definition... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wdeclaration-after-statement... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wunused... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wuninitialized... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wshadow... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wmissing-noreturn... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wmissing-format-attribute... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wredundant-decls... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Wlogical-op... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=implicit... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=nonnull... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=init-self... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=main... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=missing-braces... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=sequence-point... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=return-type... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=trigraphs... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=array-bounds... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=write-strings... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=address... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=int-to-pointer-cast... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror=pointer-to-int-cast... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -pedantic... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-gcc supports -Werror... yes checking if /home/naourr/work/instance-1/output/host/bin/powerpc64le-linux-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 configure: WARNING: unrecognized options: --disable-gtk-doc, --disable-gtk-doc-html, --disable-doc, --disable-docs, --disable-documentation, --with-xmlto, --with-fop, --enable-ipv6, --disable-nls, --disable-static, --enable-shared >>> xapp_xsm 1.0.4 Building PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/make -j4 -C /home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/ make[1]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' /usr/bin/make all-recursive make[2]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' Making all in man make[3]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/man' GEN xsm.1 make[3]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/man' make[3]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' CC auth.o CC choose.o CC info.o CC list.o auth.c: In function 'SetAuthentication': auth.c:132:24: warning: declaration of 'authDataEntries' shadows a global declaration [-Wshadow] IceAuthDataEntry **authDataEntries) ^~~~~~~~~~~~~~~ In file included from auth.c:28:0: xsm.h:147:26: note: shadowed declaration is here extern IceAuthDataEntry *authDataEntries; ^~~~~~~~~~~~~~~ auth.c:191:38: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*authDataEntries)[i].protocol_name = "ICE"; ^ auth.c:192:34: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*authDataEntries)[i].auth_name = "MIT-MAGIC-COOKIE-1"; ^ auth.c:200:40: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*authDataEntries)[i+1].protocol_name = "XSMP"; ^ auth.c:201:36: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] (*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] FreeAuthenticationData(int count, IceAuthDataEntry *authDataEntries) ^~~~~~~~~~~~~~~ In file included from auth.c:28:0: xsm.h:147:26: note: shadowed declaration is here extern IceAuthDataEntry *authDataEntries; ^~~~~~~~~~~~~~~ choose.c: In function 'create_choose_session_popup': choose.c:684:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"ChooseSessionUp", ChooseSessionUp}, ^~~~~~~~~~~~~~~~~ choose.c:685:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"ChooseSessionDown", ChooseSessionDown}, ^~~~~~~~~~~~~~~~~~~ choose.c:686:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"ChooseSessionBtn1Down", ChooseSessionBtn1Down} ^~~~~~~~~~~~~~~~~~~~~~~ info.c: In function 'UpdateClientList': info.c:507:13: warning: declaration of 'client' shadows a previous local [-Wshadow] ClientRec *client = (ClientRec *) cl->thing; ^~~~~~ info.c:383:16: note: shadowed declaration is here ClientRec *client; ^~~~~~ info.c: In function 'RestartHintXtProc': info.c:643:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] prop.name = SmRestartStyleHint; ^ info.c:644:12: warning: assignment discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 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] {"DelClientInfoWinAction", DelClientInfoWinAction}, ^~~~~~~~~~~~~~~~~~~~~~~~ info.c:777:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelPropWinAction", DelPropWinAction} ^~~~~~~~~~~~~~~~~~ CC lock.o CC log.o lock.c: In function 'LockSession': lock.c:51:25: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] LockSession(const char *session_name, Bool write_id) ^~~~~~~~~~~~ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ lock.c: In function 'UnlockSession': lock.c:92:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] UnlockSession(const char *session_name) ^~~~~~~~~~~~ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ lock.c: In function 'GetLockId': lock.c:107:23: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] GetLockId(const char *session_name) ^~~~~~~~~~~~ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ lock.c: In function 'CheckSessionLocked': lock.c:137:32: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] CheckSessionLocked(const char *session_name, Bool get_id, char **id_ret) ^~~~~~~~~~~~ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ lock.c: In function 'UnableToLockSession': lock.c:151:33: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] UnableToLockSession(const char *session_name) ^~~~~~~~~~~~ In file included from lock.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ log.c: In function 'create_log_popup': log.c:112:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelLogWinAction", DelLogWinAction} ^~~~~~~~~~~~~~~~~ CC mainwin.o CC misc.o CC popup.o mainwin.c: In function 'create_main_window': mainwin.c:68:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelMainWinAction", DelMainWinAction} ^~~~~~~~~~~~~~~~~~ CC printhex.o CC prop.o misc.c: In function 'nomem': misc.c:124:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] nomem(void) ^~~~~ CC remote.o CC restart.o CC save.o remote.c: In function 'remote_start': remote.c:41:31: warning: declaration of 'non_local_display_env' shadows a global declaration [-Wshadow] char **env, const char *non_local_display_env, ^~~~~~~~~~~~~~~~~~~~~ In file included from remote.c:32:0: xsm.h:132:29: note: shadowed declaration is here extern char *display_env, *non_local_display_env; ^~~~~~~~~~~~~~~~~~~~~ remote.c:42:19: warning: declaration of 'non_local_session_env' shadows a global declaration [-Wshadow] const char *non_local_session_env) ^~~~~~~~~~~~~~~~~~~~~ In file included from remote.c:32:0: xsm.h:133:29: note: shadowed declaration is here extern char *session_env, *non_local_session_env; ^~~~~~~~~~~~~~~~~~~~~ CC saveutil.o CC signals.o save.c: In function 'create_save_popup': save.c:832:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"SaveOkAction", SaveOkAction}, ^~~~~~~~~~~~~~ save.c:833:10: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelSaveWinAction", DelSaveWinAction}, ^~~~~~~~~~~~~~~~~~ save.c:834:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelNameInUseWinAction", DelNameInUseWinAction}, ^~~~~~~~~~~~~~~~~~~~~~~ save.c:835:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelBadSaveWinAction", DelBadSaveWinAction}, ^~~~~~~~~~~~~~~~~~~~~ save.c:836:3: warning: initialization discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] {"DelSaveHelpWinAction", DelSaveHelpWinAction} ^~~~~~~~~~~~~~~~~~~~~~ save.c:876:2: warning: passing argument 1 of 'AddToggle' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] "saveTypeLocal", /* widgetName */ ^~~~~~~~~~~~~~~ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' 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] "saveTypeGlobal", /* widgetName */ ^~~~~~~~~~~~~~~~ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' 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] "saveTypeBoth", /* widgetName */ ^~~~~~~~~~~~~~ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' 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] "interactStyleNone", /* widgetName */ ^~~~~~~~~~~~~~~~~~~ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' 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] "interactStyleErrors", /* widgetName */ ^~~~~~~~~~~~~~~~~~~~~ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' 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] "interactStyleAny", /* widgetName */ ^~~~~~~~~~~~~~~~~~ save.c:623:1: note: expected 'char *' but argument is of type 'const char *' 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] ClientRec *client = (ClientRec *) cl->thing; ^~~~~~ save.c:1196:16: note: shadowed declaration is here ClientRec *client; ^~~~~~ saveutil.c: In function 'set_session_save_file_name': saveutil.c:37:40: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] set_session_save_file_name(const char *session_name) ^~~~~~~~~~~~ In file included from saveutil.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ saveutil.c: In function 'ReadSave': saveutil.c:56:22: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] ReadSave(const char *session_name, char **sm_id) ^~~~~~~~~~~~ In file included from saveutil.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ saveutil.c:56:43: warning: declaration of 'sm_id' shadows a global declaration [-Wshadow] ReadSave(const char *session_name, char **sm_id) ^~~~~ In file included from saveutil.c:28:0: xsm.h:142:15: note: shadowed declaration is here extern char *sm_id; ^~~~~ saveutil.c: In function 'WriteSave': saveutil.c:301:23: warning: declaration of 'sm_id' shadows a global declaration [-Wshadow] WriteSave(const char *sm_id) ^~~~~ In file included from saveutil.c:28:0: xsm.h:142:15: note: shadowed declaration is here extern char *sm_id; ^~~~~ saveutil.c: In function 'DeleteSession': saveutil.c:410:27: warning: declaration of 'session_name' shadows a global declaration [-Wshadow] DeleteSession(const char *session_name) ^~~~~~~~~~~~ In file included from saveutil.c:28:0: xsm.h:145:15: note: shadowed declaration is here extern char *session_name; ^~~~~~~~~~~~ signals.c: In function 'register_signals': signals.c:188:32: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] register_signals (XtAppContext appContext) ^~~~~~~~~~ In file included from signals.c:95:0: xsm.h:184:21: note: shadowed declaration is here extern XtAppContext appContext; ^~~~~~~~~~ CC xsm.o CC xtwatch.o xsm.c: In function 'EndSession': xsm.c:657:1: warning: function might be candidate for attribute 'noreturn' [-Wsuggest-attribute=noreturn] EndSession(int status) ^~~~~~~~~~ xtwatch.c: In function 'InitWatchProcs': xtwatch.c:40:29: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] InitWatchProcs(XtAppContext appContext) ^~~~~~~~~~ In file included from xtwatch.c:30:0: xsm.h:184:21: note: shadowed declaration is here extern XtAppContext appContext; ^~~~~~~~~~ xtwatch.c: In function '_XtIceWatchProc': xtwatch.c:53:15: warning: declaration of 'appContext' shadows a global declaration [-Wshadow] XtAppContext appContext = (XtAppContext) client_data; ^~~~~~~~~~ In file included from xtwatch.c:30:0: xsm.h:184:21: note: shadowed declaration is here 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] *watch_data = (IcePointer) XtAppAddInput ( ^ CCLD xsm make[3]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' make[1]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' >>> xapp_xsm 1.0.4 Installing to target PATH="/home/naourr/work/instance-1/output/host/bin:/home/naourr/work/instance-1/output/host/sbin:/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/home/naourr/bin:/home/naourr/git/git-wrappers:/home/naourr/.local/bin:/home/naourr/bin" /usr/bin/make -j4 DESTDIR=/home/naourr/work/instance-1/output/target install -C /home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/ make[1]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' Making install in man make[2]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/man' make[3]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/man' make[3]: Nothing to be done for 'install-exec-am'. /usr/bin/mkdir -p '/home/naourr/work/instance-1/output/target/usr/share/man/man1' /usr/bin/install -c -m 644 xsm.1 '/home/naourr/work/instance-1/output/target/usr/share/man/man1' make[3]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/man' make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/man' make[2]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' make[3]: Entering directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' /usr/bin/mkdir -p '/home/naourr/work/instance-1/output/target/usr/bin' /usr/bin/mkdir -p '/home/naourr/work/instance-1/output/target/home/naourr/work/instance-1/output/host/bin/../powerpc64le-buildroot-linux-gnu/sysroot/usr/share/X11/app-defaults' /usr/bin/mkdir -p '/home/naourr/work/instance-1/output/target/etc/X11/xsm' /usr/bin/install -c -m 644 app-defaults/XSm '/home/naourr/work/instance-1/output/target/home/naourr/work/instance-1/output/host/bin/../powerpc64le-buildroot-linux-gnu/sysroot/usr/share/X11/app-defaults' /usr/bin/install -c -m 644 system.xsm '/home/naourr/work/instance-1/output/target/etc/X11/xsm' /usr/bin/install -c xsm '/home/naourr/work/instance-1/output/target/usr/bin' make[3]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' make[2]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' make[1]: Leaving directory '/home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4' xapp_xsm: installs files in /home/naourr/work/instance-1/output/target//home/naourr/work/instance-1/output make: *** [package/pkg-generic.mk:324: /home/naourr/work/instance-1/output/build/xapp_xsm-1.0.4/.stamp_target_installed] Error 1 make: Leaving directory '/home/naourr/work/instance-1/buildroot'