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.
The attached patch is specific to disabled versioning during configure. Not sure how to fix this generally.
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.
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
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).
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.