Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-5691

emacs Cannot open load file: let-alist

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Undefined Undefined
    • rhel-7.9.z
    • rhel-7.9.z
    • emacs
    • None
    • None
    • rhel-sst-cs-plumbers
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • If docs needed, set a value
    • None

      Description of problem:

      The emacs shows the below error once either 'llvm-toolset-10.0-clang-tools-extra' or 'llvm-toolset-11.0-clang-tools-extra' packages are installed.

      "Cannot open load file: let-alist"

      Version-Release number of selected component (if applicable):

      • llvm-toolset-10.0-clang-tools-extra
      • llvm-toolset-11.0-clang-tools-extra

      How reproducible: 100%

      Steps to Reproduce:
      1. yum install -y emacs llvm-toolset-10.0-clang-tools-extra
      2. emacs (and shows the error message 'Cannot open load file: let-alist')

      Actual results:

      After installing either llvm-toolset-10.0-clang-tools-extra or llvm-toolset-11.0-clang-tools-extra rpm packages emacs complains that can't open the let-alist file. The let-alist.el package is not provided within those packages and there's a 'requires' reference within the 'clang-include-fixer.el' file.

      Expected results:

      After the llvm-toolset-[10.0|11.0]-clang-tools-extra package emacs works without issues.

      Additional info:

      ~~~
      site-lisp/site-start.d/clang-include-fixer.el:;; Package-Requires: ((cl-lib "0.5") (json "1.2") (let-alist "1.0.4"))

      llvm-toolset-10.0-clang-tools-extra-10.0.1-4.el7.x86_64 : Extra tools for clang
      Repo : rhel-7-server-devtools-rpms
      Matched from:
      Filename : /usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el

      llvm-toolset-11.0-clang-tools-extra-11.0.1-1.el7_9.x86_64 : Extra tools for clang
      Repo : rhel-7-server-devtools-rpms
      Matched from:
      Filename : /usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el

      [root@rhel79 ~]# rpm -qpl llvm-toolset-10.0-clang-tools-extra-10.0.1-4.el7.x86_64.rpm | grep site-lisp
      /usr/share/emacs/site-lisp/site-start.d/clang-format.el
      /usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el
      /usr/share/emacs/site-lisp/site-start.d/clang-rename.el

      [root@rhel79 ~]# rpm -qpl llvm-toolset-11.0-clang-tools-extra-11.0.1-1.el7_9.x86_64.rpm | grep site-lisp
      /usr/share/emacs/site-lisp/site-start.d/clang-format.el
      /usr/share/emacs/site-lisp/site-start.d/clang-include-fixer.el
      /usr/share/emacs/site-lisp/site-start.d/clang-rename.el
      ~~~

              jmigacz@redhat.com Jacek Migacz
              jucastro Juan Castro (Inactive)
              Jacek Migacz Jacek Migacz
              qe-baseos-daemons qe-baseos-daemons
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: