Bug 542720

Summary: Missing Requires: procps
Product: [Fedora] Fedora Reporter: Susi Lehtola <susi.lehtola>
Component: environment-modulesAssignee: Orion Poplawski <orion>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: orion
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 3.2.7b-6.fc11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-08 08:02:06 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Susi Lehtola 2009-11-30 16:30:31 UTC
The compilation of GROMACS fails with

+ . /etc/profile.d/modules.sh
++++ /bin/ps -p 14065 -ocomm=
/etc/profile.d/modules.sh: line 1: /bin/ps: No such file or directory
+++ /bin/basename
/bin/basename: missing operand
Try `/bin/basename --help' for more information.
++ shell=
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.mqqHf2 (%build)
    Bad exit status from /var/tmp/rpm-tmp.mqqHf2 (%build)


when the openmpi module is loaded with %{_openmpi_load}. As /etc/profile.d/modules.sh is shipped by environment-modules and it obviously needs ps to work, please add

Requires: procps

in environment-modules.

Comment 1 Orion Poplawski 2009-11-30 16:50:44 UTC
Oops, fixed in 3.2.7b-6.fc13.

Comment 2 Susi Lehtola 2009-12-06 23:04:16 UTC
Reopening.

Please push the update also on F-12 and any other distros affected by this ASAP. It's a bit awkward not being able to build any environment-module dependent packages.

Comment 3 Fedora Update System 2009-12-07 15:51:41 UTC
environment-modules-3.2.7b-6.fc12 has been submitted as an update for Fedora 12.
http://admin.fedoraproject.org/updates/environment-modules-3.2.7b-6.fc12

Comment 4 Fedora Update System 2009-12-07 15:51:46 UTC
environment-modules-3.2.7b-6.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/environment-modules-3.2.7b-6.fc11

Comment 5 Fedora Update System 2009-12-08 08:02:01 UTC
environment-modules-3.2.7b-6.fc12 has been pushed to the Fedora 12 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 6 Fedora Update System 2009-12-08 08:04:32 UTC
environment-modules-3.2.7b-6.fc11 has been pushed to the Fedora 11 stable repository.  If problems still persist, please make note of it in this bug report.