Skip to content

VTerm fails to build #340

@rakanalh

Description

@rakanalh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions