From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.bugs Subject: bug#25360: File mode specification errors during building Date: Tue, 10 Jan 2017 18:40:28 +0000 Message-ID: <8737gqsqqr.fsf@russet.org.uk> References: <8760lndxlz.fsf@russet.org.uk> <83bmvfdk2r.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1484073681 13875 195.159.176.226 (10 Jan 2017 18:41:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 10 Jan 2017 18:41:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.91 (gnu/linux) Cc: 25360@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 10 19:41:16 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cR1M5-0002TC-WE for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jan 2017 19:41:10 +0100 Original-Received: from localhost ([::1]:49174 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cR1MA-00042u-Db for geb-bug-gnu-emacs@m.gmane.org; Tue, 10 Jan 2017 13:41:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42223) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cR1M2-00041i-Rn for bug-gnu-emacs@gnu.org; Tue, 10 Jan 2017 13:41:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cR1Ly-0000uO-TD for bug-gnu-emacs@gnu.org; Tue, 10 Jan 2017 13:41:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33735) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1cR1Ly-0000uD-Ld for bug-gnu-emacs@gnu.org; Tue, 10 Jan 2017 13:41:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1cR1Ly-0004Pr-Fr for bug-gnu-emacs@gnu.org; Tue, 10 Jan 2017 13:41:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@russet.org.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 10 Jan 2017 18:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25360 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25360-submit@debbugs.gnu.org id=B25360.148407364216931 (code B ref 25360); Tue, 10 Jan 2017 18:41:02 +0000 Original-Received: (at 25360) by debbugs.gnu.org; 10 Jan 2017 18:40:42 +0000 Original-Received: from localhost ([127.0.0.1]:49134 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cR1Ld-0004P0-DJ for submit@debbugs.gnu.org; Tue, 10 Jan 2017 13:40:42 -0500 Original-Received: from mailgw.mycpanelcloud.co.uk ([185.116.214.205]:44099) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cR1La-0004Ok-1K for 25360@debbugs.gnu.org; Tue, 10 Jan 2017 13:40:38 -0500 Original-Received: from localhost (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id C5BE3C4E9D for <25360@debbugs.gnu.org>; Tue, 10 Jan 2017 18:40:09 +0000 (GMT) X-Virus-Scanned: by SpamTitan at mycpanelcloud.co.uk Original-Received: from mailgw.mycpanelcloud.co.uk (localhost [127.0.0.1]) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTP id 2063CC4CF9 for <25360@debbugs.gnu.org>; Tue, 10 Jan 2017 18:40:07 +0000 (GMT) Original-Received: from cloud103.planethippo.com (cloud103.planethippo.com [31.216.48.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mailgw.mycpanelcloud.co.uk (Postfix) with ESMTPS id 18918C4CB0 for <25360@debbugs.gnu.org>; Tue, 10 Jan 2017 18:40:07 +0000 (GMT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: 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=utuWh8MOVMWLRPPRiVYUUUyE+v3uGzmyTzT0L4PfG08=; b=D+LLqk5090E2fnm1wa+BLCRI5 le3qu8TxUT6dFOtd/8MT2SxEBGu7nlbZLeA+H+5oKyJu3NNAEH2p1NHy5gkGBNrvH2nm2oCd9YYDi Szlj3HkMLmLTwqQjLp+dMGN4XIAL1fg1qTzR+DUp7Qma9v9IuSRREKeP5E1xt2pOdbqGptoBjo/Kv wNHTXqLGRp6rgE6hP0xrVp+aIEHeftrrQ11PjEMjEzECSJB8hTZXC5pO+M3XuZjfZbn2fMu5uzUx4 baBzJb8CSsgk1XR6EGeau5PuBAv1ecdYhwBJiN3S88P3yWdms4elwvbc4JO5I9CCQmmVYfUu9o1wN 7ksbikqMg==; Original-Received: from janus-nat-128-240-225-37.ncl.ac.uk ([128.240.225.37]:34820 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.87) (envelope-from ) id 1cR1LR-001Bs2-4q; Tue, 10 Jan 2017 18:40:29 +0000 In-Reply-To: <83bmvfdk2r.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 10 Jan 2017 17:13:32 +0200") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk 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: 208.118.235.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:127975 Archived-At: Eli Zaretskii writes: >> From: phillip.lord@russet.org.uk (Phillip Lord) >> Date: Tue, 10 Jan 2017 10:21:12 +0000 >> Cc: 25360@debbugs.gnu.org >> >> I do not quite understand why this is not working -- loaddefs.el has >> been generated at this point. I still do not fully understand what is >> happening during the dumping process, though, so I guess bootstrap-emacs >> is different now than before. > > Can you describe what you did understand from looking into this issue? > E.g., which code emits the error and why? One error is caused when bootstrap-emacs loads CTLau.html, when it's running this code in leim. misc_convert = $(AM_V_GEN)${RUN_EMACS} \ -l titdic-cnv -f batch-miscdic-convert -dir ${leimdir}/quail ## CTLau.el, CTLau-b5.el. ${leimdir}/quail/CT%.el: ${srcdir}/MISC-DIC/CT%.html ${misc_convert} $< As far as I can tell it is happening because emacs tries to put CTLau.html into html-mode. AFAICT, batch-miscdic-convert uses no features of html-mode. I've seen this sort of thing before; the deep problem is that bootstrap-emacs obeys things like auto-mode-alist and .dir-locals.el, when it probably doesn't really need to. >> Before I investigate further, two simple solutions leap to mind. One is >> just to suppress the errors probably in "titdic-cnv.el". >> >> The other would be just to stop generating CTLau.el and >> tstang-b5.el. Neither of the files from which they are generated have >> been materially changed in since 2001, and CTLau.html apparently does >> not exist any more in its source location. Deleting them, and adding >> CTLau.el as source would solve the problem and remove a step from the >> build. >> >> Thoughts? > > I think we should try to understand the problem before we consider > solutions. In particular, the same problem could be at work in other > places, just without such a spectacular indications. True enough. Although, we don't have the problem anywhere else. Shortly after this, emacs dumps fully, then the first version of bootstrap-emacs is replaced with the fully dumped emacs. These errors will occur only during a full bootstrap build I think. Still, I'll plug at it a little more. Phil