Subject: bug#70143: closed (Re: emacs-sly-named-readtables doesn't build)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 23 Mar 2025 10:14:03 +0000

Your bug report

#70143: emacs-sly-named-readtables doesn't build

which was filed against the guix package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
70143: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=70143
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: emacs-sly-named-readtables doesn't build
From: Cayetano Santos <[email-masked]>
To: [email-masked]
Cc: [email-masked], [email-masked], [email-masked], Rostislav Svoboda <[email-masked]>, [email-masked]
Date: Sun, 23 Mar 2025 11:13:49 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Fixed, see #73143.

Subject: emacs-sly-named-readtables doesn't build
From: Rostislav Svoboda <[email-masked]>
To: [email-masked]
Cc: Katherine Cox-Buday <[email-masked]>, Liliana Marie Prikler <[email-masked]>, Andrew Tropin <[email-masked]>
Date: Tue, 2 Apr 2024 16:21:18 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

I guess it has something to do with the:
1. 72ca1a336ab296187a4d025c399fade63004c780 : Merge branch 'emacs-team'
2. ungexp'y-like `#$` in `(file-name-directory #$)` in the
sly-named-readtables-autoloads.el

$ guix shell --development guix direnv gnupg git --pure
bost@ecke ~/dev/guix [env]$ ./pre-inst-env guix build --cores=24
--keep-failed emacs-sly-named-readtables
[bunch of warnings
;;; note: source file *.scm
;;;       newer than compiled *.go
]
The following derivation will be built:
  /gnu/store/lg72fi98c721fvfqqly4r40qqn6i9dr4-emacs-sly-named-readtables-0.1-1.a5a4267.drv
building /gnu/store/lg72fi98c721fvfqqly4r40qqn6i9dr4-emacs-sly-named-readtables-0.1-1.a5a4267.drv...
WARNING: (guile-user): imported module (guix build utils) overrides
core binding `delete'
starting phase `set-SOURCE-DATE-EPOCH'
phase `set-SOURCE-DATE-EPOCH' succeeded after 0.0 seconds
starting phase `set-paths'
environment variable `PATH' set to
`/gnu/store/sxy0m2kafl8aznf5l40j77lms7805v07-emacs-minimal-29.3/bin:/gnu/store/sxx22f98vfbavcqmdksm6as8fvskpxiw-tar-1.34/bin:/gnu/store/x24bm49ag5dvki72mjdz195bfb89nrnb-gzip-1.12/bin:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/bin:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/bin:/gnu/store/zmcf5kpqiighkbh7wslf91qdjwj06yr1-diffutils-3.8/bin:/gnu/store/210yfax18r2g2inxrml9435ikhfcca6m-patch-2.7.6/bin:/gnu/store/c8jyph2lxw0m9na34fg8h70n4nnnz7is-findutils-4.9.0/bin:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/bin:/gnu/store/xxcfsimvxz7z4dj593gnqbkzc6picwzq-sed-4.8/bin:/gnu/store/yrv5f70mn83a876b78i5s79dd2hsh0zf-grep-3.8/bin:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/bin:/gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/bin:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/bin:/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/bin:/gnu/store/na1dpbbcxjaa3n8wkwrfpch476f90hlf-ld-wrapper-0/bin:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/bin:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/bin:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/sbin'
environment variable `EMACSLOADPATH' set to
`/gnu/store/sxy0m2kafl8aznf5l40j77lms7805v07-emacs-minimal-29.3/share/emacs/site-lisp:/gnu/store/q5dbiqr6f4v8zdkqsrn75ipids809d8l-emacs-sly-1.0.43-9.9c43bf6/share/emacs/site-lisp'
environment variable `EMACSNATIVELOADPATH' unset
environment variable `INFOPATH' set to
`/gnu/store/sxy0m2kafl8aznf5l40j77lms7805v07-emacs-minimal-29.3/share/info:/gnu/store/q5dbiqr6f4v8zdkqsrn75ipids809d8l-emacs-sly-1.0.43-9.9c43bf6/share/info:/gnu/store/sxx22f98vfbavcqmdksm6as8fvskpxiw-tar-1.34/share/info:/gnu/store/x24bm49ag5dvki72mjdz195bfb89nrnb-gzip-1.12/share/info:/gnu/store/zmcf5kpqiighkbh7wslf91qdjwj06yr1-diffutils-3.8/share/info:/gnu/store/c8jyph2lxw0m9na34fg8h70n4nnnz7is-findutils-4.9.0/share/info:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/share/info:/gnu/store/xxcfsimvxz7z4dj593gnqbkzc6picwzq-sed-4.8/share/info:/gnu/store/yrv5f70mn83a876b78i5s79dd2hsh0zf-grep-3.8/share/info:/gnu/store/a5i8avx826brw5grn3n4qv40g514505c-coreutils-9.1/share/info:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/share/info:/gnu/store/rib9g2ig1xf3kclyl076w28parmncg4k-bash-minimal-5.1.16/share/info:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/share/info:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/share/info:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/share/info'
environment variable `TREE_SITTER_GRAMMAR_PATH' unset
environment variable `BASH_LOADABLES_PATH' unset
environment variable `C_INCLUDE_PATH' set to
`/gnu/store/sxy0m2kafl8aznf5l40j77lms7805v07-emacs-minimal-29.3/include:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/include:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/include:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/include:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/include:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/include:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/include:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/include:/gnu/store/5iklcps70c0sfkxvlrhg8jhf3q4h18bj-linux-libre-headers-5.15.49/include'
environment variable `CPLUS_INCLUDE_PATH' set to
`/gnu/store/sxy0m2kafl8aznf5l40j77lms7805v07-emacs-minimal-29.3/include:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/include:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/include:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/include:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/include:/gnu/store/wj7casda7rb55rvqjnpm0bm7a2zm6618-make-4.3/include:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/include:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include/c++:/gnu/store/5lqhcv91ijy82p92ac6g5xw48l0lwwz4-gcc-11.3.0/include:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/include:/gnu/store/5iklcps70c0sfkxvlrhg8jhf3q4h18bj-linux-libre-headers-5.15.49/include'
environment variable `LIBRARY_PATH' set to
`/gnu/store/sxy0m2kafl8aznf5l40j77lms7805v07-emacs-minimal-29.3/lib:/gnu/store/j8wlfmlmfvpbza6is9wv9xsd8psrxn00-bzip2-1.0.8/lib:/gnu/store/gr0sy0m1mv36qv54idm6cn10l3mngshq-file-5.44/lib:/gnu/store/hc05d76f1j3iz3v2bs5jz4fpljl1r4dj-gawk-5.2.1/lib:/gnu/store/6k1yys9wqrfn4y41ic1win8gpnimncwj-xz-5.2.8/lib:/gnu/store/zh4x65snfis7svs6906gj1z8i7dx2j3m-binutils-2.38/lib:/gnu/store/gsjczqir1wbz8p770zndrpw4rnppmxi3-glibc-2.35/lib:/gnu/store/l0yryi5jsa1grnvw01c9nkz9c81cv224-glibc-2.35-static/lib:/gnu/store/visfdda934gvivwihwhlm63fdqhhcc8a-glibc-utf8-locales-2.35/lib'
environment variable `GUIX_LOCPATH' set to
`/gnu/store/visfdda934gvivwihwhlm63fdqhhcc8a-glibc-utf8-locales-2.35/lib/locale'
phase `set-paths' succeeded after 0.0 seconds
starting phase `install-locale'
using 'en_US.utf8' locale for category "LC_ALL"
phase `install-locale' succeeded after 0.0 seconds
starting phase `unpack'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/screenshot.png'
-> `./screenshot.png'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/sly-named-readtables.el'
-> `./sly-named-readtables.el'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/slynk-named-readtables.lisp'
-> `./slynk-named-readtables.lisp'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/README.md'
-> `./README.md'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/.gitignore'
-> `./.gitignore'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/example.lisp'
-> `./example.lisp'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/sly-named-readtables-autoloads.el'
-> `./sly-named-readtables-autoloads.el'
`/gnu/store/fzw9bxmqk2l54xnv00432sj5y3hsxig5-emacs-sly-named-readtables-0.1-1.a5a4267-checkout/slynk-named-readtables.asd'
-> `./slynk-named-readtables.asd'
phase `unpack' succeeded after 0.0 seconds
starting phase `patch-el-files'
phase `patch-el-files' succeeded after 0.0 seconds
starting phase `expand-load-path'
source directory
"/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0/source"
prepended to the `EMACSLOADPATH' environment variable
expanded load paths for sly-1.0.43-9.9c43bf6
phase `expand-load-path' succeeded after 0.0 seconds
starting phase `add-install-to-native-load-path'
phase `add-install-to-native-load-path' succeeded after 0.0 seconds
starting phase `make-autoloads'
  INFO     Scraping files for loaddefs...
  INFO     Scraping files for loaddefs...done
phase `make-autoloads' succeeded after 0.0 seconds
starting phase `ensure-package-description'
sly-named-readtables-pkg.el file generated.
phase `ensure-package-description' succeeded after 0.1 seconds
starting phase `patch-usr-bin-file'
phase `patch-usr-bin-file' succeeded after 0.0 seconds
starting phase `patch-source-shebangs'
phase `patch-source-shebangs' succeeded after 0.0 seconds
starting phase `patch-generated-file-shebangs'
phase `patch-generated-file-shebangs' succeeded after 0.0 seconds
starting phase `check'
test suite not run
phase `check' succeeded after 0.0 seconds
starting phase `install'
`/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0/source/example.lisp'
-> `/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/example.lisp'
`/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0/source/sly-named-readtables-autoloads.el'
-> `/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.el'
`/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0/source/sly-named-readtables-pkg.el'
-> `/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-pkg.el'
`/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0/source/sly-named-readtables.el'
-> `/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables.el'
`/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0/source/slynk-named-readtables.asd'
-> `/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/slynk-named-readtables.asd'
`/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0/source/slynk-named-readtables.lisp'
-> `/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/slynk-named-readtables.lisp'
phase `install' succeeded after 0.0 seconds
starting phase `build'

In toplevel form:
sly-named-readtables-autoloads.el:14:17: Warning: reference to free
variable ?sly-contribs?
sly-named-readtables-autoloads.el:14:17: Warning: assignment to free
variable ?sly-contribs?

In toplevel form:
sly-named-readtables.el:70:20: Warning: Use keywords rather than
deprecated positional arguments to `define-minor-mode'
phase `build' succeeded after 0.1 seconds
starting phase `validate-compiled-autoloads'
Loading /gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc...
Wrong type argument: stringp, nil

Error: wrong-type-argument (stringp nil)
  mapbacktrace(#f(compiled-function (evald func args flags) #<bytecode
-0x1bffad046510e41>))
  debug-early-backtrace()
  debug-early(error (wrong-type-argument stringp nil))
  file-name-directory(nil)
  byte-code("\301\300\302\303\304!\206\13\0\10@!\"\210\305\306\307\"\210\310\311!\203\36\0\311\312\313\"\210\304\207"
[load-path add-to-list directory-file-name file-name-directory nil
eval-after-load sly #f(compiled-function () #<bytecode
0xb0923d17666e8ba>) fboundp register-definition-prefixes
"sly-named-readtables" ("sly-named-readtable")] 5)
  load("/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc")
  mapc(load ("/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc"))
  eval((mapc #'load
'("/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc"))
t)
  eval((eval '(mapc #'load
'("/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc"))
t) t)
  command-line-1(("--eval=(eval '(mapc #'load
'(\"/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc\"))
t)"))
  command-line()
  normal-top-level()
error: in phase 'validate-compiled-autoloads': uncaught exception:
%exception #<&invoke-error program: "emacs" arguments: ("--quick"
"--batch" "--eval=(eval '(mapc #'load
'(\"/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc\"))
t)") exit-status: 255 term-signal: #f stop-signal: #f>
phase `validate-compiled-autoloads' failed after 0.0 seconds
command "emacs" "--quick" "--batch" "--eval=(eval '(mapc #'load
'(\"/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.elc\"))
t)" failed with status 255
note: keeping build directory
`/tmp/guix-build-emacs-sly-named-readtables-0.1-1.a5a4267.drv-0'
builder for `/gnu/store/lg72fi98c721fvfqqly4r40qqn6i9dr4-emacs-sly-named-readtables-0.1-1.a5a4267.drv'
failed with exit code 1
build of /gnu/store/lg72fi98c721fvfqqly4r40qqn6i9dr4-emacs-sly-named-readtables-0.1-1.a5a4267.drv
failed
View build log at
'/var/log/guix/drvs/lg/72fi98c721fvfqqly4r40qqn6i9dr4-emacs-sly-named-readtables-0.1-1.a5a4267.drv.gz'.
guix build: error: build of
`/gnu/store/lg72fi98c721fvfqqly4r40qqn6i9dr4-emacs-sly-named-readtables-0.1-1.a5a4267.drv'
failed
bost@ecke ~/dev/guix [env]$ git show
error: cannot run less: No such file or directory
commit 72ca1a336ab296187a4d025c399fade63004c780 (HEAD)
Merge: a915a57d91 ce999ae3a2
Author: Liliana Marie Prikler <[email-masked]>
Date:   Sat Mar 30 10:02:52 2024

    Merge branch 'emacs-team'

bost@ecke ~/dev/guix [env]$ cat
/gnu/store/jgyvp56xr0mxvkpmrdav4fdykdyl0rxi-emacs-sly-named-readtables-0.1-1.a5a4267/share/emacs/site-lisp/sly-named-readtables-0.1-1.a5a4267/sly-named-readtables-autoloads.el
;;; sly-named-readtables-autoloads.el --- automatically extracted autoloads
;;
;;; Code:

(add-to-list 'load-path (directory-file-name
                         (or (file-name-directory #$) (car load-path))))

;;;### (autoloads nil "sly-named-readtables" "sly-named-readtables.el"
;;;;;;  (0 0 0 0))
;;; Generated autoloads from sly-named-readtables.el

(with-eval-after-load 'sly
  (add-to-list 'sly-contribs 'sly-named-readtables 'append))

(if (fboundp 'register-definition-prefixes)
(register-definition-prefixes "sly-named-readtables"
'("sly-named-readtable")))

;;;***

;; Local Variables:
;; no-update-autoloads: t
;; coding: utf-8
;; End:
;;; sly-named-readtables-autoloads.el ends here