From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 825473858D33 for ; Fri, 7 Apr 2023 17:11:40 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 825473858D33 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62a.google.com with SMTP id l17so9704346ejp.8 for ; Fri, 07 Apr 2023 10:11:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1680887499; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=SXd665CdQmH970xAsNXu4xma+VSSMK0YxjpLAcrX3r4=; b=O0h0DBz2MQvOGphPtsJ6y0TwXZlkztuwOL6XOHSOuO41ndr7Nbwl1dFcqG1RnRhSNA +NBGWyw2KOdGGryN4kAyKfIU4ajs0TL/2wexevO6VJg3Db+mx7sPZk7PiONPmXL+t5CP /l3sGNFWYK/UO3fn4QuF155AnXQbG2iwmpl0a913VFY39eTqw/rjd3ZKeIn2DtUyfcmb G1URn+XxCSw/kfXSK3RvTUe464PSlVxiL+246jlNqeE3xpxBVETW6YQJkTCtLJxo0Gar STt54c07EaUsAmhcjUIFjsyBVH43RwMUluRdgjPhU0m+y4eSq2FkE+tcAPWazPDmQS8+ nZGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680887499; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=SXd665CdQmH970xAsNXu4xma+VSSMK0YxjpLAcrX3r4=; b=lrb2L0JsArAcyI03E9H1xtvXiakcueqom7GESKQOrjBsaQjcu1xc8200/IE3vD5QN9 FE8el539Z0/shXctGByU8A6uUqs5IqEMhCgKT41WkBh43FgMfshbNSzyh5GZiE1m4flK wcEn8Dp2e/0JqFFh1hGd7f2NIjWp1uyzMjPhG4NJCEBfnYg2933gRhy/gG2j1NbNyQIk T6jtpuOFuzIj4keLHN532NM0MBzyZFFzBHTKRMzrDpHq3XorM05pPOxfFQPZvDvxfJf0 rBS/tVeVL/xri+b5pY643ap+1RQG99UV/f82oEXLg22pB822LCxiGdF0d4NUV4Ke4ECY 5EQg== X-Gm-Message-State: AAQBX9d5L6HH6sQ7g5GsM9WGHfJ2H/WE0Y+oE5jBkQp1Hn3M0z2t+dhM GzL99Q3W3Y6+s32NyNNp62DC6eZqTSLGEHi7fQSFD1RnV8M= X-Google-Smtp-Source: AKy350a7h9UB5gTgAghu2naGbhrFdoqQc3qxY87uCocj0Lc1aTAYR3c1trAM1/Xy5uqW+rnbM8h3bAxqu8HErBj/ftk= X-Received: by 2002:a17:906:9519:b0:948:fe00:77f0 with SMTP id u25-20020a170906951900b00948fe0077f0mr78090ejx.11.1680887498565; Fri, 07 Apr 2023 10:11:38 -0700 (PDT) MIME-Version: 1.0 References: <5c1e2522-ccd3-3ab4-af38-a4cb3c5e4fe8@dronecode.org.uk> In-Reply-To: <5c1e2522-ccd3-3ab4-af38-a4cb3c5e4fe8@dronecode.org.uk> From: Keith Thompson Date: Fri, 7 Apr 2023 10:11:27 -0700 Message-ID: Subject: Re: Error running setup-x86_64.exe: syntax error in setup.zst To: The Cygwin Mailing List Cc: Keith Thompson Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, Apr 7, 2023 at 2:40=E2=80=AFAM Jon Turney 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 messa= ge: > > > > 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 th= e 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.