Your message dated Wed, 09 May 2018 11:23:03 +0000 with message-id <[email protected]> and subject line Bug#897686: fixed in modules 4.1.2-2 has caused the Debian Bug report #897686, regarding environment-modules: module function not working with ZSH to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 897686: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=897686 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: environment-modules Version: 4.1.2-1 Severity: normal Dear Maintainer, I have a problem with environment-modules and ZSH: the module function defined as module () { _moduleraw "$*" 2>&1 } does not work correctly on my system with ZSH (the module command works with Bash although). When using it without option, it works perfectly, but using options like -t for module list or module avail does not work: with list it leads to an error and with avail it leads to an empty answer even if module avail is not "empty". As I loads lots of ZSH config files, I have also tested module with a new user without loading any ZSH config files and observed the same behavior. I am using ZSH 5.5.1. The attached patch solves the problem for modules 4.1.2: it consists in removing the " encapsulating the $* argument of _moduleraw. Best, Christophe -- System Information: Debian Release: buster/sid APT prefers testing APT policy: (986, 'testing'), (984, 'stable'), (982, 'stable'), (98, 'unstable'), (96, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.15.0-3-amd64 (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages environment-modules depends on: ii less 487-0.1 ii libc6 2.27-3 ii libtcl8.6 8.6.8+dfsg-4 ii procps 2:3.3.14-1 ii tcl 8.6.0+9 ii tcl8.6 8.6.8+dfsg-4 environment-modules recommends no packages. environment-modules suggests no packages. -- no debconf information -- Christophe Garion GPG: 1982 15B2 64AC 3C34 532D BF19 6CD6 246C 62DA 5A7FIndex: modules-4.1.2/modulecmd.tcl.in =================================================================== --- modules-4.1.2.orig/modulecmd.tcl.in +++ modules-4.1.2/modulecmd.tcl.in @@ -3659,7 +3659,7 @@ $g_shell \$*`; return $_mlstatus;} append fdef "\n};" if {[isStderrTty]} { - append fdef "\nmodule() { _moduleraw \"\$*\" 2>&1; };" + append fdef "\nmodule() { _moduleraw \$* 2>&1; };" } } {fish} {
--- End Message ---
--- Begin Message ---Source: modules Source-Version: 4.1.2-2 We believe that the bug you reported is fixed in the latest version of modules, which is due to be installed in the Debian FTP archive. A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Alastair McKinstry <[email protected]> (supplier of updated modules package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Format: 1.8 Date: Tue, 08 May 2018 10:25:30 +0100 Source: modules Binary: environment-modules Architecture: source amd64 Version: 4.1.2-2 Distribution: unstable Urgency: medium Maintainer: Alastair McKinstry <[email protected]> Changed-By: Alastair McKinstry <[email protected]> Description: environment-modules - Modular system for handling environment variables Closes: 897686 Changes: modules (4.1.2-2) unstable; urgency=medium . * Fix from Christophe Garion for zsh handling. Closes: #897686 * Standards-Version: 4.1.4; no changes required Checksums-Sha1: a1d8bf40f064d7a8fbf10f6e093dbad9dbf7848a 1904 modules_4.1.2-2.dsc e7a38b17ae1f9f2119fd68734582f981a0c4a23e 5900 modules_4.1.2-2.debian.tar.xz 6ae944c39e0a186e897896948c5c007d45a702f8 543136 environment-modules-dbgsym_4.1.2-2_amd64.deb 2b04ab96c05db9d52c1734b92e8724f0e78de5bd 343592 environment-modules_4.1.2-2_amd64.deb 2663531f57567a3fe613cbba2e4aca7867f4850a 6125 modules_4.1.2-2_amd64.buildinfo Checksums-Sha256: 5e573666716c6c015fb7e1728d15d552f81487b25771e6f3caba8e7b98280862 1904 modules_4.1.2-2.dsc 0e30efe12ebbd34a6e74e05c0fd490c8a7b2ff8d13f382c0ff401f42f9811ffe 5900 modules_4.1.2-2.debian.tar.xz 7182f041a7fdc1a74ad3b0494cfd430c8d5437abfac646b5121cd351f840464f 543136 environment-modules-dbgsym_4.1.2-2_amd64.deb 309535e5363b5cbdc11781fa4b54ca4435b743818e41e467a248ade92b4585af 343592 environment-modules_4.1.2-2_amd64.deb 8512c1544305a4131d8b38f4280dad9212b88430aca21d5bb67cbd6a8faf7ec8 6125 modules_4.1.2-2_amd64.buildinfo Files: 277c77b74f0fd76e0514f1c69c386180 1904 devel optional modules_4.1.2-2.dsc 2592f653816f9f295eba7adba3c0bbbe 5900 devel optional modules_4.1.2-2.debian.tar.xz ce0e0a748196a0a319e46fdb9e5859a2 543136 debug optional environment-modules-dbgsym_4.1.2-2_amd64.deb 02feccf16bf08be31861287373a06e05 343592 devel optional environment-modules_4.1.2-2_amd64.deb 0cf632bd200ca819a8f5af90b2bd6c5a 6125 devel optional modules_4.1.2-2_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAlry1E0ACgkQy+a7Tl2a 06WDQw//fc5m4rgxpuOXbhRv3yX82G8UImzjkygxWJieUtLlFDBHlsKHdZFLFs3L I15u7HhLDYEIEGMpRnp2EhoPidyo4MLQbNxZVIDgtRiJoYX1XWWxIksuMJ7Rcpv2 DmC3xVhrorYiXXBpW6sAcYDV/omKlrnXsALGDji28GTubpOtuYVNHPVXQ9AmXdCY hreBYFtFtMvXr4XmoSfTe8Jc14RJVPuMm7dIo3eLDG6kOYSZtkcFefYehXWp2mpd W+fVQqmnMu6VvNYrSucKOLuLaIdfcQotocNZ3U/Ii0h8EZmOszQE3O45YgHDB19M gyv5fe63L/QrxcwkZ/wEb44ut/axlur0k+5glS8561Z2KvnbiDMbp29OJj+wgMK8 OHPufJciQsLsDii+TBHatjZI+Fg55urAjnqBkrOgoElV/VEPG8jaNjcGghnNP2dP LIxHXdrYutpJIbMmm1MXqjWQS/pnigq1OsZ6ZQiAdYOUtGXH7+l5ab4UePjHbJOp W3AUgHIlYrarZaSOZii5CQNubRDYf7u2tXJAF5khwPxBzKy9R3EzPUm6pMf+1YAr 10pz4XwcYKm/12Ti9JT6TgOdHI9jPrSJ5D+iNR225fa+rb0iy3Gr6uBhzSbOIV7x S9rLzgcww5lneeH7r6TE4+ONM3KM2c4uLt7fxqxCHovX8hG+/oo= =Pawr -----END PGP SIGNATURE-----
--- End Message ---

