From patchwork Sat Jul 8 13:17:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107213 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1262288qge; Sat, 8 Jul 2017 06:18:15 -0700 (PDT) X-Received: by 10.84.135.129 with SMTP id 1mr8665465plj.12.1499519895244; Sat, 08 Jul 2017 06:18:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499519895; cv=none; d=google.com; s=arc-20160816; b=hX3RwGlDJ71TObLqCtSArut5laE8GhF6ijyp8QTCEnx0PCEEuNQioDEwhHxpHj9QMG MqlCn4la/Scr0yw4IayOFbIlFQbeKGTDL2foWuvUI/obrvvCkXj7yZLUlu0iyk9XYVNa ymJPhijrA6k4Ym2Dasac/WF7IqC9KYbDRm+0KM3hNo+03cbsweHAJ0ewW8UTVpFrfhFQ MGkvzLq743QdS46qfM4U4/C0ghwtdwxdJrt+U9vOF8ems6TltFD97aHfC0EzYfL2qPzj KX7yO3DQFm3UFHwG99kXKfi6eiih5iwBFyOlCAajgvj06XIjZ40c1Ee01AeaemqFPOyw nY+g== 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=EbfYUzNws44/EmUEbiVvmDVqwas3TkEJazaS5lULB0A=; b=qb2/Cifn7K8Pn+hUiyw9rGRZXdwM20KKQLgAALkhOR6Bx1aOGEQBNN0qQBn/ke81Uv hllL/50yKaJmdSnZu526zIZTZQfm01sSZHKyVm4+tvJy2ViFtET0usIiXAtJ4AGeeEoU +M/ll/seohlxzQcWHYqas4+PdBhgfDeF4kJVHbcSzutGjfGT9gYXMLS4MVSQGBrr7Tuw wvHDc13Va68ou0dJxMAkDvRDXpiAeteAiRE1lxpEdub+5uBUoP4i4GeliRzf8Cat84Px 9Gx0BeBpbZO24hf2/HSv3KKlar8H/KGF6aHQQwPs1MNoCAksPiLRxYCvzWO69pUH80S6 NmrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=uZdS6M3p; 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 r9si4310982pgf.58.2017.07.08.06.18.14; Sat, 08 Jul 2017 06:18:15 -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=uZdS6M3p; 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 DEBA977EA1; Sat, 8 Jul 2017 13:18:00 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f47.google.com (mail-pg0-f47.google.com [74.125.83.47]) by mail.openembedded.org (Postfix) with ESMTP id D84B2780A0 for ; Sat, 8 Jul 2017 13:17:58 +0000 (UTC) Received: by mail-pg0-f47.google.com with SMTP id u62so29225552pgb.3 for ; Sat, 08 Jul 2017 06:18:00 -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=nXSGrCBe/fn54vD89VC4LOj3HtzfnDMM5b0ZVjR573g=; b=uZdS6M3ppRJnjd73yl+ACNDpiNY+xrc5N/cTAv7QMFDAbJlhhXvFO7/LfBt9xPiYG3 cYFV2aQyXqabvp7mFjlw4ve9cpDrH68ZhYuEjAfeM+i6T//sqyW/Y0NM8ysOtG0iV2tS ykqTqOen6vnHA2+3jwlMqGyuyqhtuAT0Yutlne+vKDqX1lRivmQRo8knUxtRtC6LJtvq byTCix5tShF0bnrYFmfy8EjX84yADGfr0DmBEU87I3AhyciUjxjJnqBPhvqNumSeWBj5 dZ7vAecVV/Ej/awgbPsClhN4ZB5udxmYq3pxpxr2tAMfaF5cQRQqveLjQrPJJSWhFdSt C55g== 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=nXSGrCBe/fn54vD89VC4LOj3HtzfnDMM5b0ZVjR573g=; b=i8ZELBLl/nSPTf5wYZy5dwcJ2twsGtNGgjI6/KlZj3+WnrqbCmMt8ksAzISBIkDagC 0tsLvha4dG7vpDFaORPe2Gp4XAC3I8s4We+9BRr+4Hx/akwZcrRHHMKo8N3qwqmv0VhK vZKT12kzGKqRWyJ3j2JUwqkEbBrqFaiEkcEWXl4Ey0pbc2D9s727BTZGzvUQ9jLN8L0f uZcTgvCK+G1D/G+jHP1ghD4YYVhCfv8OXh0wziygAqmzD4OqTA8rMSFHeSHvE3YF5DBM +ZYqkIjIVEhsI7aOax/J/5AfOP98Qnrba2O45QN53sxPHDPM2n04o3ZP2o0lA7hgPozU HNig== X-Gm-Message-State: AIVw113lnUcy2zPoeEVQFBVZKEhaLH4JrIXVVtK3GIpbr2ylbmGpnF0+ 6o0ODBrvPwkEYJLo X-Received: by 10.99.100.193 with SMTP id y184mr6269561pgb.211.1499519879649; Sat, 08 Jul 2017 06:17:59 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id o73sm13277185pfi.2.2017.07.08.06.17.58 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jul 2017 06:17:58 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 8 Jul 2017 06:17:40 -0700 Message-Id: <20170708131744.33927-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 Subject: [oe] [meta-oe][PATCH 1/5] libdbus-c++: Fix build with gcc7 and unblacklist 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 Signed-off-by: Khem Raj --- .../0001-pipe.c-Use-a-string-instead-of-char.patch | 27 ++++++++++++++++++++++ meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb | 20 ++++++++-------- 2 files changed, 36 insertions(+), 11 deletions(-) create mode 100644 meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/0001-pipe.c-Use-a-string-instead-of-char.patch -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/0001-pipe.c-Use-a-string-instead-of-char.patch b/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/0001-pipe.c-Use-a-string-instead-of-char.patch new file mode 100644 index 000000000..6883f9a0b --- /dev/null +++ b/meta-oe/recipes-core/dbus/libdbus-c++-0.9.0/0001-pipe.c-Use-a-string-instead-of-char.patch @@ -0,0 +1,27 @@ +From 6bcb58bd69c38b9200e8ec6c382247167571189d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Sat, 1 Jul 2017 16:44:15 -0700 +Subject: [PATCH] pipe.c: Use a string instead of char + +Fixes +error: invalid conversion from 'char' to 'const void*' [-fpermissive] + +Signed-off-by: Khem Raj +--- + src/pipe.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/pipe.cpp b/src/pipe.cpp +index 45c2ba6..1303c2d 100644 +--- a/src/pipe.cpp ++++ b/src/pipe.cpp +@@ -83,5 +83,5 @@ ssize_t Pipe::read(void *buffer, unsigned int &nbytes) + void Pipe::signal() + { + // TODO: ignoring return of read/write generates warning; maybe relevant for eventloop work... +- ::write(_fd_write, '\0', 1); ++ ::write(_fd_write, "", 1); + } +-- +2.13.2 + diff --git a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb index 4412716a6..4cc133301 100644 --- a/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb +++ b/meta-oe/recipes-core/dbus/libdbus-c++_0.9.0.bb @@ -6,15 +6,15 @@ LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://COPYING;md5=fbc093901857fcd118f065f900982c24" DEPENDS = "dbus expat glib-2.0 libpcre" -SRC_URI = "\ - ${SOURCEFORGE_MIRROR}/project/dbus-cplusplus/dbus-c++/${PV}/${BP}.tar.gz \ - file://fix-missing-unistd.h-include.patch \ - file://remove-CXX_FOR_BUILD-stuff.patch \ - file://0001-src-eventloop.cpp-use-portable-method-for-initializi.patch \ - file://0002-tools-generate_proxy.cpp-avoid-possibly-undefined-ui.patch \ - file://0003-Fixed-undefined-ssize_t-for-clang-3.8.0-on-FreeBSD.patch \ - file://0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch \ -" +SRC_URI = "${SOURCEFORGE_MIRROR}/project/dbus-cplusplus/dbus-c++/${PV}/${BP}.tar.gz \ + file://fix-missing-unistd.h-include.patch \ + file://remove-CXX_FOR_BUILD-stuff.patch \ + file://0001-src-eventloop.cpp-use-portable-method-for-initializi.patch \ + file://0002-tools-generate_proxy.cpp-avoid-possibly-undefined-ui.patch \ + file://0003-Fixed-undefined-ssize_t-for-clang-3.8.0-on-FreeBSD.patch \ + file://0004-use-POSIX-poll.h-instead-of-sys-poll.h.patch \ + file://0001-pipe.c-Use-a-string-instead-of-char.patch \ + " SRC_URI[md5sum] = "e752116f523fa88ef041e63d3dee4de2" SRC_URI[sha256sum] = "bc11ac297b3cb010be904c72789695543ee3fdf3d75cdc8225fd371385af4e61" @@ -27,5 +27,3 @@ PACKAGE_BEFORE_PN = "${PN}-tools" FILES_${PN}-tools = "${bindir}" BBCLASSEXTEND = "native" - -PNBLACKLIST[libdbus-c++] ?= "Fails to build with RSS http://errors.yoctoproject.org/Errors/Details/130644/ - the recipe will be removed on 2017-09-01 unless the issue is fixed"