Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install vterm, repo not present after emacs-libvterm is built #1127

Open
nlw0 opened this issue Oct 31, 2023 · 2 comments
Open

Can't install vterm, repo not present after emacs-libvterm is built #1127

nlw0 opened this issue Oct 31, 2023 · 2 comments
Labels

Comments

@nlw0
Copy link

nlw0 commented Oct 31, 2023

What's wrong

This seems similar to a previous issue that has happened with vterm: akermu/emacs-libvterm#297

emacs-libvterm gets downloaded and built, but then the vterm repo is assumed to be preset in .emacs.d/straight/repos, but it's not. I'm not familiar enough with the whole process and package structures to understand why this happens. I'm not sure also where to report this, I thought maybe it's better to ask the straight.el folks first.

Directions to reproduce

(straight-use-package 'vterm)

It's difficult for me to test a proper MVP, and I'm not sure it's straight's problem. I need some hints to how to move ahead.

Version information

  • Emacs version: 29.1
  • Operating system: Ubuntu 18.04.4 LTS
@nlw0 nlw0 added the bug label Oct 31, 2023
@progfolio
Copy link
Contributor

I'm unable to reproduce with the following test case:

Test Case
(straight-bug-report
  :post-bootstrap
  (straight-use-package 'vterm)
  (let ((default-directory (straight--repos-dir)))
    (message "%S" (straight--process-run "ls" "-lah"))))
  • Test run at: 2023-11-01 17:11:09
  • system-type: gnu/linux
  • straight-version: prerelease (HEAD -> master, origin/master) 9b11112 2023-08-08
  • emacs-version: GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.38, cairo version 1.18.0) of 2023-10-09
Output
Bootstrapping straight.el...
Bootstrapping straight.el...done
Looking for gnu-elpa-mirror recipe → Cloning melpa...
Looking for gnu-elpa-mirror recipe → Cloning melpa...done
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...
Looking for nongnu-elpa recipe → Cloning gnu-elpa-mirror...done
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...
Looking for emacsmirror-mirror recipe → Cloning nongnu-elpa...done
Looking for emacsmirror-mirror recipe → Cloning el-get...
Looking for emacsmirror-mirror recipe → Cloning el-get...done
Looking for straight recipe → Cloning emacsmirror-mirror...
Looking for straight recipe → Cloning emacsmirror-mirror...done
Building straight...
Building straight...done

Test run with version: prerelease (HEAD -> develop, origin/develop) b3760f5 2023-10-21
Cloning emacs-libvterm (for vterm)...
Cloning emacs-libvterm (for vterm)...done
Building vterm...
Building vterm...done

(0 "total 0
drwxr-xr-x  9 n n  180 Nov  1 17:11 .
drwxr-xr-x  4 n n  100 Nov  1 17:11 ..
drwxr-xr-x  8 n n  580 Nov  1 17:11 el-get
drwxr-xr-x  4 n n  380 Nov  1 17:11 emacs-libvterm
drwxr-xr-x  3 n n  100 Nov  1 17:11 emacsmirror-mirror
drwxr-xr-x  3 n n 8.3K Nov  1 17:11 gnu-elpa-mirror
drwxr-xr-x 12 n n  360 Nov  1 17:11 melpa
drwxr-xr-x  4 n n  200 Nov  1 17:11 nongnu-elpa
drwxr-xr-x  8 n n  420 Nov  1 17:10 straight.el
" nil)
Packages:
"straight"                n/a                  develop b3760f5 2023-10-21
"org-elpa"                n/a                  n/a
"melpa"                   n/a                  master 327f330c 2023-10-29
"gnu-elpa-mirror"         n/a                  master 16c8e4a 2023-10-31
"nongnu-elpa"             n/a                  main e5adab3 2023-10-20
"el-get"                  melpa                master a5ba5852 2023-10-20
"emacsmirror-mirror"      n/a                  master 7410c31 2023-10-30
"vterm"                   melpa                master 94e2b0b 2023-04-17

Please try evaluating the test case in your *scratch* buffer and sharing the contents of the output buffer.

@raxod502
Copy link
Member

raxod502 commented Nov 4, 2023

emacs-libvterm gets downloaded and built, but then the vterm repo is assumed to be preset in .emacs.d/straight/repos, but it's not

If it's downloaded, then it seems to me like it must be present in the repositories directory. Otherwise, where was it downloaded to? Also, see akermu/emacs-libvterm#297 (comment) -

Keep in mind the repository name is emacs-libvterm so you will find your directory in ~/.emacs.d/straight/repos/emacs-libvterm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

3 participants