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=-1.0 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,SPF_HELO_PASS,SPF_PASS,URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.6 Received: from nue.mailmanlists.eu (nue.mailmanlists.eu [IPv6:2a01:4f8:1c0c:6b10::1]) (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 7A00F1F44D for ; Wed, 24 Apr 2024 22:40:21 +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=RubyPfLw; 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=L9FsSEVL; dkim-atps=neutral Received: from nue.mailmanlists.eu (localhost [127.0.0.1]) by nue.mailmanlists.eu (Postfix) with ESMTP id A89BF844BB; Wed, 24 Apr 2024 22:40:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ml.ruby-lang.org; s=mail; t=1713998412; bh=uqueBvziSfmaOmDRfVxDzZy1Hh4i2cdcxYY1gYZ1yuw=; 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=RubyPfLwnlNHlFD/+Fr9qSM1Y1xg+vIemIYbfyjey/v34nPmhnNtQ9kvcGS+V4r2W 55359lYQCiT8mDzOKNiHMEK+26r0orIlOq8/rMhJUynMFMRYxleZo31q0CpPLEU9Me s6oLcq6o4jLHMU5uok/Znl6hBX9qy0qQhYisdp7k= Received: from s.wrqvtbkv.outbound-mail.sendgrid.net (s.wrqvtbkv.outbound-mail.sendgrid.net [149.72.123.24]) by nue.mailmanlists.eu (Postfix) with ESMTPS id 4D85C84486 for ; Wed, 24 Apr 2024 22:40:09 +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=L9FsSEVL; 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=LC1uxn92DAxXivncY/4KX3t+bsmT7lwRojL1+6RZ9l0=; b=L9FsSEVLlnX24Tj/fjeZhGfZ7A9upIH/yBGTSpl4tMjVwIxTaf1DAxhy90EJUbo+draj Sr8JyqoxbZXxFlJ2E8PRK3ly1tYCqDR7HyaZu624Yo5R3lXV9k853ePYHceKcBKyrqTmnp yrAP9c7k2aRilnSSoQAQtrVYvSBrs6fDH1TDq5/xghZQf/sPJWH1YuGE4EXx1qGxdUMQ8b E2h5ZzUq6vpZ5iuGKYBFBtQujVTImKi8Enqp2sM51iXBxKxSPppuyqfipAbdaP7q1aqNsd SmJuCRQl+ZPGcQ1dypUeCERzmtB0Koo6HFyv/Up3alzxhbmDPP96RUoW/oNBaY3g== Received: by recvd-6b888cd74b-k8brp with SMTP id recvd-6b888cd74b-k8brp-1-66298A47-17 2024-04-24 22:40:07.760184417 +0000 UTC m=+1039216.909919047 Received: from herokuapp.com (unknown) by geopod-ismtpd-15 (SG) with ESMTP id ZygUrlyVTCqoi5knjEr6cw for ; Wed, 24 Apr 2024 22:40:08.114 +0000 (UTC) Date: Wed, 24 Apr 2024 22:40:06 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 X-Redmine-Project: ruby-master X-Redmine-Issue-Tracker: Bug X-Redmine-Issue-Id: 20450 X-Redmine-Issue-Author: philippe.bs.noel@tutanota.com X-Redmine-Issue-Assignee: hsbt X-Redmine-Issue-Priority: Normal X-Redmine-Sender: shan 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: 94290 X-SG-EID: =?us-ascii?Q?u001=2E9fGRHcaur0AuvitC=2F1zdJ7W0yF4MIWkxScnW56JP3D1Ru6E8cp4fwU50h?= =?us-ascii?Q?hG=2FIY2Xn1m8ku39wNL1Ycq7qVKPg2at8MlH86pC?= =?us-ascii?Q?QD+axk8pzTVMxmZVl1vdgPbQFKhh5begOAWzjg7?= =?us-ascii?Q?IPhoEkmmrYiCx3zZC9YhK3Ei40LW4DA+HA76xh0?= =?us-ascii?Q?glIqwMuCHszpiP4u+64LkGVmA3NvL=2FJgKmSXUft?= =?us-ascii?Q?WuZNTLC1ZiNt6dwhTgh8HBbUV=2FBUpDFDTRmeGkI?= =?us-ascii?Q?jKqT3huOENVXx36AaZnj87AYsQ=3D=3D?= To: ruby-core@ml.ruby-lang.org X-Entity-ID: u001.I8uzylDtAfgbeCOeLBYDww== Message-ID-Hash: 5K7TKHMU233FAXNCFP43ZMCSR3FQFDVE X-Message-ID-Hash: 5K7TKHMU233FAXNCFP43ZMCSR3FQFDVE 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:117694] [Ruby master Bug#20450] Ruby 3.3.1 broken with bootsnap List-Id: Ruby developers Archived-At: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: "shan (Shannon Skipper) via ruby-core" Cc: "shan (Shannon Skipper)" Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Issue #20450 has been updated by shan (Shannon Skipper). For what it's worth, here are some (untested) install scripts using a minimalist version of @eugeneius's patch for ruby-install, rbenv, RVM and asdf. ```sh ruby-install --patch https://gist.githubusercontent.com/havenwood/57ef01e562bc5ac2939477cc842cc9ad/raw/6680a70b409c/delete_archdir_prefix.patch ruby-3.3.1 ``` ```sh rvm install 3.3.1 --patch https://gist.githubusercontent.com/havenwood/57ef01e562bc5ac2939477cc842cc9ad/raw/6680a70b409c/delete_archdir_prefix.patch ``` ```ruby rbenv install --patch 3.3.1 < <(curl -s https://gist.githubusercontent.com/havenwood/57ef01e562bc5ac2939477cc842cc9ad/raw/0509f4df6d7e8e5e4a16eae2ef43f903b2b265d6/delete_archdir_prefix.patch) ``` ```sh RUBY_APPLY_PATCHES=$(curl -s https://gist.githubusercontent.com/havenwood/57ef01e562bc5ac2939477cc842cc9ad/raw/0509f4df6d7e8e5e4a16eae2ef43f903b2b265d6/delete_archdir_prefix.patch) asdf install ruby 3.3.1 ``` ---------------------------------------- Bug #20450: Ruby 3.3.1 broken with bootsnap https://bugs.ruby-lang.org/issues/20450#change-108103 * Author: philippe.bs.noel@tutanota.com (Philippe Noel) * Status: Assigned * Assignee: hsbt (Hiroshi SHIBATA) * ruby -v: ruby 3.3.1 (2024-04-23 revision c56cd86388) [x86_64-linux] * Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN ---------------------------------------- The issue looks like https://bugs.ruby-lang.org/issues/20060 With the new release of ruby 3.1.1, bootsnap does not work anymore. ``` bin/rails aborted! ArgumentError: comparison of String with nil failed (ArgumentError) msg = " #{RUBY_VERSION < SINCE[gem] ? "will no longer be" : "is not"} part of the default gems since Ruby #{SINCE[gem]}." ^^^^^^^^^^ /usr/local/bundle/gems/bootsnap-1.18.3/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:30:in `require' ``` It's working with DISABLE_BOOTSNAP=1 with the following message : `warning: parser/current is loading parser/ruby33, which recognizes 3.3.0-compliant syntax, but you are running 3.3.1.` -- 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/