From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: emacs daemon (from master) fails as systemd service Date: Tue, 14 Nov 2023 17:59:06 +0200 Message-ID: <83o7fws4vp.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9276"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Tue Nov 14 17:00:12 2023 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r2vpi-00026M-2e for geh-help-gnu-emacs@m.gmane-mx.org; Tue, 14 Nov 2023 17:00:10 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r2vp4-0005lu-OL; Tue, 14 Nov 2023 10:59:30 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2vp2-0005le-Jz for help-gnu-emacs@gnu.org; Tue, 14 Nov 2023 10:59:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r2vp2-00083w-Bc for help-gnu-emacs@gnu.org; Tue, 14 Nov 2023 10:59:28 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=WVhFjEUFB40qOelk3gyodm3RxcFuzYOkURQo+vcWfRk=; b=bXOMcPDa6xLu jbPYUEg5QGgfCTEOpxweUKFJSpm3GzkSEP3rChHbPWNrisq+e6g/cSxONAYhwgA+bIsI6tIL2aY5t k81JuStYbdW88/ILfOOD/VVeuMXPlin1p/xeS95SPwHamK0yQ3Drhyk4BAdzRhoaO3/prlCKzR1lZ sQeUvUoZ2mhShR6i0xMZywdMk/G/1mMkEDePHT7qxkL9C4hRos4Ifd7yge16uw+4Kz1hVvOM1Le1+ zarejQPFtkQ3yhkcj3oxfZJamYZpPaCAe9HY1IdYxGcMSyV9GNAg/2DhZuF0NZMkzVqOV6FXfYaaJ gpZafz/pJ6nDh6nYfv77cQ==; In-Reply-To: (message from Suvayu Ali on Tue, 14 Nov 2023 15:53:50 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:145531 Archived-At: > From: Suvayu Ali > Date: Tue, 14 Nov 2023 15:53:50 +0000 > > I've been using Emacs from master (7d42a762) for the last few months > because I wanted to try out tree-sitter. It was working fine until I > updated it today. > > When I start emacs normally `emacs -nw`, it starts up without issues. > When I manually start a daemon: `emacs --fg-daemon`, and connect from > another terminal with `emacsclient -nw`, that works as well. However, > when I start emacs from systemd, it fails. I log the stdout to a > file, and it has this: > > Error using execdir /opt/emacs/bin/: > emacs: /opt/emacs/bin/../native-lisp/29.1-4c106e1f/preloaded/register-80045398-5a7974d5.eln: > cannot open shared object file: No such file or directory If this is Emacs from the master branch, how come it looks for a .eln file that was compiled for Emacs 29.1? Sounds like some installation issue?