Bug 895555

Summary: 'module load modules' command doesn't work
Product: [Fedora] Fedora Reporter: Jan Synacek <jsynacek>
Component: environment-modulesAssignee: Orion Poplawski <orion>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: jsynacek, orion
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-26 16:05:06 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:
Attachments:
Description Flags
[Patch] fedora specific patch none

Description Jan Synacek 2013-01-15 14:09:30 UTC
Created attachment 678784 [details]
[Patch] fedora specific patch

Description of problem:
$ module load modules
ModuleCmd_Use.c(187):ERROR:11: Usage is 'use [-a|--append] dir [dir ...]'
modules(29):ERROR:102: Tcl command execution failed: module		use


Version-Release number of selected component (if applicable):
environment-modules-3.2.10-1.fc18.x86_64


How reproducible:
Always.


Steps to Reproduce:
1. run 'module load modules'
2.
3.
  
Actual results:
'module load modules' doesn't work.


Expected results:
'module load modules' loads the file correctly.


Additional info:
This bug is due to disabled versioning during compilation. The 'modules' modulefile uses @VERSIONPATH@ variable that is empty when versioning is disabled.

Comment 1 Jan Synacek 2013-01-15 14:12:50 UTC
The attached patch is specific to disabled versioning during configure. Not sure how to fix this generally.

Comment 2 Orion Poplawski 2013-01-15 18:53:36 UTC
Thanks.  I believe the proper fix is just to comment this out by prefixing the line with @VERSIONING@ in modules.in.  Set that patch to the modules list.  New build shortly.

Comment 3 Fedora Update System 2013-01-15 19:22:57 UTC
environment-modules-3.2.10-2.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/environment-modules-3.2.10-2.fc18

Comment 4 Fedora Update System 2013-01-18 20:47:06 UTC
Package environment-modules-3.2.10-2.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing environment-modules-3.2.10-2.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-0964/environment-modules-3.2.10-2.fc18
then log in and leave karma (feedback).

Comment 5 Fedora Update System 2013-01-26 16:05:07 UTC
environment-modules-3.2.10-2.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.