Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-2467

Gem package does not include dependent submodules

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 2.14.0
    • Component/s: None

      I see the not referred symbolic link is included in the mongo-2.14.0.gem.
       

      $ gem unpack mongo-2.14.0.gem 
      Unpacked gem: '/home/jaruga/git/pkg/fed/rubygem-mongo/work/mongo-2.14.0'
      
      $ cd mongo-2.14.0/
      
      $ ls -l spec/support/ocsp 
      lrwxrwxrwx. 1 jaruga jaruga 63 Dec 7 16:35 spec/support/ocsp -> spec/support/../../.mod/drivers-evergreen-tools/.evergreen/ocsp
      

      I found it by a lint program on Fedora project. How to improve this situation? I think including the symbolic link in the gem file might not be suitable.

      rubygem-mongo-doc.noarch: W: dangling-relative-symlink /usr/share/gems/gems/mongo-2.14.0/spec/support/ocsp spec/support/spec/support/../../.mod/drivers-evergreen-tools/.evergreen/ocsp
      The target of the symbolic link does not exist within this package or its file
      based dependencies.  Verify spelling of the link target and that the target is
      included in a package in this package's dependency chain
      

       

            Assignee:
            Unassigned Unassigned
            Reporter:
            jaruga@redhat.com Jun Aruga
            Votes:
            0 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated: