From nobody Fri Jan 17 11:02:33 2025 X-Original-To: ruby@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4YZGzF6rqNz5kp03 for ; Fri, 17 Jan 2025 11:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4YZGzF3rkhz3Kvf for ; Fri, 17 Jan 2025 11:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737111753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LUttw+HjBQ/U/XE/M0P3Dvn1/S78K8LpYi0S0PuG2lY=; b=qfg7CLSiD2A8l3Nl6Ky9tFVb9vyALb0lykVYTmdULnTAyxdgwTgMhQhPnXqv7uNBDG6dJx HIY+t5QX5qvov88WLO+71gMozZLC8g+w1w2TFRN1J3EJMSUo5XIigpbfBkDbiKIvxS80/J HHaDgTrLIyqSCjECpEP8UAf2SGkB0Zrkj82Ubojdp57qryoN/nvZ0Y2R5HbYOkzMHMyo54 EeRDJktkccPDdpr73nICDHI9Z3Ap8p6Om1E60ccuC9/VamJ7fDOvD5wTaMsvpSuS4RoQKI bRWgjUPA6E+ItONnFu1Yonw1ghYQp5s0tgwgPGVvEgjkFNVU/z8a5UYPkuBj8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1737111753; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LUttw+HjBQ/U/XE/M0P3Dvn1/S78K8LpYi0S0PuG2lY=; b=OmytqdoeGd3sZYnPlfg7A1xK19TWclvekh3HC12gDjRuxypZIJlvTMvWAvKCOhZ5cfN2JD uxZUAAALZr4ATdIieWEogezdxvMc5Ryki9IJjEFgmftXQHHaZM8cjfjw8nPc5gbmN+px5j CDSvv4CjLZK/AWUbYEg7nDoGXNPMQUvvjhKLM+cpdEOVPhjtIZjFBgSt+3Xzic5amH9Q4y Jvd0SvSuL6gDGevcayH8a6SGPrR7zjLEa7sb4BEM/z1+bGZOj2wjmhS5fkqc5Dbaty8LE2 LFSvQb6/tfhQ0wcdaknjywVWWFBTK8faV8SMPxo8tYKQoCkWStbNBTtZNNTmLw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1737111753; a=rsa-sha256; cv=none; b=h6yJpzE6UztrfWJyRJXGNPBTObeX3xBom0qXEnGf8ieZLSzCTu/bROua/CzUC+p/q3VXr0 sdmfWMgNRf8VRvPQZrwCfb/PCNXd3oDt7Yufyhou663HVUJDlUaIDlXmlJYVp/dx1JdVHR aSO4Sixj93/WMlyi+xqtwtA3K0f+lFYuJ74em0wsD4waYoo9jIHZKy7ZwCu3KZAm+s8WkZ gBlUCECGiMTWRwzvD3qtMMMoGubh79xdEPW7AG4qKhWIIS6wsb8bX22fSuCA1qH/y0ejhd ruscYP0DQKpCwU1lGXrKy5VCVx3NO3KiqiDDCPKL89OgqIjepaW1Fszb9rMYcg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4YZGzF3QhSz1Bj for ; Fri, 17 Jan 2025 11:02:33 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 50HB2Xe6081601 for ; Fri, 17 Jan 2025 11:02:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 50HB2XwV081600 for ruby@FreeBSD.org; Fri, 17 Jan 2025 11:02:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ruby@FreeBSD.org Subject: [Bug 284112] sysutils/puppetserver7 broken by upgrade to devel/ruby-gems 3.6.2 Date: Fri, 17 Jan 2025 11:02:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: ray@bellis.me.uk X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: FreeBSD-specific Ruby discussions List-Archive: https://lists.freebsd.org/archives/freebsd-ruby List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: freebsd-ruby@freebsd.org Sender: owner-freebsd-ruby@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D284112 Bug ID: 284112 Summary: sysutils/puppetserver7 broken by upgrade to devel/ruby-gems 3.6.2 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: ray@bellis.me.uk CC: puppet@FreeBSD.org, ruby@FreeBSD.org CC: puppet@FreeBSD.org, ruby@FreeBSD.org With latest 2025q1 packages for puppetserver7, the puppet daemon crashes af= ter a few seconds, with this (snipped) stack trace appearing in the log as appa= rent root cause: --8<--8<-- Caused by: org.jruby.embed.EvalFailedException: (NoMethodError) undefined method `bind_call' for # at org.jruby.embed.internal.EmbedEvalUnitImpl.run(EmbedEvalUnitImpl.java:134) ... Caused by: org.jruby.exceptions.NoMethodError: (NoMethodError) undefined me= thod `bind_call' for # at RUBY.warn(/usr/local/lib/ruby/site_ruby/3.2/rubygems/core_ext/kernel_warn.r= b:16) ... --8<--8<-- I have traced this to a 4 month old commit to ruby-gems, which among other things replaces a few calls to `.bind(self).call(args...)` with `.bind_call(self, args...)`: https://github.com/rubygems/rubygems/commit/fc1f03b06a72b9e74a5e7410cf9a2d1= 1b28090e7 IIUC this crash might arise because the version of JRuby embedded inside the FreeBSD puppetserver7 package perhaps does not support `.bind_call()` ? I have been able to get my puppetserver running in the meantime by patching ruby-gems itself to revert the use of `.bind_call` in lines 16 and 43 of site_ruby/3.2/rubygems/core_ext/kernel_warn.rb I'm happy to file additional reports elsewhere as needed, but in the first instance I think this needs triage from someone with much more experience w= ith (J)Ruby than I have. --=20 You are receiving this mail because: You are on the CC list for the bug.=