From patchwork Tue Jul 11 06:31:02 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107337 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp4454844qge; Mon, 10 Jul 2017 23:31:18 -0700 (PDT) X-Received: by 10.84.208.236 with SMTP id c41mr10753484plj.152.1499754678864; Mon, 10 Jul 2017 23:31:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499754678; cv=none; d=google.com; s=arc-20160816; b=ZICDOtuT0/UgSMR3Qt2a6mhqpzqwHqua4bxBTB/uK5sJV7IhX8LJzYSsPN6YbMVCj2 KIEH1CvACG/d7JNdbbvHoVjOOWSQQy9sGeDQ4fswFUJ8SJbrMfMampFCJQuEb3hAWNcY OPKXq+9LfZcYfbTSf6PhX8sSZKEamvx7RFgyJ531wJpeJ9VMddDmf5sxic0YOzNUAxF+ 1I4Q9BlvQME1ljTtzopzSHmgXAmNP5Zqz6Zmk4BGZwfl0wydLH8uTqLEdqOcYsRO16I7 tOyBcEpNVMkw55Ed4y17skfU611dbK89IakwqgBV8pPKKqd35lGrm4sdO47jac0Hhkzl eUxg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:mime-version :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:message-id:date:to:from:dkim-signature :delivered-to:arc-authentication-results; bh=gYvw0sOKL0xFzH24WR/JaS7V6KetvUidOXdGlVDxAYI=; b=opkQyBaFHk+2i3NlKtTp1OEajjEa7y8wxcd4T0jajAv9K9Huy/K67lu+1R0o/zybIS AP3kyrjNIL10etZQ6n9vSLgeBq1BCilF60xARdMRqd8I+yBRhcOaqCEzqNRDGmwpGldk BqL375adsARuCZ92Qj855koqXpESNX0yff7C32MA3bIQyl+J2MBxO45MGLPwxqlaZyZq ek9oghY+EWBAx1xdpjE/jlFdUDGGZR8I83mbi0yR6hI1BeogD6fLyDymNBopGfvQ1QjS xANJllAJXNY9ZxeNZynL1W2vrw4e4qnFzmcVrjpdM4oVFF8eH5bm2zucUbrYWW72yOVX WR1g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Q+pwVyAQ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id b6si9481841pgc.153.2017.07.10.23.31.18; Mon, 10 Jul 2017 23:31:18 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Q+pwVyAQ; spf=pass (google.com: best guess record for domain of openembedded-devel-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-devel-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from review.yoctoproject.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id EF31B77E94; Tue, 11 Jul 2017 06:31:13 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f195.google.com (mail-pf0-f195.google.com [209.85.192.195]) by mail.openembedded.org (Postfix) with ESMTP id 8637477E94 for ; Tue, 11 Jul 2017 06:31:11 +0000 (UTC) Received: by mail-pf0-f195.google.com with SMTP id e199so17588184pfh.0 for ; Mon, 10 Jul 2017 23:31:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=xHx5EkzLQmw4g4Q4l0h5hM/G13Y4jQ/Urs5I5gwYi64=; b=Q+pwVyAQpv0xP0ZQqwPgmsIBYNI9AieceGKBmO14JTg1uTcz3Re8iQ4hzf6ixZP0q8 RmOpGo07p3dW0S9MPA3088LkvmxzDhisFj3dayeUjpwsjEMpG8WMOZ4K5N7Nj8sGy9Ni kZkfdmeZnPc/uU6/N1BloYZ5WctIt+q6e0e5lbyppeBAITMltrlQ16Jpa3yvLinIzTsb MSca17sEHvRMJtCymVYDSx81p+IBvM7tyWPyx4QgNyNLAatqk+Syc2ZabGwGVwdlhpDb SWnygRTI3hZDXXTUBB2pSfNZmrEAny/LoonZ64ArAyHvqhl7OvVkE3v6W2f4MkyDLgg6 +CDQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=xHx5EkzLQmw4g4Q4l0h5hM/G13Y4jQ/Urs5I5gwYi64=; b=RsFnMCIESmEHROeLfAz/P9bJdo7wHzlhqfTgVX4RxUlAy+WE+LEbM/tDVnowu4DOKp USXXCET02wjfYW9ui6t9F3sM/C5ba4vb7RwNSEphEFxe983j9XWvfZHWIqim6PwyeaTH G25y2PKh+b7d2aUfOLONFShfBtCKClX0m5zfyQaKJw7c42YrElaRaLgRIYhmCgWQfodg 1BUiTgftIlKaA1oUDyMvj6evfi6W5Hr1B336iVM44BGWaUK2CRY8WYiKehDnXmYWbwPf NF2/RrMUaOSNceYHvXqtSaW5vS+K1JluYB30oq4tBloOvbmgzBaMhdotYcnteiJ+6/dZ /Beg== X-Gm-Message-State: AIVw1106bbxJu8OvIXrghfrNQxqzMRd+KPPw6tDbhPm1qACwjJ21a4qw VIMsxA8RrgqMoFI9 X-Received: by 10.98.17.84 with SMTP id z81mr48820353pfi.38.1499754673131; Mon, 10 Jul 2017 23:31:13 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id x85sm28651488pff.92.2017.07.10.23.31.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 10 Jul 2017 23:31:12 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 10 Jul 2017 23:31:02 -0700 Message-Id: <20170711063102.10384-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 Subject: [oe] [meta-qt5][PATCH] qwt-qt5: Fix rpath issues X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org It errors out usr/plugins/designer/libqwt_designer_plugin.so [rpaths] QA Issue: qwt-qt5-plugins: found library in wrong location: /usr/plugins/designer/libqwt_designer_plugin.so Signed-off-by: Khem Raj --- recipes-qt/qwt/qwt-qt5.inc | 5 +++-- recipes-qt/qwt/qwt-qt5/remove_rpath.patch | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 recipes-qt/qwt/qwt-qt5/remove_rpath.patch -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/recipes-qt/qwt/qwt-qt5.inc b/recipes-qt/qwt/qwt-qt5.inc index ee4fbd7..90bd9f7 100644 --- a/recipes-qt/qwt/qwt-qt5.inc +++ b/recipes-qt/qwt/qwt-qt5.inc @@ -8,9 +8,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=dac2743472b0462ff3cfb4af42051c88" DEPENDS = "qtbase qtsvg qttools" SRC_URI = "${SOURCEFORGE_MIRROR}/qwt/qwt-${PV}.tar.bz2;name=qwt \ + file://remove_rpath.patch \ " -# file://qwt6.patch -# file://qwt6-fix-linking-with-ld-gold.patch" S = "${WORKDIR}/qwt-${PV}" @@ -45,3 +44,5 @@ FILES_${PN}-plugins = "${prefix}/plugins/designer/*.so" FILES_${PN}-dbg += "${prefix}/plugins/designer/.debug" FILES_${PN}-doc += "${prefix}/doc" +INSANE_SKIP_${PN}-plugins += "libdir" + diff --git a/recipes-qt/qwt/qwt-qt5/remove_rpath.patch b/recipes-qt/qwt/qwt-qt5/remove_rpath.patch new file mode 100644 index 0000000..14b65d6 --- /dev/null +++ b/recipes-qt/qwt/qwt-qt5/remove_rpath.patch @@ -0,0 +1,17 @@ +Remove rpath from library, it points to build area which is not +ok + +Signed-off-by: Khem Raj + +Index: qwt-6.1.3/designer/designer.pro +=================================================================== +--- qwt-6.1.3.orig/designer/designer.pro ++++ qwt-6.1.3/designer/designer.pro +@@ -83,7 +83,6 @@ contains(QWT_CONFIG, QwtDesigner) { + # compile the path for finding the Qwt library + # into the plugin. Not supported on Windows ! + +- QMAKE_RPATHDIR *= $${QWT_INSTALL_LIBS} + qwtAddLibrary($${QWT_OUT_ROOT}/lib, qwt) + + contains(QWT_CONFIG, QwtDll) {