[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1071793: cider: FTBFS: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t"



Package: src:cider
Version: 0.19.0+dfsg-3
Severity: serious
Tags: ftbfs

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules build
dh build --with elpa --with mkdocs
   dh_update_autotools_config
   dh_autoreconf
   dh_auto_configure
   debian/rules override_dh_auto_build
make[1]: Entering directory '/<<PKGBUILDDIR>>'
LANG=C.UTF-8 LC_ALL=C.UTF-8 mkdocs build --clean
WARNING -  Config value 'site_favicon': Unrecognised configuration name: site_favicon
INFO    -  Cleaning site directory
INFO    -  Building documentation to directory: /<<PKGBUILDDIR>>/html
WARNING -  Doc file 'about/contributing.md' contains a relative link 'readthedocs.org', but the target 'about/readthedocs.org' is not found among documentation files.
INFO    -  Documentation built in 0.31 seconds
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_elpa_test
	buttercup -L . -L test/utils
Loading /etc/emacs/site-start.d/00debian.el (source)...
Loading /etc/emacs/site-start.d/50autoconf.el (source)...
cider-popup.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
nrepl-client.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
Interactive forms not supported in generic functions: (interactive "P")
cider-test.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
cider-mode.el: Warning: Missing format argument
cider-mode.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
cider-debug.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
cider-test.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
Running 38 specs.

cider--test-unless-local
  returns the given argument if text at point is not a clojure local
  returns the given argument if text at point is not a clojure local (3.08ms)

cider--read-locals-from-next-sexp
  respects cursor position
  respects cursor position (0.23ms)
  understands clojure destructuring
  understands clojure destructuring (0.22ms)
  handles clojure type-hints
  handles clojure type-hints (0.21ms)

cider--read-locals-from-bindings-vector
  understands clojure destructuring
  understands clojure destructuring (0.43ms)
  handles clojure type-hints
  handles clojure type-hints (0.28ms)
  handles newlines
  handles newlines (0.30ms)

cider--read-locals-from-arglist
  handles whitespace
  handles whitespace (0.26ms)
  handles clojure docstrings, meta-data, type-hints
  handles clojure docstrings, meta-data, type-hints (0.25ms)
  understands clojure destructuring
  understands clojure destructuring (0.36ms)
  understands clojure multi-arity functons
  understands clojure multi-arity functons (0.24ms)
  understands lambda functions
  understands lambda functions (0.23ms)

cider--make-result-overlay
  can create overlays
  can create overlays (0.13ms)
  when overlay duration is `command`
    erases overlays after the next command is executed
    erases overlays after the next command is executed (0.19ms)
  when overlay duration is given in secs
    erases overlays after that duration
    erases overlays after that duration (2.00s)

cider--delete-overlay
  deletes overlays
  deletes overlays (0.19ms)

File failed to load correctly:
  ./test/cider-apropos-tests.el
  ./test/cider-apropos-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.04ms)
  ./test/cider-browse-ns-tests.el
  ./test/cider-browse-ns-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.04ms)
  ./test/cider-classpath-tests.el
  ./test/cider-classpath-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.04ms)
  ./test/cider-client-tests.el
  ./test/cider-client-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)
  ./test/cider-common-tests.el
  ./test/cider-common-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)
  ./test/cider-connection-tests.el
  ./test/cider-connection-tests.el  Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2) (0.03ms)
  ./test/cider-debug-tests.el
  ./test/cider-debug-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.02ms)
  ./test/cider-eldoc-tests.el
  ./test/cider-eldoc-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)
  ./test/cider-error-parsing-tests.el
  ./test/cider-error-parsing-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)
  ./test/cider-find-tests.el
  ./test/cider-find-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.02ms)
  ./test/cider-font-lock-tests.el
  ./test/cider-font-lock-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)
  ./test/cider-grimoire-tests.el
  ./test/cider-grimoire-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.02ms)
  ./test/cider-interaction-tests.el
  ./test/cider-interaction-tests.el  Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2) (0.02ms)
  ./test/cider-ns-tests.el
  ./test/cider-ns-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)
  ./test/cider-repl-tests.el
  ./test/cider-repl-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.02ms)
  ./test/cider-selector-tests.el
  ./test/cider-selector-tests.el  Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2) (0.03ms)
  ./test/cider-stacktrace-tests.el
  ./test/cider-stacktrace-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)
  ./test/cider-tests.el
  ./test/cider-tests.el  Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2) (0.02ms)
  ./test/cider-util-tests.el
  ./test/cider-util-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.02ms)
  ./test/nrepl-bencode-tests.el
  ./test/nrepl-bencode-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.02ms)
  ./test/nrepl-client-tests.el
  ./test/nrepl-client-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.02ms)
  ./test/nrepl-dict-tests.el
  ./test/nrepl-dict-tests.el  Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t") (0.03ms)

========================================
File failed to load correctly: ./test/cider-apropos-tests.el

Traceback (most recent call last):
  load("./test/cider-apropos-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-apropos" (it "raises user-e...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-browse-ns-tests.el

Traceback (most recent call last):
  load("./test/cider-browse-ns-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-browse-ns--text-face" (it "...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-classpath-tests.el

Traceback (most recent call last):
  load("./test/cider-classpath-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-classpath" (it "raises user...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-client-tests.el

Traceback (most recent call last):
  load("./test/cider-client-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-var-info" (it "returns vars...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-common-tests.el

Traceback (most recent call last):
  load("./test/cider-common-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-abbreviate-ns" (it "handles...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-connection-tests.el

Traceback (most recent call last):
  load("./test/cider-connection-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  require(cider-connection-test-utils)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/util...
  require(cider)
  load-with-code-conversion("/<<PKGBUILDDIR>>/cider.el"...
  internal-macroexpand-for-load((define-obsolete-variable-alias 'cider-defau...
  error("Eager macro-expansion failure: %S" (wrong-number-of-arguments (3 . ...
FAILED: Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2)

========================================
File failed to load correctly: ./test/cider-debug-tests.el

Traceback (most recent call last):
  load("./test/cider-debug-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider--debug-prompt" (it "changes...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-eldoc-tests.el

Traceback (most recent call last):
  load("./test/cider-eldoc-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider--find-rest-args-position" (...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-error-parsing-tests.el

Traceback (most recent call last):
  load("./test/cider-error-parsing-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-extract-error-info" :var (f...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-find-tests.el

Traceback (most recent call last):
  load("./test/cider-find-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-find-ns" (it "raises a user...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-font-lock-tests.el

Traceback (most recent call last):
  load("./test/cider-font-lock-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "reader conditional font-lock" (de...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-grimoire-tests.el

Traceback (most recent call last):
  load("./test/cider-grimoire-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-grimoire-replace-special" (...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-interaction-tests.el

Traceback (most recent call last):
  load("./test/cider-interaction-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  require(cider-connection-test-utils)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/util...
  require(cider)
  load-with-code-conversion("/<<PKGBUILDDIR>>/cider.el"...
  internal-macroexpand-for-load((define-obsolete-variable-alias 'cider-defau...
  error("Eager macro-expansion failure: %S" (wrong-number-of-arguments (3 . ...
FAILED: Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2)

========================================
File failed to load correctly: ./test/cider-ns-tests.el

Traceback (most recent call last):
  load("./test/cider-ns-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-ns-refresh" (it "raises a u...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-repl-tests.el

Traceback (most recent call last):
  load("./test/cider-repl-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-repl--banner" :var (cider-v...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-selector-tests.el

Traceback (most recent call last):
  load("./test/cider-selector-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  require(cider-connection-test-utils)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/util...
  require(cider)
  load-with-code-conversion("/<<PKGBUILDDIR>>/cider.el"...
  internal-macroexpand-for-load((define-obsolete-variable-alias 'cider-defau...
  error("Eager macro-expansion failure: %S" (wrong-number-of-arguments (3 . ...
FAILED: Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2)

========================================
File failed to load correctly: ./test/cider-stacktrace-tests.el

Traceback (most recent call last):
  load("./test/cider-stacktrace-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider-stacktrace-some-suppressed-...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/cider-tests.el

Traceback (most recent call last):
  load("./test/cider-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  require(cider)
  load-with-code-conversion("/<<PKGBUILDDIR>>/cider.el"...
  internal-macroexpand-for-load((define-obsolete-variable-alias 'cider-defau...
  error("Eager macro-expansion failure: %S" (wrong-number-of-arguments (3 . ...
FAILED: Eager macro-expansion failure: (wrong-number-of-arguments (3 . 4) 2)

========================================
File failed to load correctly: ./test/cider-util-tests.el

Traceback (most recent call last):
  load("./test/cider-util-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/cide...
  internal-macroexpand-for-load((describe "cider--version" :var (cider-versi...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/nrepl-bencode-tests.el

Traceback (most recent call last):
  load("./test/nrepl-bencode-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/nrep...
  internal-macroexpand-for-load((describe "nrepl--bdecode-message" (describe...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/nrepl-client-tests.el

Traceback (most recent call last):
  load("./test/nrepl-client-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/nrep...
  internal-macroexpand-for-load((describe "nrepl-server-buffer-name" :var (n...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

========================================
File failed to load correctly: ./test/nrepl-dict-tests.el

Traceback (most recent call last):
  load("./test/nrepl-dict-tests.el" nil t nil nil)
  load-with-code-conversion("/<<PKGBUILDDIR>>/test/nrep...
  internal-macroexpand-for-load((describe "nrepl-dict-merge" :var (input) (b...
  error("Eager macro-expansion failure: %S" (buttercup-dynamic-binding-error...
FAILED: Eager macro-expansion failure: (buttercup-dynamic-binding-error . "buttercup requires `lexical-binding' to be t")

Ran 38 specs, 22 failed, in 2.02s.
buttercup-run failed: ""
dh_elpa_test: error: buttercup -L . -L test/utils returned exit code 255
make: *** [debian/rules:4: build] Error 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202405/

About the archive rebuild: The build was made on virtual machines
of type m6a.large and r6a.large from AWS, using sbuild and a
reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and affects, so that this is still visible in the BTS web
page for this package.

Thanks.


Reply to: