From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: Windows Binaries Release: was The emacs-28 release branch Date: Tue, 02 Nov 2021 10:47:31 +0000 Message-ID: <87lf26omv0.fsf@russet.org.uk> References: <83lf3dgbl3.fsf@gnu.org> <87tuhz1kqt.fsf@russet.org.uk> <87v92cipan.fsf@russet.org.uk> <867dedx8kp.fsf@duenenhof-wilhelm.de> <875ytrafdq.fsf@russet.org.uk> <864k92uunu.fsf@duenenhof-wilhelm.de> <87v91iqir0.fsf@russet.org.uk> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39495"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Corwin Brust , Emacs developers To: "H. Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Nov 02 11:49:36 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mhrMF-000A43-6W for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 11:49:35 +0100 Original-Received: from localhost ([::1]:35750 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhrMD-0002O5-KQ for ged-emacs-devel@m.gmane-mx.org; Tue, 02 Nov 2021 06:49:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhrL8-0001be-NR for emacs-devel@gnu.org; Tue, 02 Nov 2021 06:48:26 -0400 Original-Received: from [78.129.138.227] (port=55428 helo=cloud103.planethippo.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhrL6-0004pI-Bb for emacs-devel@gnu.org; Tue, 02 Nov 2021 06:48:26 -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:References:Message-ID :Date:In-Reply-To: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=HAy06tmFll/dzoItdKS5OMr8LHDSKA6oTnJSsqZjdSY=; b=gZVnPyN1FcA+IGHal74gkAd69+ DdQ0+IWALPbpjjd7zTkY2jUbfxumhP5iuwdp65dxZq60fYMLNjyTeyuB/zGS1uMYncjSYSOZcjEnU cRLCepdtsMK4SEqVsPBP2r39YgaH7iOu21kuL6E65BOWT+25oyUoR0kC54/CCnc0zWhCrUSFanhoO xshjrfGEBFCCA+Ntt5ZldUtmtKtfZmRSEeDsSuLaOYM/RKC0fV0irvvyIblZZ7RzzbV9mktNmOY1p NnvCThmrRz+xFNn9NTlJBkdNuFKxknUYsp/sMcfkJE6vo7Bvp43eO+6FFVS8VKv7N0xv5RLI4QWga OMOH1pDw==; Original-Received: from janus-nat-128-240-225-9.ncl.ac.uk ([128.240.225.9]:33518 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1mhrKP-004kAg-If; Tue, 02 Nov 2021 10:47:40 +0000 In-Reply-To: (H. Dieter Wilhelm's message of "Mon, 01 Nov 2021 21:47:24 +0100") 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-Host-Lookup-Failed: Reverse DNS lookup failed for 78.129.138.227 (failed) Received-SPF: pass client-ip=78.129.138.227; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-Spam_score_int: 1 X-Spam_score: 0.1 X-Spam_bar: / X-Spam_report: (0.1 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278465 Archived-At: "H. Dieter Wilhelm" writes: > Hello Phil > > Phillip Lord writes: > >> They aren't anywhere accessible, because they are a bit specific to my >> use. >> >> But for instance, I use one called "build-emacs27.sh" which essentially >> looks like: >> >> rm -rf ~/emacs-build/build >> rm -rf ~/emacs-build/install >> >> cd emacs-27/admin/nt/dist-build >> >> >> ./build-zips.sh -g >> ./build-zips.sh >> > > I created such a script but my problem is that chmod seems not to work > for me! > > chmod u+x build-zips.sh > > doesn't change anything, so I can't run the scripts. Do you know this > problem? I'd need an error message. build-zips.sh needs to be run in a mingw64 shell, and build-deps-zips.py in an msys2 shell (for obscure reasons that I don't really understand). >> Then I have "build-27-deps.sh" which again is just a launch script. >> >> >> set -o errexit >> if test -f emacs-src; then >> rsync -r emacs-src emacs-src-cache >> fi >> rm -rf i686 x86_64 emacs-src >> ../git/emacs-27/admin/nt/dist-build/build-dep-zips.py -s 2>&1 | tee >> build-deps.log >> cp emacs-27* ~/emacs-upload > > I don't get here the "emacs-src" and "emacs-src-cache" folders, they > aren't mention in README-scripts. Do I have to create them by hand? build-deps-zips should create them both at the same time. The cache is useful because it means you don't need to download the source every time. This step also tends to error and my script can't recover from this, so the cache means it can pick up from where it left off. > So I tried to run build-dep.zips.py -s by hand for (a snapshot) but I > haven't had luck: > > Please have a look at the end and tell me which MSYS2 package contains > /mingw64/bin/ntldd? I don't see it in the system and in pacman > > Traceback (most recent call last): > File "/c/Users/uidg1626/emacs-build/deps/../git/master/admin/nt/dist-build/build-dep-zips.py", line 267, in > gather_deps() > File "/c/Users/uidg1626/emacs-build/deps/../git/master/admin/nt/dist-build/build-dep-zips.py", line 71, in gather_deps > for dep in full_dll_dependency(): > File "/c/Users/uidg1626/emacs-build/deps/../git/master/admin/nt/dist-build/build-dep-zips.py", line 83, in full_dll_dependency > deps = [dll_dependency(dep) for dep in DLL_REQ] > File "/c/Users/uidg1626/emacs-build/deps/../git/master/admin/nt/dist-build/build-dep-zips.py", line 83, in > deps = [dll_dependency(dep) for dep in DLL_REQ] > File "/c/Users/uidg1626/emacs-build/deps/../git/master/admin/nt/dist-build/build-dep-zips.py", line 88, in dll_dependency > output = check_output(["/mingw64/bin/ntldd", "--recursive", > File "/usr/lib/python3.9/subprocess.py", line 424, in check_output > return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, > File "/usr/lib/python3.9/subprocess.py", line 505, in run > with Popen(*popenargs, **kwargs) as process: > File "/usr/lib/python3.9/subprocess.py", line 951, in __init__ > self._execute_child(args, executable, preexec_fn, close_fds, > File "/usr/lib/python3.9/subprocess.py", line 1821, in _execute_child > raise child_exception_type(errno_num, err_msg, err_filename) > FileNotFoundError: [Errno 2] No such file or directory: '/mingw64/bin/ntldd' > > > Thank you for your assistance It's a mingw64 package. Building requires the full toolchain. mingw-w64-x86_64-ntldd-git - MSYS2 Packages Phil