Hello,

Package sssd_1.11.5.1-1 on Debian FTBFS for mips and mipsel.
https://buildd.debian.org/status/fetch.php?pkg=sssd&arch=mips&ver=1.11.5.1-1&stamp=1399675946
https://buildd.debian.org/status/fetch.php?pkg=sssd&arch=mipsel&ver=1.11.5.1-1&stamp=1399663454

dyndns_test_ok is failing with following log:

[ RUN      ] dyndns_test_ok
(Tue Jul  8 15:53:55:004476 2014) [sssd] [be_nsupdate_args] (0x0200): (Tue Jul  8 15:53:55:004521 2014) [sssd] [child_handler_setup] (0x2000): nsupdate auth type: GSS-TSIG
Setting up signal handler up for pid [21397]
(Tue Jul  8 15:53:55:004693 2014) [sssd] [__wrap_execv] (0x0200): nsupdate success test case
(Tue Jul  8 15:53:55:004825 2014) [sssd] [__wrap_execv] (0x1000): Child exiting with status 0
(Tue Jul  8 15:53:55:005275 2014) [sssd] [child_handler_setup] (0x2000): Signal handler set up for pid [21397]
(Tue Jul  8 15:54:55:837623 2014) [sssd] [write_pipe_handler] (0x0020): write failed [32][Broken pipe].
(Tue Jul  8 15:54:55:837801 2014) [sssd] [nsupdate_child_stdin_done] (0x1000): Sending nsupdate data complete
(Tue Jul  8 15:54:55:837869 2014) [sssd] [nsupdate_child_stdin_done] (0x0040): Sending nsupdate data failed [32]: Broken pipe
(Tue Jul  8 15:54:55:837947 2014) [sssd] [be_nsupdate_done] (0x0040): nsupdate child execution failed [1432158228]: Dynamic DNS update failed
(Tue Jul  8 15:54:55:837985 2014) [sssd] [dyndns_test_ok] (0x1000): Child request returned [1432158228]: Unknown error 1432158228
0x555d0014 != 0
../src/tests/cmocka/test_dyndns.c:222: error: Failure!
[  FAILED  ] dyndns_test_ok
    Child part has finished before the child handler was created.

    I have created and attached a patch which is workaround for this issue.
    Could someone please take a look and comment this?

    Thank you!

    Sincerely,
    Jurica