Your message dated Wed, 27 Mar 2013 02:11:54 -0400
with message-id 
<CAMzhQmMQ1QhP-T4XyH1x=gkujusmw+fnbe33zp60uny665a...@mail.gmail.com>
and subject line Re: Bug#697663: /usr/bin/mosh breaks with Perlbrew
has caused the Debian Bug report #697663,
regarding /usr/bin/mosh breaks with Perlbrew
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
697663: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=697663
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mosh
Version: 1.2.3-1
Severity: normal


The mosh binary (/usr/bin/mosh) is a Perl script that starts with the
following line:

    #!/usr/bin/env perl

This uses the "current" perl binary which may not be the system Perl if
the user is using perlbrew[1]. This causes mosh to fail for example if
the current perl doesn't have the necessary Perl modules installed:

    mark@lifebook$ mosh [email protected]
    Can't locate IO/Pty.pm in @INC (@INC contains: 
/opt/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux 
/opt/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2 
/opt/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux 
/opt/perlbrew/perls/perl-5.14.2/lib/5.14.2 .) at /usr/bin/mosh line 38.
    BEGIN failed--compilation aborted at /usr/bin/mosh line 38.

I don't know how the mosh source is configured, but for "normal" Perl
modules/scripts the hashbang line is typically overwritten
automatically at install time by ExtUtils::MakeMaker (via
Module::Install, Module::Build, Dist::Zilla etc.) Perhaps mosh could be
converted to use the same system.

[1] http://perlbrew.pl

-- System Information:
Debian Release: 5.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages mosh depends on:
ii  libc6                   2.13-33          Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.7.0-8        GCC support library
ii  libio-pty-perl          1:1.08-1+b2      Perl module for pseudo tty IO
ii  libprotobuf7            2.4.1-1          protocol buffers C++ library
ii  libssl1.0.0             1.0.1c-1         SSL shared libraries
ii  libstdc++6              4.7.0-8          GNU Standard C++ Library v3
ii  libtinfo5               5.9-4            shared low-level terminfo library 
ii  libutempter0            1.1.5-4          A privileged helper for utmp/wtmp 
ii  openssh-client          1:5.9p1-5        secure shell (SSH) client, for sec
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

mosh recommends no packages.

mosh suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Package: mosh
Version: 1.2.4-1

We eliminated the dependency on the IO::Pty Perl module, which should
fix this problem in practice.

On Tue, Jan 8, 2013 at 12:14 AM, Mark Lawrence <[email protected]> wrote:
> Package: mosh
> Version: 1.2.3-1
> Severity: normal
>
>
> The mosh binary (/usr/bin/mosh) is a Perl script that starts with the
> following line:
>
>     #!/usr/bin/env perl
>
> This uses the "current" perl binary which may not be the system Perl if
> the user is using perlbrew[1]. This causes mosh to fail for example if
> the current perl doesn't have the necessary Perl modules installed:
>
>     mark@lifebook$ mosh [email protected]
>     Can't locate IO/Pty.pm in @INC (@INC contains: 
> /opt/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2/x86_64-linux 
> /opt/perlbrew/perls/perl-5.14.2/lib/site_perl/5.14.2 
> /opt/perlbrew/perls/perl-5.14.2/lib/5.14.2/x86_64-linux 
> /opt/perlbrew/perls/perl-5.14.2/lib/5.14.2 .) at /usr/bin/mosh line 38.
>     BEGIN failed--compilation aborted at /usr/bin/mosh line 38.
>
> I don't know how the mosh source is configured, but for "normal" Perl
> modules/scripts the hashbang line is typically overwritten
> automatically at install time by ExtUtils::MakeMaker (via
> Module::Install, Module::Build, Dist::Zilla etc.) Perhaps mosh could be
> converted to use the same system.
>
> [1] http://perlbrew.pl
>
> -- System Information:
> Debian Release: 5.0.3
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 
> 'experimental')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
> Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/bash
>
> Versions of packages mosh depends on:
> ii  libc6                   2.13-33          Embedded GNU C Library: Shared 
> lib
> ii  libgcc1                 1:4.7.0-8        GCC support library
> ii  libio-pty-perl          1:1.08-1+b2      Perl module for pseudo tty IO
> ii  libprotobuf7            2.4.1-1          protocol buffers C++ library
> ii  libssl1.0.0             1.0.1c-1         SSL shared libraries
> ii  libstdc++6              4.7.0-8          GNU Standard C++ Library v3
> ii  libtinfo5               5.9-4            shared low-level terminfo library
> ii  libutempter0            1.1.5-4          A privileged helper for utmp/wtmp
> ii  openssh-client          1:5.9p1-5        secure shell (SSH) client, for 
> sec
> ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime
>
> mosh recommends no packages.
>
> mosh suggests no packages.
>
> -- no debconf information

--- End Message ---

Reply via email to