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

VTerm fails to build #340

Closed
rakanalh opened this issue Nov 20, 2022 · 2 comments
Closed

VTerm fails to build #340

rakanalh opened this issue Nov 20, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@rakanalh
Copy link

I am using this package with home-manager and have exactly the configuration as the readme suggests. However, performing home-manager switch results in the following:

gcc: error: unrecognized command-line option '-VTermSBClearNotExists'
make[2]: *** [CMakeFiles/vterm-module.dir/build.make:76: CMakeFiles/vterm-module.dir/vterm-module.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/vterm-module.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
error: builder for '/nix/store/l6x8272s8lhdgldlmaqgl7bfb0p5cslz-emacs-vterm-20221117.1342.drv' failed with exit code 2;
       last 10 log lines:
       > Checking /nix/store/fg82mvclvy8p6w3ppsxbfjwd6qqm0yvd-emacs-vterm-20221117.1342/share/emacs/site-lisp/elpa/vterm-20221117.1342/build/CMakeFiles/3.22.3/CompilerIdC...
       > Checking /nix/store/fg82mvclvy8p6w3ppsxbfjwd6qqm0yvd-emacs-vterm-20221117.1342/share/emacs/site-lisp/elpa/vterm-20221117.1342/build/CMakeFiles/3.22.3/CompilerIdC/tmp...
       > Done (Total of 1 file compiled, 2 skipped)
       > Parsing tar file...
       > Parsing tar file...done
       > [ 25%] Building C object CMakeFiles/vterm-module.dir/vterm-module.c.o
       > gcc: error: unrecognized command-line option '-VTermSBClearNotExists'
       > make[2]: *** [CMakeFiles/vterm-module.dir/build.make:76: CMakeFiles/vterm-module.dir/vterm-module.c.o] Error 1
       > make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/vterm-module.dir/all] Error 2
       > make: *** [Makefile:91: all] Error 2
       For full logs, run 'nix log /nix/store/l6x8272s8lhdgldlmaqgl7bfb0p5cslz-emacs-vterm-20221117.1342.drv'.
error: 1 dependencies of derivation '/nix/store/7yjqsrm8g47d9z5vg4j9czi93kdgc5zc-install-repo.drv' failed to build
error: 1 dependencies of derivation '/nix/store/afca5grc11p0qgks0v371bc70wm74la2-straight-emacs-env.drv' failed to build
error: 1 dependencies of derivation '/nix/store/6waca6x5w7a7m2ilp7b2d5cn9azy4sim-emacs-with-packages-28.1.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kqcr61f0sy5dfgpc5czdxxdgg7azp51z-emacs.service.drv' failed to build
error: 1 dependencies of derivation '/nix/store/kpim48zqz581crpr0kqjiawcl37qzdwn-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/40dks5n692ivcaqj6psa8r9369bma4xm-home-manager-generation.drv' failed to build

I can see that libvterm has fixed the issue on their repo but the fix is not reflected in this package.
akermu/emacs-libvterm#643

Not sure how to get the fix on my machine though... please advise.

@rakanalh rakanalh added the bug Something isn't working label Nov 20, 2022
@rakanalh
Copy link
Author

rakanalh commented Nov 21, 2022

Tried with:

let doom-emacs = pkgs.callPackage (builtins.fetchTarball {
  url = https://github.com/thiagokokada/nix-doom-emacs/archive/bump-doom-emacs.tar.gz;
}) {
  doomPrivateDir = ./dotfiles/doom;
};

The PR #316 is pending... but wanted to try it out. Doom reports it loaded 0 packages and doesn't take into consideration my .doom.d at all.

@rakanalh
Copy link
Author

Seems like the issue is fixed in the latest master of this repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant