jwiegley / emacs-async

Simple library for asynchronous processing in Emacs
GNU General Public License v3.0
837 stars 68 forks source link

Keep Getting errors on all Compilations at Server Startup #160

Closed stef204 closed 1 year ago

stef204 commented 1 year ago

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...?

thierryvolpiatto commented 1 year ago

stef204 @.***> writes:

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.

Yes and it is not new, we never had problems with this.

Every time I start emacs-server async starts compiling and gives off a huge number of lines as so:

What is emacs-server? Why make you think emacs-async (and/or helm) is/are involved here?

What is going on here? And how to fix?

Not enough infos, we don't know what you are doing exactly.

Why is async needed by helm in the first place...?

It is needed, and as said above this is not new.

-- Thierry

stef204 commented 1 year ago

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.

thierryvolpiatto commented 1 year ago

stef204 @.***> writes:

What do you need from me to help me debug/troubleshoot?

We don't know what is happenning and when, please describe step by step what you are doing with Emacs.

Also could it be due to the latest gcc version (12.2.0)?

Do you mean this happen when you are compiling Emacs?

Not every linux distro uses the latest version.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.*Message ID: @.***>

-- Thierry

stef204 commented 1 year ago

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.