tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: python37 issues on NetBSD



Hello John and Martin,

Martin Husemann writes:
> On Fri, Mar 22, 2019 at 02:51:56AM +0000, John Klos wrote:
> > /usr/local/bin/python3.7  setup.py  build )
> > Fatal Python error: init_sys_streams: can't initialize sys standard streams
> > OSError: [Errno 9] Bad file descriptor
>
> There is an open PR and an upstream bug report about this (but I don't
> have number handy).
>
> This is caused by closing stdin and letting the pkgs build in the background,
> like:
>
> 	make 2>&2 > /tmp/log &
> 	exit
>
> If you keep them on a tty the build will work.
> [...]

This is PR pkg/53229.

(Proposed patch was against python36 but it should be very similar
for all python3*.)


Home | Main Index | Thread Index | Old Index