[MacPorts] #52511: mc: subshell not working with /bin/sh (was: mc: subshell not worling with /bin/sh)

MacPorts noreply at macports.org
Wed Oct 5 22:35:01 CEST 2016


#52511: mc: subshell not working with /bin/sh
-----------------------+------------------
  Reporter:  sierkb@…  |      Owner:  mk@…
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  mc        |
-----------------------+------------------
Description changed by larryv@…:

Old description:

> After upgrading from macOS 10.11 to 10.12 and reinstalling MacPorts with
> all the ports, I run into the following problem:
>
> When trying a
> {{{
> $ sudo mc
> Password:
> }}}
> on macOS 10.12.0 (Sierra), mc throws a
> {{{
> common.c: unimplemented subshell type 1
> read (subshell_pty...): No such file or directory (2)
> }}}
>
> Searching for this error, I've stumbled over similar problems/bugs
> relating mc on FreeBSD:
>
> mc [https://www.midnight-commander.org/ticket/3658 Ticket #3658 (new
> defect) - Subshell not working with Bourne shell /bin/sh (not bash)] and
> FreeBSD [https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208391 Bug
> 208391 - misc/mc SUBSHELL not working with /bin/sh]
>
> I've never had this problem before on macOS 10.11.x and older, and I
> guess, something might have changed on 10.12 relating /bin/sh resp. the
> shell environment.
> Please fix here on MacPorts with a patch or upstream, so that mc is
> usable again with subshell on macOS 10.12.x (Sierra).

New description:

 After upgrading from macOS 10.11 to 10.12 and reinstalling MacPorts with
 all the ports, I run into the following problem:

 When trying a
 {{{
 $ sudo mc
 Password:
 }}}
 on macOS 10.12.0 (Sierra), mc throws a
 {{{
 common.c: unimplemented subshell type 1
 read (subshell_pty...): No such file or directory (2)
 }}}

 Searching for this error, I've stumbled over similar problems/bugs
 relating mc on FreeBSD:
 - mc: [https://www.midnight-commander.org/ticket/3658 Ticket #3658 (new
 defect) - Subshell not working with Bourne shell /bin/sh (not bash)]
 - FreeBSD: [https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208391 Bug
 208391 - misc/mc SUBSHELL not working with /bin/sh]

 I've never had this problem before on macOS 10.11.x and older, and I
 guess, something might have changed on 10.12 relating /bin/sh resp. the
 shell environment.
 Please fix here on MacPorts with a patch or upstream, so that mc is usable
 again with subshell on macOS 10.12.x (Sierra).

--

-- 
Ticket URL: <https://trac.macports.org/ticket/52511#comment:3>
MacPorts <https://www.macports.org/>
Ports system for the Mac operating system



More information about the macports-tickets mailing list