Summary: | net-fs/samba[cluster] fails to build with >=sys-libs/glibc-2.26 - no rpcgen | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Dan Goodliffe <gentoo> |
Component: | Current packages | Assignee: | Gentoo's SAMBA Team <samba> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | wolvie |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 381391, 646004 | ||
Attachments: | build.log |
Description
Dan Goodliffe
2017-12-09 18:51:05 UTC
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(-) |