From nobody Mon Mar 25 14:36:15 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 4V3FqN4GFNz5F3sT for ; Mon, 25 Mar 2024 14:36:16 +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 4V3FqN2cnzz4JZD for ; Mon, 25 Mar 2024 14:36:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1711377376; a=rsa-sha256; cv=none; b=LJuEtqL6QqckhZkt3GBd3ki+kBXBg1GSHj6gvJsRs469p1evWz/W8uH8NQIRmh7xFRBwdT GCxh4IFVO/apelWgxc7O2VZtBMI5B+xjDkepXGzydOwsf+QtdE97nBhHTDiuCdHo3JPjBi 3h2P1HdfeDx4uSGo2jlFozTSabWMM1MGAWR9amWt7OvsvpPAe7bo1C5T/bDUYrElW/wpoV MhZAiwJj4AbMgiopvt8AS/25ELTwbZLXBciq0umf7ddmSRw0CKHd8iKLXtEnlb3lqjMVyx tnXblv6SUOC+BCloSOYy7O+MEfVTV6xRhEvLtkgkYRggyaqA0mvQKem1b70mlQ== 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=1711377376; 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: in-reply-to:in-reply-to:references:references; bh=EKcohahf2qupN55+IcK15E0lJrk7vd7yTQUj9SGFW0E=; b=nsmoSHmBqOHPwgvFVbpBYG20xViMwoZ9euHLxaFgtya7IAX3323xaikzHiNIl2kcGSKY8r gm+SMxXzBjDbsQRl2AC/uaDu+6E0JjOSjGHf/k5zIppvwnLoXF1CUCJwvB8vzdUQgRbTBm B4+MLsIVfWO1TwT2cToTMOz3pX25RwUUQgdJIwzy4RrXUiGKHLnuJFYbhxqAhLluc32gd8 FViox0UXKEIIlOunrv6V3I0Hw86ISpYd+b+6grojwRqPH/c/tqnWtdorefOaO8xfSRugrP aq1pE41hqnsry5nTSIPwDJNHCOYVgcL1gyiTzQe4Ely3k0XSUpyABUWSmx1H+A== 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 4V3FqN2DpZzKjc for ; Mon, 25 Mar 2024 14:36:16 +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 42PEaG3p066254 for ; Mon, 25 Mar 2024 14:36:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 42PEaGn9066253 for ruby@FreeBSD.org; Mon, 25 Mar 2024 14:36:16 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: Mon, 25 Mar 2024 14:36:15 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: hlangner@alice-dsl.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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 --- Comment #15 from Harald Langner --- (In reply to Tobias C. Berner from comment #1) Hi, why not change the tow typo's? In Version : 2.4.16_3,2 the error is still there. in /usr/local/sbin/portsclean=20 change .exits to exist 285 #HL dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?) dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?) and in /usr/local/lib/ruby/site_ruby/3.2/pkgtools change .exits to exist 527 #HL: if File.exists?(custom_script) if File.exist?(custom_script) and all is working fine. --=20 You are receiving this mail because: You are on the CC list for the bug.=