Mock Version: 1.2.15 Mock Version: 1.2.15 ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/environment-modules.spec'], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-25732-36278/root'shell=FalseprintOutput=Falseenv={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400logger=uid=497) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/environment-modules.spec'] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Wrote: /builddir/build/SRPMS/environment-modules-3.2.10-20.el7.src.rpm Child return code was: 0 LEAVE do --> ENTER do(['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/environment-modules.spec '], chrootPath='/var/lib/mock/cloud7-openstack-common-el7-build-25732-36278/root'shell=Falseuid=497env={'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'}gid=135user='mockbuild'timeout=86400private_network=Truelogger=printOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bb --target x86_64 --nodeps /builddir/build/SPECS/environment-modules.spec '] with env {'LANG': 'en_GB', 'TERM': 'vt100', 'SHELL': '/bin/bash', 'PROMPT_COMMAND': 'printf "\x1b]0;\x07"', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'HOME': '/builddir', 'HOSTNAME': 'mock'} and shell False Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.wgPOan + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf modules-3.2.10 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/modules-3.2.10.tar.bz2 + /usr/bin/tar -xf - + STATUS=0 + '[' 0 -ne 0 ']' + cd modules-3.2.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . Patch #0 (environment-modules-3.2.7-bindir.patch): + echo 'Patch #0 (environment-modules-3.2.7-bindir.patch):' + /usr/bin/cat /builddir/build/SOURCES/environment-modules-3.2.7-bindir.patch + /usr/bin/patch -p1 -b --suffix .bindir --fuzz=0 patching file init/Makefile.in Hunk #1 succeeded at 441 (offset 37 lines). + echo 'Patch #1 (environment-modules-versioning.patch):' Patch #1 (environment-modules-versioning.patch): + /usr/bin/cat /builddir/build/SOURCES/environment-modules-versioning.patch + /usr/bin/patch -p1 -b --suffix .versioning --fuzz=0 patching file modulefiles/modules.in + echo 'Patch #2 (environment-modules-clear.patch):' Patch #2 (environment-modules-clear.patch): + /usr/bin/cat /builddir/build/SOURCES/environment-modules-clear.patch + /usr/bin/patch -p1 -b --suffix .clear --fuzz=0 patching file utility.c + echo 'Patch #3 (environment-modules-avail.patch):' Patch #3 (environment-modules-avail.patch): + /usr/bin/cat /builddir/build/SOURCES/environment-modules-avail.patch + /usr/bin/patch -p1 -b --suffix .avail --fuzz=0 patching file init/bash_completion.in + echo 'Patch #4 (environment-modules-format.patch):' Patch #4 (environment-modules-format.patch): + /usr/bin/cat /builddir/build/SOURCES/environment-modules-format.patch + /usr/bin/patch -p1 -b --suffix .format --fuzz=0 patching file ModuleCmd_Avail.c patching file ModuleCmd_Display.c patching file ModuleCmd_List.c + echo 'Patch #5 (environment-modules-tcl86.patch):' Patch #5 (environment-modules-tcl86.patch): + /usr/bin/cat /builddir/build/SOURCES/environment-modules-tcl86.patch + /usr/bin/patch -p1 -b --suffix .tcl86 --fuzz=0 patching file cmdModule.c + echo 'Patch #6 (environment-modules-py3-and-doc-fix.patch):' Patch #6 (environment-modules-py3-and-doc-fix.patch): + /usr/bin/cat /builddir/build/SOURCES/environment-modules-py3-and-doc-fix.patch + /usr/bin/patch -p1 -b --suffix .py3 --fuzz=0 patching file doc/module.1.in patching file init/python.py.in + echo 'Patch #7 (environment-modules-3.2.10-unload-from-module.patch):' Patch #7 (environment-modules-3.2.10-unload-from-module.patch): + /usr/bin/cat /builddir/build/SOURCES/environment-modules-3.2.10-unload-from-module.patch + /usr/bin/patch -p1 -b --suffix .unload-from-module --fuzz=0 patching file ModuleCmd_Load.c Patch #8 (environment-modules-implicit.patch): + echo 'Patch #8 (environment-modules-implicit.patch):' + /usr/bin/cat /builddir/build/SOURCES/environment-modules-implicit.patch + /usr/bin/patch -p1 -b --suffix .implicit --fuzz=0 patching file modules_def.h + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IwGJGP + umask 022 + cd /builddir/build/BUILD + cd modules-3.2.10 + CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro ' + export LDFLAGS + '[' 1 == 1 ']' + '[' x86_64 == ppc64le ']' ++ find . -name config.guess -o -name config.sub ++ manpath + ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-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-versioning --prefix=/usr/share --exec-prefix=/usr/share/Modules --with-man-path=/usr/share/man:/usr/local/share/man --with-module-path=/etc/modulefiles:/usr/share/modulefiles checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /usr/bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes VERSION = 3.2.10 DATE = 2012-12-21 configuring for Modules 3.2.10 2012-12-21 DEFAULTPATH = /usr/share/Modules BASEPREFIX = /usr/share PREFIX = /usr/share/Modules EXECPREFIX = /usr/share/Modules checking for x86_64-redhat-linux-gnu-gcc... no checking for 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 we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... none checking how to run the C preprocessor... gcc -E checking for grep that handles long lines and -e... /usr/bin/grep checking for egrep... /usr/bin/grep -E checking whether gcc needs -traditional... no checking whether gcc and cc understand -c and -o together... yes checking whether make sets $(MAKE)... (cached) yes 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 minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking for library containing strerror... none required checking for uname... /usr/bin/uname checking for dirent.h that defines DIR... yes checking for library containing opendir... none required checking for ANSI C header files... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for stdlib.h... (cached) yes checking for unistd.h... (cached) yes checking termio.h usability... yes checking termio.h presence... yes checking for termio.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking stdarg.h usability... yes checking stdarg.h presence... yes checking for stdarg.h... yes checking varargs.h usability... no checking varargs.h presence... no checking for varargs.h... no checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for stdint.h... (cached) yes checking sys/ioctl.h usability... yes checking sys/ioctl.h presence... yes checking for sys/ioctl.h... yes checking sys/termios.h usability... yes checking sys/termios.h presence... yes checking for sys/termios.h... yes checking sys/mode.h usability... no checking sys/mode.h presence... no checking for sys/mode.h... no checking for sys/stat.h... (cached) yes checking sys/param.h usability... yes checking sys/param.h presence... yes checking for sys/param.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking assert.h usability... yes checking assert.h presence... yes checking for assert.h... yes checking locale.h usability... yes checking locale.h presence... yes checking for locale.h... yes checking for an ANSI C-conforming const... yes checking for uid_t in sys/types.h... yes checking for size_t... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for working strcoll... yes checking for strdup... yes checking for uname... yes checking for gethostname... yes checking for getdomainname... yes checking for mktemp... yes checking for tmpnam... yes checking for tempnam... yes checking for syslog... yes checking for dup2... yes checking for setlocale... yes checking for socket in -lsocket... no checking for t_accept in -lnsl... no checking for X... libraries , headers checking for gethostbyname... yes checking for connect... yes checking for remove... yes checking for shmat... yes checking for IceConnectionNumber in -lICE... no checking for XMaxRequestSize in -lX11... yes checking for cpp... /lib/cpp checking for hostname... no checking for runtest... /usr/bin/runtest checking if /bin/csh supports large environment variables... no - 0 < 4000 - splitting at 1000 configure: csh split-size set to 1000 checking if /bin/sh supports functions... yes checking if /bin/sh supports aliases... yes checking for log in -lm... yes checking for dlopen in -ldl... yes checking for Tcl configuration (tclConfig.sh)... found /usr/lib64/tclConfig.sh checking for existence of tclConfig.sh... loading checking for Tcl version... 8.5 checking TCL_VERSION... 8.5 checking TCL_LIB_SPEC... -L/usr/lib64 -ltcl8.5 checking TCL_INCLUDE_SPEC... -I/usr/include checking for TclX configuration (tclxConfig.sh)... not found checking for TclX version... using 8.5 checking TCLX_VERSION... 8.5 checking TCLX_LIB_SPEC... TCLX_LIB_SPEC not found, need to use --with-tclx-lib checking TCLX_INCLUDE_SPEC... TCLX_INCLUDE_SPEC not found, need to use --with-tclx-inc MODULEPATH = /etc/modulefiles:/usr/share/modulefiles DEFAULTMANPATH = /usr/share/man:/usr/local/share/man DEFAULTMANPATH = /usr/share/man:/usr/local/share/man configure: creating ./config.status config.status: creating Makefile config.status: creating modules.lsm config.status: creating .spec config.status: creating doc/Makefile config.status: creating init/Makefile config.status: creating init/.modulespath config.status: creating doc/module.1 config.status: creating doc/modulefile.4 config.status: creating etc/Makefile config.status: creating etc/add.modules config.status: creating etc/mkroot config.status: creating etc/skel/.cshrc config.status: creating etc/skel/.login config.status: creating etc/skel/.kshenv config.status: creating etc/skel/.profile config.status: creating etc/global/csh.cshrc config.status: creating etc/global/csh.login config.status: creating etc/global/csh.modules config.status: creating etc/global/bashrc config.status: creating etc/global/profile config.status: creating etc/global/profile.modules config.status: creating ext/Makefile config.status: creating ext/add.ext config.status: creating ext/mkroot config.status: creating ext/common/.cshrc config.status: creating ext/common/.login config.status: creating ext/common/.kshenv config.status: creating ext/common/.profile config.status: creating modulefiles/Makefile config.status: creating modulefiles/modules config.status: creating modulefiles/module-git config.status: creating modulefiles/module-info config.status: creating modulefiles/null config.status: creating modulefiles/use.own config.status: creating modulefiles/dot config.status: creating modulefiles/version config.status: creating config.h config.status: executing depfiles commands config.status: executing default commands + make -j16 make all-recursive make[1]: Entering directory `/builddir/build/BUILD/modules-3.2.10' Making all in . make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10' gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Avail.o `test -f 'ModuleCmd_Avail.c' || echo './'`ModuleCmd_Avail.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Clear.o `test -f 'ModuleCmd_Clear.c' || echo './'`ModuleCmd_Clear.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Display.o `test -f 'ModuleCmd_Display.c' || echo './'`ModuleCmd_Display.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Help.o `test -f 'ModuleCmd_Help.c' || echo './'`ModuleCmd_Help.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Init.o `test -f 'ModuleCmd_Init.c' || echo './'`ModuleCmd_Init.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_List.o `test -f 'ModuleCmd_List.c' || echo './'`ModuleCmd_List.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Load.o `test -f 'ModuleCmd_Load.c' || echo './'`ModuleCmd_Load.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Purge.o `test -f 'ModuleCmd_Purge.c' || echo './'`ModuleCmd_Purge.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Switch.o `test -f 'ModuleCmd_Switch.c' || echo './'`ModuleCmd_Switch.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Update.o `test -f 'ModuleCmd_Update.c' || echo './'`ModuleCmd_Update.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Use.o `test -f 'ModuleCmd_Use.c' || echo './'`ModuleCmd_Use.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Whatis.o `test -f 'ModuleCmd_Whatis.c' || echo './'`ModuleCmd_Whatis.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-ModuleCmd_Refresh.o `test -f 'ModuleCmd_Refresh.c' || echo './'`ModuleCmd_Refresh.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdAlias.o `test -f 'cmdAlias.c' || echo './'`cmdAlias.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdConflict.o `test -f 'cmdConflict.c' || echo './'`cmdConflict.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdIsLoaded.o `test -f 'cmdIsLoaded.c' || echo './'`cmdIsLoaded.c ModuleCmd_List.c: In function 'ModuleCmd_List': ModuleCmd_List.c:138:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] list[ count1] = xstrtok( NULL, ":"); ^ ModuleCmd_List.c:143:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] files[ count2] = xstrtok( NULL, ":"); ^ ModuleCmd_List.c:168:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr( s, '/')) ^ ModuleCmd_List.c: At top level: ModuleCmd_List.c:61:13: warning: '_proc_ModuleCmd_List' defined but not used [-Wunused-variable] static char _proc_ModuleCmd_List[] = "ModuleCmd_List"; ^ ModuleCmd_Refresh.c: In function 'ModuleCmd_Refresh': ModuleCmd_Refresh.c:144:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] list[ count] = xstrtok( NULL, ":"); ^ ModuleCmd_Refresh.c:149:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] files[ count] = xstrtok( NULL, ":"); ^ cmdAlias.c: In function 'cmdSetAlias': cmdAlias.c:149:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(marked_val = chk_marked_entry(markAliasHashTable,(char *) argv[1])) { ^ ModuleCmd_Clear.c: In function 'ModuleCmd_Clear': ModuleCmd_Clear.c:116:7: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( buf, 10, stdin); ^ ModuleCmd_Avail.c: In function 'ModuleCmd_Avail': ModuleCmd_Avail.c:242:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if( !check_dir( *argv)) ^ ModuleCmd_Avail.c:285:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr( dirname, ':')) ^ ModuleCmd_Avail.c:317:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr( dirname, ':')) ^ ModuleCmd_Avail.c:342:1: warning: label 'unwind1' defined but not used [-Wunused-label] unwind1: ^ ModuleCmd_Avail.c:338:1: warning: label 'unwind2' defined but not used [-Wunused-label] unwind2: ^ ModuleCmd_Avail.c: In function 'print_dir': ModuleCmd_Avail.c:562:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr( s, '/')) ^ ModuleCmd_Avail.c:602:1: warning: label 'unwind0' defined but not used [-Wunused-label] unwind0: ^ ModuleCmd_Avail.c:425:12: warning: variable 'dirlen' set but not used [-Wunused-but-set-variable] int dirlen; ^ cmdConflict.c: In function 'cmdConflict': ModuleCmd_Avail.c: In function 'test_version_dir': cmdConflict.c:343:1: warning: label 'unwind1' defined but not used [-Wunused-label] unwind1: ^ ModuleCmd_Avail.c:693:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ModuleCmd_Whatis.c: In function 'whatis_dir': ModuleCmd_Whatis.c:599:1: warning: label 'unwind2' defined but not used [-Wunused-label] unwind2: ^ ModuleCmd_Whatis.c: In function 'read_cache': ModuleCmd_Whatis.c:641:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( wptr = fgets( buffer, MOD_BUFSIZE, cfp)) { ^ ModuleCmd_Whatis.c: In function 'apropos_cache': cmdConflict.c: In function 'cmdPrereq': ModuleCmd_Whatis.c:717:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( env = getenv( "MODULEWHATISCACHE")) { ^ cmdConflict.c:568:1: warning: label 'unwind3' defined but not used [-Wunused-label] unwind3: ^ ModuleCmd_Update.c: In function 'ModuleCmd_Update': ModuleCmd_Update.c:191:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( var_ptr = strchr( buf, '=')) { ^ ModuleCmd_Init.c: In function 'ModuleCmd_Init': ModuleCmd_Init.c:126:12: warning: unused variable 'max_home_path' [-Wunused-variable] int max_home_path = MOD_BUFSIZE + 40; ^ ModuleCmd_Update.c:203:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if( strncmp( var_ptr, "LOADEDMODULES", 12) && ^ ModuleCmd_Avail.c: In function 'print_aligned_files': ModuleCmd_Avail.c:1590:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( g_current_module = s = strrchr( *list, '/')) { ^ ModuleCmd_Avail.c: In function 'print_terse_files': ModuleCmd_Avail.c:1848:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( module = _pick_file_list( mod_ndx)) { ^ ModuleCmd_Avail.c:1867:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( module = _get_file_list()) { ^ ModuleCmd_Avail.c: At top level: ModuleCmd_Avail.c:691:12: warning: 'test_version_dir' defined but not used [-Wunused-function] static int test_version_dir( struct dirent *dp) ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdInfo.o `test -f 'cmdInfo.c' || echo './'`cmdInfo.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdMisc.o `test -f 'cmdMisc.c' || echo './'`cmdMisc.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdModule.o `test -f 'cmdModule.c' || echo './'`cmdModule.c ModuleCmd_Update.c:185:5: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] if( c) ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdPath.o `test -f 'cmdPath.c' || echo './'`cmdPath.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdSetenv.o `test -f 'cmdSetenv.c' || echo './'`cmdSetenv.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdUname.o `test -f 'cmdUname.c' || echo './'`cmdUname.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdXResource.o `test -f 'cmdXResource.c' || echo './'`cmdXResource.c ModuleCmd_Switch.c: In function 'ModuleCmd_Switch': ModuleCmd_Switch.c:213:7: warning: 'newmodule' may be used uninitialized in this function [-Wmaybe-uninitialized] if( TCL_ERROR == (ret_val = Locate_ModuleFile( interp, newmodule, newname, ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdUlvl.o `test -f 'cmdUlvl.c' || echo './'`cmdUlvl.c ModuleCmd_Init.c:438:23: warning: 'newfileptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (EOF == fclose(newfileptr)) ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdLog.o `test -f 'cmdLog.c' || echo './'`cmdLog.c ModuleCmd_Init.c:280:10: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized] *endp = ch; ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdChdir.o `test -f 'cmdChdir.c' || echo './'`cmdChdir.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdTrace.o `test -f 'cmdTrace.c' || echo './'`cmdTrace.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdVersion.o `test -f 'cmdVersion.c' || echo './'`cmdVersion.c cmdModule.c: In function 'cmdModule': cmdModule.c:219:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, addRE)) { ^ cmdModule.c:234:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, rmRE)) { ^ cmdModule.c:243:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, swRE)) { ^ cmdModule.c:251:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, dispRE)) { ^ cmdModule.c:259:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, listRE)) { ^ cmdModule.c:273:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command,availRE)) { ^ cmdModule.c:287:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command,whatisRE)) { ^ cmdModule.c:291:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command,aproposRE)) { ^ cmdModule.c:299:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command,clearRE)) { ^ cmdModule.c:307:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command,updateRE)) { ^ cmdModule.c:315:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command,purgeRE)) { ^ cmdModule.c:323:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command,initRE)) { ^ cmdModule.c:372:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, useRE)) { ^ cmdModule.c:380:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, unuseRE)) { ^ cmdModule.c:388:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, refreshRE)) { ^ cmdModule.c:396:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } else if(_MTCH Tcl_RegExpMatch(interp,module_command, helpRE)) { ^ cmdModule.c: In function 'Read_Modulefile': cmdModule.c:466:22: warning: unused variable 'endp' [-Wunused-variable] char *startp, *endp; ^ cmdModule.c:466:13: warning: unused variable 'startp' [-Wunused-variable] char *startp, *endp; ^ cmdPath.c: In function 'Remove_Path': cmdPath.c:593:4: warning: unused variable 'addsep' [-Wunused-variable] addsep = 0, /** flag to add separator **/ ^ cmdPath.c:590:18: warning: unused variable 'i' [-Wunused-variable] int i, /** counter **/ ^ cmdXResource.c: In function 'doDisplayDefines': cmdXResource.c:249:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( colon = strchr( server, ':')) ^ cmdXResource.c: In function 'getEntries': cmdXResource.c:432:10: warning: initialization makes integer from pointer without a cast [enabled by default] Res="^[ \t]*([^ \t]*)[ \t]*:[ \t]*(.*)[ \t]*$"; ^ cmdXResource.c:452:2: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [enabled by default] res_obj = Tcl_NewStringObj(Res,strlen(Res)); ^ In file included from modules_def.h:62:0, from cmdXResource.c:50: /usr/include/string.h:395:15: note: expected 'const char *' but argument is of type 'char' extern size_t strlen (const char *__s) ^ cmdXResource.c:452:2: warning: passing argument 1 of 'Tcl_NewStringObj' makes pointer from integer without a cast [enabled by default] res_obj = Tcl_NewStringObj(Res,strlen(Res)); ^ In file included from /usr/include/tcl.h:2258:0, from modules_def.h:39, from cmdXResource.c:50: /usr/include/tclDecls.h:379:18: note: expected 'const char *' but argument is of type 'char' EXTERN Tcl_Obj * Tcl_NewStringObj(CONST char *bytes, int length); ^ cmdXResource.c:512:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( entry = Tcl_FindHashEntry( data, startp)) { ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdVerbose.o `test -f 'cmdVerbose.c' || echo './'`cmdVerbose.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-cmdWhatis.o `test -f 'cmdWhatis.c' || echo './'`cmdWhatis.c cmdSetenv.c: In function 'cmdSetEnv': cmdSetenv.c:149:17: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] moduleSetenv( interp, var, val, force); ^ cmdSetenv.c:149:17: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] cmdSetenv.c:149:17: warning: 'force' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-init.o `test -f 'init.c' || echo './'`init.c cmdTrace.c: In function 'ChangeTraceSel': cmdVersion.c: In function 'ExpandVersions': cmdTrace.c:558:8: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( *t++ = *s++); ^ cmdVersion.c:395:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = scan_versions( buffer, buffer, ptr->ptr, modptr)) ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-locate_module.o `test -f 'locate_module.c' || echo './'`locate_module.c cmdVersion.c: In function 'scan_versions': cmdVersion.c:484:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = scan_versions( buffer, base, vers->ptr, modptr)) ^ cmdVersion.c:493:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = scan_versions( buffer, base, ptr->ptr, modptr)) ^ cmdVersion.c: In function 'CheckModuleVersion': cmdVersion.c:552:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strrchr( name, '/')) { ^ cmdVersion.c: In function 'cmdModuleAlias': cmdVersion.c:679:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ptr = FindName( (char *) argv[ 1], aliaslist, &tmp)) { ^ cmdVersion.c:682:17: warning: suggest parentheses around '&&' within '||' [-Wparentheses] !trg_alias && (!ptr->ptr->module || !ptr->ptr->module->module) ) { ^ cmdVersion.c:687:16: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if( trg_alias && !strcmp( ptr->ptr->name, argv[ 2]) || ^ cmdVersion.c: In function 'VersionLookup': cmdVersion.c:853:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strrchr( buffer, '/')) ^ cmdVersion.c: In function 'AddModule': cmdVersion.c:1068:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ptr = FindModule( name, &app_ptr)) ^ cmdVersion.c: In function 'AddName': cmdVersion.c:1193:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ptr = FindName( name, *start, &app_ptr)) ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-utility.o `test -f 'utility.c' || echo './'`utility.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-main.o `test -f 'main.c' || echo './'`main.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-error.o `test -f 'error.c' || echo './'`error.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -c -o modulecmd-version.o `test -f 'version.c' || echo './'`version.c locate_module.c: In function 'GetModuleName': locate_module.c:392:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ver = strrchr( mod, '/')) ^ locate_module.c:494:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ver = strchr( s, '/')) ^ locate_module.c: In function 'SortedDirList': locate_module.c:848:1: warning: label 'unwind1' defined but not used [-Wunused-label] unwind1: ^ locate_module.c: In function 'SourceRC': locate_module.c:1044:24: warning: unused variable 'i' [-Wunused-variable] int save_flags, i; ^ locate_module.c: In function 'SourceVers': locate_module.c:1160:17: warning: unused variable 'ver' [-Wunused-variable] char *mod, *ver; ^ locate_module.c:1160:11: warning: unused variable 'mod' [-Wunused-variable] char *mod, *ver; ^ utility.c: In function 'clear_hash_value': utility.c:266:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hentry = Tcl_FindHashEntry( htable, (char*) key) ) { ^ utility.c: In function 'Clear_Global_Hash_Tables': utility.c:340:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while( hashEntry = Tcl_NextHashEntry( &searchPtr)); ^ utility.c: In function 'Delete_Hash_Tables': utility.c:425:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while( hashEntry = Tcl_NextHashEntry( &searchPtr)); ^ utility.c: In function 'Copy_Hash_Tables': utility.c:512:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( oldHashEntry = Tcl_FirstHashEntry( *o_ptr, &searchPtr)) { ^ utility.c:529:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while( oldHashEntry = Tcl_NextHashEntry( &searchPtr)); ^ utility.c: In function 'Unwind_Modulefile_Changes': utility.c:596:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( oldTables[i], &searchPtr)) { ^ utility.c:611:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while( hashEntry = Tcl_NextHashEntry( &searchPtr) ); ^ utility.c: In function 'Output_Modulefile_Changes': utility.c:709:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( table[i], &searchPtr)) ^ utility.c:713:3: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while( hashEntry = Tcl_NextHashEntry( &searchPtr)); ^ utility.c: In function 'Output_Modulefile_Aliases': utility.c:859:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( aliasSetHashTable, &searchPtr)) { ^ utility.c:906:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( table[i], &searchPtr)) { ^ cmdXResource.c: In function 'cmdXResource': utility.c:922:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while( hashEntry = Tcl_NextHashEntry( &searchPtr)); ^ cmdXResource.c:734:27: warning: 'tmpbuf' may be used uninitialized in this function [-Wmaybe-uninitialized] if( tmpbuf && (getEntries(interp, resDB.data, tmpbuf, 0) != NO_ERR)) ^ cmdXResource.c:710:11: note: 'tmpbuf' was declared here char *tmpbuf; ^ main.c:119:1: warning: "/*" within comment [-Wcomment] /** ^ main.c: In function 'main': main.c:350:1: warning: label 'unwind2' defined but not used [-Wunused-label] unwind2: ^ getopt.c: In function '_getopt_internal': getopt.c:918:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses] if( opterr) ^ error.c: In function 'GetFacilityPtr': error.c:1264:18: warning: unused variable 's' [-Wunused-variable] char *buf, *s, *t; ^ locate_module.c: In function 'SortedDirList': locate_module.c:844:23: warning: 'subdirp' may be used uninitialized in this function [-Wmaybe-uninitialized] if( -1 == closedir( subdirp)) ^ utility.c: In function 'chk_marked_entry': utility.c:2035:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hentry = Tcl_FindHashEntry( table, var)) ^ utility.c: In function 'set_marked_entry': utility.c:2052:5: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hentry = Tcl_CreateHashEntry( table, var, &new)) { ^ utility.c: In function 'Update_LoadedList': utility.c:2180:2: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( basename = get_module_basename( basename)) { ^ utility.c: In function 'xstrtok_r': utility.c:2430:18: warning: unused variable 'sc' [-Wunused-variable] register int c,sc; ^ utility.c:2430:16: warning: unused variable 'c' [-Wunused-variable] register int c,sc; ^ utility.c: In function 'tmpfile_mod': utility.c:2846:9: warning: unused variable 'f' [-Wunused-variable] FILE* f = NULL; ^ getopt.c:990:12: warning: 'indfound' may be used uninitialized in this function [-Wmaybe-uninitialized] *longind = option_index; ^ error.c: In function 'Module_Error': error.c:594:15: warning: 'ret_code' may be used uninitialized in this function [-Wmaybe-uninitialized] ErrCode ret_code; ^ utility.c: In function 'xdup': utility.c:2652:32: warning: 'brace' may be used uninitialized in this function [-Wmaybe-uninitialized] if (! strcmp(dollarptr + 1 + brace, "$")) { ^ utility.c: In function 'ReturnValue': utility.c:3099:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] g_retval = result; ^ gcc -I/usr/include -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -Wl,-z,relro -o modulecmd modulecmd-ModuleCmd_Avail.o modulecmd-ModuleCmd_Clear.o modulecmd-ModuleCmd_Display.o modulecmd-ModuleCmd_Help.o modulecmd-ModuleCmd_Init.o modulecmd-ModuleCmd_List.o modulecmd-ModuleCmd_Load.o modulecmd-ModuleCmd_Purge.o modulecmd-ModuleCmd_Switch.o modulecmd-ModuleCmd_Update.o modulecmd-ModuleCmd_Use.o modulecmd-ModuleCmd_Whatis.o modulecmd-ModuleCmd_Refresh.o modulecmd-cmdAlias.o modulecmd-cmdConflict.o modulecmd-cmdIsLoaded.o modulecmd-cmdInfo.o modulecmd-cmdMisc.o modulecmd-cmdModule.o modulecmd-cmdPath.o modulecmd-cmdSetenv.o modulecmd-cmdUname.o modulecmd-cmdXResource.o modulecmd-cmdUlvl.o modulecmd-cmdLog.o modulecmd-cmdChdir.o modulecmd-cmdTrace.o modulecmd-cmdVersion.o modulecmd-cmdVerbose.o modulecmd-cmdWhatis.o modulecmd-init.o modulecmd-locate_module.o modulecmd-utility.o modulecmd-main.o modulecmd-error.o modulecmd-getopt.o modulecmd-version.o -L/usr/lib64 -ltcl8.5 -ldl -lm -lX11 -ldl -lm -lX11 make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10' Making all in init make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/init' rm -f sh ksh zsh bash bash_completion csh tcsh perl.pm python.py ruby.rb cmake .modulespath make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/init' Making all in modulefiles make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/modulefiles' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/modulefiles' Making all in etc make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/etc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/etc' Making all in doc make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/doc' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/doc' make[1]: Leaving directory `/builddir/build/BUILD/modules-3.2.10' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.K8q9kB + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64 ++ dirname /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64 + cd modules-3.2.10 + make install DESTDIR=/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64 Making install in . make[1]: Entering directory `/builddir/build/BUILD/modules-3.2.10' make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10' test -z "/usr/bin" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/bin" /usr/bin/install -c modulecmd '/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/bin' test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man1" /usr/bin/install -c -m 644 doc/module.1 '/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man1' test -z "/usr/share/man/man4" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man4" /usr/bin/install -c -m 644 doc/modulefile.4 '/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man4' make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10' make[1]: Leaving directory `/builddir/build/BUILD/modules-3.2.10' Making install in init make[1]: Entering directory `/builddir/build/BUILD/modules-3.2.10/init' make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/init' sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < sh.in > sh sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < ksh.in > ksh sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < zsh.in > zsh sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < bash.in > bash sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < bash_completion.in > bash_completion sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < csh.in > csh cp csh tcsh sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < perl.pm.in > perl.pm sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < python.py.in > python.py sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < ruby.rb.in > ruby.rb sed -e "/@VERSIONING\@/d; \ s,@NOTVERSIONING\@,,g; \ s,@prefix\@,/usr/share/Modules,g; \ s,@bindir\@,/usr/bin,g; \ s,@VERSION\@,3.2.10,g; \ s,@BASEPREFIX\@,/usr/share,g;" < cmake.in > cmake cd .. && /bin/sh ./config.status init/.modulespath config.status: creating init/.modulespath /bin/sh /builddir/build/BUILD/modules-3.2.10/config/install-sh -d /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init /usr/bin/install -c -m 644 sh /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/sh /usr/bin/install -c -m 644 ksh /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/ksh /usr/bin/install -c -m 644 zsh /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/zsh /usr/bin/install -c -m 644 bash /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/bash /usr/bin/install -c -m 644 bash_completion /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/bash_completion /usr/bin/install -c -m 644 csh /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/csh /usr/bin/install -c -m 644 tcsh /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/tcsh /usr/bin/install -c -m 644 perl.pm /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/perl.pm /usr/bin/install -c -m 644 python.py /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/python.py /usr/bin/install -c -m 644 ruby.rb /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/ruby.rb /usr/bin/install -c -m 644 cmake /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/cmake /usr/bin/install -c -m 644 .modulespath /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/.modulespath rm -f sh ksh zsh bash bash_completion csh tcsh perl.pm python.py ruby.rb cmake .modulespath make[2]: Nothing to be done for `install-data-am'. make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/init' make[1]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/init' Making install in modulefiles make[1]: Entering directory `/builddir/build/BUILD/modules-3.2.10/modulefiles' make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/modulefiles' make[2]: Nothing to be done for `install-exec-am'. /bin/sh /builddir/build/BUILD/modules-3.2.10/config/install-sh -d /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/modulefiles /usr/bin/install -c -m 644 dot /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/modulefiles/dot /usr/bin/install -c -m 644 module-git /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/modulefiles/module-git /usr/bin/install -c -m 644 module-info /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/modulefiles/module-info /usr/bin/install -c -m 644 modules /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/modulefiles/modules /usr/bin/install -c -m 644 null /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/modulefiles/null /usr/bin/install -c -m 644 use.own /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/modulefiles/use.own Not installing version file make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/modulefiles' make[1]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/modulefiles' Making install in etc make[1]: Entering directory `/builddir/build/BUILD/modules-3.2.10/etc' make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/etc' make[2]: Nothing to be done for `install-exec-am'. /bin/sh /builddir/build/BUILD/modules-3.2.10/config/install-sh -d /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/bin /usr/bin/install -c add.modules /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/bin/add.modules /usr/bin/install -c mkroot /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/bin/mkroot make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/etc' make[1]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/etc' Making install in doc make[1]: Entering directory `/builddir/build/BUILD/modules-3.2.10/doc' make[2]: Entering directory `/builddir/build/BUILD/modules-3.2.10/doc' make[2]: Nothing to be done for `install-exec-am'. test -z "/usr/share/man/man1" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man1" /usr/bin/install -c -m 644 module.1 '/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man1' test -z "/usr/share/man/man4" || /usr/bin/mkdir -p "/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man4" /usr/bin/install -c -m 644 modulefile.4 '/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/man/man4' make[2]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/doc' make[1]: Leaving directory `/builddir/build/BUILD/modules-3.2.10/doc' + mkdir -p /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/etc/profile.d + touch /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/etc/profile.d/modules.csh /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/etc/profile.d/modules.sh + cp -p /builddir/build/SOURCES/modules.sh /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/init/modules.sh + cp -p /builddir/build/SOURCES/createmodule.sh /builddir/build/SOURCES/createmodule.py /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/Modules/bin + mkdir -p /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/etc/modulefiles /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/modulefiles + install -Dpm 644 /builddir/build/SOURCES/macros.environment-modules /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64//usr/lib/rpm/macros.d/macros.environment-modules + /usr/lib/rpm/find-debuginfo.sh --strict-build-id -m --run-dwz --dwz-low-mem-die-limit 10000000 --dwz-max-die-limit 110000000 /builddir/build/BUILD/modules-3.2.10 extracting debug info from /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/bin/modulecmd dwz: Too few files for multifile optimization /usr/lib/rpm/sepdebugcrcfix: Updated 1 CRC32s, 0 CRC32s did match. 1369 blocks + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-compress + /usr/lib/rpm/redhat/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/lib/rpm/redhat/brp-java-repack-jars Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.Ojab6o + umask 022 + cd /builddir/build/BUILD + cd modules-3.2.10 + make test MODULEVERSION=3.2.10; export MODULEVERSION; \ TESTSUITEDIR=./testsuite; export TESTSUITEDIR; \ /usr/bin/runtest --srcdir $TESTSUITEDIR \ --tool=modules WARNING: Couldn't find the global config file. WARNING: Couldn't find tool init file Test Run By mockbuild on Tue Mar 7 07:52:14 2017 Native configuration is x86_64-unknown-linux-gnu === modules tests === Schedule of variations: unix Running target unix Using /usr/share/dejagnu/baseboards/unix.exp as board description file for target. Using /usr/share/dejagnu/config/unix.exp as generic interface file for target. Using ./testsuite/config/unix.exp as tool-and-target-specific interface file. Running ./testsuite/modules.00-init/005-init_ts.exp ... Running ./testsuite/modules.00-init/006-procs.exp ... Running ./testsuite/modules.00-init/010-environ.exp ... Running ./testsuite/modules.00-init/015-version.exp ... Running ./testsuite/modules.00-init/030-shells.exp ... Running ./testsuite/modules.00-init/050-modpath.exp ... Running ./testsuite/modules.00-init/080-begenv.exp ... Running ./testsuite/modules.00-init/090-switches.exp ... Running ./testsuite/modules.10-use/010-init_ts.exp ... Running ./testsuite/modules.10-use/030-use.exp ... Running ./testsuite/modules.10-use/031-append.exp ... Running ./testsuite/modules.10-use/070-unuse.exp ... Running ./testsuite/modules.20-locate/010-init_ts.exp ... Running ./testsuite/modules.20-locate/020-fqual.exp ... Running ./testsuite/modules.20-locate/030-defvers.exp ... Running ./testsuite/modules.20-locate/040-alias.exp ... Running ./testsuite/modules.20-locate/045-symvers.exp ... Running ./testsuite/modules.20-locate/046-getsym.exp ... Running ./testsuite/modules.20-locate/047-symerrs.exp ... Running ./testsuite/modules.20-locate/048-symexec.exp ... Running ./testsuite/modules.20-locate/050-locrc.exp ... Running ./testsuite/modules.20-locate/055-locrcerrs.exp ... Running ./testsuite/modules.20-locate/060-rc.exp ... Running ./testsuite/modules.20-locate/065-rcerrs.exp ... Running ./testsuite/modules.20-locate/070-homerc.exp ... Running ./testsuite/modules.20-locate/095-cleanup.exp ... Running ./testsuite/modules.30-userlvl/010-init_ts.exp ... Running ./testsuite/modules.30-userlvl/030-novice.exp ... Running ./testsuite/modules.30-userlvl/035-nov.exp ... Running ./testsuite/modules.30-userlvl/040-advanced.exp ... Running ./testsuite/modules.30-userlvl/045-adv.exp ... Running ./testsuite/modules.30-userlvl/050-expert.exp ... Running ./testsuite/modules.30-userlvl/055-exp.exp ... Running ./testsuite/modules.30-userlvl/090-undef.exp ... Running ./testsuite/modules.35-trace/010-init_ts.exp ... Running ./testsuite/modules.35-trace/020-default.exp ... Running ./testsuite/modules.35-trace/030-all-on.exp ... Running ./testsuite/modules.35-trace/031-all-off.exp ... Running ./testsuite/modules.35-trace/040-load-all.exp ... Running ./testsuite/modules.35-trace/041-load-all.exp ... Running ./testsuite/modules.35-trace/042-load-on.exp ... Running ./testsuite/modules.35-trace/043-load-onoff.exp ... Running ./testsuite/modules.35-trace/044-load-ovr.exp ... Running ./testsuite/modules.35-trace/050-disp-onoff.exp ... Running ./testsuite/modules.35-trace/060-dilo-onoff.exp ... Running ./testsuite/modules.35-trace/070-colon.exp ... Running ./testsuite/modules.35-trace/095-cleanup.exp ... Running ./testsuite/modules.50-cmds/010-init_ts.exp ... Running ./testsuite/modules.50-cmds/015-use.exp ... Running ./testsuite/modules.50-cmds/017-use-undo.exp ... Running ./testsuite/modules.50-cmds/020-setenv.exp ... Running ./testsuite/modules.50-cmds/022-setenv-eschars.exp ... Running ./testsuite/modules.50-cmds/025-setenv-undo.exp ... Running ./testsuite/modules.50-cmds/030-unsetenv.exp ... Running ./testsuite/modules.50-cmds/035-unsetenv-undo.exp ... Running ./testsuite/modules.50-cmds/036-unsetenv-x.exp ... Running ./testsuite/modules.50-cmds/040-append.exp ... Running ./testsuite/modules.50-cmds/042-append-delim.exp ... Running ./testsuite/modules.50-cmds/045-append-undo.exp ... Running ./testsuite/modules.50-cmds/047-app-del-undo.exp ... Running ./testsuite/modules.50-cmds/050-prepend.exp ... Running ./testsuite/modules.50-cmds/052-prepend-delim.exp ... Running ./testsuite/modules.50-cmds/055-prepend-undo.exp ... Running ./testsuite/modules.50-cmds/057-pre-del-undo.exp ... Running ./testsuite/modules.50-cmds/060-remove.exp ... Running ./testsuite/modules.50-cmds/065-remove-undo.exp ... Running ./testsuite/modules.50-cmds/070-alias-proc.exp ... Running ./testsuite/modules.50-cmds/075-alias.exp ... Running ./testsuite/modules.50-cmds/076-alias-sub.exp ... Running ./testsuite/modules.50-cmds/077-alias-undo.exp ... Running ./testsuite/modules.50-cmds/078-refresh.exp ... Running ./testsuite/modules.50-cmds/080-info-name.exp ... Running ./testsuite/modules.50-cmds/081-info-user.exp ... Running ./testsuite/modules.50-cmds/082-info-user-exp.exp ... Running ./testsuite/modules.50-cmds/083-info-mode.exp ... Running ./testsuite/modules.50-cmds/084-info-mode-exp.exp ... Running ./testsuite/modules.50-cmds/085-info-flags.exp ... Running ./testsuite/modules.50-cmds/086-info-shells.exp ... Running ./testsuite/modules.50-cmds/087-info-shells-exp.exp ... Running ./testsuite/modules.50-cmds/088-info-isloaded.exp ... Running ./testsuite/modules.50-cmds/089-info-type.exp ... Running ./testsuite/modules.50-cmds/090-uname-proc.exp ... Running ./testsuite/modules.50-cmds/095-uname.exp ... Running ./testsuite/modules.50-cmds/099-uname-cleanup.exp ... Running ./testsuite/modules.50-cmds/100-loglevel.exp ... Skipping Syslog tests, since they were not compiled Running ./testsuite/modules.50-cmds/101-badfac.exp ... Running ./testsuite/modules.50-cmds/110-verbose.exp ... Running ./testsuite/modules.50-cmds/115-verbose-msg.exp ... Running ./testsuite/modules.50-cmds/120-prereq-full.exp ... Running ./testsuite/modules.50-cmds/121-prereq-module.exp ... Running ./testsuite/modules.50-cmds/130-conflict-full.exp ... Running ./testsuite/modules.50-cmds/131-conflict-module.exp ... Running ./testsuite/modules.50-cmds/140-system.exp ... Running ./testsuite/modules.50-cmds/150-module.exp ... Running ./testsuite/modules.50-cmds/170-swap.exp ... Running ./testsuite/modules.50-cmds/172-swap-app-delim.exp ... Running ./testsuite/modules.50-cmds/173-swap-app-delim.exp ... Running ./testsuite/modules.50-cmds/175-swap2.exp ... Running ./testsuite/modules.50-cmds/177-swap-prep-delim.exp ... Running ./testsuite/modules.50-cmds/178-swap-prep-delim.exp ... Running ./testsuite/modules.50-cmds/190-load.exp ... Running ./testsuite/modules.50-cmds/195-load-recurs.exp ... Running ./testsuite/modules.50-cmds/197-load-lots.exp ... Running ./testsuite/modules.50-cmds/200-break.exp ... Running ./testsuite/modules.50-cmds/210-exit.exp ... Running ./testsuite/modules.50-cmds/220-continue.exp ... Running ./testsuite/modules.50-cmds/230-loop.exp ... Running ./testsuite/modules.50-cmds/999-cleanup.exp ... Running ./testsuite/modules.60-initx/005-init.exp ... Running ./testsuite/modules.60-initx/010-list.exp ... Running ./testsuite/modules.60-initx/020-add.exp ... Running ./testsuite/modules.60-initx/030-switch.exp ... Running ./testsuite/modules.60-initx/040-prepend.exp ... Running ./testsuite/modules.60-initx/050-rm.exp ... Running ./testsuite/modules.60-initx/060-2nd.exp ... Running ./testsuite/modules.60-initx/095-cleanup.exp ... Running ./testsuite/modules.70-maint/010-init_ts.exp ... Running ./testsuite/modules.70-maint/020-update.exp ... Running ./testsuite/modules.70-maint/030-purge.exp ... Running ./testsuite/modules.70-maint/040-list.exp ... Running ./testsuite/modules.70-maint/043-listno.exp ... Running ./testsuite/modules.70-maint/045-listlong.exp ... Running ./testsuite/modules.70-maint/048-listlongno.exp ... Running ./testsuite/modules.70-maint/050-whatis-load.exp ... Running ./testsuite/modules.70-maint/055-whatis.exp ... Running ./testsuite/modules.70-maint/060-apropos.exp ... Running ./testsuite/modules.70-maint/070-display.exp ... Running ./testsuite/modules.70-maint/080-help.exp ... Running ./testsuite/modules.70-maint/095-cleanup.exp ... Running ./testsuite/modules.80-deep/010-init_ts.exp ... Running ./testsuite/modules.80-deep/020-load.exp ... Running ./testsuite/modules.80-deep/030-display.exp ... Running ./testsuite/modules.80-deep/040-list.exp ... Running ./testsuite/modules.80-deep/999-cleanup.exp ... Running ./testsuite/modules.90-avail/010-init_ts.exp ... Running ./testsuite/modules.90-avail/020-single.exp ... Running ./testsuite/modules.90-avail/030-multiple.exp ... Running ./testsuite/modules.90-avail/040-wild.exp ... Running ./testsuite/modules.90-avail/050-long.exp ... Running ./testsuite/modules.90-avail/060-empty.exp ... Running ./testsuite/modules.95-version/010-init_ts.exp ... Running ./testsuite/modules.95-version/020-load.exp ... Running ./testsuite/modules.95-version/020-unload.exp ... Running ./testsuite/modules.95-version/022-load2.exp ... Running ./testsuite/modules.95-version/022-unload2.exp ... Running ./testsuite/modules.95-version/040-xgetenv.exp ... Running ./testsuite/modules.95-version/999-cleanup.exp ... === modules Summary === # of expected passes 864 + exit 0 Processing files: environment-modules-3.2.10-20.el7.x86_64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.KwXjnG + umask 022 + cd /builddir/build/BUILD + cd modules-3.2.10 + DOCDIR=/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/doc/environment-modules-3.2.10 + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/doc/environment-modules-3.2.10 + cp -pr README /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/doc/environment-modules-3.2.10 + cp -pr TODO /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/doc/environment-modules-3.2.10 + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.gjY6FX + umask 022 + cd /builddir/build/BUILD + cd modules-3.2.10 + LICENSEDIR=/builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/licenses/environment-modules-3.2.10 + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/licenses/environment-modules-3.2.10 + cp -pr LICENSE.GPL /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64/usr/share/licenses/environment-modules-3.2.10 + exit 0 Provides: config(environment-modules) = 3.2.10-20.el7 environment(modules) environment-modules = 3.2.10-20.el7 environment-modules(x86-64) = 3.2.10-20.el7 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PartialHardlinkSets) <= 4.0.4-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh /usr/sbin/update-alternatives Requires(postun): /bin/sh /usr/sbin/update-alternatives Requires: /bin/bash /bin/sh /usr/bin/python libX11.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) libdl.so.2()(64bit) libm.so.6()(64bit) libtcl8.5.so()(64bit) rtld(GNU_HASH) Processing files: environment-modules-debuginfo-3.2.10-20.el7.x86_64 Provides: environment-modules-debuginfo = 3.2.10-20.el7 environment-modules-debuginfo(x86-64) = 3.2.10-20.el7 Requires(rpmlib): rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(CompressedFileNames) <= 3.0.4-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64 Wrote: /builddir/build/RPMS/environment-modules-3.2.10-20.el7.x86_64.rpm Wrote: /builddir/build/RPMS/environment-modules-debuginfo-3.2.10-20.el7.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.iJ8muP + umask 022 + cd /builddir/build/BUILD + cd modules-3.2.10 + /usr/bin/rm -rf /builddir/build/BUILDROOT/environment-modules-3.2.10-20.el7.x86_64 + exit 0 Child return code was: 0 LEAVE do -->