From nobody Fri Mar 01 13:26: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 4TmTPh25Wzz5CNfJ for ; Fri, 1 Mar 2024 13:26: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 4TmTPh14tzz4194 for ; Fri, 1 Mar 2024 13:26:16 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709299576; a=rsa-sha256; cv=none; b=lDR3nidZ1Dd7OW4WPxpFRK6nuHAqV/91y5NzRo7+PR02kUqGbkc9fyZdlUJVi0VVA5YTNX 1/Sp+unAGcsDOwmB0tWxeo5uQEQKvRXfwowr9YUVhMu6wOMOp01KXdVEMRZJTyKxVA/NmU R1LXleHoT4a4pF0Nn5cRltrBcJOxl9tccfcYwWygweN8HLfMpNaJANHd2uHaG359SA6ZlA l78iLNAiK+J9VqJR9t1zh8Sf8K/4DJOlU3oQ/uR1XQSzuPJ8FqOpLVE2/VdijBSV2wdeew 0+p8e4C+OysX95WkGhizRSGq5b1evt7stRrbrj/3QAggmFvehId8FpuOzdZoeQ== 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=1709299576; 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=BG/jeeslqLlHmHzmG6GzFrTsmBP2I5ylQjEYkLUe1Gw=; b=srO0x1KNKBGNoMnG9L2bC6Y42mSgPx3x3m7bhAt6mF3fV5El9bSQQMlodM3MwN3fU83x51 TllkQg1je23sK3mjDiHHsAUsyZMWhfzdFKd/YB0X0wS2XLj4bxuEoKqGvhbucBnFhatGgp Z02Hppd8swIH9Ny/fb7lE0uGUp+k3/qP7X98Usq021lfHeYnhqyR0ujDi+icX5D3BjUwGe I/fEDT9oewfjGMJZLXU3TPVfhFdp0RULJq/PNCNusFfrhAeivKICOnX34S8M2+/LgmRXgq 82oacA52PYRKbWlncvKliK5Sxov0OU/y2oIZN4cUOe53NbWFSlZs6SIOWsVpPg== 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 4TmTPh0ZvXzSDV for ; Fri, 1 Mar 2024 13:26: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 421DQGi9065380 for ; Fri, 1 Mar 2024 13:26:16 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 421DQGYC065374 for ruby@FreeBSD.org; Fri, 1 Mar 2024 13:26: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: Fri, 01 Mar 2024 13:26: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: bagas1983@mail.ru 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: cc 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 bagas changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bagas1983@mail.ru --- Comment #4 from bagas --- diff --git a/ports-mgmt/portupgrade/files/patch-bin_portsclean b/ports-mgmt/portupgrade/files/patch-bin_portsclean new file mode 100644 index 000000000000..cbd9fd0a0790 --- /dev/null +++ b/ports-mgmt/portupgrade/files/patch-bin_portsclean @@ -0,0 +1,11 @@ +--- bin/portsclean.orig 2024-02-29 19:03:26 UTC ++++ bin/portsclean +@@ -282,7 +282,7 @@ def ldconfig_m(*dirs) + msg =3D " --> Running ldconfig -m" +=20 + dirs.each do |d| +- dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?) ++ dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?) + end +=20 + case dirs.size You have specified the path to the file /bin/portsclean You are not mistaken, in my system portsclean is located here /usr/local/sbin/portsclean --=20 You are receiving this mail because: You are on the CC list for the bug.=