From nobody Thu Feb 29 18:32:51 2024 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 4Tm0Fw62XMz5Ch8G for ; Thu, 29 Feb 2024 18:32:52 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Tm0Fw0jZYz4Ncs for ; Thu, 29 Feb 2024 18:32:52 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709231572; a=rsa-sha256; cv=none; b=x5PbxxkkbPHWDKyUy07zki27jlmZgU9ahWQCAUg517eugCXq5lahXZNpSE5sSA2/zOOVDr vzp7x5fG7hHaRk9KB1M4MnaISa1LApPKKYvYxZG71BLr6FkfzZDoZqVR5JL/Dmb4QYmTV+ Dj9KLjVmKZMyjSprGlmxUwYPPLmLJtEoDsskLkVtXmyUQUC0YyHma2vYR6gghK6g9yBPG0 gHxCnWDeOJeGtBzV9XjEtEnsP1n9d7GdFs18gIEpf0aIBhtvYq2Aogkwig3z6Rn9PfTj8U 8GuKCH/AMyR5+HR7/A1/aVvr9rQz7EJUpmx1up85rUv5nM3z9hijqDg9D8CpdQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1709231572; 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=5FZU5pBEBLkyrOjzM+UyIcPJ9suhTJo7vuVniz9M1os=; b=vhSWACUpYHjQsjUViIKmuWbIlE3LBw/kWWsd/XAWhkpqMqgZXlwy7UqyVXI9bAOr6Nuhes 9DBBLSpszdgurIuhKHTJBQ6T5w+JLCCSYl/ZAc+0J2bQELB6b3RP8cW7lUDXCIQvlbnrp+ 4fiY5arTWSXdZQtoEyWUXTcMQky/NIhVbFZTts8vOGKp8+vEiIS1l3UHBSj3mAPhtS0zJ/ dSQc7TqE9ZVpgzS7JNYub83wfqsaq6NzX5cWuikMs4uD8f1bMqoKseVbiY0CFerQ80wlOO 4exoYhEK7zGFG2kGdZNKiPurfvKcEdCISl8NusLKhARfxKMQKyIRn6vuXfmfvQ== 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 4Tm0Fw01nZztD8 for ; Thu, 29 Feb 2024 18:32:52 +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 41TIWpmD017729 for ; Thu, 29 Feb 2024 18:32:51 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 41TIWpsn017728 for ruby@FreeBSD.org; Thu, 29 Feb 2024 18:32:51 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 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class Date: Thu, 29 Feb 2024 18:32:51 +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 Many People X-Bugzilla-Who: fabian@wenks.ch 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-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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: Sender: owner-freebsd-ruby@freebsd.org X-BeenThere: freebsd-ruby@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277395 Bug ID: 277395 Summary: ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fabian@wenks.ch CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org The entry 20240228: in /usr/ports/UPDATING (www/redmine50) mention this: The default vesion of ruby has been switched from 3.1 to 3.2. So I did the following steps to upgrade to ruby32 (as I had done in the past based on the 20230315: entry in /usr/ports/UPDATING): pkg delete -f ruby portupgrade libchk ruby31\* rubygem\* nice -n 5 make -C /usr/ports/ports-mgmt/portupgrade install clean pkg set -o lang/ruby31:lang/ruby32 nice -n 5 portupgrade -n -x ruby-3.2.\* -frp lang/ruby32 # just to see wh= at would be rebuilt nice -n 5 portupgrade -x ruby-3.2.\* -frp lang/ruby32 The last step gave a confusing error (forgot to record the details), but the last line was the same as when I just tried this: # nice -n 5 portupgrade -pR ftp/curl [Reading data from pkg(8) ... - 831 packages found - done] [Gathering depends for ftp/curl ........................................ do= ne] [Exclude up-to-date packages .................. done] ---> Upgrading 'curl-8.5.0_1' to 'curl-8.6.0' (ftp/curl) ---> Building '/usr/ports/ftp/curl' ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! ftp/curl (curl-8.5.0_1) (undefined method `exists?' for File:Class) To revert back to ruby31 I have done this steps and then portupgrade worked again: echo "DEFAULT_VERSIONS+=3Druby=3D3.1" >> /etc/make.conf nice -n 5 make -C /usr/ports/ports-mgmt/portupgrade install clean pkg set -o lang/ruby32:lang/ruby31 --=20 You are receiving this mail because: You are on the CC list for the bug.=