Skip to content

config-compilation: Warnings and errors when compiling files #137

@rye

Description

@rye

On startup (after applying #136 to fix config compilation), I get the following warnings printed to *config-compilation*:

In toplevel form:
package/verification.el:1:1:Warning: cl package required at runtime

In kotct/check-dependency-list:
package/verification.el:12:41:Warning: reference to free variable
    ‘kotct/dependency-list’

In end of data:
package/verification.el:26:1:Warning: the function
    ‘kotct/packup-install-dependencies’ is not known to be defined.

In toplevel form:
package/packup.el:9:1:Warning: cl package required at runtime

In kotct/package-latest-available:
package/packup.el:55:26:Warning: reference to free variable
    ‘kotct/package-ordered-archives’
Loading @rye’s configuration...
Eager macro-expansion failure: (void-function kotct/check-dependency-list)
Eager macro-expansion failure: (void-function kotct/check-dependency-list)

In toplevel form:
package/git-update.el:6:1:Error: Symbol’s function definition is void: kotct/check-dependency-list

In toplevel form:
file/recentf-c.el:6:1:Warning: cl package required at runtime

In kotct/line-numbers--set-up-linum:
visual/line-numbers-c.el:10:11:Warning: assignment to free variable
    ‘linum-format’
visual/line-numbers-c.el:18:19:Warning: reference to free variable
    ‘linum-disabled-modes-list’
visual/line-numbers-c.el:18:19:Warning: assignment to free variable
    ‘linum-disabled-modes-list’

In toplevel form:
behavior/completion-c.el:11:7:Warning: assignment to free variable
    ‘ido-enable-flex-matching’

In kotct/ido-set-menu-mode:
behavior/completion-c.el:37:11:Warning: assignment to free variable
    ‘ido-vertical-show-count’
behavior/completion-c.el:38:11:Warning: assignment to free variable
    ‘ido-vertical-define-keys’
behavior/completion-c.el:52:7:Warning: assignment to free variable
    ‘smex-save-file’

In toplevel form:
behavior/text.el:7:1:Warning: cl package required at runtime
behavior/text.el:14:7:Warning: assignment to free variable ‘avy-zap-function’

In end of data:
behavior/text.el:51:1:Warning: the function ‘er/contract-region’ is not known
    to be defined.

In kotct/editorconfig-check-for-core:
code/editorconfig-c.el:25:33:Warning: reference to free variable
    ‘editorconfig-exec-path’

In end of data:
code/magit-c.el:13:1:Warning: the following functions are not known to be
    defined: magit-define-popup-option, magit-read-gpg-secret-key

In toplevel form:
code/indentation.el:3:7:Warning: assignment to free variable
    ‘global-tab-width’
code/indentation.el:33:25:Warning: reference to free variable
    ‘global-tab-width’
code/indentation.el:34:17:Warning: assignment to free variable
    ‘smie-indent-basic’

In toplevel form:
code/languages/tex.el:4:49:Warning: reference to free variable
    ‘ispell-program-name’

In toplevel form:
code/languages/web-c.el:19:7:Warning: assignment to free variable
    ‘web-mode-enable-control-block-indentation’
code/languages/web-c.el:20:7:Warning: assignment to free variable
    ‘web-mode-script-padding’

In toplevel form:
code/languages/sh.el:4:17:Warning: assignment to free variable
    ‘sh-basic-offset’
code/languages/sh.el:5:17:Warning: assignment to free variable
    ‘sh-indentation’
code/languages/sh.el:11:7:Warning: assignment to free variable
    ‘sh-indent-for-case-label’
code/languages/sh.el:14:7:Warning: assignment to free variable
    ‘sh-indent-for-case-alt’
Warning: Eager macro-expansion skipped due to cycle:
  … => (load "smart-tabs-mode.el") => (macroexpand-all …) => (macroexpand (smart-tabs-create-advice-list …)) => (load "smart-tabs-mode.el")

In toplevel form:
code/languages/rust.el:17:7:Warning: assignment to free variable
    ‘rust-indent-where-clause’

In toplevel form:
code/languages/ruby.el:16:7:Warning: assignment to free variable
    ‘ruby-indent-tabs-mode’
code/languages/ruby.el:19:7:Warning: assignment to free variable
    ‘ruby-use-smie’

In toplevel form:
code/languages/c.el:4:7:Warning: assignment to free variable ‘c-default-style’
code/languages/c.el:7:17:Warning: assignment to free variable ‘c-basic-offset’

In kotct/user-get-default-username:
user/user-config-system.el:36:51:Warning: reference to free variable ‘frame’

In end of data:
user/user-config-system.el:116:1:Warning: the following functions are not
    known to be defined: kotct/check-dependency-list, kotct/user-fetch-config

Process config-compilation exited abnormally with code 1

I think it's worth investigating the "assignment to free variable" errors at least, and I'm going to do some poking around to see if there are any other things we should do. Here's a checklist containing the warnings and errors.

  • package/verification.el:1:1:Warning: cl package required at runtime
  • package/verification.el:12:41:Warning: reference to free variable ‘kotct/dependency-list’
  • package/verification.el:26:1:Warning: the function ‘kotct/packup-install-dependencies’ is not known to be defined.
  • package/packup.el:9:1:Warning: cl package required at runtime
  • package/packup.el:55:26:Warning: reference to free variable ‘kotct/package-ordered-archives’
  • Eager macro-expansion failure: (void-function kotct/check-dependency-list)
  • Eager macro-expansion failure: (void-function kotct/check-dependency-list)
  • package/git-update.el:6:1:Error: Symbol’s function definition is void: kotct/check-dependency-list
  • file/recentf-c.el:6:1:Warning: cl package required at runtime
  • visual/line-numbers-c.el:10:11:Warning: assignment to free variable ‘linum-format’
  • visual/line-numbers-c.el:18:19:Warning: reference to free variable ‘linum-disabled-modes-list’
  • visual/line-numbers-c.el:18:19:Warning: assignment to free variable ‘linum-disabled-modes-list’
  • behavior/completion-c.el:11:7:Warning: assignment to free variable ‘ido-enable-flex-matching’
  • behavior/completion-c.el:37:11:Warning: assignment to free variable ‘ido-vertical-show-count’
  • behavior/completion-c.el:38:11:Warning: assignment to free variable ‘ido-vertical-define-keys’
  • behavior/completion-c.el:52:7:Warning: assignment to free variable ‘smex-save-file’
  • behavior/text.el:7:1:Warning: cl package required at runtime
  • behavior/text.el:14:7:Warning: assignment to free variable ‘avy-zap-function’
  • behavior/text.el:51:1:Warning: the function ‘er/contract-region’ is not known to be defined.
  • code/editorconfig-c.el:25:33:Warning: reference to free variable ‘editorconfig-exec-path’
  • code/magit-c.el:13:1:Warning: the following functions are not known to be defined: magit-define-popup-option, magit-read-gpg-secret-key
  • code/indentation.el:3:7:Warning: assignment to free variable ‘global-tab-width’
  • code/indentation.el:33:25:Warning: reference to free variable ‘global-tab-width’
  • code/indentation.el:34:17:Warning: assignment to free variable ‘smie-indent-basic’
  • code/languages/tex.el:4:49:Warning: reference to free variable ‘ispell-program-name’
  • code/languages/web-c.el:19:7:Warning: assignment to free variable ‘web-mode-enable-control-block-indentation’
  • code/languages/web-c.el:20:7:Warning: assignment to free variable ‘web-mode-script-padding’
  • code/languages/sh.el:4:17:Warning: assignment to free variable ‘sh-basic-offset’
  • code/languages/sh.el:5:17:Warning: assignment to free variable ‘sh-indentation’
  • code/languages/sh.el:11:7:Warning: assignment to free variable ‘sh-indent-for-case-label’
  • code/languages/sh.el:14:7:Warning: assignment to free variable ‘sh-indent-for-case-alt’
  • Warning: Eager macro-expansion skipped due to cycle: … => (load "smart-tabs-mode.el") => (macroexpand-all …) => (macroexpand (smart-tabs-create-advice-list …)) => (load "smart-tabs-mode.el")
  • code/languages/rust.el:17:7:Warning: assignment to free variable ‘rust-indent-where-clause’
  • code/languages/ruby.el:16:7:Warning: assignment to free variable ‘ruby-indent-tabs-mode’
  • code/languages/ruby.el:19:7:Warning: assignment to free variable ‘ruby-use-smie’
  • code/languages/c.el:4:7:Warning: assignment to free variable ‘c-default-style’
  • code/languages/c.el:7:17:Warning: assignment to free variable ‘c-basic-offset’
  • user/user-config-system.el:36:51:Warning: reference to free variable ‘frame’
  • user/user-config-system.el:116:1:Warning: the following functions are not known to be defined: kotct/check-dependency-list, kotct/user-fetch-config

(Some of these may exist only in my configuration; I'll prune down the list as I go through it.)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions