Makefile was missing ${STAGEDIR} for source of find commands for ${RUBY_RIDIR}. This would manifest as a problem in one of two ways: 1. If actual ${RUBY_RIDIR} contained leftover directories and files, a bunch of error messages like this would be emitted: pkg-static: Plist error, directory listed as a file: /usr/local/share/ri/1.9/system/ACL/ACLList pkg-static: Plist error, directory listed as a file: /usr/local/share/ri/1.9/system/ACL/ACL 2. If actual ${RUBY_RIDIR} non-existent or empty, then find command would not actually do anything, i.e., not add anything to the ${TMPPLIST}, since it's operating out of the real ${RUBY_RIDIR} rather than the staging directory version. This in turn makes scenario #1 likely to happen since a deinstall won't clean up these files. I also cleaned up a few of the many warnings emitted. The created.rid files were reported as orphaned. I believe these should either be deleted from the stage directory before packaging, or else included as part of the plist. I opted for the latter, as it seems like these files are harmless and probably actually desired, especially in ${RUBY_SITERIDIR}, if I understand the purpose of these files correctly. Although these fixes are shown for lang/ruby19 Makefile, it appears lang/ruby20 and lang/ruby21 need the same fixes. How-To-Repeat: Problem can be demonstrated by trying to package the port when the ${RUBY_RIDIR} has contents leftover from a previous install.
Responsible Changed From-To: freebsd-ports-bugs->ruby Over to maintainer (via the GNATS Auto Assign Tool)
Hi, Could you please take a look at the latest patch for bug 189646 and see if it fixes the issue for you? Thanks, Steve
Hi Steve, The problem I reported had to do with the dynamic plist generation for the RIDIR files. It looks like you've yanked this out and replaced it with static plist instead. So yes, I believe your patch addresses this problem. Thanks, Alex
Should be fixed by r366678, please let us know if not.