+ exec + rm -rf /rpmbuild + mkdir -p /rpmbuild + su -c 'rpmbuild -ba /builddir/build/SPECS/environment-modules.spec --define "debug_package %{nil}" --undefine _annotated_build --define "_missing_doc_files_terminate_build %{nil}" --define "_emacs_sitestartdir /usr/share/emacs/site-lisp/site-start.d" --define "_emacs_sitelispdir /usr/share/emacs/site-lisp" --nocheck ' mockbuild Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ssLa8b + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf modules-4.1.1 + /usr/bin/bzip2 -dc /builddir/build/SOURCES/modules-4.1.1.tar.bz2 + /usr/bin/tar -xof - bzip2: I/O or other error, bailing out. Possible reason follows. bzip2: Broken pipe Input file = /builddir/build/SOURCES/modules-4.1.1.tar.bz2, output file = (stdout) + STATUS=0 + '[' 0 -ne 0 ']' + cd modules-4.1.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.O3VLt4 + umask 022 + cd /builddir/build/BUILD + cd modules-4.1.1 + CFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 ' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + '[' 1 = 1 ']' +++ dirname ./configure ++ find . -name config.guess -o -name config.sub + '[' 1 = 1 ']' + '[' x '!=' x-specs=/usr/lib/rpm/redhat/redhat-hardened-ld ']' ++ find . -name ltmain.sh + ./configure --build=riscv64-redhat-linux-gnu --host=riscv64-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 --prefix=/usr/share/Modules --bindir=/usr/share/Modules/bin --libexecdir=/usr/share/Modules/libexec --docdir=/usr/share/doc/environment-modules --enable-dotmodulespath --with-modulepath=/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles --with-quarantine-vars=LD_LIBRARY_PATH checking for uname... /usr/bin/uname checking for make... /usr/bin/make checking for sed... /usr/bin/sed checking for grep... /usr/bin/grep checking for cut... /usr/bin/cut checking for runtest... /usr/bin/runtest checking for manpath... /usr/bin/manpath checking for tclsh... /usr/bin/tclsh checking for ps... /usr/bin/ps checking for basename... /usr/bin/basename checking for less... /usr/bin/less TCLSH = /usr/bin/tclsh SPHINXBUILD = sphinx-build PS = /usr/bin/ps BASENAME = /usr/bin/basename GREP = /usr/bin/grep RMDIR_IGN_NON_EMPTY = rmdir --ignore-fail-on-non-empty VERSION = 4.1.1 baseprefix = /usr/share/Modules prefix = /usr/share/Modules bindir = /usr/share/Modules/bin libexecdir = /usr/share/Modules/libexec etcdir = /usr/share/Modules/etc initdir = /usr/share/Modules/init datarootdir = /usr/share/Modules/share mandir = /usr/share/man docdir = /usr/share/doc/environment-modules modulefilesdir = /usr/share/Modules/modulefiles setmanpath = y setbinpath = y setdotmodulespath = y docinstall = y examplemodulefiles = y builddoc = y gitworktree = y usemanpath = y compatversion = y versioning = n pager = /usr/bin/less pageropts = -eFKRX modulepath = /usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles loadedmodules = quarantinevars = LD_LIBRARY_PATH --- configuring compatibility version sources ---- ~/build/BUILD/modules-4.1.1/compat ~/build/BUILD/modules-4.1.1 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 checking whether make supports nested variables... yes VERSION = 3.2.11 DATE = 2017-10-16 configuring for Modules 3.2.11 2017-10-16 DEFAULTPATH = /usr/share/Modules/Modules BASEPREFIX = /usr/share/Modules PREFIX = /usr/share/Modules/Modules EXECPREFIX = /usr checking for riscv64-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 whether gcc understands -c and -o together... yes 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 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... /usr/bin/hostname 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.6 checking TCL_VERSION... 8.6 checking TCL_LIB_SPEC... -L/usr/lib64 -ltcl8.6 checking TCL_INCLUDE_SPEC... -I/usr/include checking for TclX configuration (tclxConfig.sh)... not found checking for TclX version... using 8.6 checking TCLX_VERSION... 8.6 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 = /usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles DEFAULTMANPATH = /usr/share/man checking that generated files are newer than configure... done 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 ~/build/BUILD/modules-4.1.1 -------------------------------------------------- creating ./Makefile.inc creating ./site.exp + make -j4 make -C init all sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@VERSION@|4.1.1|g' -e 's|@TCLSHDIR@/tclsh|/usr/bin/tclsh|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' -e 's|@pager@|/usr/bin/less|g' -e 's|@pageropts@|-eFKRX|g' -e 's|@VERSIONING@|#|g' -e 's|@NOTVERSIONING@||g' -e 's|@MODULES_RELEASE@|4.1.1|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@||g' -e 's|@MODULES_BUILD_DATE@|2018-02-17|g' modulecmd.tcl.in > modulecmd.tcl sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@VERSION@|4.1.1|g' -e 's|@TCLSHDIR@/tclsh|/usr/bin/tclsh|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' -e 's|@pager@|/usr/bin/less|g' -e 's|@pageropts@|-eFKRX|g' -e 's|@VERSIONING@|#|g' -e 's|@NOTVERSIONING@||g' -e 's|@MODULES_RELEASE@|4.1.1|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@||g' -e 's|@MODULES_BUILD_DATE@|2018-02-17|g' contrib/scripts/add.modules.in > contrib/scripts/add.modules sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@VERSION@|4.1.1|g' -e 's|@TCLSHDIR@/tclsh|/usr/bin/tclsh|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' -e 's|@pager@|/usr/bin/less|g' -e 's|@pageropts@|-eFKRX|g' -e 's|@VERSIONING@|#|g' -e 's|@NOTVERSIONING@||g' -e 's|@MODULES_RELEASE@|4.1.1|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@||g' -e 's|@MODULES_BUILD_DATE@|2018-02-17|g' contrib/scripts/modulecmd.in > contrib/scripts/modulecmd make[1]: Entering directory '/builddir/build/BUILD/modules-4.1.1/init' sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|sh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' sh.in > sh make -C compat modulecmd sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|ksh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' ksh.in > ksh make -C doc man txt make[1]: Entering directory '/builddir/build/BUILD/modules-4.1.1/compat' gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Avail.o `test -f 'ModuleCmd_Avail.c' || echo './'`ModuleCmd_Avail.c chmod +x modulecmd.tcl sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|bash|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' bash.in > bash make[1]: Entering directory '/builddir/build/BUILD/modules-4.1.1/doc' sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@MODULES_RELEASE@|4.1.1|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_BUILD_DATE@|2018-02-17|g' build/module.1.in > build/module.1 make[1]: Nothing to be done for 'txt'. sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|zsh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' zsh.in > zsh sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|profile.sh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' profile.sh.in > profile.sh make[1]: Leaving directory '/builddir/build/BUILD/modules-4.1.1/doc' gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Clear.o `test -f 'ModuleCmd_Clear.c' || echo './'`ModuleCmd_Clear.c sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|bash_completion|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' bash_completion.in > bash_completion gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Display.o `test -f 'ModuleCmd_Display.c' || echo './'`ModuleCmd_Display.c ModuleCmd_Avail.c: In function 'ModuleCmd_Avail': ModuleCmd_Avail.c:242:8: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( !check_dir( *argv)) ^ ModuleCmd_Avail.c:285:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr( dirname, ':')) ^ ModuleCmd_Avail.c:317:7: 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:10: 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; ^~~~~~ ModuleCmd_Avail.c: In function 'test_version_dir': ModuleCmd_Avail.c:693:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ ModuleCmd_Avail.c: In function 'print_aligned_files': ModuleCmd_Avail.c:1590:6: 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:17: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( module = _pick_file_list( mod_ndx)) { ^~~~~~ ModuleCmd_Avail.c:1867:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( module = _get_file_list()) { ^~~~~~ 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) ^~~~~~~~~~~~~~~~ ModuleCmd_Clear.c: In function 'ModuleCmd_Clear': ModuleCmd_Clear.c:116:2: warning: ignoring return value of 'fgets', declared with attribute warn_unused_result [-Wunused-result] fgets( buf, 10, stdin); ^~~~~~~~~~~~~~~~~~~~~~ sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|profile-compat.sh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' profile-compat.sh.in > profile-compat.sh gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Help.o `test -f 'ModuleCmd_Help.c' || echo './'`ModuleCmd_Help.c sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|csh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' csh.in > csh sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|tcsh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' csh.in > tcsh sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|tcsh_completion|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' tcsh_completion.in > tcsh_completion sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|profile.csh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' profile.csh.in > profile.csh sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|profile-compat.csh|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' profile-compat.csh.in > profile-compat.csh gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Init.o `test -f 'ModuleCmd_Init.c' || echo './'`ModuleCmd_Init.c sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|perl.pm|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' perl.pm.in > perl.pm sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|python.py|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' python.py.in > python.py sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|ruby.rb|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' ruby.rb.in > ruby.rb sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|lisp|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' lisp.in > lisp sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|tcl|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' tcl.in > tcl sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|fish|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' fish.in > fish sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|cmake|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' cmake.in > cmake sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|r.R|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' r.R.in > r.R sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|.modulespath|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' .modulespath.in > .modulespath sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|modulerc|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' modulerc.in > modulerc mv modulerc modulerc.tmp sed -e 's|\\$||' modulerc.tmp > modulerc rm -f modulerc.tmp sed -e 's|@prefix@|/usr/share/Modules|g' -e 's|@baseprefix@|/usr/share/Modules|g' -e 's|@libexecdir@|/usr/share/Modules/libexec|g' -e 's|@initdir@|/usr/share/Modules/init|g' -e 's|@etcdir@|/usr/share/Modules/etc|g' -e 's|@modulefilesdir@|/usr/share/Modules/modulefiles|g' -e 's|@bindir@|/usr/share/Modules/bin|g' -e 's|@mandir@|/usr/share/man|g' -e 's|@setmanpath@||g' -e 's|@setbinpath@||g' -e 's|@compatversion@||g' -e '/@notcompatversion@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/share/Modules/modulefiles} \\\nmodule use --append {/etc/modulefiles} \\\nmodule use --append {/usr/share/modulefiles}|g' -e 's|@modulepath@|/usr/share/Modules/modulefiles:/etc/modulefiles:/usr/share/modulefiles|g' -e 's|@setquarvars@||g' -e 's|@RUN_QUARANTINE@|LD_LIBRARY_PATH|g; s/@.*RUNENV_VAR.*@//;' -e '/@notsetquarvars@/d' -e 's|@SHELLNAME@|../contrib/modulefiles/modules|g' -e 's|@VERSIONING@|#|g' -e 's|@VERSION@|4.1.1|g' -e 's|@PS@|/usr/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/bin/tclsh|g' ../contrib/modulefiles/modules.in > ../contrib/modulefiles/modules make[1]: Leaving directory '/builddir/build/BUILD/modules-4.1.1/init' gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Load.o `test -f 'ModuleCmd_Load.c' || echo './'`ModuleCmd_Load.c 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_Init.c:419:14: warning: 'newfileptr' may be used uninitialized in this function [-Wmaybe-uninitialized] if (EOF == fclose(newfileptr)) ^~~~~~~~~~~~~~~~~~ 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Purge.o `test -f 'ModuleCmd_Purge.c' || echo './'`ModuleCmd_Purge.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:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strchr( s, '/')) ^ 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"; ^~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-ModuleCmd_Whatis.o `test -f 'ModuleCmd_Whatis.c' || echo './'`ModuleCmd_Whatis.c ModuleCmd_Update.c: In function 'ModuleCmd_Update': ModuleCmd_Update.c:191:7: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( var_ptr = strchr( buf, '=')) { ^~~~~~~ ModuleCmd_Update.c:203:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( strncmp( var_ptr, "LOADEDMODULES", 12) && ^ 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, ^ 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdAlias.o `test -f 'cmdAlias.c' || echo './'`cmdAlias.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdConflict.o `test -f 'cmdConflict.c' || echo './'`cmdConflict.c 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:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( wptr = fgets( buffer, MOD_BUFSIZE, cfp)) { ^~~~ ModuleCmd_Whatis.c: In function 'apropos_cache': ModuleCmd_Whatis.c:717:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( env = getenv( "MODULEWHATISCACHE")) { ^~~ 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:12: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(marked_val = chk_marked_entry(markAliasHashTable,(char *) argv[1])) { ^~~~~~~~~~ cmdConflict.c: In function 'cmdConflict': cmdConflict.c:343:1: warning: label 'unwind1' defined but not used [-Wunused-label] unwind1: ^~~~~~~ cmdConflict.c: In function 'cmdPrereq': cmdConflict.c:568:1: warning: label 'unwind3' defined but not used [-Wunused-label] unwind3: ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdIsLoaded.o `test -f 'cmdIsLoaded.c' || echo './'`cmdIsLoaded.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdInfo.o `test -f 'cmdInfo.c' || echo './'`cmdInfo.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdMisc.o `test -f 'cmdMisc.c' || echo './'`cmdMisc.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdModule.o `test -f 'cmdModule.c' || echo './'`cmdModule.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdPath.o `test -f 'cmdPath.c' || echo './'`cmdPath.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdSetenv.o `test -f 'cmdSetenv.c' || echo './'`cmdSetenv.c cmdModule.c: In function 'cmdModule': cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:219:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, addRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:234:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, rmRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:243:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, swRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:251:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, dispRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:259:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, listRE)) { ^~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdUname.o `test -f 'cmdUname.c' || echo './'`cmdUname.c cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:273:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command,availRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:287:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command,whatisRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:291:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command,aproposRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:299:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command,clearRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:307:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command,updateRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:315:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command,purgeRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:323:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command,initRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:372:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, useRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:380:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, unuseRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:388:15: note: in expansion of macro '_MTCH' } else if(_MTCH Tcl_RegExpMatch(interp,module_command, refreshRE)) { ^~~~~ cmdModule.c:150:19: warning: suggest parentheses around assignment used as truth value [-Wparentheses] #define _MTCH _XD match = ^ cmdModule.c:396:15: note: in expansion of macro '_MTCH' } 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 **/ ^ cmdSetenv.c: In function 'cmdSetEnv': cmdSetenv.c:149:5: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized] moduleSetenv( interp, var, val, force); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdSetenv.c:149:5: warning: 'var' may be used uninitialized in this function [-Wmaybe-uninitialized] cmdSetenv.c:149:5: warning: 'force' may be used uninitialized in this function [-Wmaybe-uninitialized] gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdXResource.o `test -f 'cmdXResource.c' || echo './'`cmdXResource.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdUlvl.o `test -f 'cmdUlvl.c' || echo './'`cmdUlvl.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdLog.o `test -f 'cmdLog.c' || echo './'`cmdLog.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdChdir.o `test -f 'cmdChdir.c' || echo './'`cmdChdir.c cmdXResource.c: In function 'doDisplayDefines': cmdXResource.c:249:9: 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 [-Wint-conversion] Res="^[ \t]*([^ \t]*)[ \t]*:[ \t]*(.*)[ \t]*$"; ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cmdXResource.c:452:40: warning: passing argument 1 of 'strlen' makes pointer from integer without a cast [-Wint-conversion] res_obj = Tcl_NewStringObj(Res,strlen(Res)); ^~~ In file included from modules_def.h:62:0, from cmdXResource.c:50: /usr/include/string.h:384:15: note: expected 'const char *' but argument is of type 'char' extern size_t strlen (const char *__s) ^~~~~~ cmdXResource.c:452:29: warning: passing argument 1 of 'Tcl_NewStringObj' makes pointer from integer without a cast [-Wint-conversion] res_obj = Tcl_NewStringObj(Res,strlen(Res)); ^~~ In file included from /usr/include/tcl.h:2445:0, from modules_def.h:39, from cmdXResource.c:50: /usr/include/tclDecls.h:208:18: note: expected 'const char *' but argument is of type 'char' EXTERN Tcl_Obj * Tcl_NewStringObj(const char *bytes, int length); ^~~~~~~~~~~~~~~~ cmdXResource.c:512:7: 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdTrace.o `test -f 'cmdTrace.c' || echo './'`cmdTrace.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdVersion.o `test -f 'cmdVersion.c' || echo './'`cmdVersion.c cmdXResource.c: In function 'cmdXResource': cmdXResource.c:734:17: 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; ^~~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdVerbose.o `test -f 'cmdVerbose.c' || echo './'`cmdVerbose.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-cmdWhatis.o `test -f 'cmdWhatis.c' || echo './'`cmdWhatis.c cmdTrace.c: In function 'ChangeTraceSel': cmdTrace.c:558:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] while( *t++ = *s++); ^ cmdVersion.c: In function 'ExpandVersions': cmdVersion.c:395:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = scan_versions( buffer, buffer, ptr->ptr, modptr)) ^ cmdVersion.c: In function 'scan_versions': cmdVersion.c:484:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = scan_versions( buffer, base, vers->ptr, modptr)) ^ cmdVersion.c:493:9: 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:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strrchr( name, '/')) { ^ cmdVersion.c: In function 'cmdModuleAlias': cmdVersion.c:679:9: 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:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( s = strrchr( buffer, '/')) ^ cmdVersion.c: In function 'AddModule': cmdVersion.c:1068:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ptr = FindModule( name, &app_ptr)) ^~~ cmdVersion.c: In function 'AddName': cmdVersion.c:1193:9: 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 -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-init.o `test -f 'init.c' || echo './'`init.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-locate_module.o `test -f 'locate_module.c' || echo './'`locate_module.c cmdVersion.c: In function 'cmdModuleAlias': cmdVersion.c:689:4: warning: 'module' may be used uninitialized in this function [-Wmaybe-uninitialized] !strcmp( ptr->ptr->module->module, module)) ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-utility.o `test -f 'utility.c' || echo './'`utility.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-main.o `test -f 'main.c' || echo './'`main.c locate_module.c: In function 'GetModuleName': locate_module.c:392:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( ver = strrchr( mod, '/')) ^~~ locate_module.c:494:7: 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:9: 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:11: 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:15: 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:13: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( oldHashEntry = Tcl_FirstHashEntry( *o_ptr, &searchPtr)) { ^~~~~~~~~~~~ utility.c:529:15: 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:10: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( oldTables[i], &searchPtr)) { ^~~~~~~~~ utility.c:611:12: 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:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( table[i], &searchPtr)) ^~~~~~~~~ utility.c:713:12: 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:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( aliasSetHashTable, &searchPtr)) { ^~~~~~~~~ utility.c:906:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hashEntry = Tcl_FirstHashEntry( table[i], &searchPtr)) { ^~~~~~~~~ utility.c:922:15: warning: suggest parentheses around assignment used as truth value [-Wparentheses] } while( hashEntry = Tcl_NextHashEntry( &searchPtr)); ^~~~~~~~~ utility.c: In function 'chk_marked_entry': utility.c:2035:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if( hentry = Tcl_FindHashEntry( table, var)) ^~~~~~ utility.c: In function 'Update_LoadedList': utility.c:2180:6: 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:2847:9: warning: unused variable 'f' [-Wunused-variable] FILE* f = NULL; ^ utility.c: In function 'ReturnValue': utility.c:3097:14: warning: comparison between pointer and zero character constant [-Wpointer-compare] if( startp != '\0') ^~ utility.c:3097:7: note: did you mean to dereference the pointer? if( startp != '\0') ^ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-error.o `test -f 'error.c' || echo './'`error.c locate_module.c: In function 'SortedDirList': locate_module.c:844:15: warning: 'subdirp' may be used uninitialized in this function [-Wmaybe-uninitialized] if( -1 == closedir( subdirp)) ^~~~~~~~~~~~~~~~~~ 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: ^~~~~~~ gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-getopt.o `test -f 'getopt.c' || echo './'`getopt.c gcc -DHAVE_CONFIG_H -I. -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -c -o modulecmd-version.o `test -f 'version.c' || echo './'`version.c error.c: In function 'GetFacilityPtr': error.c:1265:18: warning: unused variable 's' [-Wunused-variable] char *buf, *s, *t; ^ utility.c:3100:12: warning: 'result' may be used uninitialized in this function [-Wmaybe-uninitialized] g_retval = result; ~~~~~~~~~^~~~~~~~ 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; ^~~~~~~~ getopt.c: In function '_getopt_internal': getopt.c:918:9: warning: suggest explicit braces to avoid ambiguous 'else' [-Wdangling-else] if( opterr) ^ getopt.c:1159:5: warning: this 'else' clause does not guard... [-Wmisleading-indentation] } else ^~~~ getopt.c:1167:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else' nextchar = NULL; ^~~~~~~~ getopt.c:990:12: warning: 'indfound' may be used uninitialized in this function [-Wmaybe-uninitialized] *longind = option_index; ~~~~~~~~~^~~~~~~~~~~~~~ gcc -I/usr/include -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -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.6 -ldl -lm -lX11 -ldl -lm -lX11 make[1]: Leaving directory '/builddir/build/BUILD/modules-4.1.1/compat' + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.A1HyhG + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 ++ dirname /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 + cd modules-4.1.1 + make install DESTDIR=/builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/libexec mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin cp modulecmd.tcl /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/libexec/ chmod +x /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/libexec/modulecmd.tcl cp compat/modulecmd /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/libexec/modulecmd-compat chmod +x /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/libexec/modulecmd-compat cp contrib/envml /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/ chmod +x /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/envml cp contrib/scripts/add.modules /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/ chmod +x /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/add.modules cp contrib/scripts/modulecmd /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/ chmod +x /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/modulecmd cp contrib/scripts/mkroot /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/ chmod +x /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/mkroot mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules cp COPYING.GPLv2 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp ChangeLog /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp README /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp compat/ChangeLog /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ChangeLog-compat cp compat/NEWS /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/NEWS-compat make -C init install DESTDIR=/builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/modules-4.1.1/init' mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/ksh-functions mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/modulefiles cp sh ksh bash zsh profile.sh bash_completion profile-compat.sh csh tcsh tcsh_completion profile.csh profile-compat.csh perl.pm python.py ruby.rb lisp tcl fish cmake r.R /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/ cp fish_completion /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/ cp -r zsh-functions /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/ cp ksh /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/ksh-functions/module cp ksh /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/ksh-functions/switchml rm -f /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/.modulespath /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/modulerc cp -R -P .modulespath modulerc /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/init/ cp ../contrib/modulefiles/dot ../contrib/modulefiles/module-git ../contrib/modulefiles/module-info ../contrib/modulefiles/modules ../contrib/modulefiles/null ../contrib/modulefiles/use.own /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/modulefiles/ make[1]: Leaving directory '/builddir/build/BUILD/modules-4.1.1/init' make -C doc install DESTDIR=/builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 make[1]: Entering directory '/builddir/build/BUILD/modules-4.1.1/doc' mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man1 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man4 mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules cp build/diff_v3_v4.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp build/MIGRATING.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp build/INSTALL.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp build/NEWS.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp example.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ cp build/module.1 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man1/ cp build/modulefile.4 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man4/ cp ../compat/doc/module.1 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man1/module-compat.1 cp ../compat/doc/modulefile.4 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man4/modulefile-compat.4 make[1]: Leaving directory '/builddir/build/BUILD/modules-4.1.1/doc' NOTICE: Modules installation is complete. Please read the 'Configuration' section in INSTALL.txt to learn how to adapt your installation and make it fit your needs. + mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/etc/modulefiles + mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/modulefiles + mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/etc/profile.d + mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/bin + touch /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/etc/profile.d/modules.csh /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/etc/profile.d/modules.sh + touch /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/bin/modulecmd + rm -f /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/modulecmd + mv /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man1/module.1 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man1/module-c.1 + mv /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man4/modulefile.4 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/man/man4/modulefile-c.4 + mv /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/envml /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/bin/ + mv compat/ChangeLog ChangeLog-compat + mv compat/NEWS NEWS-compat + mv doc/build/NEWS.txt NEWS.txt + mv doc/build/MIGRATING.txt MIGRATING.txt + mv doc/build/diff_v3_v4.txt diff_v3_v4.txt + mv doc/example.txt example.txt + rm -f /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/COPYING.GPLv2 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/ChangeLog-compat /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/INSTALL.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules/NEWS-compat + cp -p contrib/scripts/createmodule.sh /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin + cp -p contrib/scripts/createmodule.py /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin + sed -i -e 1s,/usr/bin/python,/usr/bin/python3, /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/Modules/bin/createmodule.py + install -Dpm 644 contrib/rpm/macros.environment-modules /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64//usr/lib/rpm/macros.d/macros.environment-modules + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig /sbin/ldconfig: Warning: ignoring configuration file that cannot be opened: /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/etc/ld.so.conf: No such file or directory + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/brp-python-bytecompile /usr/bin/python 1 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs mangling shebang in ./usr/bin/envml from #!/usr/bin/env bash to #!/usr/bin/bash mangling shebang in ./usr/share/Modules/bin/add.modules from #! /bin/sh to #!/bin/sh mangling shebang in ./usr/share/Modules/bin/mkroot from #! /bin/sh to #!/bin/sh Processing files: environment-modules-4.1.1-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.XnzEeX + umask 022 + cd /builddir/build/BUILD + cd modules-4.1.1 + DOCDIR=/builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + cp -pr ChangeLog /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + cp -pr README /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + cp -pr NEWS.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + cp -pr MIGRATING.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + cp -pr diff_v3_v4.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + cp -pr example.txt /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.5HTzcZ + umask 022 + cd /builddir/build/BUILD + cd modules-4.1.1 + LICENSEDIR=/builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/licenses/environment-modules + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/licenses/environment-modules + cp -pr COPYING.GPLv2 /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/licenses/environment-modules + exit 0 Provides: config(environment-modules) = 4.1.1-1.fc28 environment(modules) environment-modules = 4.1.1-1.fc28 environment-modules(riscv-64) = 4.1.1-1.fc28 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-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/bash /usr/bin/python3 /usr/bin/tclsh Processing files: environment-modules-compat-4.1.1-1.fc28.riscv64 Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.cNfkM2 + umask 022 + cd /builddir/build/BUILD + cd modules-4.1.1 + DOCDIR=/builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules-compat + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules-compat + cp -pr ChangeLog-compat /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules-compat + cp -pr NEWS-compat /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64/usr/share/doc/environment-modules-compat + exit 0 Provides: environment-modules-compat = 4.1.1-1.fc28 environment-modules-compat(riscv-64) = 4.1.1-1.fc28 Requires(interp): /bin/sh /bin/sh Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires(post): /bin/sh Requires(postun): /bin/sh Requires: ld-linux-riscv64-lp64d.so.1()(64bit) ld-linux-riscv64-lp64d.so.1(GLIBC_2.27)(64bit) libX11.so.6()(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.27)(64bit) libdl.so.2()(64bit) libm.so.6()(64bit) libtcl8.6.so()(64bit) rtld(GNU_HASH) Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 Wrote: /builddir/build/SRPMS/environment-modules-4.1.1-1.fc28.src.rpm Wrote: /builddir/build/RPMS/riscv64/environment-modules-4.1.1-1.fc28.riscv64.rpm Wrote: /builddir/build/RPMS/riscv64/environment-modules-compat-4.1.1-1.fc28.riscv64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.f8nbWc + umask 022 + cd /builddir/build/BUILD + cd modules-4.1.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/environment-modules-4.1.1-1.fc28.riscv64 + exit 0 + touch /buildok + cleanup + set +e + sync + sleep 5 + sync + poweroff Terminated ++ cleanup ++ set +e ++ sync Terminated +++ cleanup +++ set +e +++ sync +++ sleep 5 +++ sync +++ poweroff