Here is a small reproducer: cd ~/rpmbuild/BUILD/samba-4.20.1+git.335.0a46cdafe2 && for i in $(seq 3) ; do perl "pidl/pidl" "--quiet" "--includedir=/home/abuild/rpmbuild/BUILD/samba-4.20.1+git.335.0a46cdafe2/librpc/idl" "--header" "--ndr-parser" "--client" "--python" "--outputdir" "bin/default/source3/librpc/gen_ndr" "--" "source3/librpc/idl/smbXsrv.idl" 2>/dev/null ; md5sum bin/default/source3/librpc/gen_ndr/py_smbXsrv.c ; done 59d8aaa03d6e823a3895c7bed7a1f299 bin/default/source3/librpc/gen_ndr/py_smbXsrv.c b274520e585748db6cb33b025cfad66a bin/default/source3/librpc/gen_ndr/py_smbXsrv.c 0864b694bb939ce7aecf1079134943e7 bin/default/source3/librpc/gen_ndr/py_smbXsrv.c There is also plenty output on stderr such as source3/librpc/idl/smbXsrv.idl:60: error: Unable to determine origin of type `struct db_record' that might be related.