* Build deps on Windows does not work
@ 2020-07-25 21:53 Angelo Graziosi
2020-07-25 22:09 ` phillip.lord
0 siblings, 1 reply; 7+ messages in thread
From: Angelo Graziosi @ 2020-07-25 21:53 UTC (permalink / raw)
To: emacs-devel@gnu.org
Reading http://git.savannah.gnu.org/cgit/emacs.git/tree/admin/nt/dist-build/README-scripts, under "For snapshots from Master", I did this:
mkdir -p ~/emacs-build/deps
cd ~/emacs-build/deps
wget http://git.savannah.gnu.org/cgit/emacs.git/plain/admin/nt/dist-build/build-dep-zips.py
./build-dep-zips.py
Extracting deps
Initial pkgs ['mingw-w64-x86_64-giflib', 'mingw-w64-x86_64-gnutls', 'mingw-w64-x86_64-harfbuzz', 'mingw-w64-x86_64-jansson', 'mingw-w64-x86_64-lcms2', 'mingw-w64-x86_64-libjpeg-turbo', 'mingw-w64-x86_64-libpng', 'mingw-w64-x86_64-librsvg', 'mingw-w64-x86_64-libtiff', 'mingw-w64-x86_64-libxml2', 'mingw-w64-x86_64-xpm-nox']
Traceback (most recent call last):
File "./build-dep-zips.py", line 259, in <module>
deps=extract_deps()
File "./build-dep-zips.py", line 100, in extract_deps
subdeps = immediate_deps(pkgs[n])
File "./build-dep-zips.py", line 76, in immediate_deps
depends_on = [x for x in package_info if x.startswith("Depends On")][0]
IndexError: list index out of range
Maybe I am missing something... but I am wondering if this is caused by recent Python updates on MSYS2. What do you think?
I run 'pacman -Syu' daily.
TIA
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Build deps on Windows does not work
2020-07-25 21:53 Build deps on Windows does not work Angelo Graziosi
@ 2020-07-25 22:09 ` phillip.lord
2020-07-26 8:34 ` Angelo Graziosi
0 siblings, 1 reply; 7+ messages in thread
From: phillip.lord @ 2020-07-25 22:09 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: emacs-devel
Angelo
That script is not designed to be particularly robust, I am afraid. It
works for me.
Given your name and email address, are you using an Italian locale? If
pacman doesn't say "Depends On" that would probably break it.
If you just want the dependencies zip, you could always use the one on
alpha.
Phil
On 2020-07-25 22:53, Angelo Graziosi wrote:
> Reading
> http://git.savannah.gnu.org/cgit/emacs.git/tree/admin/nt/dist-build/README-scripts,
> under "For snapshots from Master", I did this:
>
> mkdir -p ~/emacs-build/deps
> cd ~/emacs-build/deps
>
> wget
> http://git.savannah.gnu.org/cgit/emacs.git/plain/admin/nt/dist-build/build-dep-zips.py
>
> ./build-dep-zips.py
> Extracting deps
> Initial pkgs ['mingw-w64-x86_64-giflib', 'mingw-w64-x86_64-gnutls',
> 'mingw-w64-x86_64-harfbuzz', 'mingw-w64-x86_64-jansson',
> 'mingw-w64-x86_64-lcms2', 'mingw-w64-x86_64-libjpeg-turbo',
> 'mingw-w64-x86_64-libpng', 'mingw-w64-x86_64-librsvg',
> 'mingw-w64-x86_64-libtiff', 'mingw-w64-x86_64-libxml2',
> 'mingw-w64-x86_64-xpm-nox']
> Traceback (most recent call last):
> File "./build-dep-zips.py", line 259, in <module>
> deps=extract_deps()
> File "./build-dep-zips.py", line 100, in extract_deps
> subdeps = immediate_deps(pkgs[n])
> File "./build-dep-zips.py", line 76, in immediate_deps
> depends_on = [x for x in package_info if x.startswith("Depends
> On")][0]
> IndexError: list index out of range
>
> Maybe I am missing something... but I am wondering if this is caused
> by recent Python updates on MSYS2. What do you think?
>
> I run 'pacman -Syu' daily.
>
> TIA
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Build deps on Windows does not work
2020-07-25 22:09 ` phillip.lord
@ 2020-07-26 8:34 ` Angelo Graziosi
2020-07-26 9:11 ` Yuri Khan
0 siblings, 1 reply; 7+ messages in thread
From: Angelo Graziosi @ 2020-07-26 8:34 UTC (permalink / raw)
To: phillip.lord; +Cc: emacs-devel
Ciao Phillip,
> Il 26/07/2020 00:09 phillip.lord ha scritto:
>
>
> Angelo
>
> That script is not designed to be particularly robust, I am afraid. It
> works for me.
>
> Given your name and email address, are you using an Italian locale? If
> pacman doesn't say "Depends On" that would probably break it.
>
indeed I had to change "Depends on" with "Dipende da" and "None" with "Nessuno".
Thanks,
Angelo.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Build deps on Windows does not work
2020-07-26 8:34 ` Angelo Graziosi
@ 2020-07-26 9:11 ` Yuri Khan
2020-07-26 14:00 ` Eli Zaretskii
2020-07-26 21:57 ` Angelo Graziosi
0 siblings, 2 replies; 7+ messages in thread
From: Yuri Khan @ 2020-07-26 9:11 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: Emacs developers, Phillip Lord
On Sun, 26 Jul 2020 at 15:35, Angelo Graziosi <angelo.g0@libero.it> wrote:
> > That script is not designed to be particularly robust, I am afraid. It
> > works for me.
> >
> > Given your name and email address, are you using an Italian locale? If
> > pacman doesn't say "Depends On" that would probably break it.
>
> indeed I had to change "Depends on" with "Dipende da" and "None" with "Nessuno".
A better workaround, nay, fix, would probably be to run the subprocess
with the LANG environment variable overridden to the value "C".
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Build deps on Windows does not work
2020-07-26 9:11 ` Yuri Khan
@ 2020-07-26 14:00 ` Eli Zaretskii
2020-07-26 21:57 ` Angelo Graziosi
1 sibling, 0 replies; 7+ messages in thread
From: Eli Zaretskii @ 2020-07-26 14:00 UTC (permalink / raw)
To: Yuri Khan; +Cc: phillip.lord, angelo.g0, emacs-devel
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Sun, 26 Jul 2020 16:11:27 +0700
> Cc: Emacs developers <emacs-devel@gnu.org>,
> Phillip Lord <phillip.lord@russet.org.uk>
>
> A better workaround, nay, fix, would probably be to run the subprocess
> with the LANG environment variable overridden to the value "C".
I think Windows programs don't guarantee that this will take effect,
since the MS runtime doesn't support the LC_* and LANG environment
variables.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Build deps on Windows does not work
2020-07-26 9:11 ` Yuri Khan
2020-07-26 14:00 ` Eli Zaretskii
@ 2020-07-26 21:57 ` Angelo Graziosi
2020-07-28 2:07 ` Noam Postavsky
1 sibling, 1 reply; 7+ messages in thread
From: Angelo Graziosi @ 2020-07-26 21:57 UTC (permalink / raw)
To: Yuri Khan; +Cc: Phillip Lord, Emacs developers
> Il 26/07/2020 11:11 Yuri Khan ha scritto:
>
>
> A better workaround, nay, fix, would probably be to run the subprocess
> with the LANG environment variable overridden to the value "C".
Maybe the script itself can do this...
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Build deps on Windows does not work
2020-07-26 21:57 ` Angelo Graziosi
@ 2020-07-28 2:07 ` Noam Postavsky
0 siblings, 0 replies; 7+ messages in thread
From: Noam Postavsky @ 2020-07-28 2:07 UTC (permalink / raw)
To: Angelo Graziosi; +Cc: Phillip Lord, Emacs developers, Yuri Khan
On Sun, 26 Jul 2020 at 17:57, Angelo Graziosi <angelo.g0@libero.it> wrote:
> > A better workaround, nay, fix, would probably be to run the subprocess
> > with the LANG environment variable overridden to the value "C".
>
> Maybe the script itself can do this...
Hmm, this sounds familiar, what happened to Juan José García-Ripoll's patch from
https://lists.gnu.org/r/emacs-devel/2020-03/msg00664.html
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2020-07-28 2:07 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-07-25 21:53 Build deps on Windows does not work Angelo Graziosi
2020-07-25 22:09 ` phillip.lord
2020-07-26 8:34 ` Angelo Graziosi
2020-07-26 9:11 ` Yuri Khan
2020-07-26 14:00 ` Eli Zaretskii
2020-07-26 21:57 ` Angelo Graziosi
2020-07-28 2:07 ` Noam Postavsky
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.