Description of problem: I can see this error when lmod is called from /usr/lib/rpm/mpi.req: /usr/bin/lua: /usr/share/lmod/lmod/libexec/../tools/TermWidth.lua:69: bad argument #2 to 'tonumber' (number expected, got boolean) Version-Release number of selected component (if applicable): Lmod-6.3.1-1.fc25.x86_64 How reproducible: Always. Steps to Reproduce: 1. Try building any MPI-enabled package in mock -r fedora-rawhide-x86_64 Actual results: /usr/bin/lua: /usr/share/lmod/lmod/libexec/../tools/TermWidth.lua:69: bad argument #2 to 'tonumber' (number expected, got boolean) stack traceback: [C]: in function 'tonumber' /usr/share/lmod/lmod/libexec/../tools/TermWidth.lua:69: in upvalue 'askSystem' /usr/share/lmod/lmod/libexec/../tools/TermWidth.lua:92: in function 'TermWidth' /usr/share/lmod/lmod/libexec/../tools/Banner.lua:54: in upvalue 'new' /usr/share/lmod/lmod/libexec/../tools/Banner.lua:65: in function 'Banner.banner' /usr/share/lmod/lmod/libexec/lmod:555: in function 'main' /usr/share/lmod/lmod/libexec/lmod:711: in main chunk [C]: in ? /usr/share/lmod/lmod/init/sh: line 14: 80: command not found Expected results: No errors. Additional info: export COLUMNS=80 seems to work around the above.
Looks like this may have been a mistake in a cleanup commit upstream: https://github.com/TACC/Lmod/commit/1b8620fb2598aa178127f1a5aece11e13d3d5dde Hopefully will get confirmation shortly.
This should be fixed with Lmod-6.3.4-1.fc25. Reopen if it isn't.