From patchwork Tue Oct 8 10:46:04 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 175471 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5527188ill; Tue, 8 Oct 2019 03:46:13 -0700 (PDT) X-Google-Smtp-Source: APXvYqz6ziA5jMlbQSexnCSqDSzMvw0pcwMteChoNVKIH0p+EwLy4YzbwlAuZFkBkHSR+sGDDMCC X-Received: by 2002:a63:160b:: with SMTP id w11mr13758255pgl.206.1570531573657; Tue, 08 Oct 2019 03:46:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570531573; cv=none; d=google.com; s=arc-20160816; b=MgOWAOj6vLI+2YHt/kPQPfIB1uSXbI67KYBHrTAzGEyuQxKK4Fw4QHwAW98I1VaN2E o0UUwtmrms1fZNMQENOlwSGl02TzehutZhQ2UJhpWMBOxwb1VomNI1GVqmWq3v46aysW 5TWsXxho6D2DSHhpLTEWIn2Bw3QtwPNZztWLS7p6TcVhTVIqDyvx0svBfY0/hUU1DlYj BcUv1rcX9TCpqCf3YpA/RkcUHE3JoSh/Wl4HjM8s/lMAFRdQ6FasGxh6U3N0I7uHh0PV 7LsYlvImmmXNsM5Q1Rfg2cSvRfTYZSsX1d5dF4ZKFQpnyv5aldOeiE+XP8QzJIfdpLB3 evcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=PBu/gEUiXOCzXdSozOlMWzB8YvwmUXWxkb3SJnTqdJA=; b=R1+7ExgUKIRHmGrI8qaWB/BoyEdEXZXWRnMj0ghvlwNqgkTuwZia1x5M1ftjoqhjJL 7GtHuvJbmi1y1faPdzI5X5BvvuyNe9HPS8bS/3pIZhwwYpGuFoIlhI6rUt2QP6hwfeTP xviucA1dRnf8wUzYGLHq9Fd0fMSAZh0uxajgV8i4+MfnGrPehzbk1PsQ77PscrDPCm1f Rjjz0MGjLJyYHZj5dhiqnIMqNQx8/mv+uUydzGYGrrKJ9DdDKtXjsHAtTEEx21AY0xnt qmuVoZMtmvVUPVtrI2mq/waoLaiAz9t0aKVIQAN+HafyLpFNHqBM5S+JgIN8XAEqcT9u oaLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=LmLmAGOo; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id u80si18802073pgb.405.2019.10.08.03.46.13; Tue, 08 Oct 2019 03:46:13 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=LmLmAGOo; 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=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 2C9FC7F37A; Tue, 8 Oct 2019 10:46:11 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f68.google.com (mail-wr1-f68.google.com [209.85.221.68]) by mail.openembedded.org (Postfix) with ESMTP id EA09E7F365 for ; Tue, 8 Oct 2019 10:46:09 +0000 (UTC) Received: by mail-wr1-f68.google.com with SMTP id n14so18768228wrw.9 for ; Tue, 08 Oct 2019 03:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yZtI7T9kSZTpLHo8vYNbO7taxDRGZRx+tdPlzLc2CMw=; b=LmLmAGOotzCDdWtjvv4WetNTG6dM3YUWZfvIb31aYcRlLa47xBj/6M+d6QojbMBG5v xD5sIEUKeK8RM7TVcHINL87MCLv0i1g/LqhUaFsjgzwCMAdRKYVv46XmcVqw0RtEhUTn 0R1GIhjvSz6zN9E/WklaaASR8T3SSOq9pkWTWxWTqlO0UyrUKjNRl6ypLz5TzhEBmw62 oF4VQky3vxuqrefs7JUpNDJ2+5PnmWUtZLHd3ri1d0/o5n9U8ChYGf3vvo6vI6E4V0qq mygzKaUFOwsN6cqdQuV1GPoW2IoN0xSNZ4tsKQBbYrulJsnFZcL5TueYVbxoEJwqz5Em OXGQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=yZtI7T9kSZTpLHo8vYNbO7taxDRGZRx+tdPlzLc2CMw=; b=tajU0bFvTN4WLU0IZY7Bim88QdXuhm6ia5DMJX+T+w39vRkwGEgUhDGVVQz0UVVbyS qknuc/yULrWC4IKRN2NHcQdoevkyMYXW76W0Kex/KTU+rNKE9tBSAEXziBbcwlO04GL1 LuxhfgWmzYTWQXUTQa3DYG8zO0d1FzX+TRJieObpRrJYZofaeF2mJls1vMiIyFbE+w7G xMfEKG284RAJdvKOJHkgnfiz9csPiaJdnvutEZqSlPJmWH47FaVKslNsdzTHDgnbUq0A KiMxEv6jTX5hnDHPwgu+F5aLDSCDrqXCybRSE2lNAzCnsdYVucHLLg3/pX7x4DlYY/o0 xVQA== X-Gm-Message-State: APjAAAUPV/MD3pDc+05/6x9vrhQVO5KGu2kpahaSEBCZNs+eOjWwIecD qhIbkkrNM4p1Q057dYT4yAXBYFsDP8M= X-Received: by 2002:a5d:62c8:: with SMTP id o8mr25952723wrv.350.1570531570141; Tue, 08 Oct 2019 03:46:10 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id x129sm3387191wmg.8.2019.10.08.03.46.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 03:46:08 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 8 Oct 2019 11:46:04 +0100 Message-Id: <20191008104605.28981-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] bluez5: add needed character encoding for ptests 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org The test-gobject-header test suite needs UTF-16 encoding: test_decode_header_name_ascii: assertion failed (err == NULL): Unicode conversion failed: Conversion from character set ?UTF-16BE? to ?UTF-8? is not supported (g-obex-error-quark, 256) Add gconv-utf-16 to the bluez5-ptest RDEPENDS. Signed-off-by: Ross Burton --- meta/recipes-connectivity/bluez5/bluez5.inc | 2 ++ 1 file changed, 2 insertions(+) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index 6c79ed0606b..f582a07e22a 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -155,3 +155,5 @@ do_install_ptest() { cp -r ${B}/unit/ ${D}${PTEST_PATH} rm -f ${D}${PTEST_PATH}/unit/*.o } + +RDEPENDS_${PN}-ptest_append_libc-glibc = " glibc-gconv-utf-16" From patchwork Tue Oct 8 10:46:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 175472 Delivered-To: patch@linaro.org Received: by 2002:a92:7e96:0:0:0:0:0 with SMTP id q22csp5527267ill; Tue, 8 Oct 2019 03:46:18 -0700 (PDT) X-Google-Smtp-Source: APXvYqwYF3FeHTkdxTDSTIgujux4wTs9Nh+xEhvin1OTHfuQbH42C4kYirTSNGPwnbetqc4UPTQc X-Received: by 2002:a63:6c89:: with SMTP id h131mr35633354pgc.380.1570531578417; Tue, 08 Oct 2019 03:46:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1570531578; cv=none; d=google.com; s=arc-20160816; b=aA9JAuk41oAGGe84MNgci5ZC+sa1gWpEP7Ob9HHqWlc6kWisD7YDIefe2XlxAsptUg 5FqEEUEBDfInfZw0YQG2F0qPpgGf1FgOL8YCzk+CWaPqs6IF1dFpOIg+wHNhtevQmM0k 5EEf3NAJpsjUcWYHIhKceduFIMDmta3Ga1W8cT+rZ+re43/eufTzZzNdLLfSKxMklYRX NhwZTL/e2kDGFQBM8cNLV4Bs1/I19kDKkyDTFmB2JpyEZts1r3weLfOCUphXrBzjyS5i R8sVIvbUNmNxGjAKk7uU76fiMJRVnvEAlsQGlAJss07oBR72/uzW7Moa3w9cX6EnyFOe S0jQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=rLM6ttaYG6H3ar/yxxWNepkX9ede3gAmKEudTXXqygY=; b=AHUZHuMeqlFkY7F/jbLTI0Fkaq1K5TaW4fyr84vQtb6plDu9C7xIQrIcQz5QF3WnxX T9wLO1MQY7F+EeGks1gHDnlush7lgvTfslU+hY6cJoPbfBAL8Zkb8EakK/GV53D81EJV D/9nLA/1uuiUJOskmataDzuAVHVn9zmic8KAjjWP1IrdFpgrrRbfxb+cV/yx73rFV4IA zRnEux6SbnFcEZJwDefYJW4SkJPBtZ+8zMXppGnm9Y3HmAlOgbNtIh/IRkIWy1oRWUYH 5IG/VS5aDZn8wyhs2/F/7mnOCtnnDjidUJGXjKK44R1KrI/1WEd6TAZjfQAdLgyaXWcW qfiA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=nf0mPaOn; 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=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id d18si17661337plj.224.2019.10.08.03.46.18; Tue, 08 Oct 2019 03:46:18 -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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=nf0mPaOn; 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=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0C1DB7F375; Tue, 8 Oct 2019 10:46:14 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f54.google.com (mail-wr1-f54.google.com [209.85.221.54]) by mail.openembedded.org (Postfix) with ESMTP id 9A7197F360 for ; Tue, 8 Oct 2019 10:46:10 +0000 (UTC) Received: by mail-wr1-f54.google.com with SMTP id n14so18768276wrw.9 for ; Tue, 08 Oct 2019 03:46:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=jRb6qwgjTQxOc2Ws4DkEMHCnnh5p5Sh/1sDaws4EVOM=; b=nf0mPaOnyFWytM1nFQoaCncDaxOtbXjJ6DaUukn2BsOoD0NohRY9T19zE0zBgZMsdO BSOCKPoOSeG73zyl/iValPjEe/x809asvrj0X44CKdK1JtAYPCs3RsPOPwRCEg8YIa2J sdrm8NNUdALPf4ftOSdpyX2ICpOGOSES4l6Z1hrcw7bdEfPw+23a96DfIDXWwwzQxzy9 RMn0ys4F/TscV9fnna4mStIffGII+gtUUXNY6Nqq6pw7pSdhHuK7xl8/DWCg3z+StROE Y485YRSnQwWn01PLzkQjgCQJmV66PFupo/rg7igBPbVH7GyGppiNwLF4rL0+euUmtG5d 7Sxg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=jRb6qwgjTQxOc2Ws4DkEMHCnnh5p5Sh/1sDaws4EVOM=; b=mdAptWO/dQkibwoTfUujVPEX2KEG+9FPI+iKn29RXBToHnsJGWmUrHsxRjN1D/hWsa 2M871piXlFegCMzEkSPW2UPReLF3wEDIBUkoD3uqr19Oxf3JWk7MD78f1qCFZba/X0bO 10xo57/ez77ey074impO2JENz5BmxKjelWPs6NCQ6Vc8GZ55Er78j+SD+L2bwJUBIbh1 p3DFPE2kXNr428ern9k+s7kRaFZdr4X+/y4OHuZp6fGBEq4+37w5l2+Bd1VTpnMFkbDe osRsFFRvYeTFyRiL8kp8+eVn67APmnmX6IF7S50XFH1o4OFEAhumKe6S4yPLOsB4i0YY l3Gw== X-Gm-Message-State: APjAAAUc2N/UZpGc+jEWX6djn1GO3HJE3vznuNp2Xc45jbgO1iEqMeEC bBRDbepNjbfKZ/i+5brBwVt1WwvgOXU= X-Received: by 2002:a5d:4944:: with SMTP id r4mr25301596wrs.283.1570531571011; Tue, 08 Oct 2019 03:46:11 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id x129sm3387191wmg.8.2019.10.08.03.46.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Oct 2019 03:46:10 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 8 Oct 2019 11:46:05 +0100 Message-Id: <20191008104605.28981-2-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20191008104605.28981-1-ross.burton@intel.com> References: <20191008104605.28981-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] bluez5: remove upstream rejected patch to test suite 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: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org 0001-test-gatt-Fix-hung-issue.patch was added to solve a problem with the test case, but the test passes without it and upstream don't agree that this is fixing the test case[1]. [1] https://marc.info/?l=linux-bluetooth&m=153509658106588&w=2 Signed-off-by: Ross Burton --- meta/recipes-connectivity/bluez5/bluez5.inc | 1 - .../0001-test-gatt-Fix-hung-issue.patch | 43 ------------------- 2 files changed, 44 deletions(-) delete mode 100644 meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-connectivity/bluez5/bluez5.inc b/meta/recipes-connectivity/bluez5/bluez5.inc index f582a07e22a..ced44b474bc 100644 --- a/meta/recipes-connectivity/bluez5/bluez5.inc +++ b/meta/recipes-connectivity/bluez5/bluez5.inc @@ -53,7 +53,6 @@ SRC_URI = "\ file://run-ptest \ ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', 'file://0001-Allow-using-obexd-without-systemd-in-the-user-sessio.patch', d)} \ file://0001-tests-add-a-target-for-building-tests-without-runnin.patch \ - file://0001-test-gatt-Fix-hung-issue.patch \ file://0001-Makefile.am-Fix-a-race-issue-for-tools.patch \ file://CVE-2018-10910.patch \ file://gcc9-fixes.patch \ diff --git a/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch b/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch deleted file mode 100644 index e90b6a546fd..00000000000 --- a/meta/recipes-connectivity/bluez5/bluez5/0001-test-gatt-Fix-hung-issue.patch +++ /dev/null @@ -1,43 +0,0 @@ -From 61e741654cc2eb167bca212a3bb2ba8f3ba280c1 Mon Sep 17 00:00:00 2001 -From: Mingli Yu -Date: Fri, 24 Aug 2018 12:04:03 +0800 -Subject: [PATCH] test-gatt: Fix hung issue - -The below test hangs infinitely -$ unit/test-gatt -p /robustness/unkown-request -d -/robustness/unkown-request - init -/robustness/unkown-request - setup -/robustness/unkown-request - setup complete -/robustness/unkown-request - run - GATT: < 02 17 00 ... - bt_gatt_server:MTU exchange complete, with MTU: 23 - GATT: > 03 00 02 ... - PDU: = 03 00 02 ... - GATT: < bf 00 - -Actually, the /robustness/unkown-request test does -no action. - -Upstream-Status: Submitted [https://marc.info/?l=linux-bluetooth&m=153508881804635&w=2] - -Signed-off-by: Mingli Yu ---- - unit/test-gatt.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/unit/test-gatt.c b/unit/test-gatt.c -index c7e28f8..b57373b 100644 ---- a/unit/test-gatt.c -+++ b/unit/test-gatt.c -@@ -4463,7 +4463,7 @@ int main(int argc, char *argv[]) - test_server, service_db_1, NULL, - raw_pdu(0x03, 0x00, 0x02), - raw_pdu(0xbf, 0x00), -- raw_pdu(0x01, 0xbf, 0x00, 0x00, 0x06)); -+ raw_pdu()); - - define_test_server("/robustness/unkown-command", - test_server, service_db_1, NULL, --- -2.7.4 -