public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: Error running setup-x86_64.exe: syntax error in setup.zst
@ 2023-04-07  6:52 Fergus Daly
  0 siblings, 0 replies; 4+ messages in thread
From: Fergus Daly @ 2023-04-07  6:52 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'; +Cc: Fergus Daly

>> I'm concerned that the bad setup.zst might propagate to other mirrors.
Yes, identical error arising at
https://cygwin.mirror.uk.sargasso.net/x86_64/setup.zst
and elsewhere.



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error running setup-x86_64.exe: syntax error in setup.zst
  2023-04-07  9:40 ` Jon Turney
@ 2023-04-07 17:11   ` Keith Thompson
  0 siblings, 0 replies; 4+ messages in thread
From: Keith Thompson @ 2023-04-07 17:11 UTC (permalink / raw)
  To: The Cygwin Mailing List; +Cc: Keith Thompson

On Fri, Apr 7, 2023 at 2:40 AM Jon Turney <jon.turney@dronecode.org.uk> wrote:
>
> On 07/04/2023 02:44, Keith Thompson via Cygwin wrote:
> > Running setup-x86_64.exe on a Windows 10 laptop, I get this error message:
> >
> > https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> > 30182: syntax error, unexpected $undefined, expecting COMMA or NL
> > https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> > 30182: unrecognized line 30183 (do you have the latest setup?)
> > https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> > 30203: syntax error, unexpected $undefined, expecting COMMA or NL
> > https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> > 30203: unrecognized line 30204 (do you have the latest setup?)
> >
> > (I can't copy the text from the message box so I retyped it.)
>
> Protip: Ctrl-C should work on a message box.

Yes, it does! You can't select part of the text and there's no visual
feedback, but if you select the message box and type Ctrl-C, it works.
That's going to be useful.

> > I re-downloaded setup-x86_64.exec, and it's identical to the one on my laptop.
> >
> > I'm using the mirrors.kernel.org mirror.
> > The setup.zst from mirrors.dotsrc.org is identical.
> > I decompressed setup.zst and I do see something suspicious on the
> > indicated lines.
> >
> > Here's line 30182:
> >
> > build-depends: \, bison, cygport, dblatex, docbook2X, flex,
> > gettext-devel, libGLU-devel, libcairo-devel, libcanberra-gtk-devel,
> > libcurl-devel, libfreetype-devel, libglib2.0-devel, libgmp-devel,
> > libgtk2.0-devel, libgtkglext1.0-devel, libpango1.0-devel,
> > libpng-devel, libreadline-devel, libsqlite3-devel, libxslt,
> > python3-devel, texinfo
> >
> > Line 30203 is similar. I don't see a lone backslash anywhere else in the file.
>
> Yeah, this is wrong.
>
> I need to investigate further why the mechanisms which should have
> caught this didn't.
>
> > The setup.zst from mirrors.sonic.net does *not* have problematic
> > build-depends lines.
> > (Switching to a different mirror might be a workaround, but I haven't
> > tried it yet.)
> >
> > The "bad" setup.zst has "setup-timestamp: 1680813730" (Thu 2023-04-06
> > 20:42:10 UTC).
> > The "good" setup.zst has "setup-timestamp: 1680795371" (Thu 2023-04-06
> > 15:36:11 UTC).
> > The bad one is about 5 hours newer than the good one.
> > I'm concerned that the bad setup.zst might propagate to other mirrors.
> This is fixed as of setup-timestamp: 1680860048
>
> Thanks very much for reporting this.
>
> Apologies for the inconvenience.

The mirror I use (mirrors.kernel.org) now has a setup.zst with a
newer timestamp (1680869581) and without the stray backslashes.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Error running setup-x86_64.exe: syntax error in setup.zst
  2023-04-07  1:44 Keith Thompson
@ 2023-04-07  9:40 ` Jon Turney
  2023-04-07 17:11   ` Keith Thompson
  0 siblings, 1 reply; 4+ messages in thread
From: Jon Turney @ 2023-04-07  9:40 UTC (permalink / raw)
  To: Keith Thompson, The Cygwin Mailing List

On 07/04/2023 02:44, Keith Thompson via Cygwin wrote:
> Running setup-x86_64.exe on a Windows 10 laptop, I get this error message:
> 
> https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> 30182: syntax error, unexpected $undefined, expecting COMMA or NL
> https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> 30182: unrecognized line 30183 (do you have the latest setup?)
> https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> 30203: syntax error, unexpected $undefined, expecting COMMA or NL
> https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
> 30203: unrecognized line 30204 (do you have the latest setup?)
> 
> (I can't copy the text from the message box so I retyped it.)

Protip: Ctrl-C should work on a message box.

> I re-downloaded setup-x86_64.exec, and it's identical to the one on my laptop.
> 
> I'm using the mirrors.kernel.org mirror.
> The setup.zst from mirrors.dotsrc.org is identical.
> I decompressed setup.zst and I do see something suspicious on the
> indicated lines.
> 
> Here's line 30182:
> 
> build-depends: \, bison, cygport, dblatex, docbook2X, flex,
> gettext-devel, libGLU-devel, libcairo-devel, libcanberra-gtk-devel,
> libcurl-devel, libfreetype-devel, libglib2.0-devel, libgmp-devel,
> libgtk2.0-devel, libgtkglext1.0-devel, libpango1.0-devel,
> libpng-devel, libreadline-devel, libsqlite3-devel, libxslt,
> python3-devel, texinfo
> 
> Line 30203 is similar. I don't see a lone backslash anywhere else in the file.

Yeah, this is wrong.

I need to investigate further why the mechanisms which should have 
caught this didn't.

> The setup.zst from mirrors.sonic.net does *not* have problematic
> build-depends lines.
> (Switching to a different mirror might be a workaround, but I haven't
> tried it yet.)
> 
> The "bad" setup.zst has "setup-timestamp: 1680813730" (Thu 2023-04-06
> 20:42:10 UTC).
> The "good" setup.zst has "setup-timestamp: 1680795371" (Thu 2023-04-06
> 15:36:11 UTC).
> The bad one is about 5 hours newer than the good one.
> I'm concerned that the bad setup.zst might propagate to other mirrors.
This is fixed as of setup-timestamp: 1680860048

Thanks very much for reporting this.

Apologies for the inconvenience.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Error running setup-x86_64.exe: syntax error in setup.zst
@ 2023-04-07  1:44 Keith Thompson
  2023-04-07  9:40 ` Jon Turney
  0 siblings, 1 reply; 4+ messages in thread
From: Keith Thompson @ 2023-04-07  1:44 UTC (permalink / raw)
  To: cygwin; +Cc: Keith Thompson

Running setup-x86_64.exe on a Windows 10 laptop, I get this error message:

https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
30182: syntax error, unexpected $undefined, expecting COMMA or NL
https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
30182: unrecognized line 30183 (do you have the latest setup?)
https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
30203: syntax error, unexpected $undefined, expecting COMMA or NL
https://mirrors.kernel.org/sourceware/cygwin/x86_64/setup.zst line
30203: unrecognized line 30204 (do you have the latest setup?)

(I can't copy the text from the message box so I retyped it.)

I re-downloaded setup-x86_64.exec, and it's identical to the one on my laptop.

I'm using the mirrors.kernel.org mirror.
The setup.zst from mirrors.dotsrc.org is identical.
I decompressed setup.zst and I do see something suspicious on the
indicated lines.

Here's line 30182:

build-depends: \, bison, cygport, dblatex, docbook2X, flex,
gettext-devel, libGLU-devel, libcairo-devel, libcanberra-gtk-devel,
libcurl-devel, libfreetype-devel, libglib2.0-devel, libgmp-devel,
libgtk2.0-devel, libgtkglext1.0-devel, libpango1.0-devel,
libpng-devel, libreadline-devel, libsqlite3-devel, libxslt,
python3-devel, texinfo

Line 30203 is similar. I don't see a lone backslash anywhere else in the file.

The setup.zst from mirrors.sonic.net does *not* have problematic
build-depends lines.
(Switching to a different mirror might be a workaround, but I haven't
tried it yet.)

The "bad" setup.zst has "setup-timestamp: 1680813730" (Thu 2023-04-06
20:42:10 UTC).
The "good" setup.zst has "setup-timestamp: 1680795371" (Thu 2023-04-06
15:36:11 UTC).
The bad one is about 5 hours newer than the good one.
I'm concerned that the bad setup.zst might propagate to other mirrors.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2023-04-07 17:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-04-07  6:52 Error running setup-x86_64.exe: syntax error in setup.zst Fergus Daly
  -- strict thread matches above, loose matches on Subject: below --
2023-04-07  1:44 Keith Thompson
2023-04-07  9:40 ` Jon Turney
2023-04-07 17:11   ` Keith Thompson

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).