tech-pkg archive

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

Re: Workaround for Suspended (tty output) in python?



> cd /usr/pkgsrc/lang/python312
> make package > /tmp/python.log 2>&1 &
>
> After a short while:
>
> https://www.klos.com/~john/stoppedpython.jpg
>
> Any ideas?

I've seen this as well.


In my case, doing "fg %1", then Ctl-Z and "bg" worked around the
issue.  I think it'll occur twice.  I suspect it's doing an ioctl
on the tty, and that will trigger this.

Alternatively (I've not tested), run the build job with /dev/null
as stdin, instead of letting that be a tty.


Those are both crude workarounds, and I still consider the build
broken for causing this.


Regards,

- Håvard


Home | Main Index | Thread Index | Old Index