From nobody Fri Mar 01 13:53:39 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 4TmV1J04rcz5CR4k for ; Fri, 1 Mar 2024 13:53:40 +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 4TmV1H3RTcz439x for ; Fri, 1 Mar 2024 13:53:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709301219; a=rsa-sha256; cv=none; b=XVyl+hdEFIeLglx/OSGhOw+Q2Z4IhUfAN0V9hb4Yda7D6FIcUFTeDjdahjR/+OFb/gWCaR DWCRW0oD8qc3X1+0PI1Raa5jLNuZVbfpd1BEJUFcLf4YBBivbXOKtALgv/w3lyCGTJrLRG f/kFG27UGuwe1ASTMjNkxaElXxTnpdQ+QXNxiz81WvnBQ6pf4ue7Jjdzexccn9roFW9ofa XnldfZTSPlGeWA7tipxmUSDpPOYcBopnOlNhhTFDi95cLJFoAKa9mPXV3zdmWf4MojvY/x xQsJx/q81pjv+vmWDX9nJfuaN3b88g/thEJSEclxY3UOZNRsQQO15/p8XrQy0g== 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=1709301219; 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=863Z6IsoRWkj0jyjj6ur8Umo+BLSodxOfxO6b8vRyD4=; b=QP340iaYmXDpd0pzfGFbdalP8CsdavRUM6v8xvsHw6QvbhxNlWj/aV6iEf9+yYde9eOaq/ 97lVLV8PXd0SYLXlWw9xT2ooPgvBOQZnkb/tSik9VFFEU/zE+MlnBCsRnWicnEl/R7jkNO M3LA+HX1nQwe8y3axhHSe81A5D1oVtkyFWaoKJSypES5TW7TWiccMaT7w8gdfkxREI/YBf LnXzu8Uc0WCBE3H4fJ1ENy9oB+Nf9AEfmGC7b8O3NaOBirzzGjKv48HBILhfgCDFl6oidT I8Eq168D63w51qTlBRVymaKfT9WHKbDUKfz7jEdO8o5+yVIPZHtR6zs4r221aw== 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 4TmV1H33fpzSlc for ; Fri, 1 Mar 2024 13:53:39 +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 421DrdB3014759 for ; Fri, 1 Mar 2024 13:53:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 421DrdO0014754 for ruby@FreeBSD.org; Fri, 1 Mar 2024 13:53:39 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:53:39 +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: 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 #6 from bagas --- We are waiting for a global update of the patch to the portupgrade port. I confirm that these changes work. portsclean +- dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?) ++ dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?) and=20 pkgtools.rb - if File.exists?(custom_script) + if File.exist?(custom_script) --=20 You are receiving this mail because: You are on the CC list for the bug.=