Package Details: lmod 9.2-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: MIT
Conflicts: env-modules
Provides: env-modules
Submitter: wookietreiber
Maintainer: hcartiaux
Last Packager: hcartiaux
Votes: 10
Popularity: 0.000004
First Submitted: 2017-01-17 13:22 (UTC)
Last Updated: 2026-04-06 20:39 (UTC)

Dependencies (9)

Required by (10)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

hcartiaux commented on 2026-03-24 21:20 (UTC)

@lahwaacz, my mistake, should be fixed now.

lahwaacz commented on 2026-03-24 15:26 (UTC)

@hcartiaux It does not work, build fails with The program "luac" must be in your path

hcartiaux commented on 2026-03-24 12:59 (UTC)

Pkgrel bump, we stay on lua 5.4 for the moment.

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