Bug 895555 - 'module load modules' command doesn't work
Summary: 'module load modules' command doesn't work
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: environment-modules
Version: 18
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Orion Poplawski
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-01-15 14:09 UTC by Jan Synacek
Modified: 2013-01-26 16:05 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-01-26 16:05:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
[Patch] fedora specific patch (307 bytes, patch)
2013-01-15 14:09 UTC, Jan Synacek
no flags Details | Diff


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 848865 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 848865

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.


Note You need to log in before you can comment on or make changes to this bug.