Your message dated Sat, 03 Dec 2016 15:26:31 +0000
with message-id <[email protected]>
and subject line Bug#785223: fixed in modules 3.2.10-10
has caused the Debian Bug report #785223,
regarding environment-modules: modulecmd path error
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.)


-- 
785223: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=785223
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: environment-modules
Version: 3.2.10-9
Severity: normal

Dear Maintainer,

For bash completion, modulecmd is not at the path 
/usr/share/modules/3.2.10/bin/modulecmd but in the normal /usr/bin/modulecmd. 
The _module_avail function doesn't working so no completion for avail command.

The solution is to replace /usr/share/modules/3.2.10/bin/modulecmd by just 
modulecmd because normally, /usr/bin is always in the PATH variable.

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***


-- System Information:
Debian Release: 8.0
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_FR.UTF-8@euro, LC_CTYPE=fr_FR.UTF-8@euro (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages environment-modules depends on:
ii  debhelper  9.20150101
ii  libc6      2.19-18
ii  libtcl8.6  8.6.2+dfsg-2
ii  libx11-6   2:1.6.2-3
ii  tcl        8.6.0+8
ii  tcl8.6     8.6.2+dfsg-2

environment-modules recommends no packages.

environment-modules suggests no packages.

-- Configuration Files:
/etc/bash_completion.d/modules changed:
_module_avail() {
        modulecmd bash -t avail 2>&1 | sed '
                /:$/d;
                /:ERROR:/d;
                s#^\(.*\)/\(.\+\)(default)#\1\n\1\/\2#;
                s#/(default)##g;
                s#/*$##g;'
}
_module_not_yet_loaded() {
        comm -23  <(_module_avail|sort)  <(tr : '\n' <<<${LOADEDMODULES}|sort)
}
_module_long_arg_list() {
        local cur="$1" i
        if [[ ${COMP_WORDS[COMP_CWORD-2]} == sw* ]]
        then
                COMPREPLY=( $(compgen -W "$(_module_not_yet_loaded)" -- "$cur") 
)
                return
        fi
        for ((i = COMP_CWORD - 1; i > 0; i--))
        do case ${COMP_WORDS[$i]} in
           add|load)
                COMPREPLY=( $(compgen -W "$(_module_not_yet_loaded)" -- "$cur") 
)
                break;;
           rm|remove|unload|switch|swap)
                COMPREPLY=( $(IFS=: compgen -W "${LOADEDMODULES}" -- "$cur") )
                break;;
           esac
        done
}
_module() {
        local cur="$2" prev="$3" cmds opts
        COMPREPLY=()
        cmds="add apropos avail clear display help\
              initadd initclear initlist initprepend initrm initswitch\
              keyword list load purge refresh rm show swap switch\
              unload unuse update use whatis"
        opts="-c -f -h -i -l -s -t -u -v -H -V\
              --create --force  --help  --human   --icase\
              --long   --silent --terse --userlvl --verbose --version"
        case "$prev" in
        add|load)       COMPREPLY=( $(compgen -W "$(_module_not_yet_loaded)" -- 
"$cur") );;
        rm|remove|unload|switch|swap)
                        COMPREPLY=( $(IFS=: compgen -W "${LOADEDMODULES}" -- 
"$cur") );;
        unuse)          COMPREPLY=( $(IFS=: compgen -W "${MODULEPATH}" -- 
"$cur") );;
        use|*-a*)       ;;                      # let readline handle the 
completion
        -u|--userlvl)   COMPREPLY=( $(compgen -W "novice expert advanced" -- 
"$cur") );;
        display|help|show|whatis)
                        COMPREPLY=( $(compgen -W "$(_module_avail)" -- "$cur") 
);;
        *) if test $COMP_CWORD -gt 2
           then
                _module_long_arg_list "$cur"
           else
                case "$cur" in
                # The mappings below are optional abbreviations for convenience
                ls)     COMPREPLY="list";;      # map ls -> list
                r*)     COMPREPLY="rm";;        # also covers 'remove'
                sw*)    COMPREPLY="switch";;
                -*)     COMPREPLY=( $(compgen -W "$opts" -- "$cur") );;
                *)      COMPREPLY=( $(compgen -W "$cmds" -- "$cur") );;
                esac
           fi;;
        esac
}
complete -o default -F _module module

/etc/environment-modules/modulespath changed:
/etc/environment-modules/modules
/usr/share/modules/versions                             # location of version 
files
/usr/Modules/$MODULE_VERSION/modulefiles        # Module pkg modulefiles (if 
versioning)
/usr/share/modules/modulefiles                          # General module files


-- no debconf information

--- End Message ---
--- Begin Message ---
Source: modules
Source-Version: 3.2.10-10

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: Fri, 02 Dec 2016 11:17:36 +0000
Source: modules
Binary: environment-modules
Architecture: source amd64
Version: 3.2.10-10
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: 731974 785223 846580
Changes:
 modules (3.2.10-10) unstable; urgency=medium
 .
   * Conflict with lmod. Closes: #846580
   * Standards-Version: 3.9.8; no changes required
   * Now use debhelper 10.
   * Move /etc/bash_completions.d -> /usr/share/bash-completions/completions
   * Close old bugs already fixed: Closes: #731974
   * Fix broken path to modulecmd in bash completions. Closes: #785223
   * Remove duplicate ref to conffile modulespath
Checksums-Sha1:
 1c99f10a7c3b32a4bc0e007f9845af5183848d88 1783 modules_3.2.10-10.dsc
 18421118ec2bb559952d752677b126be4bf6ddd7 7352 modules_3.2.10-10.debian.tar.xz
 c222ef974828ba69f67e74b05bc56292b5c70982 567432 
environment-modules-dbgsym_3.2.10-10_amd64.deb
 afcb68707d496b7f3252fbe4d47321e4afa04349 94782 
environment-modules_3.2.10-10_amd64.deb
 02e452ca0b2224a50c7d3f5b8028777d40c84f8c 5100 modules_3.2.10-10_amd64.buildinfo
Checksums-Sha256:
 b23b228dd72c2eba065aa9e056349673b6ec0748221835fdcd4d788b9cbb0edf 1783 
modules_3.2.10-10.dsc
 1abb3ee0ef230e4231106e828041358a6c4bd1cf090349d74e142b7ecc781581 7352 
modules_3.2.10-10.debian.tar.xz
 49fbc14a796592f1476c68d8a436e72cb235f80aa823a6231968979c820d1c3b 567432 
environment-modules-dbgsym_3.2.10-10_amd64.deb
 4d96d0ee9f679fb68e73541a7832542c845ba30ddf64c7e39ffa90b6a84b836f 94782 
environment-modules_3.2.10-10_amd64.deb
 3e50afbb13616058d711f8c0f6baa8cbdf82c7f4ce28bf5079dfeb5407f2cbee 5100 
modules_3.2.10-10_amd64.buildinfo
Files:
 08fe4dbddde41ef42c4529f1a26479b9 1783 devel optional modules_3.2.10-10.dsc
 05c30b967d7da03950a3c417bc102b3d 7352 devel optional 
modules_3.2.10-10.debian.tar.xz
 fd7aa93d2299aa8d60ce4271bc8f46b5 567432 debug extra 
environment-modules-dbgsym_3.2.10-10_amd64.deb
 a5986133a35017799b47316ce66f6338 94782 devel optional 
environment-modules_3.2.10-10_amd64.deb
 450324d6cb9457ff778b544bd8957339 5100 devel optional 
modules_3.2.10-10_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEgjg86RZbNHx4cIGiy+a7Tl2a06UFAlhCwtQACgkQy+a7Tl2a
06XwKhAAp4peGeZyJ+/BFSSaI0ygcCqoVmh+V4FyZm4G0W3KlTjrNcrIiE5lPxEl
6YeZhsOehTj2d9Uzy8SvWJ+dfmpaXPn+megRTkbWoSAdE2vtVLNvVi+GLpk/pw+f
W5GTNXaKWEV6s0av7dWXEtYpd3OBzBgWuqAR920ps1lGaA8wB3ZS4HouOPhcC0jj
YNL18E/ED2e0p5EAjoJ3wN2sZixTF72VrcsdOf2qY/RCvMWWcEKQuSRiV+3EnPxf
TKKLwacEZWb2Ps9R2LQQ/EDdotn0j5PVAZO+NTedY7VBXxvIMPt8o6zcgYhsWcai
5ykpj8gvDjPaGGYyHq3z7CsQJiWCNbgT62UAMpmOr8GXaJ0IbODpO0l+JhzGT7jU
njbWY/JaaNEeNs4SEEiZi7ri0UOa1s87Qgdn79SepWZY5panuqqoywA/mRdiqVgt
uecIJWn4IDpiX+JOwlTMQRiBU9CjHcKSQW+aaEf4b9XuA8cBd65ixlWqjTtbpBrN
I8rXlZMnjyPvhIRHTV/2KPe5QLyRWGSlyXxxM1vGz7E8fgsijIz8ntsjCeUqJ73x
9N4SaEeIpNAzxwog0NcyU1wjCriNP5SHWdNVYGXkYfH3Bl1cXjY2eCH9m4gw2TDv
w8BVteJkTY2o5ZLpoTZsb5bKS6X87jyCeeiQWTo5V73Vz0bzRYs=
=LORp
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to