From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.ciao.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: pdumper bootstrap error Date: Mon, 21 Jan 2019 21:20:58 +0000 Message-ID: <20190121212058.GA66743@breton.holly.idiocy.org> References: <20190119222558.GA17535@breton.holly.idiocy.org> <20190120105743.GA18274@breton.holly.idiocy.org> <20190121165359.GA50758@breton.holly.idiocy.org> <83imyi9bfm.fsf@gnu.org> <20190121194306.GA61684@breton.holly.idiocy.org> <83a7jtagz1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.org; posting-host="ciao.gmane.org:195.159.176.228"; logging-data="168398"; mail-complaints-to="usenet@ciao.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: eggert@cs.ucla.edu, dancol@dancol.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 21 22:21:14 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1glh0M-000hkt-45 for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2019 22:21:14 +0100 Original-Received: from localhost ([127.0.0.1]:60922 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glh0K-00013z-MO for ged-emacs-devel@m.gmane.org; Mon, 21 Jan 2019 16:21:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:43932) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1glh0E-00013X-J1 for emacs-devel@gnu.org; Mon, 21 Jan 2019 16:21:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1glh0D-0002HD-No for emacs-devel@gnu.org; Mon, 21 Jan 2019 16:21:06 -0500 Original-Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:45503) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1glh0A-0001uK-Gm; Mon, 21 Jan 2019 16:21:02 -0500 Original-Received: by mail-wr1-x429.google.com with SMTP id t6so24975392wrr.12; Mon, 21 Jan 2019 13:21:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=hzWYO0fLiNGNXPKhgPgjFKuhy0q3B/ohBSGq3jjOae0=; b=qudO47jkxKFNtFCOiFaGrwO+rQTUvHWjl2fkA+5uqkPCTHS+q38IVFnZq5t73jEIMI ETYcbk/CshglpDc0M1fjpjgtP6bCqRY2vWzYYVLUyzl5DCOWSahem6JuaOUp2aUIq8L1 ULgh4NKeVD8r97B1w4o5s2EET1npqTQOp9129MSIot+Z5FvZMsR0NND3X5xHLVZcL7lw l3LEgX8yqU5hUU2AOH0rIPqgRS3ng3ug2dIfy8zYnyJKqcVnnwgIVVAlGl5H3HXEcphZ BAVpAc8kegmRqdYl1FfIkCw7bQ3581o3YXpmRxkaTajW0q5huGcSHgy04bwf0aKB7USd pZGA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=hzWYO0fLiNGNXPKhgPgjFKuhy0q3B/ohBSGq3jjOae0=; b=Ma+rO1I9CopiOHad1LUPbT5eYtMfD7R7I+ixDlEZDkAHSuTlIjB4NAXYvOavSikl+m icYeg7zZ0NrxoP7K8MVgVzGifNKibsL8axoCs1jPXu7VBRWxgMSPXvAZ2Y+YM+5DqdlE IVXWTjw3NfjLh9schi0obOtsCMQpk5diaMAkOBE4sWEfuAceAa/i46dhaGxvbD96qRiP F1moYdwhoeGXh//MME+RKdioBQfXBNNawS/eCMAVNlTm2WniS/NjpxKQKxDU2r6Om0P9 xEdTDZt4ZpM6sWjAfieZ2t4v/1DhBaP+sPRaInBoo7xIEqJ90wUHt0gTXNogU0X0A0Ck VEHA== X-Gm-Message-State: AJcUukevGJeDg0a33JHmC7lu+YAj4aJ4h1zLtVBSeEe9/jD06F+Yhq/H 0kEp8auWN3Xhdt/kXPDaLrMlRBKK X-Google-Smtp-Source: ALg8bN59NoZlGdzyQkrI66SM9cI8CAX8xBADhXok5lS2YJDc3/vSAicM2kKlC737xEVQ/sP0kUh3Ug== X-Received: by 2002:adf:fc51:: with SMTP id e17mr29220730wrs.268.1548105660910; Mon, 21 Jan 2019 13:21:00 -0800 (PST) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-e9e2-a906-ca11-f174.holly.idiocy.org. [2001:8b0:3f8:8129:e9e2:a906:ca11:f174]) by smtp.gmail.com with ESMTPSA id u204sm81463519wmu.30.2019.01.21.13.20.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Jan 2019 13:21:00 -0800 (PST) Content-Disposition: inline In-Reply-To: <83a7jtagz1.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:232583 Archived-At: On Mon, Jan 21, 2019 at 10:33:22PM +0200, Eli Zaretskii wrote: > > Date: Mon, 21 Jan 2019 19:43:06 +0000 > > From: Alan Third > > Cc: eggert@cs.ucla.edu, dancol@dancol.org, emacs-devel@gnu.org > > > > I can see the unexec code path replacing bootstrap-emacs, but the > > pdumper code doesn’t. > > That's expected: with unexec, the dumped Emacs executable is different > from bootstrap-emacs, but with pdumper they are identical. That > comment is only correct for the unexec case. I see. > since we have just produced a new temacs, this rule is expected to > fire, and produce a new bootstrap-emacs. But on your system, it > doesn't. My first suspicion is that this has something to do with > time granularity of the filesystem on which you run this: Make > doesn't notice that temacs is newer than bootstrap-emacs, so it > doesn't remake the latter. Is it possible that the time stamps of > temacs and bootstrap-emacs are such that this happens? If so, what > kind of filesystem is that? I don’t think this is the issue. I’m using apfs, which a quick google tells me has ‘nanosecond’ accuracy. Besides: -rwxr-xr-x 1 alan staff 7057932 21 Jan 19:37 bootstrap-emacs -rwxr-xr-x 1 alan staff 7057932 21 Jan 20:49 temacs > > make[3]: Circular bootstrap-emacs <- temacs dependency dropped. > > This warning is also worrisome: I don't get it, and I fail to see any > such circular dependency in my Makefile. Maybe it's because macuvs.h > depends on bootstrap-emacs, and on macOS macuvs.h is indeed used? This indeed looks like it’s probably the issue. I think I’ve had that message for as long as I’ve been building Emacs. I just assumed it was informational and not an actual error. If I comment out this: $(srcdir)/macuvs.h $(lispsource)/international/charprop.el: \ bootstrap-emacs$(EXEEXT) $(bootstrap_pdmp) FORCE $(MAKE) -C ../admin/unidata all EMACS="../$(bootstrap_exe)" the errors go away. -- Alan Third