Description of problem: Loading modules during a rpm build process fails with the error below; ... + . /etc/profile.d/modules.sh ++ export -f module ++ MODULESHOME=/usr/share/Modules ++ export MODULESHOME ++ '[' '' = '' ']' ++ LOADEDMODULES= ++ export LOADEDMODULES ++ '[' /usr/share/Modules/modulefiles:/etc/modulefiles = '' ']' ++ '[' 4 -ge 3 ']' ++ '[' -r /usr/share/Modules/init/bash_completion ']' ++ . /usr/share/Modules/init/bash_completion /usr/share/Modules/init/bash_completion: line 14: syntax error near unexpected token `(' ... This happens with all environment-modules builds >= ver 3.7.1, downgrading to environment-modules-3.2.6-8.fc12.x86_64 works. Version-Release number of selected component (if applicable):environment-modules-3.2.7b-2.fc12.x86_64 How reproducible: always Steps to Reproduce: 1. try to rebuild the blacs srpm for instance. 2. 3. Actual results: Expected results: Additional info:
Although environment-modules-3.2.7b-4.fc12 fixed this particular issue, it caused another (Bug 530770). I'll leave this open until the other issue is resolved.
environment-modules-3.2.7b-5.fc11 has been pushed to the Fedora 11 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update environment-modules'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F11/FEDORA-2009-10725
environment-modules-3.2.7b-5.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.