From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Phillip Lord" Newsgroups: gmane.emacs.devel Subject: Re: Build failure for Emacs master Date: Thu, 14 Apr 2016 08:32:15 +0100 Message-ID: References: <56CCD91E.6070507@alice.it> <83egc2ixji.fsf@gnu.org> <56CD798D.7060102@alice.it> <56CD8408.1000701@alice.it> <83wppuggb4.fsf@gnu.org> <56CE2CA7.5050906@alice.it> <83io1cg2pt.fsf@gnu.org> <56DA0327.2030009@alice.it> <83oaatxu72.fsf@gnu.org> <570C4307.6050907@alice.it> <83k2k2g82s.fsf@gnu.org> <86egaa7b0z.fsf@gmail.com> <83a8kyfd38.fsf@gnu.org> <86lh4hm7dd.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1460619206 22006 80.91.229.3 (14 Apr 2016 07:33:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Apr 2016 07:33:26 +0000 (UTC) Cc: emacs-devel@gnu.org To: "Andy Moreton" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Apr 14 09:33:19 2016 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aqbmA-0000z9-JL for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2016 09:33:18 +0200 Original-Received: from localhost ([::1]:33906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqbm9-0002Vi-RQ for ged-emacs-devel@m.gmane.org; Thu, 14 Apr 2016 03:33:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44608) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqblv-0002Te-4s for emacs-devel@gnu.org; Thu, 14 Apr 2016 03:33:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aqblq-0002bC-1w for emacs-devel@gnu.org; Thu, 14 Apr 2016 03:33:03 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:57499) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aqblp-0002Rq-OX for emacs-devel@gnu.org; Thu, 14 Apr 2016 03:32:57 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Cc:To:From:Subject:Date:References:In-Reply-To:Message-ID; bh=GPBxQIHNGxCCyFTYZI4Dfa5x8W9SPEhXVtJHqhSdQQo=; b=kkyMHzmV6jzvbR+t44STzg+5mw 0Lq+eHDaBwRRPYkVsIdQXW+XV7EOz5BmByn+JogwWhwyBBNS0mMn5XbgF+QW3cEaLvUN3K/DfjbpE ybT6GD8holAkeMdiG4OuOVX+2bxq2/pmdijypd8BfQzTQ0pu2WANY6+bsaPiXTk9LJKXNQYsa+w4U KaUha+l86YFU3gsFiwFOvSqujDAt/VrX4deua99meFCtr4+mNjPYL1kKKTj/iPq4Ba8uo5/8qRtb3 qlSVQr7dR5U/fMCIuLQ10JfabjMsqxMksH2wGBp0mc0uaCroXRvv8/7JI0ZWEd38w1QGeGS6oOy/3 wzBBjjmw==; Original-Received: from [127.0.0.1] (port=50633 helo=cloud103.planethippo.com) by cloud103.planethippo.com with esmtpa (Exim 4.86_1) (envelope-from ) id 1aqbl9-000Z5T-Mj; Thu, 14 Apr 2016 08:32:15 +0100 Original-Received: from 77.98.219.118 ([77.98.219.118]) (SquirrelMail authenticated user phillip.lord@russet.org.uk) by cloud103.planethippo.com with HTTP; Thu, 14 Apr 2016 08:32:15 +0100 In-Reply-To: <86lh4hm7dd.fsf@gmail.com> User-Agent: SquirrelMail/1.5.2 [SVN] 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 - 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-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 31.216.48.48 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:202897 Archived-At: On Thu, April 14, 2016 12:11 am, Andy Moreton wrote: > On Wed 13 Apr 2016, Eli Zaretskii wrote: > > >>> From: Andy Moreton >>> Date: Tue, 12 Apr 2016 22:49:32 +0100 >>> >>> >>> As another data point, I have a similar failure from the emacs-25 >>> branch building with MSYS2 64bit on Win7. >>> >>> On that machine, building with "make -j4" fails and produces a >>> corrupted loaddefs.el. Deleting loaddefs.el and rebuilding with "make >>> -j4" also >>> fails. Deleting loaddefs.el and rebuilding with "make -j1" succeeds. >> >> Please debug the corruption. I don't see the problem on any of my >> builds, so I cannot debug this, and having all these reports without >> anyone working on fixing the problem is very disturbing. > > The corrupted loaddefs.el file seems to be the right size, but the last > 768 bytes are zero instead of the expected content. > > > To debug this I have tried extracting the command from the autoload > target in lisp/Makefile and running that standalone. This results in > repeatably building a corrutp loaddefs.el (if it is deleted before each > run). > > Running that command using "bootstrap-emacs -Q" (i.e. interactively) > shows that the *autoload-file* buffer contains the 768 zero characters at > end, so it appears that the corruption occurs before the buffer is written > to disk. > > Any hints on how to debug `batch-update-autoloads' to diagnose this > further would be welcome. I haven't got this far, but I also have both Andy and Angelo's build failures working (er, failing) reproducibly now. It also appears that my autoload patch on master is causing a build failure (only on windows). If no one solves it first, I will bisect this as soon as possible, but in practice this is likely to be next week. Phil