Bug 254512 - lang/ruby27 - MOVED file format error (PortsDB::MOVEDError)
Summary: lang/ruby27 - MOVED file format error (PortsDB::MOVEDError)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Mark Linimon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-23 19:59 UTC by andy
Modified: 2021-03-24 04:05 UTC (History)
0 users

See Also:
andy: maintainer-feedback?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description andy 2021-03-23 19:59:54 UTC
Ruby recently broke with:


Traceback (most recent call last):
	13: from /usr/local/sbin/portupgrade:2380:in `<main>'
	12: from /usr/local/sbin/portupgrade:238:in `main'
	11: from /usr/local/sbin/portupgrade:238:in `new'
	10: from /usr/local/lib/ruby/2.7/optparse.rb:1093:in `initialize'
	 9: from /usr/local/sbin/portupgrade:531:in `block in main'
	 8: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/pkgtools.rb:242:in `init_pkgtools_global'
	 7: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:181:in `setup'
	 6: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:181:in `new'
	 5: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:106:in `initialize'
	 4: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:111:in `fill'
	 3: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:111:in `open'
	 2: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:112:in `block in fill'
	 1: from /usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:112:in `each'
/usr/local/lib/ruby/site_ruby/2.7/pkgtools/portsdb.rb:118:in `block (2 levels) in fill': MOVED file format error (PortsDB::MOVEDError)


Tried the following:
  # pkg delete -f ruby portupgrade
  # make -C /usr/ports/ports-mgmt/portupgrade install clean
  # pkg set -o lang/ruby26:lang/ruby27
  # portupgrade -vx ruby-2.7.\* -fr lang/ruby27

still broken
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2021-03-23 21:38:48 UTC
Do either of the following two commits fix the problem?

  https://svnweb.freebsd.org/changeset/ports/569060
  https://svnweb.freebsd.org/changeset/ports/569063
Comment 2 andy 2021-03-24 04:03:57 UTC
(In reply to Mark Linimon from comment #1)
Yes, it's fixed and working again.  Thank you.