From patchwork Sun Aug 19 17:23:41 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 144540 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3089974ljj; Sun, 19 Aug 2018 10:24:47 -0700 (PDT) X-Google-Smtp-Source: AA+uWPxf0+fq6WfY54Nc6dLsoPmd+IlSAO5cGWJC9722Dv0pJibvkHZkJu4Taasbx874v+q1FAM0 X-Received: by 2002:a62:4add:: with SMTP id c90-v6mr45221702pfj.23.1534699486991; Sun, 19 Aug 2018 10:24:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534699486; cv=none; d=google.com; s=arc-20160816; b=jmesDWLFSMwTN3XdYWW3snlIoAINB6obb2+arzYkp9MOKOgSuqQMnHTv2yZ9OAhWOJ FLMlyHjTDiedmguZxqH6UtGVAqu4qnO7hKtf8WVtBbAqCoomgJden4cjO4yp6Nth55f/ HfkBR7uUInzTJOKUbt4XqwEAMZbo25/hkdEPeUf8pxFqIZGBHNcjLjIL2rACX0y+gvaw QoR2YQU8vCL2o2ZXcb6p+BZXc1q93DMCM5lqUErsneDMSWGWy6phN6Cusp56oWQ1+gP0 xWK8RCfwM3kdCEBckRZRkIKzfBy0nXcDFdiYgWcRi8bo6td1c27AucxnciUOEOQcfEMY SQrg== 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:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=WQfRhdSmuUynIlNPOn2zdQM/ISnUYNFGrlJvLM5U0mY=; b=GGdiQRyZL/yiUaD024arVxuAktvx/nGVUzXg2FkuBMlISCqyzL+Yjvxpr2arg0ZXj3 ngpT0rVhW0sCIG1ILi0l5XGkx7uwxuA6VvoeZSg015nUtZmw1d4Oije7HflQNovsdT7W eHyuN+v5Z7BtU4ZtcUWvorK4OvKvlxfATuCbcYKoVWs6/IqcduH28zQ6JDqAVh0wEH4D nu9eksd1+9Lji6bE1Jr2sHePPEKgja/PDpegORf7ZXhJH1ZZ89oEulELTu2gxqyPPKf6 W/M8RuL4rdcFkkESfL6udtPsCxT2MkjrXqJ1sgvComP0JHtYs+qYocvdePlivCQt3nyP YbEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=s394nI0F; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE 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 f3-v6si7530973plo.109.2018.08.19.10.24.46; Sun, 19 Aug 2018 10:24:46 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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.s=20161025 header.b=s394nI0F; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 085AD7926A; Sun, 19 Aug 2018 17:24:11 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-pl0-f65.google.com (mail-pl0-f65.google.com [209.85.160.65]) by mail.openembedded.org (Postfix) with ESMTP id 1D6CD7922F for ; Sun, 19 Aug 2018 17:23:56 +0000 (UTC) Received: by mail-pl0-f65.google.com with SMTP id c6-v6so1099581pls.4 for ; Sun, 19 Aug 2018 10:23:57 -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:in-reply-to:references; bh=LLSa+1FFOYXZIhwiE85U9yNuZhxaeBesfS3+zgZhh8g=; b=s394nI0F9Yx/vW64z135RKkJuqoJKr17LdQK/7X/JkWFCZsAfkoWzZuFoeNbl/xXwl 6wf3FK0rUTgiTnS8b0FN5SRCT+0eYVA/F4SWMbv0Wv1YklIqDAr7ZMhNTfMXuFFOwZad /6S2YpZ9FZ9M9F3WO4Z2lI7SPSSE7rn6LgTC/TeZySDLEEwKaQJnJ0sAx933i2Lf7p2F 4PSxbgsMp57wUeudrWGlClJ1MZtxyQhpUVW/wHextkr/9pEtQbeOm0jfocBCqns/NAPl TPe2wJBLVb8EMvLy51D1HRrwMOcAWZabl1vcRzI4XkyUfdkpqH4BZTsp4JsxipHVhQOA AQvQ== 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:in-reply-to :references; bh=LLSa+1FFOYXZIhwiE85U9yNuZhxaeBesfS3+zgZhh8g=; b=lVQD9t4Dx22Ng+Imu7RpzFSvRC3SEkV+Lf3oCpoiebAr3UABK2kZpGyZHdOw1lupdx Nm3DmR+O4HwPQIUu776q7OPigb+t6H5T4CHTQXM5dhJyykAKmAxvjnfHN4iBRGu7BtSO iiVfgraK6o5GBsdrKvuTFYb5BQyt4IXLb2sW0gQ+PplPS6HeqTLc7+t7XcfTiXVRCFho o9E1IDE+Us3WKEpmnnMm/6VvbH2uK8x+C1gyG3Wle4HcGyue/0tztJ4ZN4WNJegeHEHk Ad/sm+Yz+iOm876pWLCt+3GbJi9X4DMPgKtLNbCiv9WdC0I9UkkBsEc5PHUaoDiTuFUs ZQUQ== X-Gm-Message-State: AOUpUlHJ8CET6Ezra1rvZUFsqvoqOU9fHMPaF6uJeAMhGofVV1uXgSpC rH+FRTPZtX5RanSAp/IuxV0ffUOj X-Received: by 2002:a17:902:8604:: with SMTP id f4-v6mr42417882plo.225.1534699436933; Sun, 19 Aug 2018 10:23:56 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::4add]) by smtp.gmail.com with ESMTPSA id x1-v6sm8293466pgr.59.2018.08.19.10.23.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Aug 2018 10:23:56 -0700 (PDT) From: Khem Raj To: openembedded-core@lists.openembedded.org Date: Sun, 19 Aug 2018 10:23:41 -0700 Message-Id: <911a9ac98e1ad924f22dff0582b276a0ff1cd74b.1534699224.git.raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: References: Subject: [OE-core] [PATCH 9/9] libidn2: Fix libunistring detection X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org libunistring is one such library which many autotooled packages mistake to use from build system if its installed on it. This is specifically toxic when build host arch is same as target arch since we only see the problem during runtime but thankfully OE has build time QA which warns about it. QA Issue: libidn2: The compile log indicates that host include and/or library paths were used. Using --with-libunistring-prefix nudges the autoconf system for the component to first look into target sysroot before going on to search on the build host Signed-off-by: Khem Raj --- meta/recipes-extended/libidn/libidn2_2.0.5.bb | 4 ++++ 1 file changed, 4 insertions(+) -- 2.18.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-extended/libidn/libidn2_2.0.5.bb b/meta/recipes-extended/libidn/libidn2_2.0.5.bb index 0d7bddbc7f..0daf7a6877 100644 --- a/meta/recipes-extended/libidn/libidn2_2.0.5.bb +++ b/meta/recipes-extended/libidn/libidn2_2.0.5.bb @@ -19,6 +19,10 @@ DEPENDS = "virtual/libiconv libunistring" inherit pkgconfig autotools gettext texinfo gtk-doc lib_package +EXTRA_OECONF += "--disable-rpath \ + --with-libunistring-prefix=${STAGING_EXECPREFIXDIR} \ + " + LICENSE_${PN} = "(GPLv2+ | LGPLv3)" LICENSE_${PN}-bin = "GPLv3+"