Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#43365 closed defect (fixed)

git-core +svn: Required dependency p5-term-readkey not installed

Reported by: ian.hinder@… Owned by: ci42
Priority: Low Milestone:
Component: ports Version: 2.2.1
Keywords: Cc: cooljeanius (Eric Gallager)
Port: git-core

Description

When installing git-core with the svn variant, the Perl ReadKey.pm package is not installed. This manifests itself as an error when using git-svn if SVN prompts for credentials:

Password for 'XXX': Can't locate Term/ReadKey.pm in @INC (@INC contains: 
/opt/local/lib/perl5/site_perl/5.16.3/darwin-thread-multi-2level /opt/local/lib/perl5/site_perl/5.16.3
 /opt/local/lib/perl5/vendor_perl/5.16.3/darwin-thread-multi-2level
 /opt/local/lib/perl5/vendor_perl/5.16.3 /opt/local/lib/perl5/5.16.3/darwin-thread-multi-2level 
/opt/local/lib/perl5/5.16.3 /opt/local/lib/perl5/site_perl 
/opt/local/lib/perl5/vendor_perl/5.16.1/darwin-thread-multi-2level
 /opt/local/lib/perl5/vendor_perl/5.16.1 /opt/local/lib/perl5/vendor_perl .) 
at /opt/local/lib/perl5/site_perl/5.16.3/Git.pm line 565.

Installing the package p5-term-readkey solves the problem. Maybe this package should be listed as a dependency in the port description?

variant svn description {Bi-directional subversion repository support} {
    depends_run-append  port:subversion \
                        port:p${perl_version}-libwww-perl \
                        port:p${perl_version}-svn-simple \
                        port:p${perl_version}-term-readkey
}}

Change History (3)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Keywords: subversion perl git git-svn removed
Owner: changed from macports-tickets@… to ciserlohn@…
Summary: Required dependency p5-term-readkey not installed with svn variantgit-core +svn: Required dependency p5-term-readkey not installed

comment:2 Changed 11 years ago by ci42

Resolution: fixed
Status: newclosed

Fixed in r118999.

comment:3 Changed 11 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

Note: See TracTickets for help on using tickets.