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: Building Emacs out of source tree? Date: Sun, 17 Mar 2024 16:18:35 +0200 Message-ID: <864jd554ck.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33052"; 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 15:19:07 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 1rlrLv-0008Kl-5n for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 17 Mar 2024 15:19:07 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rlrLU-0003DA-Se; Sun, 17 Mar 2024 10:18:40 -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 1rlrLT-0003D1-Pt for help-gnu-emacs@gnu.org; Sun, 17 Mar 2024 10:18:39 -0400 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 1rlrLT-00073u-FS for help-gnu-emacs@gnu.org; Sun, 17 Mar 2024 10:18:39 -0400 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=IUB9Avj1zxDHgUmKFGumB8hyEX2XwX5NXt8zz3Dnpz4=; b=nAkxo5Nh51i4 oDGdFpxUB0nDK+7sqeJ1oNB3sKnyqBqulxvoWCilNT6t6fvYYZUHeSxq4AF/Y13Jo1sj/jkOlkR5X o0HMv/58VROiEYyOLDFyqksDTWHS7KAm/R+Gd+7iApcbKeV4bVGH9BcojlXVlAt6Y3KAKqBCG0miw VwPxRMv7I8/kFDTJa3q9MTe3q16rlajY/DI27SOCjRit5o5+CdFOyCyfG560NNxdRFK7NLms5bTTS TwmRSLGURXBi3vkq+Fq7e8hbw3buPX4hqWsv2uNKKx7Hd96VjrLWZpRdUUBRsF8ZK8VRqrmqN+g0x 0wLZ0YAcgenmOX37PZLO8w==; In-Reply-To: (tomas@tuxteam.de) 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:146110 Archived-At: > Date: Sun, 17 Mar 2024 13:54:21 +0100 > From: > > after a while, I'm trying again to pick up the custom of > compiling Emacs. > > Usually, I compiled in an empty build directory, invoking > ../emacs/configure. That is the correct way. > This used to work pretty well but doesn't seem to these > days. I hit two-and-a-half snags: > > - one missing chartab.o which happened to lie around > in the source dir under src; copying it over to the > corresponding spot in the build dir let the build > continue 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?) > - one missing symbol rpl_chmodat; this gets defined in > some header -- sneaking a strategically placed > > #undef rpl_chmodat 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. And in any case, this doesn't seem to have anything to do with out-of-tree builds, does it? > Now I'd be willing to gather more details for a bug report if > there is an interest in keeping out of source tree compiles > viable; for me those aren't that crucial anymore, with the > advent of git and of 1TB+ disks. > > What do you think? Do we still care for out of source builds? Of course we do. They are supported and should continue to be supported.