Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 01 Mar 2024 08:02:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        ruby@FreeBSD.org
Subject:   [Bug 277410] After upgrading ruby31 to ruby32, portupgrade broke.
Message-ID:  <bug-277410-21402-WLUPzAfGAI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277410-21402@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277410-21402@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-277410-21402-WLUPzAfGAI>