Package Details: env-modules 5.0.1-1

Git Clone URL: https://aur.archlinux.org/env-modules.git (read-only, click to copy)
Package Base: env-modules
Description: Provides for an easy dynamic modification of a user's environment via modulefile.
Upstream URL: https://sourceforge.net/projects/modules/
Licenses: GPL2
Conflicts: env-modules
Replaces: env-modules
Submitter: snafu
Maintainer: snafu
Last Packager: snafu
Votes: 6
Popularity: 0.23
First Submitted: 2017-01-27 12:29 (UTC)
Last Updated: 2022-02-03 08:53 (UTC)

Latest Comments

physkets commented on 2021-03-17 05:27 (UTC)

The documentation is currently installed in /usr/share/doc/. There should probably be a new directory for this.

physkets commented on 2021-02-27 15:28 (UTC)

Is the /usr/bin/module executable missing after the latest update?

bartus commented on 2020-09-09 09:56 (UTC)

@snafu: then python should be listed as optdepend, don't you think?

snafu commented on 2020-09-08 15:01 (UTC) (edited on 2020-09-08 15:02 (UTC) by snafu)

added procps (to fix your build error) even so this package is required by base.

coreutils and sh are somehow fundamental in order to run linux and might be replaceable by busybox (as well as ps actually).

Last but not least I don't see the point of forcing the user to install python in order to use the optional modulecreate.py. Maybe he don't need the script on his minimal installation or maybe python is just a module load python away…

snafu commented on 2020-09-08 14:27 (UTC)

From Install: When installing from a distribution tarball, documentation is pre-built and scripts to configure Modules Tcl extension library and compatibility version builds are already generated. Thus no additional software is required.

--> So no python-sphinx, right?

bartus commented on 2020-09-08 13:41 (UTC) (edited on 2020-09-08 14:04 (UTC) by bartus)

Beside procps also coreutils (used in profile.sh to get the current shell name) python (used in modulecreate.py script that create module file template) and sh should got in depends

Moreover python-sphinx should go to makedepends to build docs.

patch

#merge with
git am -s < <(curl -s http://ix.io/2wPI)

bartus commented on 2020-02-19 22:15 (UTC)

Just procps will do.

snafu commented on 2020-02-19 18:41 (UTC) (edited on 2020-02-19 18:42 (UTC) by snafu)

is just missing procps-ng ?

bartus commented on 2020-02-19 18:19 (UTC) (edited on 2020-02-19 18:20 (UTC) by bartus)

Dependencies looks to skim: extra-x86_64-build

==> Starting build()...
checking for uname... /usr/bin/uname
checking for make... /usr/bin/make
checking for sed... /usr/bin/sed
checking for runtest... /usr/bin/runtest
checking for manpath... not found
WARNING: Will rely on MANPATH to get enabled man directories
checking for tclsh... /usr/bin/tclsh
checking for ps... not found
ERROR: ps could not be found
==> ERROR: A failure occurred in build().

hfath commented on 2020-01-08 09:51 (UTC)

According to <https://en.wikipedia.org/wiki/Environment_Modules_(software)#tcsh,_csh_automatic_modules_initialization>, there should be (c)sh include files in /etc/profile.d.

snafu commented on 2019-11-28 09:54 (UTC)

fix by makepkg --printsrcinfo

shahab commented on 2019-11-28 08:00 (UTC)

Although "pkgrel" changed to "2" in the latest commit:

https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=env-modules&id=c6473a7cc2df

The full package name still says "4.4.0-1". This causes warnings when I try to update the packages:

warning: env-modules: local (4.4.0-2) is newer than aur (4.4.0-1)

snafu commented on 2017-11-01 18:04 (UTC)

Update to 4.0.0 (merged with the TCL version, C Version for compatibility reasons) You might consider to migrate to env-modules-tcl. Login problem's are hopefully fixed.

threeofsix commented on 2017-03-06 22:05 (UTC)

I also ran into a problem where modules.sh prevented me from logging in on GNOME. This is because BASH_VERSION is defined in sh, not just bash, but the bash_completions script is not valid sh. This caused gdm initialization to exit prematurely when it sourced modules.sh. My current workaround is to delete or comment out modules.sh, and source the env-modules bash init file myself in my bashrc. I'm sure there's a better way, though.

threeofsix commented on 2017-03-02 18:12 (UTC)

It looks like dejagnu is a build requirement. Without it, `check()` fails at `make -k check`, since it calls `./not_installed` when it doesn't find `runtest` in the PATH.