unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Phillip Lord <phillip.lord@russet.org.uk>
To: "H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de>
Cc: Corwin Brust <corwin@bru.st>, Emacs developers <emacs-devel@gnu.org>
Subject: Re: Windows Binaries Release: was The emacs-28 release branch
Date: Tue, 02 Nov 2021 10:47:31 +0000	[thread overview]
Message-ID: <87lf26omv0.fsf@russet.org.uk> (raw)
In-Reply-To: <xm46wnlr8uxv.fsf@duenenhof-wilhelm.de> (H. Dieter Wilhelm's message of "Mon, 01 Nov 2021 21:47:24 +0100")

"H. Dieter Wilhelm" <dieter@duenenhof-wilhelm.de> writes:

> Hello Phil
>
> Phillip Lord <phillip.lord@russet.org.uk> 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 <module>
>     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 <listcomp>
>     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



  parent reply	other threads:[~2021-11-02 10:47 UTC|newest]

Thread overview: 72+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-30 18:30 The emacs-28 release branch has been created Eli Zaretskii
2021-10-02 15:58 ` Windows Binaries Release: was The emacs-28 release branch Phillip Lord
2021-10-03 10:53   ` Po Lu
2021-10-04 19:04     ` Phillip Lord
2021-10-16 20:24       ` Konstantin Kharlamov
2021-10-17  0:43         ` Po Lu
2021-10-17 13:45           ` Konstantin Kharlamov
2021-10-20 15:26         ` Phillip Lord
2021-10-03 11:22   ` Corwin Brust
2021-10-04 19:05     ` Phillip Lord
2021-10-16 10:03       ` H. Dieter Wilhelm
2021-10-16 13:31         ` Corwin Brust
2021-10-16 16:01           ` H. Dieter Wilhelm
2021-10-20 15:24             ` Phillip Lord
2021-10-20 18:36               ` H. Dieter Wilhelm
2021-10-27 19:36               ` H. Dieter Wilhelm
2021-10-27 21:07                 ` Phillip Lord
2021-11-01 20:47                   ` H. Dieter Wilhelm
2021-11-01 21:06                     ` Óscar Fuentes
2021-11-02 11:16                       ` Eshell requires execute permission on Win10, was " H. Dieter Wilhelm
2021-11-02 14:37                         ` Óscar Fuentes
2021-11-02 18:57                           ` MinGW Sources, was: Windows Binaries Release H. Dieter Wilhelm
2021-11-02 19:07                             ` Óscar Fuentes
2021-11-04 17:51                               ` H. Dieter Wilhelm
2021-11-08 22:27                                 ` Phillip Lord
2021-11-09 12:25                                   ` Eli Zaretskii
2021-11-09 14:32                                     ` Phillip Lord
2021-11-02 10:47                     ` Phillip Lord [this message]
2021-11-02 12:05                       ` Windows Binaries Release: was The emacs-28 release branch H. Dieter Wilhelm
2021-10-20 15:16           ` Phillip Lord
2021-10-21  0:13             ` Corwin Brust
2021-10-27 21:11               ` Phillip Lord
2021-10-03  1:35 ` The emacs-28 release branch has been created Ken Brown
2021-10-03  6:53   ` Andreas Schwab
2021-10-03  9:27   ` Eli Zaretskii
2021-10-03 15:01     ` Ken Brown
2021-10-03 15:17       ` Eli Zaretskii
2021-10-03 15:34         ` Ken Brown
2021-10-03 16:11           ` Eli Zaretskii
2021-10-03 17:14             ` Ken Brown
2021-10-03 17:33               ` Eli Zaretskii
2021-10-03 17:49                 ` Eli Zaretskii
2021-10-03 17:56                 ` Ken Brown
2021-10-03 18:03                   ` Eli Zaretskii
2021-10-03 19:20                   ` Eli Zaretskii
2021-10-03 19:42                     ` Eli Zaretskii
2021-10-03 19:45                     ` Ken Brown
2021-10-03 21:21                       ` Ken Brown
2021-10-03 22:40                         ` Ken Brown
2021-10-04 18:51                           ` Eli Zaretskii
2021-10-04 13:31                         ` Ken Brown
2021-10-04 14:25                           ` Eli Zaretskii
2021-10-04 14:39                             ` Eli Zaretskii
2021-10-04 14:45                               ` Andrea Corallo via Emacs development discussions.
2021-10-04 14:54                                 ` Eli Zaretskii
2021-10-04 15:13                                   ` Andrea Corallo via Emacs development discussions.
2021-10-04 16:15                                   ` Andrea Corallo via Emacs development discussions.
2021-10-04 16:58                                     ` Eli Zaretskii
2021-10-04 19:38                                       ` Andrea Corallo via Emacs development discussions.
2021-10-04 19:40                                         ` Andrea Corallo via Emacs development discussions.
2021-10-04 19:54                                           ` Eli Zaretskii
2021-10-04 21:58                                           ` Ken Brown
2021-10-05 11:43                                         ` Eli Zaretskii
2021-10-05 15:43                                           ` Andrea Corallo via Emacs development discussions.
2021-10-05 11:29                                     ` Eli Zaretskii
2021-10-05 15:37                                       ` Andrea Corallo via Emacs development discussions.
2021-10-05 16:14                                         ` Eli Zaretskii
2021-10-05 16:52                                           ` Andrea Corallo via Emacs development discussions.
2021-10-05 17:12                                             ` Eli Zaretskii
2021-10-04 11:37                       ` Eli Zaretskii
2021-10-04 13:11                         ` Ken Brown
2021-10-04 13:34                           ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lf26omv0.fsf@russet.org.uk \
    --to=phillip.lord@russet.org.uk \
    --cc=corwin@bru.st \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).