[Bug 277410] After upgrading ruby31 to ruby32, portupgrade broke.

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 01 Mar 2024 08:02:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277410

--- Comment #6 from bagas <bagas1983@mail.ru> ---
It seems to be working and updating.
In /usr/local/lib/ruby/site_ruby/3.2/pkgtools/pkgtools.rb

  # See #8
  custom_script = "#{PREFIX}/libexec/pkgtools/script"
#  if File.exists?(custom_script)
   if File.exist?(custom_script)
    $script_path = custom_script
  else
    $script_path = '/usr/bin/script'
  end
  $script_path
end

root@test_site:/ # portupgrade -arR
[Reading data from pkg(8) ... - 185 packages found - done]
--->  Upgrading 'Imath-3.1.10' to 'Imath-3.1.11' (math/Imath)
--->  Building '/usr/ports/math/Imath'
===>  Cleaning for Imath-3.1.11
===>  License BSD3CLAUSE accepted by the user
===>   Imath-3.1.11 depends on file: /usr/local/sbin/pkg - found
=> AcademySoftwareFoundation-Imath-v3.1.11_GH0.tar.gz doesn't seem to exist in
/usr/ports/distfiles/.
...
...
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.