https://bugzilla.redhat.com/show_bug.cgi?id=1542666

            Bug ID: 1542666
           Summary: perl-Net-OpenSSH package fails to pull in required
                    IO::Pty module
           Product: Fedora
           Version: rawhide
         Component: perl-Net-OpenSSH
          Assignee: steve.tray...@cern.ch
          Reporter: la...@redhat.com
        QA Contact: extras...@fedoraproject.org
                CC: perl-devel@lists.fedoraproject.org,
                    steve.tray...@cern.ch



perl-Net-OpenSSH needs to have IO::Pty to operate properly. The specfile has:

  Suggests: perl(IO::Pty)

but that is wrong on two counts:

1) IO::Pty is actually just included as a part of IO:Tty

2) The Suggests: isn't "strong enough" to actually get the proper module
installed, so when I try to use Net::OpenSSH, I get this error:


unable to load Perl module IO::Pty: Can't locate IO/Pty.pm in @INC (you may
need to install the IO::Pty module) (@INC contains: /usr/local/lib64/perl5
/usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at (eval 48)
line 1.
 at /usr/share/perl5/vendor_perl/Net/OpenSSH.pm line 917.

The fix that I found is to change the above Suggests to this:

  Requires: perl(IO::Tty)

Both changes are needed - I tried "Suggests: perl(IO::Tty)" and that didn't get
IO:Tty installed as a dependency.

I'm filing this against rawhide, but the same change needs to be made in F26
and F27.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@lists.fedoraproject.org
To unsubscribe send an email to perl-devel-le...@lists.fedoraproject.org

Reply via email to