From bc14e67bbdb9cb6c054f762732c50d6b31e92051 Mon Sep 17 00:00:00 2001 From: Andrew Savchenko Date: Fri, 30 Dec 2016 18:32:06 +0300 Subject: [PATCH] net-libs/xrootd: fix bug 603016 As explained[1] by upstream libXrd.*-4.so files are xrootd plugins which are not supposed to be linked directly with, so adding QA_SONAME_NO_SYMLINK exception for them. [1] https://github.com/xrootd/xrootd/issues/447 Package-Manager: portage-2.3.3 Signed-off-by: Andrew Savchenko --- net-libs/xrootd/xrootd-4.4.0.ebuild | 5 +++++ net-libs/xrootd/xrootd-4.5.0.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/net-libs/xrootd/xrootd-4.4.0.ebuild b/net-libs/xrootd/xrootd-4.4.0.ebuild index d664ec87f4d7..bae1b0a338b0 100644 --- a/net-libs/xrootd/xrootd-4.4.0.ebuild +++ b/net-libs/xrootd/xrootd-4.4.0.ebuild @@ -29,6 +29,11 @@ DEPEND="${RDEPEND} REQUIRED_USE="http? ( kerberos ssl )" PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) +# xrootd plugins are not intended to be linked with, +# they are to be loaded at runtime by xrootd, +# see https://github.com/xrootd/xrootd/issues/447 +QA_SONAME_NO_SYMLINK="/usr/lib.*/libXrd*-4.so" + pkg_setup() { enewgroup xrootd enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd diff --git a/net-libs/xrootd/xrootd-4.5.0.ebuild b/net-libs/xrootd/xrootd-4.5.0.ebuild index c48d44fc0e11..d60b54e90a80 100644 --- a/net-libs/xrootd/xrootd-4.5.0.ebuild +++ b/net-libs/xrootd/xrootd-4.5.0.ebuild @@ -43,6 +43,11 @@ REQUIRED_USE=" " PATCHES=( "${FILESDIR}"/${PN}-no-werror.patch ) +# xrootd plugins are not intended to be linked with, +# they are to be loaded at runtime by xrootd, +# see https://github.com/xrootd/xrootd/issues/447 +QA_SONAME_NO_SYMLINK="/usr/lib.*/libXrd*-4.so" + pkg_setup() { enewgroup xrootd enewuser xrootd -1 -1 "${EPREFIX}"/var/spool/xrootd xrootd -- 2.26.2