When updating ruby from version 2.6.2 to 2.6.3, new file "delete_suffix.rb" has been added in csv library. But I can't find it in version 2.6.3_3,1 installation of lang/ruby26 ports. (/usr/local/lib/ruby/2.6/csv/delete_suffix.rb not found) This problem cause "file not found" errors when executing scripts using csv library. I think it's incomplete or old pkg-plist problem.
Ruby 2.6.2 never appeared in the ports tree. When Ruby 2.6 series added the ports tree, it was 2.6.3. So updating ruby 2.6.2 -> 2.6.3 nerver happens. What do you mean that?
For the reference: https://svnweb.freebsd.org/ports?view=revision&revision=501068 Ruby 2.6.2 has never appeared in the ports tree.
Also can you share us the minimum snippet using CSV library to reproduce?
I'm sorry for sending incomplete bug report. After further investigation, csv/delete_suffix.rb disappear when "RDOC" option is off. How to reproduce : 1. When "make config" command , set "RDOC" option to off 2. install ruby26 port 3. execute this command : ruby -rcsv -e 'print "test"' or just cd into /usr/local/lib/ruby/2.6/csv/. I think below is suspicious: Line 8908 of pkg-plist: %%RDOC%%%%RUBY_LIBDIR%%/csv/delete_suffix.rb Note : ruby 2.6.2 -> 2.6.3 is just information when "delete_suffix.rb" in csv library is added. I'm sorry for ambiguous expression.
Created attachment 206751 [details] PLIST fix - Fix PLIST - Bump PORTREVISION
(In reply to Sunpoet Po-Chuan Hsieh from comment #5) Thanks for the patch. LGTM. Ship it!
A commit references this bug: Author: sunpoet Date: Wed Aug 21 19:27:35 UTC 2019 New revision: 509546 URL: https://svnweb.freebsd.org/changeset/ports/509546 Log: Fix PLIST - Bump PORTREVISION for package change PR: 239933 Submitted by: Syouichi TAKAMIYA <takazeki@gmail.com> Changes: head/Mk/bsd.ruby.mk head/lang/ruby26/pkg-plist
Committed. Thanks!
I have confirmed this problem was fixed in my environment. Thank you!