Jim Burwell
unread,Jul 16, 2018, 11:50:03 PM7/16/18You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to
Hi,
Discovered an issue when trying to compile net-fs/samba-4.5.16. Looks
like it involves the WAF package configuration process and/or rpcgen.
Problem is with the source files trying to "#include <rpc/rpc.h>"
(sm_notify.c is the first the fail), the location of the glibc SunRPC
headers when it doesn't exist. Those headers actually live in
"<tirpc/rpc/rpc.h>" but for whatever reason the build wasn't including
it, or including "-I /usr/include/tiprc" during the build.
Curiously, WAF shows that it didn't find the rpc headers (at least form
my quick perusal through the build logs), but the build is still doing
the "#include".
Quick fix is: $ CFLAGS "-I/usr/include/tirpc -Wl,-ltirpc" emerge -1v samba
BTW, no thanks to the a particular scold and martinet in #gentoo named
"kurly" who seemed to be itching to kick/silence for asking simple
questions (which he of course did). People like that shouldn't have
ops, IMHO.
- Jim