From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Keith David Bershatsky Newsgroups: gmane.emacs.bugs Subject: bug#36681: Feature Request: Option to build Emacs without byte-compilation. Date: Mon, 15 Jul 2019 17:53:42 -0700 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="28361"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 36681@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jul 16 02:54:09 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1hnBjM-000779-Jg for geb-bug-gnu-emacs@m.gmane.org; Tue, 16 Jul 2019 02:54:09 +0200 Original-Received: from localhost ([::1]:44652 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnBjK-0005LW-U4 for geb-bug-gnu-emacs@m.gmane.org; Mon, 15 Jul 2019 20:54:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53814) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnBjI-0005LQ-2H for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 20:54:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnBjF-0006WB-Tr for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 20:54:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:40609) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnBjF-0006Vy-QF for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 20:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hnBjF-00024n-NA for bug-gnu-emacs@gnu.org; Mon, 15 Jul 2019 20:54:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: Keith David Bershatsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Jul 2019 00:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36681 X-GNU-PR-Package: emacs Original-Received: via spool by 36681-submit@debbugs.gnu.org id=B36681.15632384297963 (code B ref 36681); Tue, 16 Jul 2019 00:54:01 +0000 Original-Received: (at 36681) by debbugs.gnu.org; 16 Jul 2019 00:53:49 +0000 Original-Received: from localhost ([127.0.0.1]:49430 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnBj3-00024N-0u for submit@debbugs.gnu.org; Mon, 15 Jul 2019 20:53:49 -0400 Original-Received: from gateway36.websitewelcome.com ([192.185.194.2]:15705) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hnBiy-00024B-Kq for 36681@debbugs.gnu.org; Mon, 15 Jul 2019 20:53:47 -0400 Original-Received: from cm14.websitewelcome.com (cm14.websitewelcome.com [100.42.49.7]) by gateway36.websitewelcome.com (Postfix) with ESMTP id DD2FC400C7C30 for <36681@debbugs.gnu.org>; Mon, 15 Jul 2019 19:17:00 -0500 (CDT) Original-Received: from gator3053.hostgator.com ([50.87.144.69]) by cmsmtp with SMTP id nBixhdzaG2qH7nBixhiwET; Mon, 15 Jul 2019 19:53:44 -0500 X-Authority-Reason: nr=8 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lawlist.com ; s=default; h=Content-Type:MIME-Version:Subject:Cc:To:From:Message-ID:Date: Sender:Reply-To:Content-Transfer-Encoding:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=xjGN67uOCwFSkg24b7ogITELSFcV1BubPiXIQdAGZ2c=; b=axjn2NCYCsFYA1PNrY/TtwJ8Pk /xAudH261BKZ8Gl5IF1myQQH3Xlq+MZuGoucQ/fXv+OtBN9L8bMQHa7fMq8CMdLLy/1ou5c+PXIZQ l/t51CBebyC4Pf+w7UNrFVPq/nE8ZA/6N6q1qgAmkrd4lijI7BpTqB/5Zk7mqV+7O79J3YOzbJdER 2Bw5ev51Qelbu7oFbZZ5isSKuwaFcLj9DdDIIeJhVhQPzga08qNQ131H7tulZeVnXcPZbmrocVUv9 pzY6IswMP/L1o0e9M5vK04cjl9fWfy0mNoS99pz7Wa7QQSxp0cilOj5Ksb9VG+aNCSoUca1jJ5BC3 Mnh+R8Iw==; Original-Received: from cpe-45-48-239-195.socal.res.rr.com ([45.48.239.195]:54331 helo=server.local) by gator3053.hostgator.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1hnBix-000WCy-9f; Mon, 15 Jul 2019 19:53:43 -0500 X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - gator3053.hostgator.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lawlist.com X-BWhitelist: no X-Source-IP: 45.48.239.195 X-Source-L: No X-Exim-ID: 1hnBix-000WCy-9f X-Source-Sender: cpe-45-48-239-195.socal.res.rr.com (server.local) [45.48.239.195]:54331 X-Source-Auth: lawlist X-Email-Count: 1 X-Source-Cap: bGF3bGlzdDtsYXdsaXN0O2dhdG9yMzA1My5ob3N0Z2F0b3IuY29t X-Local-Domain: yes X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163180 Archived-At: Thank you, Glenn, for looking into this feature request. As part of this feature request, I am hoping to essentially complete the entire build process without byte-compilation. For the following test, I used a master branch from today (0797b39185e66983c7286e89f93dd4f6c83b6ea7). My configure command line on a w32 virtual machine (running mingGW with ezwinports) is: CFLAGS='-O0 -g3' ./configure \ --prefix=/c/docume~1/admini~1/desktop/trunk \ --enable-checking='yes,glyphs' \ --enable-check-lisp-object-type \ --without-compress-install \ --without-makeinfo \ --with-gnutls=no \ --with-mailutils \ --without-makeinfo Here is a link to a gist containing the output (with errors) after calling 'make -C src emacs' from the command line of the root emacs repository directory: https://gist.github.com/lawlist/de6bea1b348276e5318d227a074c9d14 This particular build is anticipated to fail towards the end with: * * * GEN ../../info/elisp.info /c/docume~1/admini~1/desktop/emacs/doc/lispref//display.texi:5740: `SVG Path Commands' has no Up field (perhaps incorrect sectioning?). * * * as referenced in the thread that I posted today to the Emacs Devel mailing list: https://lists.gnu.org/archive/html/emacs-devel/2019-07/msg00349.html However, the build failed much sooner than expected using 'make -C src emacs' as reflected in the above-mentioned linked gist. In a nutshell, I'd like to reach the point at which the build would fail naturally because of a particular build-bug, or complete the entire process (if no build-bugs exist) -- including, installing Emacs to the directory specified by the "--prefix" option. In the above example, it would be nice to reach the above-mentioned `SVG Path Commands' build-bug error in less than 45 minutes. As to the multi-thread suggestion, I'll need to do some reading to see if any of my antiquated machines and antiquated OSes support such an option. For the w32 builds, I am running a virtual machine containing Windows XP SP3 using MinGW and ezwinports. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; > Date: [07-15-2019 16:33:24] <15 Jul 2019 19:33:24 -0400> > From: Glenn Morris > To: Keith David Bershatsky > Cc: 36681@debbugs.gnu.org > Subject: Re: bug#36681: Feature Request: Option to build Emacs without byte-compilation. > > make -C src emacs > > is basically what you ask for (may not work in older versions). > > But the better answer is to use multiple cores, since the build is very > parallelizable. A -j8 build from nothing takes < 4 minutes for me.