[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 277395] ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Feb 2024 18:32:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277395 Bug ID: 277395 Summary: ports-mgmt/portupgrade with lang/ruby32 fails with: undefined method `exists?' for File:Class Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: fabian@wenks.ch CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org CC: bdrewery@FreeBSD.org, ruby@FreeBSD.org The entry 20240228: in /usr/ports/UPDATING (www/redmine50) mention this: The default vesion of ruby has been switched from 3.1 to 3.2. So I did the following steps to upgrade to ruby32 (as I had done in the past based on the 20230315: entry in /usr/ports/UPDATING): pkg delete -f ruby portupgrade libchk ruby31\* rubygem\* nice -n 5 make -C /usr/ports/ports-mgmt/portupgrade install clean pkg set -o lang/ruby31:lang/ruby32 nice -n 5 portupgrade -n -x ruby-3.2.\* -frp lang/ruby32 # just to see what would be rebuilt nice -n 5 portupgrade -x ruby-3.2.\* -frp lang/ruby32 The last step gave a confusing error (forgot to record the details), but the last line was the same as when I just tried this: # nice -n 5 portupgrade -pR ftp/curl [Reading data from pkg(8) ... - 831 packages found - done] [Gathering depends for ftp/curl ........................................ done] [Exclude up-to-date packages .................. done] ---> Upgrading 'curl-8.5.0_1' to 'curl-8.6.0' (ftp/curl) ---> Building '/usr/ports/ftp/curl' ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! ftp/curl (curl-8.5.0_1) (undefined method `exists?' for File:Class) To revert back to ruby31 I have done this steps and then portupgrade worked again: echo "DEFAULT_VERSIONS+=ruby=3.1" >> /etc/make.conf nice -n 5 make -C /usr/ports/ports-mgmt/portupgrade install clean pkg set -o lang/ruby32:lang/ruby31 -- You are receiving this mail because: You are the assignee for the bug.