AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  vim shows error message after upgrade vim 9.1.1355

    Posted Tue May 13, 2025 06:01 AM

    Hello everybody!

    After upgrading to vim 9.1.1355 from AIX Toolbox I get the error message whenever I open vim:

    Error detected while processing /opt/freeware/share/vim/vim91/plugin/netrwPlugin.vim:
    line    7:
    E919: Directory not found in 'packpath': "pack/*/opt/netrw"
    Press ENTER or type command to continue


    ...after which vim starts, but if I use it on a directory netrw is not working ("$FOLDER is a directory" error).

    The mentioned netrw.Plugin is also much smaller then in the previous version and only contains a "packadd netrw" but seems to search in the wrong path? Or do we have to install something?

       152 May 13 11:42 /opt/freeware/share/vim/vim91/plugin/netrwPlugin.vim
    vs.
    11509 May 13 11:17 OLD_netrwPlugin.vim

    If I downgrade to the previous version:

    Downgrading:
     vim-common                                            ppc                                          9.1.0946-1                                          AIX_Toolbox                                          6.9 M
     vim-enhanced                                          ppc                                          9.1.0946-1                                          AIX_Toolbox                                          6.4 M


    ...everything works again, including netrw:

    ] vim .vim
    
    " ============================================================================
    " Netrw Directory Listing                                        (netrw v173)
    "   /home/die/.vim
    "   Sorted by      name
    "   Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
    "   Quick Help: <F1>:help  -:go up dir  D:delete  R:rename  s:sort-by  x:special
    " ==============================================================================
    ../
    ./
    .netrwhist


    Is there anything I can do myself or do I have to wait for a fixed version?

    Thanks,

    With kind regards,

    Stephan Dietl



    ------------------------------
    Stephan Dietl
    ------------------------------


  • 2.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted Tue May 13, 2025 06:31 AM
    Edited by Stephan Dietl Tue May 13, 2025 06:31 AM

    Addendum:

    If I copy /opt/freeware/share/vim/vim91/plugin/netrwPlugin.vim to either:

    ~/.vim/pack/mine/start/netrw/
    or
    ~/.vim/pack/mine/opt/netrw/

    ..the error message is gone, but netrw is still not working, getting the error message "$FOLDERNAME is a directory".

    But at least the nuisance of the error would be gone ;) ...

    With kind regards,

    Steve



    ------------------------------
    Stephan Dietl
    ------------------------------



  • 3.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted Tue May 13, 2025 09:46 AM

    Hi Steve
    We will analyse and try to repro this in  local system and get back you in couple of days.

    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------



  • 4.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted Thu May 15, 2025 10:32 AM

    Same problem in our environment, so thank you in advance for working on this, @Ranjit! 



    ------------------------------
    Erwin Groeneveld
    ------------------------------



  • 5.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted 21 days ago

    Is there an update to this issue?

    Thanks--



    ------------------------------
    Matt Kowske
    ------------------------------



  • 6.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted 21 days ago
    Edited by Ranjit Ranjan 21 days ago

    Yes. We are working on it. We will update this discussion after updating fixed version of vim ..

    Thanks
    Ranjit



    ------------------------------
    Ranjit Ranjan
    ------------------------------



  • 7.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted 14 days ago

    Hi All,

    There is a new release available for download.

    Thanks,
    Shubham



    ------------------------------
    Shubham Gupta
    ------------------------------



  • 8.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted 13 days ago

    Hi Shubham,

    When attempting to update some servers I see these error messages:

    Last metadata expiration check: 0:04:13 ago on June  9, 2025 at 09:37:34 AM EDT.
    Dependencies resolved.
    =============================================================================================================================================================================
     Package                                     Architecture                       Version                                     Repository                                  Size
    =============================================================================================================================================================================
    Upgrading:
     sudo                                        ppc                                1.9.16p2-1                                  AIX_Toolbox                                3.2 M
     vim-common                                  ppc                                9.1.1355-2                                  AIX_Toolbox                                7.2 M
     vim-enhanced                                ppc                                9.1.1355-2                                  AIX_Toolbox                                6.5 M
     
    Transaction Summary
    =============================================================================================================================================================================
    Upgrade  3 Packages
     
    Total size: 17 M
    Total download size: 3.2 M
    Downloading Packages:
    [SKIPPED] vim-common-9.1.1355-2.aix7.1.ppc.rpm: Already downloaded
    [SKIPPED] vim-enhanced-9.1.1355-2.aix7.1.ppc.rpm: Already downloaded
    (3/3): sudo-1.9.16p2-1.aix7.1.ppc.rpm                                                                                                        4.7 MB/s | 3.2 MB     00:00
    -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
    Total                                                                                                                                        4.3 MB/s | 3.2 MB     00:00
    warning: [fd 18]: Header V4 RSA/SHA256 Signature, key ID 41eea8e0: NOKEY
    AIX generic repository                                                                                                                       3.0 MB/s | 3.1 kB     00:00
    Traceback (most recent call last):
      File "/usr/bin/dnf", line 59, in <module>
        main.user_main(sys.argv[1:], exit_code=True)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/cli/main.py", line 191, in user_main
        errcode = main(args)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/cli/main.py", line 65, in main
        return _main(base, args, cli_class, option_parser_class)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/cli/main.py", line 98, in _main
        return cli_run(cli, base)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/cli/main.py", line 122, in cli_run
        ret = resolving(cli, base)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/cli/main.py", line 166, in resolving
        base.do_transaction(display=displays)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/cli/cli.py", line 235, in do_transaction
        self.gpgsigcheck(install_pkgs)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/cli/cli.py", line 287, in gpgsigcheck
        self._get_key_for_package(po, fn)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/base.py", line 2313, in _get_key_for_package
        keys = dnf.crypto.retrieve(keyurl, repo)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/crypto.py", line 177, in retrieve
        keyinfos = rawkey2infos(handle)
      File "/opt/freeware/lib/python3.9/site-packages/dnf/crypto.py", line 158, in rawkey2infos
        with pubring_dir(pb_dir), Context() as ctx:
      File "/opt/freeware/lib64/python3.9/site-packages/gpg/core.py", line 220, in __init__
        self.protocol = protocol
      File "/opt/freeware/lib64/python3.9/site-packages/gpg/core.py", line 169, in __setattr__
        super(GpgmeWrapper, self).__setattr__(key, value)
      File "/opt/freeware/lib64/python3.9/site-packages/gpg/core.py", line 1123, in protocol
        errorcheck(gpgme.gpgme_engine_check_version(value))
      File "/opt/freeware/lib64/python3.9/site-packages/gpg/errors.py", line 129, in errorcheck
        raise GPGMEError(retval, extradata)
    gpg.errors.GPGMEError: GPGME: Invalid crypto engine
    Test and DR servers updated fine, but PRD servers are giving me problems.
    Any ideas?
    Thanks


    ------------------------------
    Andy Nieberding
    ------------------------------



  • 9.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted 13 days ago

    Hi Andy,

    Please make sure /opt/freeware/bin is set in $PATH variable.

    Please check this forum post for more information https://community.ibm.com/community/user/blogs/sangamesh-mallayya1/2025/05/07/aix-toolbox-rpm-packages-signature

    Regards,
    Shubham



    ------------------------------
    Shubham Gupta
    ------------------------------



  • 10.  RE: vim shows error message after upgrade vim 9.1.1355

    Posted 13 days ago

    Hello @Shubham Gupta !

    Can confirm that the 1355-2 version fixes the problem, thanks!


    With kind regards,



    ------------------------------
    Stephan Dietl
    ------------------------------