Bug 2178498

Summary: Lmod 8.7.19 man page contains error text only. 8.7.7 does not have this issue.
Product: [Fedora] Fedora Reporter: wayd.howell
Component: LmodAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: jeff.backus, orion
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Lmod-8.7.20-1.fc38 Lmod-8.7.20-1.fc37 Lmod-8.7.20-1.el9 Lmod-8.7.20-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-03-26 00:19:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description wayd.howell 2023-03-15 05:42:11 UTC
Description of problem:
The man page contains the text of an error.

/usr/bin/lua: ./src/utils.lua:896: module 'tcl2lua' not found:
	no field package.preload['tcl2lua']
	no file './src/tcl2lua.lua'
	no file './src/../tools/tcl2lua.lua'
	no file './src/../tools/tcl2lua/init.lua'
	no file './src/../shells/tcl2lua.lua'
	no file './src/tcl2lua/init.lua'
	no file '/usr/share/lua/5.3/tcl2lua.lua'
	no file '/usr/share/lua/5.3/tcl2lua/init.lua'
	no file '/usr/lib64/lua/5.3/tcl2lua.lua'
	no file '/usr/lib64/lua/5.3/tcl2lua/init.lua'
	no file './tcl2lua.lua'
	no file './tcl2lua/init.lua'
	no file './src/../lib/tcl2lua.so'
	no file '/usr/lib64/lua/5.3/tcl2lua.so'
	no file '/usr/lib64/lua/5.3/loadall.so'
	no file './tcl2lua.so'
stack traceback:
	[C]: in function 'require'
	./src/utils.lua:896: in upvalue 'l_build_runTCLprog'
	./src/utils.lua:1056: in function 'initialize_lmod'
	./src/lmod.in.lua:361: in function 'main'
	./src/lmod.in.lua:584: in main chunk
	[C]: in ?



Version-Release number of selected component (if applicable):
Lmod 8.7.19 - package has the error text instead of the man page. Confirmed RHEL 8,9 and Fedora 38 x86-64 packages have the issue - more may do, only checked these.

Previous release 8.7.7 does not have this issue.

How reproducible:
Always occurs.


Steps to Reproduce:
1. Check contents of file /usr/share/lmod/8.7.19/share/man/cat1/module.1
2. See it contains the output of a tcl2lua error

Actual results:
Man page contains text of an error.

Expected results:
Man page contains man page text.

Additional info:

Comment 1 Orion Poplawski 2023-03-17 00:12:12 UTC
Thanks for the report - this is now fixed upstream.

Comment 2 wayd.howell 2023-03-17 00:40:48 UTC
Thank you!

Comment 3 Fedora Update System 2023-03-17 01:00:29 UTC
FEDORA-EPEL-2023-69506c239d has been submitted as an update to Fedora EPEL 8. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-69506c239d

Comment 4 Fedora Update System 2023-03-17 01:00:31 UTC
FEDORA-2023-d31cc84e06 has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-d31cc84e06

Comment 5 Fedora Update System 2023-03-17 01:00:35 UTC
FEDORA-EPEL-2023-d8185ce99f has been submitted as an update to Fedora EPEL 9. https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-d8185ce99f

Comment 6 Fedora Update System 2023-03-17 01:00:35 UTC
FEDORA-2023-11eb7df5e9 has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-11eb7df5e9

Comment 7 Fedora Update System 2023-03-18 05:13:57 UTC
FEDORA-2023-d31cc84e06 has been pushed to the Fedora 38 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-d31cc84e06

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2023-03-18 05:31:04 UTC
FEDORA-EPEL-2023-d8185ce99f has been pushed to the Fedora EPEL 9 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-d8185ce99f

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 9 Fedora Update System 2023-03-18 05:42:03 UTC
FEDORA-EPEL-2023-69506c239d has been pushed to the Fedora EPEL 8 testing repository.

You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2023-69506c239d

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 10 Fedora Update System 2023-03-18 06:08:23 UTC
FEDORA-2023-11eb7df5e9 has been pushed to the Fedora 37 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-11eb7df5e9`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-11eb7df5e9

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 11 Fedora Update System 2023-03-26 00:19:41 UTC
FEDORA-2023-d31cc84e06 has been pushed to the Fedora 38 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 12 Fedora Update System 2023-03-26 01:21:00 UTC
FEDORA-2023-11eb7df5e9 has been pushed to the Fedora 37 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 13 Fedora Update System 2023-03-26 02:21:20 UTC
FEDORA-EPEL-2023-d8185ce99f has been pushed to the Fedora EPEL 9 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 14 Fedora Update System 2023-03-26 02:27:17 UTC
FEDORA-EPEL-2023-69506c239d has been pushed to the Fedora EPEL 8 stable repository.
If problem still persists, please make note of it in this bug report.