Skip to content

[Support]: Auctex #191

@m2Giles

Description

@m2Giles

Confirmation

  • I have read the documentation and need clarification.
  • I have searched previous issues to see if my question is a duplicate.
  • I am checking these without reading them.
  • I have checked the Elpaca github wiki to see if my issue is covered.

Elpaca Version

((elpaca . "b3e4ec2 HEAD -> master, origin/master, origin/HEAD") (isntaller . 0.5) (emacs . "GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)") (git . "git version 2.42.0"))

Operating System

Linux

Description

This is a duplicate of #181. Auctex seemingly will not install on 29.1 on with elpaca.

I've used the test snippet of code however, the *.el.in are not properly renamed. When manually changing things it breaks.

From the code snippet in the other thread I ran the following.

Test Case

How to run this test?

(elpaca-test
  :early-init (setq package-enable-at-startup nil elpaca-ui-row-limit most-positive-fixnum elpaca-menu-functions '(elpaca-menu-gnu-devel-elpa))
  :init (elpaca (auctex :pre-build (("./autogen.sh") ("./configure" "--with-texmf-dir=$(dirname $(kpsexpand '$TEXMFHOME'))") ("make"))))
  (elpaca-wait)
  (elpaca-test-log "auctex|"))
Host Env
elpacab3e4ec2 HEAD -> master, origin/master, origin/HEAD
isntaller0.5
emacsGNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)
gitgit version 2.42.0
Output
  INFO     Scraping files for loaddefs... 
  INFO     Scraping files for loaddefs...done
  GEN      ../elpaca-autoloads.el
Cloning into '/tmp/elpaca.ScdLXd/elpaca/repos/elpaca'...
Your branch is up to date with 'origin/master'.
Checking /tmp/elpaca.ScdLXd/elpaca/repos/elpaca...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-info.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-log.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-manager.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-menu-elpa.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-menu-melpa.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-menu-org.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-process.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-test.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca-ui.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/elpaca.el...
Checking /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/doc...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/doc/early-init.el...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/doc/init.el...
Checking /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/extensions...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/extensions/elpaca-use-package.el...
Checking /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/images...
Checking /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/test...
Compiling /tmp/elpaca.ScdLXd/elpaca/repos/elpaca/test/elpaca-test.el...
Done (Total of 11 files compiled, 3 skipped in 4 directories)

Downloading GNU-devel ELPA...
elpaca-log: "auctex|"
"
auctex                         cloning              Cloning                                                                          00.747748
auctex                         cloning              Resolving deltas: 100% (203/203), done.                                          03.312171
auctex                         pre-build            Running :pre-build commands                                                      03.331218
auctex                         pre-build            Running command: (\"./autogen.sh\")                                                03.419579
auctex                         pre-build            $/usr/sbin/emacs -Q --batch --eval (with-temp-buffer (setq load-prefer-newer t) (let ((p (make-process :name \"elpaca-process-poll-/tmp/elpaca.ScdLXd/elpaca/repos/auctex/autogen.sh\" :buffer (current-buffer) :command '(\"/tmp/elpaca.ScdLXd/elpaca/repos/auctex/autogen.sh\")))) (add-hook 'after-change-functions (lambda (beg end _) (when (process-live-p p) (message \"%s\" (string-trim (buffer-substring-no-properties beg end))))) nil t) (while (accept-process-output p)))) 03.587063
auctex                         pre-build            makeinfo -D rawfile --no-headers intro.texi --output ../README                   03.588395
auctex                         pre-build            makeinfo -D rawfile --no-headers preview-readme.texi --output - >> ../README     03.699891
auctex                         pre-build            makeinfo -D rawfile --no-headers install.texi --output ../INSTALL                03.850714
auctex                         pre-build            makeinfo -D rawfile --no-headers todo.texi --output ../TODO                      04.026036
auctex                         pre-build            makeinfo -D rawfile --no-headers preview-todo.texi --output - >> ../TODO         04.168424
auctex                         pre-build            makeinfo -D rawfile --no-headers wininstall.texi --output ../INSTALL.windows     04.281999
auctex                         pre-build            makeinfo -D rawfile --no-headers faq.texi --output ../FAQ                        04.419725
auctex                         pre-build            makeinfo -D rawfile --no-headers --number-sections preview-faq.texi --output - >> ../FAQ 04.532831
auctex                         pre-build            makeinfo -D rawfile --no-headers changes.texi --output ../CHANGES                04.682144
auctex                         pre-build            makeinfo -D rawfile --no-headers --number-sections preview-problems.texi --output ../PROBLEMS.preview 04.973855
auctex                         pre-build            perl preview-dtxdoc.pl ../latex/preview.dtx \\                                    05.099628
auctex                         pre-build            	preview-dtxdoc.texi                                                      05.100050
auctex                         pre-build            echo @set VERSION 13.2 >version.texi                                             05.103970
auctex                         pre-build            echo @set UPDATED 2023-10-10 >>version.texi                                      05.112474
auctex                         pre-build            makeinfo preview-latex.texi                                                      05.112915
auctex                         pre-build            makeinfo auctex.texi                                                             05.532585
auctex                         pre-build            pdftex tex-ref.tex                                                               06.956588
auctex                         pre-build            This is pdfTeX, Version 3.141592653-2.6-1.40.25 (TeX Live 2023/Arch Linux) (preloaded format=pdftex) 06.991386
auctex                         pre-build             restricted \\write18 enabled.                                                    06.991825
auctex                         pre-build            entering extended mode                                                           06.999784
auctex                         pre-build            (./tex-ref.tex                                                                   07.000204
auctex                         pre-build            [3 columns per page]                                                             07.000621
auctex                         pre-build            Underfull \\vbox (badness 10000) detected at line 401                             07.000989
auctex                         pre-build            Underfull \\vbox (badness 10000) detected at line 442                             07.001355
auctex                         pre-build            [1                                                                               07.001769
auctex                         pre-build            {/var/lib/texmf/fonts/map/pdftex/updmap/pdftex.map                               07.002138
auctex                         pre-build            }                                                                                07.042207
auctex                         pre-build            ]                                                                                07.050216
auctex                         pre-build            [2                                                                               07.050687
auctex                         pre-build            ]                                                                                07.051113
auctex                         pre-build            )                                                                                07.051506
auctex                         pre-build            (see the transcript file for additional information)</usr/share/texmf-dist/font  07.051969
auctex                         pre-build            s/type1/public/amsfonts/cm/cmbx10.pfb                                            07.052411
auctex                         pre-build            >                                                                                07.052850
auctex                         pre-build            </usr/share/texmf-dist/fonts/type1/public                                        07.053278
auctex                         pre-build            /amsfonts/cm/cmbx8.pfb                                                           07.053681
auctex                         pre-build            >                                                                                07.054080
auctex                         pre-build            </usr/share/texmf-dist/fonts/type1/public/amsfonts/cmext                         07.054482
auctex                         pre-build            ra/cmcsc8.pfb                                                                    07.054922
auctex                         pre-build            >                                                                                07.055327
auctex                         pre-build            </usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmmi10.pfb                 07.055742
auctex                         pre-build            >                                                                                07.056149
auctex                         pre-build            </usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmr6.pfb                   07.056596
auctex                         pre-build            >                                                                                07.057007
auctex                         pre-build            </usr/share/texm                                                                 07.057422
auctex                         pre-build            f-dist/fonts/type1/public/amsfonts/cm/cmr7.pfb                                   07.057841
auctex                         pre-build            >                                                                                07.058279
auctex                         pre-build            </usr/share/texmf-dist/fonts/typ                                                 07.067443
auctex                         pre-build            e1/public/amsfonts/cm/cmr8.pfb                                                   07.067863
auctex                         pre-build            >                                                                                07.068233
auctex                         pre-build            </usr/share/texmf-dist/fonts/type1/public/amsfon                                 07.068683
auctex                         pre-build            ts/cm/cmsl8.pfb                                                                  07.069062
auctex                         pre-build            >                                                                                07.079663
auctex                         pre-build            </usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy6.pfb                  07.080108
auctex                         pre-build            >                                                                                07.080568
auctex                         pre-build            </usr/share/texmf-dist/fonts/type1/public/amsfonts/cm/cmsy8.pfb                  07.081011
auctex                         pre-build            >                                                                                07.081453
auctex                         pre-build            </usr/share/te                                                                   07.081950
auctex                         pre-build            xmf-dist/fonts/type1/public/amsfonts/cm/cmti8.pfb                                07.082452
auctex                         pre-build            >                                                                                07.082958
auctex                         pre-build            </usr/share/texmf-dist/fonts/                                                    07.083399
auctex                         pre-build            type1/public/amsfonts/cm/cmtt8.pfb                                               07.083919
auctex                         pre-build            >                                                                                07.084364
auctex                         pre-build            Output written on tex-ref.pdf (2 pages, 153437 bytes).                           07.084856
auctex                         pre-build            Transcript written on tex-ref.log.                                               07.085304
auctex                         pre-build            Running command: (\"./configure\" \"--with-texmf-dir=$(dirname $(kpsexpand '$TEXMFHOME'))\") 07.085820
auctex                         pre-build            $/usr/sbin/emacs -Q --batch --eval (with-temp-buffer (setq load-prefer-newer t) (let ((p (make-process :name \"elpaca-process-poll-/tmp/elpaca.ScdLXd/elpaca/repos/auctex/configure\" :buffer (current-buffer) :command '(\"/tmp/elpaca.ScdLXd/elpaca/repos/auctex/configure\" \"--with-texmf-dir=$(dirname $(kpsexpand '$TEXMFHOME'))\")))) (add-hook 'after-change-functions (lambda (beg end _) (when (process-live-p p) (message \"%s\" (string-trim (buffer-substring-no-properties beg end))))) nil t) (while (accept-process-output p)))) 07.141004
auctex                         pre-build            checking for make...                                                             07.141623
auctex                         pre-build            make                                                                             07.142123
auctex                         pre-build            checking whether make sets $(MAKE)...                                            07.142616
auctex                         pre-build            yes                                                                              07.150190
auctex                         pre-build            checking for a BSD-compatible install...                                         07.150711
auctex                         pre-build            /usr/bin/install -c                                                              07.151202
auctex                         pre-build            checking for date with git...                                                    07.151702
auctex                         pre-build            2023-10-10                                                                       07.152199
auctex                         pre-build            checking for release with git...                                                 07.152699
auctex                         pre-build            git not found, checking for release in ChangeLog:                                07.160286
auctex                         pre-build            13.2                                                                             07.160848
auctex                         pre-build            checking for date with git...                                                    07.161350
auctex                         pre-build            2023-10-10                                                                       07.161889
auctex                         pre-build            checking for release with git...                                                 07.162401
auctex                         pre-build            git not found, checking for release in ChangeLog:                                07.162921
auctex                         pre-build            13.2                                                                             07.163422
auctex                         pre-build            checking for emacs...                                                            07.163978
auctex                         pre-build            /usr/sbin/emacs                                                                  07.164480
auctex                         pre-build            checking for Emacs prefix...                                                     07.165045
auctex                         pre-build            \"/usr/sbin\"                                                                      07.201093
auctex                         pre-build            checking if Emacs is recent enough...                                            07.212496
auctex                         pre-build            yes                                                                              07.247148
auctex                         pre-build            checking if build directory is valid...                                          07.253505
auctex                         pre-build            yes                                                                              07.294850
auctex                         pre-build            checking where lisp files go...                                                  07.303901
auctex                         pre-build            configure: error: Cannot locate lisp directory,                                  07.591138
auctex                         pre-build            use  --with-lispdir, --datadir, or possibly --prefix to rectify this             07.591767
auctex                         pre-build            Running command: (\"make\")                                                        07.600962
auctex                         pre-build            $/usr/sbin/emacs -Q --batch --eval (with-temp-buffer (setq load-prefer-newer t) (let ((p (make-process :name \"elpaca-process-poll-make\" :buffer (current-buffer) :command '(\"make\")))) (add-hook 'after-change-functions (lambda (beg end _) (when (process-live-p p) (message \"%s\" (string-trim (buffer-substring-no-properties beg end))))) nil t) (while (accept-process-output p)))) 07.644155
auctex                         pre-build            make: *** No targets specified and no makefile found.  Stop.                     07.644824
auctex                         pre-build            :pre-build steps finished                                                        07.648989
auctex                         blocked              Cloning Dependencies                                                             07.649568
auctex                         no-deps              No external dependencies detected                                                07.654082
auctex                         linking              Linking build files                                                              07.654652
auctex                         linking              Build files linked                                                               07.658233
auctex                         autoloads            Generating autoloads: /tmp/elpaca.ScdLXd/elpaca/builds/auctex                    07.659002
auctex                         autoloads              INFO     Scraping files for loaddefs...                                        07.765400
auctex                         autoloads              INFO     Scraping files for loaddefs...done                                    07.813908
auctex                         autoloads              GEN      auctex-autoloads.el                                                   07.818881
auctex                         autoloads            Autoloads Generated                                                              07.819463
auctex                         byte-compilation     Byte compiling                                                                   07.820025
auctex                         byte-compilation     Checking /tmp/elpaca.ScdLXd/elpaca/builds/auctex...                              07.877090
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/auctex-autoloads.el...         07.881446
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/bib-cite.el...                 07.891541
auctex                         byte-compilation     In toplevel form:                                                                07.901643
auctex                         byte-compilation     bib-cite.el:590:2: Error: Cannot open load file: No such file or directory, tex-site 07.902225
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/context-en.el...               07.902819
auctex                         byte-compilation     In toplevel form:                                                                07.903385
auctex                         byte-compilation     context-en.el:33:2: Error: Cannot open load file: No such file or directory, tex-site 07.904017
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/context-nl.el...               07.904602
auctex                         byte-compilation     In toplevel form:                                                                07.911736
auctex                         byte-compilation     context-nl.el:33:2: Error: Cannot open load file: No such file or directory, tex-site 07.912324
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/context.el...                  07.912921
auctex                         byte-compilation     In toplevel form:                                                                07.913519
auctex                         byte-compilation     context.el:52:2: Error: Cannot open load file: No such file or directory, tex-site 07.914256
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/font-latex.el...               07.914884
auctex                         byte-compilation     In toplevel form:                                                                07.934978
auctex                         byte-compilation     font-latex.el:38:2: Error: Cannot open load file: No such file or directory, tex-site 07.935564
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/latex-flymake.el...            07.936100
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/latex.el...                    07.936717
auctex                         byte-compilation     In toplevel form:                                                                07.945073
auctex                         byte-compilation     latex.el:31:2: Error: Cannot open load file: No such file or directory, tex-site 07.945702
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/lpath.el...                    07.946291
auctex                         byte-compilation     In toplevel form:                                                                07.946913
auctex                         byte-compilation     lpath.el:12:9: Warning: assignment to free variable ‘TeX-lisp-directory’         07.947524
auctex                         byte-compilation     lpath.el:13:9: Warning: assignment to free variable ‘TeX-auto-global’            07.948140
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/multi-prompt.el...             07.948755
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/plain-tex.el...                07.949368
auctex                         byte-compilation     In toplevel form:                                                                07.950016
auctex                         byte-compilation     plain-tex.el:31:2: Error: Cannot open load file: No such file or directory, tex-site 07.950664
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-bar.el...                  07.951283
auctex                         byte-compilation     In toplevel form:                                                                07.955156
auctex                         byte-compilation     tex-bar.el:65:2: Error: Cannot open load file: No such file or directory, tex-site 07.955818
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-fold.el...                 07.956462
auctex                         byte-compilation     In toplevel form:                                                                07.965251
auctex                         byte-compilation     tex-fold.el:49:2: Error: Cannot open load file: No such file or directory, tex-site 07.965918
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-font.el...                 07.966564
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-info.el...                 07.967200
auctex                         byte-compilation     In toplevel form:                                                                07.967875
auctex                         byte-compilation     tex-info.el:30:2: Error: Cannot open load file: No such file or directory, tex-site 07.968568
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-ispell.el...               07.969216
auctex                         byte-compilation     In toplevel form:                                                                07.975343
auctex                         byte-compilation     tex-ispell.el:80:2: Error: Cannot open load file: No such file or directory, tex-site 07.976006
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-jp.el...                   07.976662
auctex                         byte-compilation     In toplevel form:                                                                07.977308
auctex                         byte-compilation     tex-jp.el:37:2: Error: Cannot open load file: No such file or directory, tex-site 07.978001
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-mik.el...                  07.978720
auctex                         byte-compilation     In toplevel form:                                                                07.985439
auctex                         byte-compilation     tex-mik.el:32:2: Error: Cannot open load file: No such file or directory, tex-site 07.986106
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-style.el...                07.986816
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex-wizard.el...               07.987474
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/tex.el...                      07.997659
auctex                         byte-compilation     In toplevel form:                                                                08.008377
auctex                         byte-compilation     tex.el:35:2: Error: Cannot open load file: No such file or directory, tex-site   08.009002
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/texmathp.el...                 08.009640
auctex                         byte-compilation     Compiling /tmp/elpaca.ScdLXd/elpaca/builds/auctex/toolbar-x.el...                08.010281
auctex                         byte-compilation     Done (Total of 8 files compiled, 14 failed, 1 skipped)                           08.013035
auctex                         byte-compilation     Byte compilation complete                                                        08.013718
auctex                         info                 Compiling Info files                                                             08.014400
auctex                         info                 Info source files not found                                                      08.015152
auctex                         activation           Activating package                                                               08.015828
auctex                         activation           Package build dir added to load-path                                             08.016509
auctex                         activation           Caching autoloads                                                                08.017207
auctex                         activation           Autoloads cached                                                                 08.018145
auctex                         finished             ✓ 7.293 secs                                                                     08.018877
"

 Test Env

Elpaca b1a2c30 HEAD -> master, origin/master, origin/HEAD
installer:      0.5
emacs-version:  GNU Emacs 29.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.17.8)
git --version:  git version 2.42.0

But as you can see it errors being unable to find tex-site. Auctex's modes are selectable, but do not load saying that tex-site is missing.

Were there any updates to the install methods for auctex? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions