Keep Getting errors on all Compilations at Server Startup
Closed this issue · 4 comments
Emacs 28.2
async-20221103.638
Linux
I am not familiar with async
but helm
and helm-core
have pulled it in as a dependency.
Every time I start emacs-server
async
starts compiling and gives off a huge number of lines as so:
x86_64-pc-linux-gnu-gcc-12.2.0: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
uncompressing mailabbrev.el.gz...
uncompressing mailabbrev.el.gz...done
Compiling /usr/share/emacs/28.2/lisp/gnus/gnus-util.el.gz...
uncompressing gnus-util.el.gz...
uncompressing gnus-util.el.gz...done
x86_64-pc-linux-gnu-gcc-12.2.0: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
x86_64-pc-linux-gnu-gcc-12.2.0: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
Compiling /usr/share/emacs/28.2/lisp/epa.el.gz...
uncompressing epa.el.gz...
uncompressing epa.el.gz...done
Compiling /usr/share/emacs/28.2/lisp/mail/rmail.el.gz...
uncompressing rmail.el.gz...
uncompressing rmail.el.gz...done
x86_64-pc-linux-gnu-gcc-12.2.0: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
x86_64-pc-linux-gnu-gcc-12.2.0: fatal error: cannot execute ‘as’: execvp: No such file or directory
compilation terminated.
And many more lines.
What is going on here? And how to fix?
Why is async
needed by helm
in the first place...?
emacsclient works in conjunction with the built-in Emacs server. emacsclient - tells a running Emacs to visit a file.
and
--daemon[=name], --bg-daemon[=name]
Start Emacs as a daemon, enabling the Emacs server and disconnecting from the terminal. You can then use the emacsclient (see emacsclient(1)) command to connect to the server (with optional name).
async
is obviously involved since async
is creating this warning/error messages due to trying to compile and failing.
I am not saying there is something wrong with async
, just want to get it to work successfully--since I need it for helm
which is very valuable.
What do you need from me to help me debug/troubleshoot?
Also could it be due to the latest gcc version (12.2.0)? Not every linux distro uses the latest version.
No, this happens when I start emacs-server + emacs client.
It seems this is actually an emacs issue and not async
.
I have rebooted now and have not run into it for the first time today. So it may have resolved itself.
Let's close this. Will re-open if needed.
Thanks.