X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A42733857700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1680887538; bh=9agrILlM2NkgRieSPtcCc7zaCEOl0IARq7RnQav+FXA=; h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=F6NZOCD4fFcBSRfmZ2Nd1sFr2NJ6santDldkDw+P2xwyqW2NMYMogZ+YVPGlsQHxk E95aCygv08Ims8sm1af7D5wXUw340u4Vn+rV9j6MiWO3gDgb3Iet5Q9SI3rdbKpdwX FTD7FvjJYbUS4HGMUncm9bECrxlHsiPgkIckYGII= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 825473858D33 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 AT dronecode DOT org DOT uk> In-Reply-To: <5c1e2522-ccd3-3ab4-af38-a4cb3c5e4fe8@dronecode.org.uk> 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 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 X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: Keith Thompson via Cygwin Reply-To: Keith Thompson Content-Type: text/plain; charset="utf-8" Sender: "Cygwin" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 337HCgbd018890 On Fri, Apr 7, 2023 at 2:40 AM 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 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. -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple