Opened 15 years ago

Closed 14 years ago

#20915 closed defect (fixed)

p5-net-ssh-perl SSH2 failing

Reported by: michaelm@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.0
Keywords: Cc:
Port: p5-math-pari

Description (last modified by jmroot (Joshua Root))

Scripts using SSH1 work fine. SSH2 connections are failing with the following output.

Can't load '/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle' for module Math::Pari: dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle, 1): Symbol not found: _hiremainder
  Referenced from: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle
  Expected in: dynamic lookup
 at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util/SSH2MP.pm line 6
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util/SSH2MP.pm line 6.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util/SSH2MP.pm line 6.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util.pm line 56.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Kex/DH1.pm line 10.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Kex.pm line 6.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Kex.pm line 6.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/SSH2.pm line 6.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/SSH2.pm line 6.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/NET/SSH/PERL.pm line 54.

Change History (8)

comment:1 Changed 15 years ago by jmroot (Joshua Root)

Description: modified (diff)
Owner: changed from macports-tickets@… to tkay@…

comment:2 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

What would I need to type on my system to see the same error message?

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

I updated p5-net-ssh-perl to 1.34 in r57828. Does that help?

comment:4 Changed 15 years ago by steve@…

Afraid not:

$ perl -MNet::SSH::Perl -e 'my $ssh = Net::SSH::Perl->new("servername", debug => 1, protocol => 2);'

localhost: Reading configuration data /Users/me/.ssh/config
localhost: Reading configuration data /etc/ssh_config
localhost: Connecting to servername, port 22.
localhost: Remote protocol version 2.0, remote software version OpenSSH_4.3
Can't load '/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle' for module Math::Pari: dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle, 1): Symbol not found: _hiremainder
  Referenced from: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle
  Expected in: dynamic lookup
 at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util/SSH2MP.pm line 6
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util/SSH2MP.pm line 6, <GEN0> line 1.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util/SSH2MP.pm line 6, <GEN0> line 1.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Util.pm line 56, <GEN0> line 1.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Kex/DH1.pm line 10, <GEN0> line 1.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Kex.pm line 6, <GEN0> line 1.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/Kex.pm line 6, <GEN0> line 1.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/SSH2.pm line 6, <GEN0> line 1.
BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl/SSH2.pm line 6, <GEN0> line 1.
Compilation failed in require at /opt/local/lib/perl5/vendor_perl/5.8.9/Net/SSH/Perl.pm line 52, <GEN0> line 1.

(Mild obfuscation of user and hostnames above - hope that's not a problem)

This is for the latest version of p5-math-pari @2.010801_0 and p5-net-ssh-perl @1.34_0 running on the latest version of perl5.8 @5.8.9 Do let me know if you need any more information.

Thanks for looking into this

Steve

comment:5 Changed 15 years ago by steve@…

Sorry - should have given the simpler test case, which shows that the problem lies with Math::Pari:

$ perl -MMath::Pari -e 1
Can't load '/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle' for module Math::Pari: dlopen(/opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle, 1): Symbol not found: _hiremainder
  Referenced from: /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/auto/Math/Pari/Pari.bundle
  Expected in: dynamic lookup
 at -e line 0
Compilation failed in require.

comment:6 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… removed

comment:7 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from tkay@… to macports-tickets@…

Tony no longer maintains this port.

comment:8 Changed 14 years ago by ghosthound

Port: p5-math-pari added; p5-net-ssh-perl removed
Resolution: fixed
Status: newclosed

This is a problem with p5-math-pari, which downloads its own copy/version of the PARI math library. When it builds the local copy of PARI, it seems to fail to properly create libPARI.a on Leopard (on Snow Leopard the p5-math-pari module builds/installs properly).

Resolved in r69686, please re-open if there's still an issue.

Note: See TracTickets for help on using tickets.