From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Building Emacs out of source tree? Date: Sun, 17 Mar 2024 20:24:28 +0100 Message-ID: References: <864jd554ck.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OyD7cox1LDqN6ZwL" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14668"; 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 Sun Mar 17 20:25:28 2024 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 1rlw8N-0003dT-Qi for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Mar 2024 20:25:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlw7X-0007XD-DI; Sun, 17 Mar 2024 15:24:35 -0400 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 1rlw7V-0007Wo-AF for help-gnu-emacs@gnu.org; Sun, 17 Mar 2024 15:24:33 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rlw7T-0005bF-HY for help-gnu-emacs@gnu.org; Sun, 17 Mar 2024 15:24:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ot5hWM7N4iCmHg8QDSS6JbWXsEz4j4GlPotJf77bcE4=; b=N98yH1l2r+p1aJYIHSHWax8joN QFvS9f5mTpCNdCQqqKhorsIhyRtiUiYq33SapIV8m+1caG5DYSkQu/BhHwDs6KHaWUOCBWmXELJpL BNNyva1o+xxu/LdskyXqd9qpAO+x2bTp49tQtI0cwSJKhXhRXqO9KvaWZCkEzYXddCI6EZWHmE4fM ZTfGELF8/2yW5rqAa2aG5n9vopdjDNJl2t6LOB1vY3+tDAKHJkY4IkcjZziHK6/z+n9/NF9pFacu9 HnuXyLeRLBawCt42cRlq/Jta7682nEJXaa88f43tqX//RgE0vRI6O2/RiW3XgSGBStoio8ZrqCudC J3cUqwOg==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1rlw7Q-0003Tv-Vp for help-gnu-emacs@gnu.org; Sun, 17 Mar 2024 20:24:29 +0100 Content-Disposition: inline In-Reply-To: <864jd554ck.fsf@gnu.org> Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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:146112 Archived-At: --OyD7cox1LDqN6ZwL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Mar 17, 2024 at 04:18:35PM +0200, Eli Zaretskii wrote: > > Date: Sun, 17 Mar 2024 13:54:21 +0100 > > From: > >=20 > > after a while, I'm trying again to pick up the custom of > > compiling Emacs. > >=20 > > Usually, I compiled in an empty build directory, invoking > > ../emacs/configure. >=20 > That is the correct way. Thanks for confirming. > > This used to work pretty well but doesn't seem to these > > days. I hit two-and-a-half snags: > >=20 > > - one missing chartab.o which happened to lie around=20 > > in the source dir under src; copying it over to the > > corresponding spot in the build dir let the build > > continue >=20 > How come? chartab.c is just one of the source files, and is not > mentioned specially in any Makefile, AFAICT. Why is that file somehow > missing, and others aren't? Please investigate why. (Could it be > your src tree was not clean of all the *.o files?) Good question. I was surprised myself -- anyway, copying chartab.o =66rom /src/ (why was it there in the first place?) to src/ let the build continue, until... > > - one missing symbol rpl_chmodat; this gets defined in > > some header -- sneaking a strategically placed > >=20 > > #undef rpl_chmodat >=20 > If this is on GNU/Linux, then you shouldn't need to have any > rpl_chmodat anywhere. I just searched my source/build tree on > GNU/Linux, and didn't find rpl_chmodat anywhere. So once again, > please investigate. It is GNU/Linux, yes, and this was my take too, since "my" libc does carry a chmodat. > And in any case, this doesn't seem to have anything to do with > out-of-tree builds, does it? Thing is, in-tree build (after a make bootstrap) succeeds right away. Out of tree builds (also after make bootstrap) failed for me as described above. So I'll definitely have a look. Next week is a bit busy, so it might take me until weekend. Thanks for confirming that (a) out-of-tree build is supposed to work and (b) there is interest in knowing when it doesn't. Cheers --=20 t --OyD7cox1LDqN6ZwL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCZfdDZQAKCRAFyCz1etHa RnDVAJ44jyyfmfoFN7pB1dKi248XKTfaXACfceJMzlWYJ42JAe3VwJwMQEcf7/c= =2ADr -----END PGP SIGNATURE----- --OyD7cox1LDqN6ZwL--