Package Details: lmod 8.7.37-1

Git Clone URL: https://aur.archlinux.org/lmod.git (read-only, click to copy)
Package Base: lmod
Description: Environment modules system based on Lua that handles MODULEPATH hierarchical problem. Supports also legacy TCL modules
Upstream URL: https://github.com/TACC/Lmod
Licenses: custom
Conflicts: env-modules, lmod-git
Provides: env-modules
Submitter: wookietreiber
Maintainer: hcartiaux
Last Packager: hcartiaux
Votes: 9
Popularity: 0.173583
First Submitted: 2017-01-17 13:22 (UTC)
Last Updated: 2024-03-31 07:39 (UTC)

Dependencies (8)

Required by (12)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

lahwaacz commented on 2024-02-04 09:42 (UTC)

Submitted an issue upstream: https://github.com/TACC/Lmod/issues/686

hcartiaux commented on 2024-02-04 09:23 (UTC)

@lahwaacz this is an upstream problem which can be fixed with a github PR. There's exactly the same issue in the EPEL package.

lahwaacz commented on 2023-07-30 12:09 (UTC)

The package installs /usr/share/man/man1/module.1.gz which is not in the man format, but a (gzipped) plain-text file. This results in suboptimal formatting when viewed with the man utility from man-db:

Usage: module [options] sub‐command [args ...]

Options:
  ‐h ‐? ‐H ‐‐help                   This help message
  ‐s  availStyle ‐‐style=availStyle  Site controlled avail style:
system
                                    (default: system)
  ‐‐regression_testing              Lmod regression testing
  ‐b ‐‐brief                        brief listing with only  user
specified
                                    modules
  ‐D                                 Program  tracing  written to
stderr
  ‐‐debug=dbglvl                    Program  tracing  written  to
stderr (where
                                    dbglvl is a number 1,2,3)
  ‐‐pin_versions=pinVersions         When  doing  a  restore  use
specified
                                    version, do  not  follow  de‐
faults
  ‐d  ‐‐default                       List  default  modules only
when used with
                                    avail
...

mandoc can't even parse it and displays unreadable "binary data".

lahwaacz commented on 2023-02-26 07:09 (UTC)

Btw. if bc is needed only to ensure correct permissions of files in the package, it should probably be in makedepends rather than depends.

lahwaacz commented on 2023-02-26 06:42 (UTC)

@matse The fix works, but requires manual intervention for the directories. Just upgrading the package keeps the 0 permissions.

(10/14) upgrading lmod                                                                          [--------------------------------------------------------] 100%
warning: directory permissions differ on /usr/share/lmod/8.7.19/init/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/init/fish_tab_completion/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/init/ksh_funcs/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/lib/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/libexec/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/messageDir/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/modulefiles/Core/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/settarg/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/shells/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/tools/
filesystem: 0  package: 755
warning: directory permissions differ on /usr/share/lmod/8.7.19/tools/i18n/
filesystem: 0  package: 755

matse commented on 2023-02-25 18:35 (UTC)

@lahwaacz thanks for reporting this. Missing 'bc' dependency was the cause of the problems. I added this and the problem should be fixed (hopefully) now.

lahwaacz commented on 2023-02-25 08:37 (UTC)

The last upgrade has messed up permissions of some directories:

$ ls -lah /usr/share/lmod/lmod/
total 0
drwxr-xr-x 1 root root  106 Feb 25 09:14 ./
drwxr-xr-x 1 root root   20 Feb 25 09:14 ../
d--------- 1 root root  344 Feb 25 09:14 init/
d--------- 1 root root   84 Feb 25 09:14 lib/
d--------- 1 root root 1.7K Feb 25 09:14 libexec/
d--------- 1 root root   84 Feb 25 09:14 messageDir/
drwxr-xr-x 1 root root    8 Feb 25 09:14 modulefiles/
d--------- 1 root root  392 Feb 25 09:14 settarg/
d--------- 1 root root  196 Feb 25 09:14 shells/
d--------- 1 root root  642 Feb 25 09:14 tools/

This leads to rather verbose errors like /bin/bash: /usr/share/lmod/lmod/init/bash: Permission denied

matse commented on 2021-04-12 13:36 (UTC)

@sogaiu: thanks for the hint! That were indeed the wrong filenames. I've updated the hint with the correct filenames.

sogaiu commented on 2021-04-12 13:22 (UTC)

The current install message has the text (in lmod.install):

----------------------------------------------------
In order tu use lmod make sure to source
/etc/profile.d/module.sh or /etc/profile.d/module.csh
----------------------------------------------------

May be it's a bit better if modules.sh and modules.csh were used in that text instead of module.sh and module.csh respectively.

matse commented on 2020-09-04 17:23 (UTC)

@berquist: Updated to newest release and done. Thanks for the hint.