Opened 8 years ago

Last modified 6 years ago

#52511 assigned defect

mc: subshell not working with /bin/sh — at Version 3

Reported by: sierkb@… Owned by: mk@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: mc

Description (last modified by larryv (Lawrence Velázquez))

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:

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).

Change History (3)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Cc: mk@… removed
Keywords: subshell not worling with /bin/sh removed
Owner: changed from macports-tickets@… to mk@…

comment:2 Changed 8 years ago by mkae (Marko Käning)

Version: 2.3.4

Tested this on "Sierra 10.12.1 Beta" just now and can't reproduce the error.

Tell me, have you entered

/opt/local/bin/bash -l

in Terminal.app's "Preferences/Profiles/Startup/Run command" and check-marked it?

Last edited 8 years ago by mkae (Marko Käning) (previous) (diff)

comment:3 Changed 8 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Summary: mc: subshell not worling with /bin/shmc: subshell not working with /bin/sh
Note: See TracTickets for help on using tickets.