Subject: Re: bug#22478: 25.1.50; tramp error: Wrong method specification for‘scp’

From: Sam Steingold <[email-masked]>
Date: Thu, 25 Aug 2016 09:47:49 -0400

Hi Michael,

> * Michael Albinus <[email-masked]> [2016-08-25 11:09:54 +0200]:
>
> Sam Steingold <[email-masked]> writes:
>
> Yes. It doesn't tell us the full story, but it tells us that your perl
> on the remote machine doesn't work.

indeed...

> As workaround, you might deactivate it for that machine. Like this:
>
> (add-to-list 'tramp-connection-properties '("podval" "perl" nil))

will try

> However, I would also like to add a test to Tramp in order to detect
> such broken perl stanzas. Could you, pls, perform the following commands
> on the remote machine, and show me their output?
>
> # which perl

/usr/bin/perl

> # perl -v

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_PAPER = "en_US.UTF-8",
	LC_COLLATE = "C",
	LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

This is perl 5, version 18, subversion 4 (v5.18.4) built for x86_64-linux-thread-multi
(with 25 registered patches, see perl -V for more detail)

Copyright 1987-2013, Larry Wall

Perl may be copied only under the terms of either the Artistic License or the
GNU General Public License, which may be found in the Perl 5 source kit.

Complete documentation for Perl, including FAQ lists, should be found on
this system using "man perl" or "perldoc perl".  If you have access to the
Internet, point your browser at http://www.perl.org/, the Perl Home Page.

> # perl -e 'print "hello\n"'; echo $?

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_PAPER = "en_US.UTF-8",
	LC_COLLATE = "C",
	LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't locate Carp/Always.pm in @INC (you may need to install the Carp::Always module) (@INC contains: /home/sds/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
2

> # perl -e '@stat = lstat("/dev/null"); print join(" ", @stat) . "\n"'; echo $?

perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
	LANGUAGE = (unset),
	LC_ALL = (unset),
	LC_PAPER = "en_US.UTF-8",
	LC_COLLATE = "C",
	LANG = "C.UTF-8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
Can't locate Carp/Always.pm in @INC (you may need to install the Carp::Always module) (@INC contains: /home/sds/perl5/lib/perl5 /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .).
BEGIN failed--compilation aborted.
2

> Thanks, and best regards, Michael.

Thanks for your patience!

-- 
Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1404
http://www.childpsy.net/ http://think-israel.org http://thereligionofpeace.com
http://palestinefacts.org http://honestreporting.com
Fibonacci dinner = breakfast + lunch leftovers.