After system cleaning !!! existing preserved libs: >>> package: dev-libs/libbsd-0.7.0 * - /usr/lib64/libbsd.so.0 * - /usr/lib64/libbsd.so.0.7.0 * used by /usr/lib64/libXdmcp.so.6.0.0 (x11-libs/libXdmcp-1.1.2)
(In reply to Justin Lecher from comment #0) > After system cleaning > > !!! existing preserved libs: > >>> package: dev-libs/libbsd-0.7.0 > * - /usr/lib64/libbsd.so.0 > * - /usr/lib64/libbsd.so.0.7.0 > * used by /usr/lib64/libXdmcp.so.6.0.0 (x11-libs/libXdmcp-1.1.2) Yep. I just hit this. From the ChangeLog. commit 66514a4af7eaa47e8718434356d7efce95e570cf Author: Matthieu Herrb <matthieu.herrb@laas.fr> Date: Sun Aug 4 10:42:57 2013 +0200 Use arc4random when available to produce the XDM-AUTHENTICATION1 key arc4random() and associated functions can be found in libbsd on GNU/Linux systems. Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr> Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com> So I hit the opposite of an automagic dep, my system (using binpkgs only) didn't pull in libbsd. From the configure.ac # Checks for library functions. AC_CHECK_LIB([bsd], [arc4random_buf]) AC_CHECK_FUNCS([srand48 lrand48 arc4random_buf]) which looks like an unconditional {R,}DEPEND on dev-libs/libbsd. Can we add this to x11-libs/libXdmcp-1.1.2 which is being stabilized right now as of bug #559062.
My suggestion follows. Note libbsd is not slotted or subslotted, but just in case it is in the future, we should add := diff --git a/x11-libs/libXdmcp/libXdmcp-1.1.2.ebuild b/x11-libs/libXdmcp/libXdmcp-1.1.2.ebuild index 3d3ef5b..75804ff 100644 --- a/x11-libs/libXdmcp/libXdmcp-1.1.2.ebuild +++ b/x11-libs/libXdmcp/libXdmcp-1.1.2.ebuild @@ -13,7 +13,8 @@ DESCRIPTION="X.Org X Display Manager Control Protocol library" KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ~ppc64 ~s390 ~sh ~sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt" IUSE="" -RDEPEND="x11-proto/xproto" +RDEPEND="x11-proto/xproto + dev-libs/libbsd:=" DEPEND="${RDEPEND}" pkg_setup() {
commit 5e7152d0c55567a78234e625e01a15ce71824b50 Author: Manuel Rüger <mrueg@gentoo.org> Date: Thu Dec 24 17:11:24 2015 +0100 x11-libs/libXdmcp: Add missing dependency on dev-libs/libbsd Thanks to Anthony Basile Gentoo-Bug: #552780 Package-Manager: portage-2.2.26