From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS24940 94.130.0.0/16 X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [94.130.110.93]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 83E301F698 for ; Tue, 27 Dec 2022 09:42:35 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; secure) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=dM1oOXry; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=biYiHE9L; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id 0C25E7E5DD; Tue, 27 Dec 2022 09:42:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1672134149; bh=OBg1ewZbe+xVleYNniFb51OqBNCA26vP5fBmhOndgR8=; h=Date:References:To:Reply-To:Subject:List-Id:List-Archive: List-Help:List-Owner:List-Post:List-Subscribe:List-Unsubscribe: From:Cc:From; b=dM1oOXryZioGTiHeaVaUQlPdt24+vLu02HtPZQL2vQFbI0X2Yz5pi5NBkQELxwEyo aOjzlJjTwbtNFqW/UljqfAHPGzf0JyClnM3LdWZvFdZtScg0u/FF986zO1paj0CmLU 3HT0wT/4F5k1LIyKcIlTdMa+IbQY+QgKbmumX92U= Received: from o1678948x4.outbound-mail.sendgrid.net (o1678948x4.outbound-mail.sendgrid.net [167.89.48.4]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 859127E5A3 for ; Tue, 27 Dec 2022 09:42:25 +0000 (UTC) Authentication-Results: nue.mailmanlists.eu; dkim=pass (2048-bit key; unprotected) header.d=ruby-lang.org header.i=@ruby-lang.org header.a=rsa-sha256 header.s=s1 header.b=biYiHE9L; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ruby-lang.org; h=from:references:subject:mime-version:content-type: content-transfer-encoding:list-id:to:cc:content-type:from:subject:to; s=s1; bh=X/f8O5KEjB0i9vAftj6d22NVgOAptbuZxtv02FUpQ4I=; b=biYiHE9Lrs5vsukXtmugHlc3/G1Wt1PCTqNc6NP7z7aBO8QgamJRy1uwN19kGfZTltIz a1sgoiBXBzz4W7JbjHaQEbazPEVMO8tum4ZIrzGjAirfkrp6gx/5vTcpvlXY7KHt8gbUiH 8tpREPKO54L737BK+0yq068D1hzXUyhGuMSVj3qJQH8c9f9LZy1Qe4FX7QgtQQ0huyvOCe eIM4lPBmTak9YNiUYEgmtw/x/9WPIiHwXJJE0E5jap4gbbGvMd9xEBpX3TryPRiTRqLhlO eQxqijqDrbafH7mah/Dt8X96/8vcFgikhIGV8a2NBtyN5UONle52s5SybI6faFVw== Received: by filterdrecv-557d69979-vdwgg with SMTP id filterdrecv-557d69979-vdwgg-1-63AABDFF-26 2022-12-27 09:42:23.595243096 +0000 UTC m=+3407812.006468283 Received: from herokuapp.com (unknown) by geopod-ismtpd-1-2 (SG) with ESMTP id FFPA4E7FQraxZn8m-fVbLw for ; Tue, 27 Dec 2022 09:42:23.460 +0000 (UTC) Date: Tue, 27 Dec 2022 09:42:23 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 19268 X-Redmine-Issue-Author: cfis X-Redmine-Sender: cfis X-Mailer: Redmine X-Redmine-Host: bugs.ruby-lang.org X-Redmine-Site: Ruby Issue Tracking System X-Auto-Response-Suppress: All Auto-Submitted: auto-generated X-Redmine-MailingListIntegration-Message-Ids: 87850 X-SG-EID: =?us-ascii?Q?lzWx=2FPsuTrF5AbkX3GAVvGd6W+mfYvL=2FAznto6T0Bk9WvAGDMBdCfLC5HHQqnO?= =?us-ascii?Q?28OuwQvLYle1LCkAthS6YsZ1afbIB6jv7Jt6p+z?= =?us-ascii?Q?7z=2F8xD+Dr+qlDKY53ia04dkOiiHTQzBXizz8Jst?= =?us-ascii?Q?x5PLbt+Rjw6IxFiAo+r=2F6D6aHHuK8rgW3XKVVeK?= =?us-ascii?Q?CwENFLCzsQ5W0B9fIRED1cRKb4C6JyGnDjGTe4+?= =?us-ascii?Q?I=2Ff85pt9qXVKF7H2sN3hMwsmDWlwlhOlJjwQAzr?= =?us-ascii?Q?L7PJjQF4wI1ErqySbKY8Q=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: b/2+PoftWZ6GuOu3b0IycA== Message-ID-Hash: FAZQR5BJCBXMV7D2WETR2MCUMRV7KBSS X-Message-ID-Hash: FAZQR5BJCBXMV7D2WETR2MCUMRV7KBSS X-MailFrom: bounces+313651-b711-ruby-core=ml.ruby-lang.org@em5188.ruby-lang.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.3 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:111450] [Ruby master Bug#19268] Mingw64 Build Failure List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "cfis (Charlie Savage) via ruby-core" Cc: "cfis (Charlie Savage)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #19268 has been reported by cfis (Charlie Savage). ---------------------------------------- Bug #19268: Mingw64 Build Failure https://bugs.ruby-lang.org/issues/19268 * Author: cfis (Charlie Savage) * Status: Open * Priority: Normal * ruby -v: ruby 3.1.3p185 (2022-11-24 revision 1a6b16756e) [x64-mingw-ucrt] * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN ---------------------------------------- For both Ruby 3.1.3 and Ruby 3.2.0, building on msys2/ucrt64 fails: ``` c linking miniruby.exe /usr/bin/sh: -c: line 1: syntax error near unexpected token `(' /usr/bin/sh: -c: line 1: `/usr/local/ruby/bin/ruby --disable=gems -n -e BEGIN{version=ARGV.shift;mis=ARGV.dup} -e END{abort "UNICODE version mismatch: #{mis}" unless mis.empty?} -e (mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o 15.0.0 ./enc/unicode/15.0.0/casefold.h ./enc/unicode/15.0.0/name2ctype.h' make: *** [uncommon.mk:878: .rbconfig.time] Error 2 ``` The fix that works for me is changing: ``` c -e '(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +"#{Regexp.quote(version)}"/o' \ ``` To ``` c -e "(mis.delete(ARGF.path); ARGF.close) if /ONIG_UNICODE_VERSION_STRING +\"#{Regexp.quote(version)}\"/o" \ ``` ``` -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/