AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only

bash: occasional error -> write error: stdout: Interrupted system call

  • 1.  bash: occasional error -> write error: stdout: Interrupted system call

    Posted Thu March 04, 2021 04:46 AM
    Edited by C- -T Thu March 04, 2021 05:09 AM

    sometimes i get the error "write error: stdout: Interrupted system call", there is no specific script or task to pin this error at.  i blame bash because there was an ancient bug in bash on aix (process substitution on operating systems missing /dev/fd and using named pipes instead).

    example:
    gmake[5]: Leaving directory '/home/packagebuilder/rpmbuild/BUILD/gettext-0.20.2/64bit/libtextstyle/lib'
    gmake[5]: write error: stdout: Interrupted system call
    gmake[4]: *** [Makefile:2068: all] Error 1
    gmake[4]: Leaving directory '/home/packagebuilder/rpmbuild/BUILD/gettext-0.20.2/64bit/libtextstyle/lib'
    gmake[3]: *** [Makefile:1717: all-recursive] Error 1
    gmake[3]: Leaving directory '/home/packagebuilder/rpmbuild/BUILD/gettext-0.20.2/64bit/libtextstyle'
    ​

    update: found the discussion in the gnu lists ->

    https://lists.gnu.org/archive/html/bug-bash/2013-11/msg00089.html

    ------------------------------
    I regret starting this entire conversation
    ------------------------------