Created attachment 509122 [details] build.log As per summary summary [ebuild R ] sys-libs/glibc-2.26-r3:2.2::gentoo USE="caps hardened nscd -audit -debug -gd (-multilib) (-profile) (-selinux) -suid -systemtap (-vanilla)" 0 KiB [ebuild U ] net-fs/samba-4.7.3::gentoo [4.7.1::gentoo] USE="acl cluster fam ldap pam syslog systemd -addc -addns -ads -ceph -client -cups -debug -dmapi -gnutls -gpg -iprint -python -quota (-selinux) (-system-heimdal) -system-mitkrb5 {-test} -winbind -zeroconf" PYTHON_TARGETS="python2_7" 0 KiB Same problem as discussed in bug #637270 14:35:20 runner rpcgen -h ../ctdb/utils/smnotify/smnotify.x > default/ctdb/utils/smnotify/smnotify.h /bin/sh: rpcgen: command not found I've installed net-libs/rpcsvc-proto which provides rpcgen (but might be a totally unsuitable thing to do, but seemed worth a shot), but then the build then fails with: In file included from ../ctdb/utils/smnotify/smnotify.c:27:0: default/ctdb/utils/smnotify/smnotify.h:9:10: fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h> Full build log attached.
I guess the ebuild should require net-libs/rpcsvc-proto if the files are not generated in the tarball.
I have the same problem at multiple systems. I tested a lot of things... what works = use new stage3 and install fresh = samba can be compiled what not works = every old system what i upgrade run into the same problem and throw the identical error but for me its line 21 at samba 4.7.4 default/ctdb/utils/smnotify/smnotify.h:9:21: fatal error: rpc/rpc.h: No such file or directory #include <rpc/rpc.h> ^~~~~~~~~~~ compilation terminated. at samba 4.7.3 i also have the same error but cant say exactly the line
This appears to be limited to when USE=cluster is enabled. I've disabled it on my installs as I don't actually use it and all appears to be well. rene, you might want to check the configuration of your older installs compared to the fresh stage3 install.
I could build samba with glibc 2.26-r3 after I've done some changes * Added CPPFLAGS='-I /usr/include/tirpc' * Installed net-libs/rpcsvc-proto * Added LDFLAGS"-ltirpc" I've tested on samba 4.5.10-r1 and 4.7.4
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5c30175570939acf4ec4d505175f328e491ee6e4 commit 5c30175570939acf4ec4d505175f328e491ee6e4 Author: Andreas K. Hüttel <dilfridge@gentoo.org> AuthorDate: 2018-04-30 16:21:23 +0000 Commit: Andreas K. Hüttel <dilfridge@gentoo.org> CommitDate: 2018-04-30 16:21:23 +0000 net-fs/samba: More dependency fixes, bug 640416 Closes: https://bugs.gentoo.org/640416 Package-Manager: Portage-2.3.31, Repoman-2.3.9 net-fs/samba/samba-4.2.14.ebuild | 7 +++++-- net-fs/samba/samba-4.5.16.ebuild | 7 +++++-- net-fs/samba/samba-4.6.14.ebuild | 7 +++++-- net-fs/samba/samba-4.6.15.ebuild | 7 +++++-- net-fs/samba/samba-4.7.6.ebuild | 7 +++++-- net-fs/samba/samba-4.7.7.ebuild | 7 +++++-- net-fs/samba/samba-4.8.0.ebuild | 7 +++++-- net-fs/samba/samba-4.8.1.ebuild | 7 +++++-- 8 files changed, 40 insertions(+), 16 deletions(-)