From nobody Sun Mar 3 12:31:29 2024 X-Original-To: ports-bugs@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 4Tnh5Y4d1Mz5Chy6 for ; Sun, 3 Mar 2024 12:31:29 +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 4Tnh5Y3HDbz4r60 for ; Sun, 3 Mar 2024 12:31:29 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1709469089; a=rsa-sha256; cv=none; b=CGfz9DoV9bt7NCdzwmYY8kB96vIYX+Z7GJjTs4OffowhEfhOliQHE865k0hXsuCBJm8BJg +Kofcjt0VR2K0MQrYbLbCz8ctcAovnopqDNbvL04WBcv4uvwgZOHxA8+wbmxnpxo7VT+kU LJDsbt4tZzSdCuSfMENecnT369f2zev7asRlrzr1Hc5HLw1XegwlA7liqxKKE+gFTPJwlQ kXlHrkO/kFtooJG6cPTBPHLW9/iuQ1YUuOvvfm25YzHEEgxQx0F6Lrf2OvO2mcBi7YHfNp D0a3/JFhjUMgnzQpwfN8z7Em9US2M/PxjFSbdI4Kcf5WDZU/ZU4YJ3GE5kysYA== 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=1709469089; 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=TDyNC4qmenr6FUBbFFfTH+eT3l8p/17q81i3JU+8dw0=; b=S5UaTsSjN2CeDs8C+8oYbeJqLVLjMVDaJ04UtGCRPJ7etdrXz4IlLDMG19ylqPND0bsN2Y C9qaR0301JvLsFB6CL0CUy/BFeYuOWqqNe49TszKgRojIMa4U6JQoOH/+4dBS/+9CoXHCn /Y6dCRvTdRAbi1A0lITUduchmopScDR/TwLcA+hdQukFHJTl+JDHLC3vf/7cf+inCDixsH U7fDZ9Y6n7YBSMh3i/aFPdq5YQVSZPY3NKYLbIM1B2EYRhlyaho5V6hTBNwuREhkpg5UTo 4UTkTmKOvUsnctTfVvc+UIAQz4YSOrD4CkRk99YwTfjaUozVlFOCrltUZsu7Kw== 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 4Tnh5Y2mTdzdyq for ; Sun, 3 Mar 2024 12:31:29 +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 423CVT2U026423 for ; Sun, 3 Mar 2024 12:31:29 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 423CVTHD026418 for ports-bugs@FreeBSD.org; Sun, 3 Mar 2024 12:31:29 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: ports-bugs@FreeBSD.org Subject: [Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class Date: Sun, 03 Mar 2024 12:31:29 +0000 X-Bugzilla-Reason: AssignedTo 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D277395 --- Comment #12 from bagas --- In fact, need to change two lines in two files, why is there so much water = in the patch? https://people.freebsd.org/~tcberner/patches/0001-ports-mgmt-portupgrade-us= e-File.exist-instead-of-obs.patch bin/portsclean +- dirs.delete(d) if ! (File.exists?(d) && File.stat(d).directory?) ++ dirs.delete(d) if ! (File.exist?(d) && File.stat(d).directory?) lib/pkgtools/pkgtools.rb +- if File.exists?(custom_script) ++ if File.exist?(custom_script) --=20 You are receiving this mail because: You are the assignee for the bug.=