From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on starla X-Spam-Level: X-Spam-Status: No, score=0.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_BL_SPAMCOP_NET,SPF_HELO_PASS, SPF_PASS autolearn=no 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 3968D1F4BE for ; Mon, 21 Oct 2024 09:06:43 +0000 (UTC) Authentication-Results: dcvr.yhbt.net; dkim=pass (1024-bit key; unprotected) header.d=ml.ruby-lang.org header.i=@ml.ruby-lang.org header.a=rsa-sha256 header.s=mail header.b=t6qJIB0x; 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=GT5wDfvW; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1729501601; bh=1LTEC0EFBwks5naBi9vznlNklHlG6e2Shew1K9q2XGs=; 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=t6qJIB0xiUO5YBjGW/9mc63Nai0uDJc+UuWVsx5RIBw7coFjsd07e/KdQOOgtteBQ 17fOXcKWaVdp5056RXm+l4QpsVslTGgDoIkeyYdcEOeiA3MEoxSfeC9FDa2wXNbZA1 02kW+I5mroyrQMKAJEajshrim07zpvblfFn2QVWo= Received: from nue.mailmanlists.eu (localhost [IPv6:::1]) by nue.mailmanlists.eu (Postfix) with ESMTP id ECC7746394 for ; Mon, 21 Oct 2024 09:06:41 +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=GT5wDfvW; dkim-atps=neutral Received: from s.wrqvtvvn.outbound-mail.sendgrid.net (s.wrqvtvvn.outbound-mail.sendgrid.net [149.72.120.130]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 191944452D for ; Mon, 21 Oct 2024 08:50:20 +0000 (UTC) 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=GVs5ViCTgoVcOSYgvkKnfhEiDUNyYJg0Jn/GglYaGLM=; b=GT5wDfvWetZTL0FFOTrWJcl49j0wwq7Uz0tdyOwqBAI/J274c9BJjuhrDuqyIvvPgWxQ rn3WuJOjDnRdvO3Dn4IJbjcg0CC058HmqJakwEhtnJJxnVr1oY298vHDA5jsB7EAMFN33o bIJtvdvbTV5OIFNTOa57KUbgfznwFWCLkYq6QE4wHX7RjmjGDJCxztdYzynWYyDY8Bf1e7 HMCfX/FvWDsxnU830GHcVL3HMwHlu7qqkDZo3v/US5nfo7DTZPhodqhi525iAJTEgNJ48f c22oRB8zTObbessEh+awva47NNFCS4nu6sRQCvhAkLrNAhzqtmo+L/HV2Kt3BZFA== Received: by recvd-5577bcb48c-tmc27 with SMTP id recvd-5577bcb48c-tmc27-1-671615CC-5 2024-10-21 08:50:20.043585216 +0000 UTC m=+3336747.179773403 Received: from herokuapp.com (unknown) by geopod-ismtpd-9 (SG) with ESMTP id gd6bMM0rT0qTq7tRXxZJwg for ; Mon, 21 Oct 2024 08:50:19.990 +0000 (UTC) Date: Mon, 21 Oct 2024 08:50:20 +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-Issue-Priority: Normal 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: 96186 X-SG-EID: =?us-ascii?Q?u001=2ENoplzK4ni=2FP9gVNf78IAPRJwRgCS3IYaT5O+rV1ME2HV2yACdMSakWNQP?= =?us-ascii?Q?iTmtk8iZYVM=2FBV75NYVkJwPXOCJXVeEB2+JCYNS?= =?us-ascii?Q?AG72qnUkVTdesxKhmVoDxIEcsVf02HDEUpwobyB?= =?us-ascii?Q?KHS7bGTFFvtWtiA9UVY=2F0VXbPsy=2FFVuYXOGIC32?= =?us-ascii?Q?0GAQP8daMRXSXnGPeuFxU+DqF=2FdJfbGiR0dYPoH?= =?us-ascii?Q?9yPqmhC6CyE9QDX2bYcCkv+eZbu0L5kqq8mZP0F?= =?us-ascii?Q?M8TauRmx+S3InkzklsHogLnc5w=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: R4UY76UWXLKJW6MFWKFXDB3OQ26AAZZ7 X-Message-ID-Hash: R4UY76UWXLKJW6MFWKFXDB3OQ26AAZZ7 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.9 Precedence: list Reply-To: Ruby developers Subject: [ruby-core:119552] [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 updated by cfis (Charlie Savage). Still a issue in Ruby 3.3.x One thing I forgot to mention in the original report, the file with the issue is: ruby-3.3.5/common.mk ---------------------------------------- Bug #19268: Mingw64 Build Failure https://bugs.ruby-lang.org/issues/19268#change-110169 * Author: cfis (Charlie Savage) * Status: Open * 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/lists/ruby-core.ml.ruby-lang.org/