lmod has incorrect SYS_LUA_CPATH on arm64

Bug #1850237 reported by Tim Haines
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
lmod (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

lmod-6.6-0.3/disco has SYS_LUA_CPATH set incorrectly on arm64. The current path contains "/usr/lib/x86_64-linux-gnu", but should be "/usr/lib/aarch64-linux-gnu". This stems from the lmod configure script invoking the lua executable on the build host in order to determine the necessary directories (see configure.ac:615) which is then propagated to the lua files via makefile.in:236.

Affected files in this release
---------------------------------------------------------------------
/usr/share/lmod/lmod/settarg/settarg_cmd
/usr/share/lmod/lmod/libexec/spiderCacheSupport
/usr/share/lmod/lmod/libexec/getmt
/usr/share/lmod/lmod/libexec/addto
/usr/share/lmod/lmod/libexec/processModuleUsage
/usr/share/lmod/lmod/libexec/reportUsers
/usr/share/lmod/lmod/libexec/processMT
/usr/share/lmod/lmod/libexec/sh_to_modulefile
/usr/share/lmod/lmod/libexec/ml_cmd
/usr/share/lmod/lmod/libexec/lmod
/usr/share/lmod/lmod/libexec/clearMT_cmd
/usr/share/lmod/lmod/libexec/spider
/usr/share/lmod/lmod/libexec/computeHashSum

System Information
---------------------------------------------------------------------
Description: Ubuntu 19.04
Release: 19.04

Cache Information
---------------------------------------------------------------------
Package: lmod
Architecture: all
Version: 6.6-0.3
Priority: optional
Section: universe/devel
Origin: Ubuntu
Maintainer: Ubuntu Developers <email address hidden>
Original-Maintainer: Aaron Zauner <email address hidden>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 1027
Depends: lua-filesystem, lua-json, lua-posix, lua-term, lua5.2, tcl
Conflicts: environment-modules
Filename: pool/universe/l/lmod/lmod_6.6-0.3_all.deb
Size: 156396
MD5sum: 94c7100fb5487a1c269a8c8870084cee
SHA1: 836112053879db966ed612bbc91edc59e38012e3
SHA256: ebb31804b2286b17fd4f262f61cc3bca287baed0c8d2dd3b0f6c034afedabab4
Homepage: https://www.tacc.utexas.edu/tacc-projects/lmod
Description-en: Lua based environment modules
 Lmod is a Lua based module system that easily handles the MODULEPATH
 Hierarchical problem. Environment Modules provide a convenient way to
 dynamically change the users' environment through modulefiles. This
 includes easily adding or removing directories to the PATH environment
 variable. Modulefiles for Library packages provide environment variables
 that specify where the library and header files can be found.
Description-md5: 0764d6ecf3b59bf474ccd6f51a2ea09e

Revision history for this message
SCORE Lab (score) wrote :

(this seems to be fixed in 6.6-0.3, but is not backported to focal (yet?))

Revision history for this message
SCORE Lab (score) wrote :

-(this seems to be fixed in 6.6-0.3, but is not backported to focal (yet?))
+(this seems to be fixed in 6.6-0.4, but is not backported to focal (yet?))

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in lmod (Ubuntu):
status: New → Confirmed
Revision history for this message
Luke Robison (lrbison) wrote :

This bug is still present on 20.04 as of 2024

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.