Created attachment 204886 [details] patch The samba48 build runs /usr/bin/rpcgen which tries to run /usr/bin/cpp which may not be the preprocessor set by the user in CPP and which may not even exist. Set RPCGEN_CPP="${CPP}" in MAKE_ENV to fix the build in these cases.
Committed, thanks!