commit:     bc14e67bbdb9cb6c054f762732c50d6b31e92051
Author:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 30 15:32:06 2016 +0000
Commit:     Andrew Savchenko <bircoph <AT> gentoo <DOT> org>
CommitDate: Fri Dec 30 15:32:19 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc14e67b

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 <bircoph <AT> gentoo.org>

 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 d664ec8..bae1b0a 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 c48d44f..d60b54e 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

Reply via email to