Build FreeBSD: FAILED 6/rtems-arm on x86_64-freebsd12.1 (rtems-tools-9fcc20789367ef476eb9ffbc6e2f9fabf686e10f-1)

Joel Sherrill joel at rtems.org
Mon Sep 21 00:42:10 UTC 2020


On Sun, Sep 20, 2020, 6:11 PM Chris Johns <chrisj at rtems.org> wrote:

> On 21/9/20 1:23 am, Sebastian Huber wrote:
> > On 18/09/2020 22:21, sebastian.huber at embedded-brains.de wrote:
> >
> >> + cd rtems-tools-9fcc20789367ef476eb9ffbc6e2f9fabf686e10f
> >> + ./waf distclean configure '--prefix=/usr/local/rtems/6'
> >> Fatal Python error: Py_Initialize: can't initialize sys standard streams
> >> OSError: [Errno 9] Bad file descriptor
> > There seems to be an issue with the Python interpreter on FreeBSD 12.1.
> I called
> > it from a nohup shell.
>
> It is not Python or the RSB. It is a security feature of FreeBSD. You have
> closed the parent process that owned stdout and with it gone FreeBSD says
> you
> cannot run. Joel also struggled with this when he moved Linux workflows to
> FreeBSD for testing
>
> I use tmux and avoid nohup.
>

Add </dev/null on the nohup and you will be ok. Chris' solution does work
but doesn't address starting from Cron

>
> Chris
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200920/059caaff/attachment.html>


More information about the devel mailing list