This has already been posted on the Gentoo Bugzilla, but they closed it off as
Anywho, in at least versions 3.0.7 and 3.0.9 of Samba, rpctorture fails to build
under Gentoo (and possibly other systems). I'll include the relevant part of the
Gentoo build log as an attachment shortly.
Relevant extracts from Gentoo's "emerge info" output:
Gentoo Base System version 1.6.7
Portage 2.0.51-r8 (default-linux/x86/2004.3, gcc-3.4.3, glibc-188.8.131.5241102-r0,
System uname: 2.6.9-gentoo-r10 i686 Mobile Intel(R) Celeron(R) CPU 1.50GHz
Python: dev-lang/python-2.3.4 [2.3.4 (#1, Dec 8 2004, 20:11:33)]
sys-devel/autoconf: 2.59-r6, 2.13
sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3
sys-devel/binutils: 184.108.40.206.2-r1, 220.127.116.11.2-r2
CFLAGS="-march=pentium4m -O2 -fomit-frame-pointer -pipe"
Created attachment 845 [details]
Gentoo buld log extract
Extract from Gentoo's build log showing where rpctorture fails to build.
rpctorture is not supported in any way. If you need similar functionality look
at samba4 smbtorture.