Re: Can't use Expect in a portfile

2018-04-20 Thread Clemens Lang
On April 20, 2018 4:52:28 PM GMT+02:00, Ryan Schmidt wrote: > >Thanks. This fixes it for me: > >https://github.com/macports/macports-base/pull/81 > >Is that safe to commit? Not at my laptop right now, so can't leave the review on GitHub, but this looks safe to commit

Re: Can't use Expect in a portfile

2018-04-20 Thread Ryan Schmidt
On Apr 19, 2018, at 07:19, Rainer Müller wrote: > On 2018-04-19 13:58, Ryan Schmidt wrote: >> >> On Apr 19, 2018, at 06:49, Rainer Müller wrote: >> >>> On 2018-04-19 13:31, Ryan Schmidt wrote: I can't seem to use Expect in a portfile. [...] The system has no more ptys. Ask

Re: Can't use Expect in a portfile

2018-04-19 Thread Rainer Müller
On 2018-04-19 13:58, Ryan Schmidt wrote: > > On Apr 19, 2018, at 06:49, Rainer Müller wrote: > >> On 2018-04-19 13:31, Ryan Schmidt wrote: >>> I can't seem to use Expect in a portfile. [...] >>> >>> The system has no more ptys. Ask your system administrator to create more. >> >> This is

Re: Can't use Expect in a portfile

2018-04-19 Thread Ryan Schmidt
On Apr 19, 2018, at 06:49, Rainer Müller wrote: > On 2018-04-19 13:31, Ryan Schmidt wrote: >> I can't seem to use Expect in a portfile. [...] >> >> The system has no more ptys. Ask your system administrator to create more. > > This is probably due to sandboxing. I guess Expect wants to open

Re: Can't use Expect in a portfile

2018-04-19 Thread Rainer Müller
On 2018-04-19 13:31, Ryan Schmidt wrote: > I can't seem to use Expect in a portfile. Using the following minimal > portfile: > > > PortSystem 1.0 > name foo > version 1 > fetch { > system "expect -c 'spawn echo hello; interact;'" > } > > > And running: > > > sudo port fetch > > > I