Package Details: lmod 9.2.9-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: environment-modules
Provides: environment-modules
Submitter: wookietreiber
Maintainer: hcartiaux
Last Packager: hcartiaux
Votes: 10
Popularity: 0.000001
First Submitted: 2017-01-17 13:22 (UTC)
Last Updated: 2026-07-24 22:10 (UTC)

Dependencies (9)

Required by (3)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

DPR commented on 2026-05-09 18:47 (UTC)

You're right, it does build correctly in a clean chroot with pkgctl build, and it does not build with plain makepkg. I'm not sure what's going on there.

hcartiaux commented on 2026-05-09 11:31 (UTC)

I can't reproduce on my side. Can you try to build in a clean chroot? Also the man page is correctly formatted:

$ zcat /usr/share/man/man1/module.1.gz | head
.\" -*- mode: troff; coding: utf-8 -*-
.\" Automatically generated by Pod::Man v6.0.2 (Pod::Simple 3.45)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text

DPR commented on 2026-05-09 08:37 (UTC)

I get this error with makepkg:

install: cannot stat '/tmp/lmod/pkg/lmod/usr/share/lmod/9.2/share/man/man1/module.1': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

I got it to work with this change:

% git diff
diff --git a/PKGBUILD b/PKGBUILD
index 3387897..e23ca6c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -31,7 +31,7 @@ package() {

   make DESTDIR="${pkgdir}" install

-  install -Dm644 "${pkgdir}/usr/share/lmod/${pkgver}/share/man/man1/module.1" "${pkgdir}/usr/share/man/man1/module.1"
+  install -Dm644 "${pkgdir}/usr/share/lmod/${pkgver}/share/man/cat1/module.1" "${pkgdir}/usr/share/man/man1/module.1"
   rm -r "${pkgdir}/usr/share/lmod/${pkgver}/share"

   install -d "${pkgdir}/etc/profile.d"

By the way, the man page formatting issue lahwaacz reported in 2023 appears to be back, but I assume that's just an upstream regression. My current workaround is just to use module --help instead of man module.

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".