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.devel Subject: msys2 building issue Date: Tue, 27 Mar 2018 22:20:34 +0100 Message-ID: <87a7utgqql.fsf@russet.org.uk> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1522185571 31440 195.159.176.226 (27 Mar 2018 21:19:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 27 Mar 2018 21:19:31 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.91 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 27 23:19:26 2018 Return-path: Envelope-to: ged-emacs-devel@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 1f0w05-00080J-1x for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2018 23:19:25 +0200 Original-Received: from localhost ([::1]:36160 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0w27-00082J-2N for ged-emacs-devel@m.gmane.org; Tue, 27 Mar 2018 17:21:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41799) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1f0w1I-00081B-T6 for emacs-devel@gnu.org; Tue, 27 Mar 2018 17:20:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1f0w1E-0005Bc-U1 for emacs-devel@gnu.org; Tue, 27 Mar 2018 17:20:40 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:36973) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1f0w1E-0005Ai-Kt for emacs-devel@gnu.org; Tue, 27 Mar 2018 17:20:36 -0400 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:Date: Subject:To:From:Sender:Reply-To:Cc: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=2794nBkW8+sc8EzlQinH/2nPM2CzkoC12dksR5TsLf8=; b=ifs4MgypSC/QvaYujoxTC3gCZZ MExjxa8ypftqmr751gFEyXfwtVfpPS707tAAgsVu9yJyhGUHYtTbCQLjODcscn8u7fM5wO/TrzlCc yWialy3qCsb+B5p0bPhTLPP3Pt/zoWTQLjOl8EQPNDmnRqbhgqguyYz+1Kh0xpaqf3Qx4wyFaqOe5 uz5bK+CzCLg1X8GZfrjuyHinEa9dCUiGcs0nlwoUAQVUI7ogH3TaRF8W6SvcN9jndp9JhBaaaE1O8 oLuk95QuOerBtOVq744r+0SysxPY0ttL5wXmpzNz/RRRVpa//blZPKI4gstQijM6fpx0KAIUhNkyK Me7DgDfA==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:48078 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.89_1) (envelope-from ) id 1f0w1C-002aWL-D1 for emacs-devel@gnu.org; Tue, 27 Mar 2018 21:20:34 +0000 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-Source: X-Source-Args: X-Source-Dir: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 78.129.138.110 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:224111 Archived-At: I'm struggling with an issue with the snapshot build for windows. I have a small script that in turn runs admin/nt/dist-build/build-zips.sh. The build times (based on when the output files are created) make no sense. x86_64 no-deps zip 17min Deps-zip 3min installer 25min i686 no deps zip 31min deps zip 47min installer 61min So, the installer is really slow to build (probably because of the compression I guess). But the second i686 step is really slow, especially the building the zips and installer. I don't think this is the Emacs build per se; it looks to me like a memory leak; the build process just gets slower and slower. In fact, I've had to reduce the parallalism of make or the whole process crashes with a resource allocation error. But Process Manager reports that the VM has memory left. I ask about all this, because I have no idea how to debug this further, and I thought someone might have an idea. My launch script is below, and build-zips.sh is in the repo. #!/bin/bash set -o errexit ## List the ssh-keys -- this has the crashes the script if there are none ssh-add -l pushd master/admin/nt/dist-build ## Update repo git pull ./build-zips.sh -sn | tee ../../../../build.log popd pushd master ## Make the source so we can distribute it, but don't update because ## we've build in a different directory. --no-changelog is also needed ## because otherwise we run make which runs configure ./make-dist --snapshot --no-check --no-changelog rename .tar _`date +%Y-%m-%d`.tar emacs*.tar.gz mv emacs-*.tar.gz ~/emacs-upload popd