[package - 131arm64-quarterly][sysutils/modules] Failed for modules-4.6.0 in build

From: <pkg-fallout_at_FreeBSD.org>
Date: Tue, 13 Sep 2022 16:50:51 UTC
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     ports@FreeBSD.org
Log URL:        http://ampere1.nyi.freebsd.org/data/131arm64-quarterly/1fcfcee18ffc/logs/modules-4.6.0.log
Build URL:      http://ampere1.nyi.freebsd.org/build.html?mastername=131arm64-quarterly&build=1fcfcee18ffc
Log:

=>> Building sysutils/modules
build started at Tue Sep 13 16:50:20 UTC 2022
port directory: /usr/ports/sysutils/modules
package name: modules-4.6.0
building for: FreeBSD 131arm64-quarterly-job-12 13.1-RELEASE-p2 FreeBSD 13.1-RELEASE-p2 arm64
maintained by: ports@FreeBSD.org
Makefile ident: 
Poudriere version: 3.2.8-21-g883afb07
Host OSVERSION: 1400063
Jail OSVERSION: 1301000
Job Id: 12

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1301000
UNAME_v=FreeBSD 13.1-RELEASE-p2
UNAME_r=13.1-RELEASE-p2
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.2.8-21-g883afb07
MASTERMNT=/usr/local/poudriere/data/.m/131arm64-quarterly/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=
PWD=/usr/local/poudriere/data/.m/131arm64-quarterly/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=131arm64-quarterly
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/usr/local/poudriere/data/.m/131arm64-quarterly/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=
DEPENDS_ARGS=
MAKE_ARGS=
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
ports@FreeBSD.org
--End MAINTAINER--

--CONFIGURE_ARGS--
--disable-compat-version  --enable-versioning  --with-python="/usr/local/bin/python3.9" --prefix=/usr/local/Modules ${_LATE_CONFIGURE_ARGS}
--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
MAKE=gmake PYTHON="/usr/local/bin/python3.9" XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/modules/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/modules/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/modules/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/modules/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/modules/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/modules/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig SHELL=/usr/local/bin/bash CONFIG_SHELL=/usr/local/bin/bash CONFIG_SITE=/usr/ports/Templates/config.site lt_cv_sys_max_cmd_len=524288
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/sysutils/modules/work  XDG_CONFIG_HOME=/wrkdirs/usr/ports/sysutils/modules/work  XDG_CACHE_HOME=/wrkdirs/usr/ports/sysutils/modules/work/.cache  HOME=/wrkdirs/usr/ports/sysutils/modules/work TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/sysutils/modules/work/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin PKG_CONFIG_LIBDIR=/wrkdirs/usr/ports/sysutils/modules/work/.pkgconfig:/usr/local/libdata/pkgconfig:/usr/libdata/pkgconfig NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local  LOCALBASE=/usr/local  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector-strong -fno-strict-aliasing "  CPP="cpp" CPPFLAGS=""  LDFLAGS=" -fstack-protector-strong " LIBS=""  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector-strong -fno-strict-aliasing  "  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA="install  -m 06
 44"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
MODULES_VERSION=4.6.0 PYTHON_INCLUDEDIR=include/python3.9  PYTHON_LIBDIR=lib/python3.9  PYTHON_PLATFORM=freebsd13  PYTHON_SITELIBDIR=lib/python3.9/site-packages  PYTHON_SUFFIX=39  PYTHON_EXT_SUFFIX=.cpython-39  PYTHON_VER=3.9  PYTHON_VERSION=python3.9 PYTHON2="@comment " PYTHON3="" OSREL=13.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local LIB32DIR=lib DOCSDIR="share/doc/modules"  EXAMPLESDIR="share/examples/modules"  DATADIR="share/modules"  WWWDIR="www/modules"  ETCDIR="etc/modules"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/modules DOCSDIR=/usr/local/share/doc/modules EXAMPLESDIR=/usr/local/share/examples/modules  WWWDIR=/usr/local/www/modules ETCDIR=/usr/local/etc/modules
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_ALTCCVERSION_921dbbb2=none
_CXXINTERNAL_acaad9ca=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin "/usr/bin/ld" "--eh-frame-hdr" "-dynamic-linker" "/libexec/ld-elf.so.1" "--enable-new-dtags" "-o" "a.out" "/usr/lib/crt1.o" "/usr/lib/crti.o" "/usr/lib/crtbegin.o" "-L/usr/lib" "/dev/null" "-lc++" "-lm" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "-lc" "-lgcc" "--as-needed" "-lgcc_s" "--no-as-needed" "/usr/lib/crtend.o" "/usr/lib/crtn.o"
CC_OUTPUT_921dbbb2_58173849=yes
CC_OUTPUT_921dbbb2_9bdba57c=yes
CC_OUTPUT_921dbbb2_6a4fe7f5=yes
CC_OUTPUT_921dbbb2_6bcac02b=yes
CC_OUTPUT_921dbbb2_67d20829=yes
CC_OUTPUT_921dbbb2_bfa62e83=yes
CC_OUTPUT_921dbbb2_f0b4d593=yes
CC_OUTPUT_921dbbb2_308abb44=yes
CC_OUTPUT_921dbbb2_f00456e5=yes
CC_OUTPUT_921dbbb2_65ad290d=yes
CC_OUTPUT_921dbbb2_f2776b26=yes
CC_OUTPUT_921dbbb2_b2657cc3=yes
CC_OUTPUT_921dbbb2_380987f7=yes
CC_OUTPUT_921dbbb2_160933ec=yes
CC_OUTPUT_921dbbb2_fb62803b=yes
_OBJC_CCVERSION_921dbbb2=FreeBSD clang version 13.0.0 (git@github.com:llvm/llvm-project.git llvmorg-13.0.0-0-gd7b669b3a303) Target: aarch64-unknown-freebsd13.1 Thread model: posix InstalledDir: /usr/bin
_OBJC_ALTCCVERSION_921dbbb2=none
ARCH=aarch64
OPSYS=FreeBSD
_OSRELEASE=13.1-RELEASE-p2
OSREL=13.1
OSVERSION=1301000
PYTHONBASE=/usr/local
CONFIGURE_MAX_CMD_LEN=524288
HAVE_PORTS_ENV=1
#### Misc Poudriere ####
GID=0
UID=0
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  1048576
stack size              (kbytes, -s)  1048576
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>   NOTICE:

The modules port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   modules-4.6.0 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.18.3.pkg
[131arm64-quarterly-job-12] Installing pkg-1.18.3...
[131arm64-quarterly-job-12] Extracting pkg-1.18.3: .......... done
===>   modules-4.6.0 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of modules-4.6.0
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>   NOTICE:

The modules port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by modules-4.6.0 for building
===========================================================================
=======================<phase: checksum       >============================
===>   NOTICE:

The modules port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://docs.freebsd.org/en/articles/contributing/#ports-contributing

===>  License GPLv2 accepted by the user
===> Fetching all distfiles required by modules-4.6.0 for building
<snip>
appendbinpath = n
setdotmodulespath = n
docinstall = y
vimaddons = y
examplemodulefiles = y
builddoc = y
gitworktree = y
usemanpath = y
compatversion = n
EXEEXT = 
libtclenvmodules = y
SHLIB_SUFFIX = .so
multilibsupport = n
libdir64 = undefined
libdir32 = undefined
versioning = y
silentshdbgsupport = y
setshellstartup = y
quarantinesupport = y
autohandling = n
availindepth = y
implicitdefault = y
extendeddefault = n
moduleshome = /usr/local/Modules/4.6.0
initconfin = initdir
pager = /usr/bin/less
pageropts = -eFKRX
verbosity = normal
color = n
darkbgcolors = hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:sy=95:de=4:cm=92
lightbgcolors = hi=1:db=2:tr=2:se=2:er=31:wa=33:me=35:in=34:mp=1;34:di=34:al=36:sy=35:de=4:cm=32
termbg = dark
lockedconfigs = 
icase = never
unloadmatchorder = returnlast
searchmatch = starts_with
modulepath = /usr/local/Modules/$MODULE_VERSION/modulefiles
loadedmodules = 
quarantinevars = 
wa277 = n
advversspec = n
ml = y
windowssupport = n
nearlyforbiddendays = 14
--- configuring extension library sources --------
libarglist = aarch64-portbld-freebsd13.1 
~/modules-4.6.0/lib ~/modules-4.6.0
configure: WARNING: you should use --build, --host, --target
configure: loading site script /usr/ports/Templates/config.site
checking TEA configuration... ok (TEA 3.13)
configure: configuring Envmodules 1.1.0
checking system version... FreeBSD-13.1-RELEASE-p2
checking for Tcl configuration... found /usr/local/lib/tcl8.6/tclConfig.sh
checking for aarch64-portbld-freebsd13.1-gcc... cc
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 cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for existence of /usr/local/lib/tcl8.6/tclConfig.sh... loading
checking platform... unix
checking how to run the C preprocessor... cpp
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for fcntl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for errno.h... (cached) yes
checking for limits.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for pwd.h... (cached) yes
checking grp.h usability... yes
checking grp.h presence... yes
checking for grp.h... yes
checking for stdlib.h... (cached) yes
checking for dirent.h... (cached) yes
checking for ssize_t... (cached) yes
checking for uid_t in sys/types.h... (cached) yes
checking type of array argument to getgroups... gid_t
checking for size_t... (cached) yes
checking for getgroups... yes
checking for working getgroups... yes
checking for sysconf... (cached) yes
checking for aarch64-portbld-freebsd13.1-gcc... (cached) cc
checking whether we are using the GNU C compiler... (cached) yes
checking whether cc accepts -g... (cached) yes
checking for cc option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... cpp
checking whether gmake sets $(MAKE)... yes
checking for aarch64-portbld-freebsd13.1-ranlib... no
checking for ranlib... ranlib
checking if the compiler understands -pipe... yes
checking whether byte ordering is bigendian... no
checking for Tcl public headers... /usr/local/include/tcl8.6
checking for aarch64-portbld-freebsd13.1-ranlib... ranlib
checking if 64bit support is requested... no
checking if 64bit Sparc VIS support is requested... no
checking if compiler supports visibility "hidden"... yes
checking if rpath support is requested... yes
checking system version... (cached) FreeBSD-13.1-RELEASE-p2
checking for aarch64-portbld-freebsd13.1-ar... no
checking for ar... ar
checking for cast to union support... yes
checking for required early compiler flags... none
checking for 64-bit integer type... using long
checking for build with symbols... no
checking how to build libraries... shared
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
~/modules-4.6.0
--------------------------------------------------
creating ./Makefile.inc
creating ./site.exp
===========================================================================
=======================<phase: build          >============================
===>  Building for modules-4.6.0
gmake[1]: Entering directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0'
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libdir@|/usr/local/Modules/4.6.0/lib|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@moduleshome@|/usr/local/Modules/4.6.0|g' -e 's|@VERSION@|4.6.0|g' -e 's|@TCLSHDIR@/tclsh|/usr/local/bin/tclsh8.6|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' -e 's|@PYTHON@|/usr/local/bin/python3.9|g' -e 's|@pagercmd@|/usr/bin/less -eFKRX|g' -e 's|@verbosity@|normal|g' -e 's|@color@|never|g' -e 's|@darkbgcolors@|hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:sy=95:de=4:cm=92|g' -e 's|@lightbgcolors@|hi=1:db=2:tr=2:se=2:er=31:wa=33:me=35:in=34:mp=1;34:di=34:al=36:sy=35:de=4:cm=32|g' -e 's|@termbg@|dark|g' -e 's|@lockedconfigs@||g' -e 's|@unloadmatchorder@|returnlast|g' -e 's|@implicitdefault@|1|g' -e 's|@extendeddefault
 @|0|g' -e 's|@advversspec@|0|g' -e 's|@searchmatch@|starts_with|g' -e 's|@wa277@|0|g' -e 's|@icase@|never|g' -e 's|@nearlyforbiddendays@|14|g' -e 's|@autohandling@|0|g' -e 's|@availindepth@|1|g' -e 's|@silentshdbgsupport@||g' -e 's|@ml@|1|g' -e 's|@setshellstartup@|1|g' -e 's|@quarantinesupport@||g' -e 's|@notquarantinesupport@|#|g' -e 's|@libtclenvmodules@||g' -e 's|@SHLIB_SUFFIX@|.so|g' -e 's|@multilibsupport@|#|g' -e 's|@notmultilibsupport@||g' -e 's|@VERSIONING@||g' -e 's|@NOTVERSIONING@|#|g' -e 's|@MODULES_RELEASE@|4.6.0|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@|1|g' -e 's|@MODULES_BUILD_DATE@|2020-09-16|g' version.inc.in > version.inc
gmake -C init all
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libdir@|/usr/local/Modules/4.6.0/lib|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@moduleshome@|/usr/local/Modules/4.6.0|g' -e 's|@VERSION@|4.6.0|g' -e 's|@TCLSHDIR@/tclsh|/usr/local/bin/tclsh8.6|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' -e 's|@PYTHON@|/usr/local/bin/python3.9|g' -e 's|@pagercmd@|/usr/bin/less -eFKRX|g' -e 's|@verbosity@|normal|g' -e 's|@color@|never|g' -e 's|@darkbgcolors@|hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:sy=95:de=4:cm=92|g' -e 's|@lightbgcolors@|hi=1:db=2:tr=2:se=2:er=31:wa=33:me=35:in=34:mp=1;34:di=34:al=36:sy=35:de=4:cm=32|g' -e 's|@termbg@|dark|g' -e 's|@lockedconfigs@||g' -e 's|@unloadmatchorder@|returnlast|g' -e 's|@implicitdefault@|1|g' -e 's|@extendeddefault
 @|0|g' -e 's|@advversspec@|0|g' -e 's|@searchmatch@|starts_with|g' -e 's|@wa277@|0|g' -e 's|@icase@|never|g' -e 's|@nearlyforbiddendays@|14|g' -e 's|@autohandling@|0|g' -e 's|@availindepth@|1|g' -e 's|@silentshdbgsupport@||g' -e 's|@ml@|1|g' -e 's|@setshellstartup@|1|g' -e 's|@quarantinesupport@||g' -e 's|@notquarantinesupport@|#|g' -e 's|@libtclenvmodules@||g' -e 's|@SHLIB_SUFFIX@|.so|g' -e 's|@multilibsupport@|#|g' -e 's|@notmultilibsupport@||g' -e 's|@VERSIONING@||g' -e 's|@NOTVERSIONING@|#|g' -e 's|@MODULES_RELEASE@|4.6.0|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@|1|g' -e 's|@MODULES_BUILD_DATE@|2020-09-16|g' modulecmd.tcl.in > modulecmd.tcl
gmake[2]: Entering directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/init'
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|sh|g' -e 's|@VERSIONING@||g' -e 's|@VERSION@|
 4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' sh.in > sh
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|ksh|g' -e 's|@VERSIONING@||g' -e 's|@VERSION@
 |4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' ksh.in > ksh
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|bash|g' -e 's|@VERSIONING@||g' -e 's|@VERSION
 @|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' bash.in > bash
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|zsh|g' -e 's|@VERSIONING@||g' -e 's|@VERSION@
 |4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' zsh.in > zsh
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|profile.sh|g' -e 's|@VERSIONING@||g' -e 's|@V
 ERSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' profile.sh.in > profile.sh
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|bash_completion|g' -e 's|@VERSIONING@||g' -e 
 's|@VERSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' bash_completion.in > bash_completion
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|csh|g' -e 's|@VERSIONING@||g' -e 's|@VERSION@
 |4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' csh.in > csh
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|tcsh|g' -e 's|@VERSIONING@||g' -e 's|@VERSION
 @|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' csh.in > tcsh
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|tcsh_completion|g' -e 's|@VERSIONING@||g' -e 
 's|@VERSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' tcsh_completion.in > tcsh_completion
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|profile.csh|g' -e 's|@VERSIONING@||g' -e 's|@
 VERSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' profile.csh.in > profile.csh
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|perl.pm|g' -e 's|@VERSIONING@||g' -e 's|@VERS
 ION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' perl.pm.in > perl.pm
chmod +x modulecmd.tcl
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|python.py|g' -e 's|@VERSIONING@||g' -e 's|@VE
 RSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' python.py.in > python.py
sed -e '1,9d' README.md > README
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libdir@|/usr/local/Modules/4.6.0/lib|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@moduleshome@|/usr/local/Modules/4.6.0|g' -e 's|@VERSION@|4.6.0|g' -e 's|@TCLSHDIR@/tclsh|/usr/local/bin/tclsh8.6|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' -e 's|@PYTHON@|/usr/local/bin/python3.9|g' -e 's|@pagercmd@|/usr/bin/less -eFKRX|g' -e 's|@verbosity@|normal|g' -e 's|@color@|never|g' -e 's|@darkbgcolors@|hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:sy=95:de=4:cm=92|g' -e 's|@lightbgcolors@|hi=1:db=2:tr=2:se=2:er=31:wa=33:me=35:in=34:mp=1;34:di=34:al=36:sy=35:de=4:cm=32|g' -e 's|@termbg@|dark|g' -e 's|@lockedconfigs@||g' -e 's|@unloadmatchorder@|returnlast|g' -e 's|@implicitdefault@|1|g' -e 's|@extendeddefault
 @|0|g' -e 's|@advversspec@|0|g' -e 's|@searchmatch@|starts_with|g' -e 's|@wa277@|0|g' -e 's|@icase@|never|g' -e 's|@nearlyforbiddendays@|14|g' -e 's|@autohandling@|0|g' -e 's|@availindepth@|1|g' -e 's|@silentshdbgsupport@||g' -e 's|@ml@|1|g' -e 's|@setshellstartup@|1|g' -e 's|@quarantinesupport@||g' -e 's|@notquarantinesupport@|#|g' -e 's|@libtclenvmodules@||g' -e 's|@SHLIB_SUFFIX@|.so|g' -e 's|@multilibsupport@|#|g' -e 's|@notmultilibsupport@||g' -e 's|@VERSIONING@||g' -e 's|@NOTVERSIONING@|#|g' -e 's|@MODULES_RELEASE@|4.6.0|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@|1|g' -e 's|@MODULES_BUILD_DATE@|2020-09-16|g' script/add.modules.in > script/add.modules
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|ruby.rb|g' -e 's|@VERSIONING@||g' -e 's|@VERS
 ION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' ruby.rb.in > ruby.rb
chmod +x script/add.modules
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|lisp|g' -e 's|@VERSIONING@||g' -e 's|@VERSION
 @|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' lisp.in > lisp
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libdir@|/usr/local/Modules/4.6.0/lib|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@moduleshome@|/usr/local/Modules/4.6.0|g' -e 's|@VERSION@|4.6.0|g' -e 's|@TCLSHDIR@/tclsh|/usr/local/bin/tclsh8.6|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' -e 's|@PYTHON@|/usr/local/bin/python3.9|g' -e 's|@pagercmd@|/usr/bin/less -eFKRX|g' -e 's|@verbosity@|normal|g' -e 's|@color@|never|g' -e 's|@darkbgcolors@|hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:sy=95:de=4:cm=92|g' -e 's|@lightbgcolors@|hi=1:db=2:tr=2:se=2:er=31:wa=33:me=35:in=34:mp=1;34:di=34:al=36:sy=35:de=4:cm=32|g' -e 's|@termbg@|dark|g' -e 's|@lockedconfigs@||g' -e 's|@unloadmatchorder@|returnlast|g' -e 's|@implicitdefault@|1|g' -e 's|@extendeddefault
 @|0|g' -e 's|@advversspec@|0|g' -e 's|@searchmatch@|starts_with|g' -e 's|@wa277@|0|g' -e 's|@icase@|never|g' -e 's|@nearlyforbiddendays@|14|g' -e 's|@autohandling@|0|g' -e 's|@availindepth@|1|g' -e 's|@silentshdbgsupport@||g' -e 's|@ml@|1|g' -e 's|@setshellstartup@|1|g' -e 's|@quarantinesupport@||g' -e 's|@notquarantinesupport@|#|g' -e 's|@libtclenvmodules@||g' -e 's|@SHLIB_SUFFIX@|.so|g' -e 's|@multilibsupport@|#|g' -e 's|@notmultilibsupport@||g' -e 's|@VERSIONING@||g' -e 's|@NOTVERSIONING@|#|g' -e 's|@MODULES_RELEASE@|4.6.0|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@|1|g' -e 's|@MODULES_BUILD_DATE@|2020-09-16|g' script/createmodule.py.in > script/createmodule.py
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|tcl|g' -e 's|@VERSIONING@||g' -e 's|@VERSION@
 |4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' tcl.in > tcl
chmod +x script/createmodule.py
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libdir@|/usr/local/Modules/4.6.0/lib|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@moduleshome@|/usr/local/Modules/4.6.0|g' -e 's|@VERSION@|4.6.0|g' -e 's|@TCLSHDIR@/tclsh|/usr/local/bin/tclsh8.6|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' -e 's|@PYTHON@|/usr/local/bin/python3.9|g' -e 's|@pagercmd@|/usr/bin/less -eFKRX|g' -e 's|@verbosity@|normal|g' -e 's|@color@|never|g' -e 's|@darkbgcolors@|hi=1:db=2:tr=2:se=2:er=91:wa=93:me=95:in=94:mp=1;94:di=94:al=96:sy=95:de=4:cm=92|g' -e 's|@lightbgcolors@|hi=1:db=2:tr=2:se=2:er=31:wa=33:me=35:in=34:mp=1;34:di=34:al=36:sy=35:de=4:cm=32|g' -e 's|@termbg@|dark|g' -e 's|@lockedconfigs@||g' -e 's|@unloadmatchorder@|returnlast|g' -e 's|@implicitdefault@|1|g' -e 's|@extendeddefault
 @|0|g' -e 's|@advversspec@|0|g' -e 's|@searchmatch@|starts_with|g' -e 's|@wa277@|0|g' -e 's|@icase@|never|g' -e 's|@nearlyforbiddendays@|14|g' -e 's|@autohandling@|0|g' -e 's|@availindepth@|1|g' -e 's|@silentshdbgsupport@||g' -e 's|@ml@|1|g' -e 's|@setshellstartup@|1|g' -e 's|@quarantinesupport@||g' -e 's|@notquarantinesupport@|#|g' -e 's|@libtclenvmodules@||g' -e 's|@SHLIB_SUFFIX@|.so|g' -e 's|@multilibsupport@|#|g' -e 's|@notmultilibsupport@||g' -e 's|@VERSIONING@||g' -e 's|@NOTVERSIONING@|#|g' -e 's|@MODULES_RELEASE@|4.6.0|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_RPM_RELEASE@|1|g' -e 's|@MODULES_BUILD_DATE@|2020-09-16|g' script/modulecmd.in > script/modulecmd
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|fish|g' -e 's|@VERSIONING@||g' -e 's|@VERSION
 @|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' fish.in > fish
chmod +x script/modulecmd
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|cmake|g' -e 's|@VERSIONING@||g' -e 's|@VERSIO
 N@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' cmake.in > cmake
gmake -C lib libtclenvmodules.so
gmake[2]: Entering directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/lib'
cc -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe  -O2 -DNDEBUG -fPIC -Wall  -I/usr/local/include/tcl8.6  -shared -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  -pipe  -O2 -DNDEBUG -fPIC -Wall  -I/usr/local/include/tcl8.6  envmodules.c -o libtclenvmodules.so -L/usr/local/lib -ltclstub86
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|r.R|g' -e 's|@VERSIONING@||g' -e 's|@VERSION@
 |4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' r.R.in > r.R
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|modulerc|g' -e 's|@VERSIONING@||g' -e 's|@VER
 SION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' modulerc.in > modulerc
mv modulerc modulerc.tmp
sed -e 's|\\$||' modulerc.tmp > modulerc
rm -f modulerc.tmp
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|zsh-functions/_module|g' -e 's|@VERSIONING@||
 g' -e 's|@VERSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' zsh-functions/_module.in > zsh-functions/_module
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|../contrib/modulefiles/modules|g' -e 's|@VERS
 IONING@||g' -e 's|@VERSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' ../contrib/modulefiles/modules.in > ../contrib/modulefiles/modules
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@baseprefix@|/usr/local/Modules|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@bindir@|/usr/local/Modules/4.6.0/bin|g' -e 's|@mandir@|/usr/local/man|g' -e 's|@setmanpath@||g' -e '/@appendmanpath@/d' -e 's|@prependmanpath@||g' -e 's|@setbinpath@||g' -e '/@appendbinpath@/d' -e 's|@prependbinpath@||g' -e '/@compatversion@/d' -e 's|@notcompatversion@||g' -e 's|@silentshdbgsupport@||g' -e 's|@quarantinesupport@||g' -e '/@notquarantinesupport@/d' -e 's|@usemanpath@||g' -e '/@notusemanpath@/d' -e $'s|@modulerc@|\\\nmodule use --append {/usr/local/Modules/$MODULE_VERSION/modulefiles}|g' -e 's|@modulepath@|/usr/local/Modules/$MODULE_VERSION/modulefiles|g' -e '/@setquarvars@/d'  -e 's|@notsetquarvars@||g' -e 's|@SHELLNAME@|../contrib/modulefiles/version|g' -e 's|@VERS
 IONING@||g' -e 's|@VERSION@|4.6.0|g' -e 's|@SED_ERE@|sed -E|g' -e 's|@PS@|/bin/ps|g' -e 's|@BASENAME@|/usr/bin/basename|g' -e 's|@TCLSH@|/usr/local/bin/tclsh8.6|g' ../contrib/modulefiles/version.in > ../contrib/modulefiles/version
gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/init'
gmake -C doc man txt
gmake[2]: Entering directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/doc'
sed -e 's|@prefix@|/usr/local/Modules/4.6.0|g' -e 's|@libexecdir@|/usr/local/Modules/4.6.0/libexec|g' -e 's|@etcdir@|/usr/local/Modules/4.6.0/etc|g' -e 's|@initdir@|/usr/local/Modules/4.6.0/init|g' -e 's|@modulefilesdir@|/usr/local/Modules/4.6.0/modulefiles|g' -e 's|@MODULES_RELEASE@|4.6.0|g' -e 's|@MODULES_BUILD@||g' -e 's|@MODULES_BUILD_DATE@|2020-09-16|g' source/version.py.in > source/version.py
/usr/local/bin/sphinx-build -q -t pathsubs -b man "source" "build"
gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/lib'
/usr/local/bin/sphinx-build -q -t pathsubs -b man "source" "build"
/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/doc/source/modulefile.rst:945: WARNING: duplicate envvar description of MODULEPATH, other instance in module

Exception occurred:
  File "/usr/local/lib/python3.9/site-packages/sphinx/environment/__init__.py", line 512, in get_doctree
    doctree = pickle.load(f)
_pickle.UnpicklingError: pickle data was truncated
The full traceback has been saved in /tmp/sphinx-err-h90rcvrh.log, if you want to report the issue to the developers.
Please also report this if it was a user error, so that a better error message can be provided next time.
A bug report can be filed in the tracker at <https://github.com/sphinx-doc/sphinx/issues>. Thanks!
gmake[2]: *** [Makefile:74: build/ml.1] Error 2
gmake[2]: *** Waiting for unfinished jobs....
/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/doc/source/modulefile.rst:945: WARNING: duplicate envvar description of MODULEPATH, other instance in module
mv build/module.1 build/module.1.in
gmake[2]: Leaving directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0/doc'
gmake[1]: *** [Makefile:92: pkgdoc] Error 2
gmake[1]: Leaving directory '/wrkdirs/usr/ports/sysutils/modules/work/modules-4.6.0'
===> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/sysutils/modules