On Raspberry Pi running Raspbian:
Linux DBRPi01 4.14.93-v7+ #1191 SMP Wed Jan 16 11:53:33 GMT 2019 armv7l GNU/Linux
when trying to build samba 4.10.0rc1 it hangs during configure phase.
The last line displayed is
Checking for iruserok:
Here it stops without any error messages. I waited for few hours but only way forward is ctrl-C.
I have not had any issue building previous samba releases.
the issue only occurs when configure uses jobs>1 parameter. Without it configuration is finished sucessfully
looks indeed that issue was caused but not enough memory in raspberry pi (even with added swap it did not like it). Sticking to single thread build works ok though.