From patchwork Mon Jul 3 15:11:06 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106909 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp11036obb; Mon, 3 Jul 2017 08:18:44 -0700 (PDT) X-Received: by 10.99.101.132 with SMTP id z126mr6617973pgb.64.1499095124588; Mon, 03 Jul 2017 08:18:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499095124; cv=none; d=google.com; s=arc-20160816; b=paQda3rY47dyVs2Sm+osGnIJMv11naNkNH7FRDp/WzzXEfv0S+g2ddWY033TV5zGWQ 7mlrvxms0QtwLW7nfnf0/5EdDb9tOR3DdIiv0jeuOqE+PcaEGZw14mWi8GOqSndoTe9U 63HUqtKjwIoWsVzVcf5or6NCiD0m2zmnqIQ9tUCFhyFbgHqc2PS6Cwhc0nIFLOH0myxl aR4+CpNBMIBJofO0dd3Sw9j++Fiej8W1g9uvX0XtI/7iA++D7RTVJb/hKD3e9NucC+6R D1W+cpaNQFP1R11nFzXViAXMrEnAAQwWJRkjmK5Tpaj/OLAvb1NGn47Y7qspAvT2OqLY tnWw== 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=XnvDcROZl0bLLYF6nPhZLis9VkDr7/rEAUgPH74ciWpMfcRlilipGQuHNv+YN//0Z6 M/coLlkF0AgT1zl25HEtHROJoSkmnczNs8R1suzzE2flNQy3+XeSiCzDPQuJGlUBHZd4 Fbo/j97+iOvdH0ko82WbE9gyOMEvvxjpLZZGVreXeK1iIlAr8U/LCZNgRrkjkev+xHfk S+iU+q5sZhPFaO1UFO1B31aqazDTJR29WLV5xeh+zf1Ph82JkkdcaD/ecaLHPcVdEN5F plrYOFI5GvQ5aN6yiaZ8VS1bCly8NdFllg3vvUKMI7/rVo5d3Qn0Hx5nMKKsu5XVJND0 sx4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=ofqrixUe; 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 u16si12376975pgo.94.2017.07.03.08.18.44; Mon, 03 Jul 2017 08:18:44 -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=ofqrixUe; 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 DB33F77FC1; Mon, 3 Jul 2017 15:18:40 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f193.google.com (mail-pf0-f193.google.com [209.85.192.193]) by mail.openembedded.org (Postfix) with ESMTP id 0E75B6FFA4 for ; Mon, 3 Jul 2017 15:11:22 +0000 (UTC) Received: by mail-pf0-f193.google.com with SMTP id s66so26173146pfs.2 for ; Mon, 03 Jul 2017 08:11:24 -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=ofqrixUeHRfq3EfAG5v+txjvuu6a1pzL4WDV73BHaup/dyosFZeBBYZWOcPMR4arun sdDXsKl5NIoai4v6h0FKzpdoqZFfKfOm6fzf58ujMh5EfxrF0rvJirxWtzipTq8y8iWo 9mRYHJbYIUE0XQ3oZ6ELH4UYVuwmSbBXm7s31JvOHLDqeYZJHyjYIr1eqVyzGuPXi6k+ z7mPimRgyeP0jxJm3yGrk9DVAF8NR469SkA+qA0a+a+70fg1nW50BqN92Gm/pEXADWvv KzWP2KQXWhgx8TQeTK4tc9zSd8BDRFVI1xudyahryDymyGyb0h41ae5gkAFbQD5NFbOi ldzw== 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=Op6Dc7MW0N+Lb2kK8QDxSxvDRvESXZV9V0gDmenZ6cZLR1G8cHlq7hr57q44Zry0gW 01YHVqR+QEnV7xTtFmiD67sTiYA9qo9gEvYQg+5nniSnq20aBZ2SQd4U5OQPHuJbF9Yc HWq6yC18JdIJRCCIWoFb722tE3x/kfVfADzwADroTUMp1Ex+hPB8jcrleWOn1PtX8/k3 cLrbFZW9t1nlwq77anXuqT+/TmueCdaQbNCmjAb586NO2Bde5I1S+WXDAFoTOIogh9uR slNlDUtMh8jMF13AJI48jiL3wV3Pm+zjC0N+MfZOpcKP3scUlNiANv2fUcICgqgtUuA8 PHow== X-Gm-Message-State: AIVw112qFKXS8mOI8O1aRUItm369WQ68Q3TysxPxSyjN6NvwWx6Dd6mI I2MyjSOqS+GjCRlS X-Received: by 10.84.196.131 with SMTP id l3mr11009845pld.232.1499094682761; Mon, 03 Jul 2017 08:11:22 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id k67sm12295707pfg.37.2017.07.03.08.11.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jul 2017 08:11:21 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 3 Jul 2017 08:11:06 -0700 Message-Id: <20170703151107.35350-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 Subject: [oe] [meta-oe][PATCH 1/2] 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" From patchwork Mon Jul 3 15:11:07 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 106906 Delivered-To: patch@linaro.org Received: by 10.182.135.102 with SMTP id pr6csp10360obb; Mon, 3 Jul 2017 08:18:08 -0700 (PDT) X-Received: by 10.98.135.140 with SMTP id i134mr10357509pfe.237.1499095088405; Mon, 03 Jul 2017 08:18:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499095088; cv=none; d=google.com; s=arc-20160816; b=enqhkfeBIusJEbQ1W+P844y61GqcHashkWfTqM7eTZtfLs0n2UTWSF1qhENrKMgESQ TMHrXgj0q0OA4vRkXUf3/I2srDpQu5mqCqM2UQvbhmdMqtWe2HEUT6LDh9vy9z8ir+Ri IV475SY1LK7lN+sCw2ubWj7gVt8NuBZzrnz0KjKt5rToFxC1AmPm0GfSN/9qc9a/DqbP jpC3fOy6TbEkEbDf8e+LUFg1vsauo1AMKPkAbvyVjmQL+qbYfn4KuwpTAcnuxACkyoTw 8Bf+wkakp2ASrQ/C03HwkKdMvrajVYQkr2o+GhoHSgIu56l3V02SPpayA//j9V1rmAI8 3cGg== 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=hRjNiXjWUevB4oiEiLH4yn0MJ5nFQbJgq5qYSllrO5s=; b=TlSJoBxY7WLIvs7uKKSNS25Yn3vXtQpXkPv/WF3Ds3PtCZxg6sKrUUbyH9gwX63RiO yAIQteJwgTNWnKHLfwDEccOwc1Rpip610bstHEKrm9UDSMkY1kGGOMVFZcZonQe8PqmT rHohy/E7wdZL3QdmNGjkPDPgBsMillorkdM3JXTF9shamVaAElfQjOpIL6mMRCFpw57G zLH1XPEYCbAfF4Y6ULSCMe4UyYZItQKtQ9b03gTdUfX6qFm0AYxEpFyXNrT9aBwrMbrM fcUEe3Fj6f1YFR0vTsdMJSqFqZz5U9Y54GaA4duPL2UUJ+u8d9AqXBWlF58zGugOlGYA re/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=sBo4KbmJ; 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 z74si12410029pff.289.2017.07.03.08.18.08; Mon, 03 Jul 2017 08:18:08 -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=sBo4KbmJ; 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 462BC77F79; Mon, 3 Jul 2017 15:17:59 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f194.google.com (mail-pf0-f194.google.com [209.85.192.194]) by mail.openembedded.org (Postfix) with ESMTP id C54CE6FFA4 for ; Mon, 3 Jul 2017 15:11:23 +0000 (UTC) Received: by mail-pf0-f194.google.com with SMTP id s66so26173219pfs.2 for ; Mon, 03 Jul 2017 08:11:25 -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=rvpcJvbnAi4uid9neAcBLyv1WPJQeDrm85SezLhhufk=; b=sBo4KbmJM/sMeaTwfOAhaeRuOMvy0sor/s5v2rbZCR3eKQu3054MCf/TXSbNBDzaV/ M3B69RpVGatn9KwbJxKGu/iEbF/lIp1i9SN1y2Ok+oFLbHQvhTog0cIMBuIhJlyxlUOc ESLwC0PKQrl6XOWm3OocsnU8mAx/U0fjIPlngbNiOMfiaugV0cJXWXu5Rj/pVrHMgE8S alRHllWe9BU/l1qYuwf+lDOI91YO3txAlvrn6PYAek/UC5maaDcvoXqx3BIbFObqoF0V 9TakOj0nzm8J8ZJAOf4IiqM/XPGZ85vHvNfLR7+mGSfR6hjrATYAfNMQknQHzh59RxP6 hddA== 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=rvpcJvbnAi4uid9neAcBLyv1WPJQeDrm85SezLhhufk=; b=cr8htTJxejRH7sCIsEJuqb/C8wsNAyjlYkX2N1yMxpk7Ie81fnHtJ+5XytD06K3PA+ 5pWzECCNmj43xUl55C/2SuSYa59ZeLUZwKJc3ybXyFpzgGGNwHthu5uJ1sFy4D/JliMi Dp+icQtAEUSxA5WEtdr5GY4RsHQ7Osm+D2/Qqhyf97HNUwHQiU63V+UP8rihnVSXCUnx IrQ79dlNaR30i0OStOCZMOeT+VB6ZewlRuOrjOvr7Rn1fI5cmK10wt97awrvmyAVFYsF hECEASQIpLHmHdyT3wDEX0XotYbvKTb4eR8tVcpcmdL4Z1ufUWhxgutLq7Bh+ofdEpSH abWg== X-Gm-Message-State: AIVw111+vA2+0WrKQ3u1QUW28dufiQmuT9IaQkJQo1Ynw+2qP3/iKlRT 3y7atj+w6AN1ieJs X-Received: by 10.98.160.133 with SMTP id p5mr10377103pfl.226.1499094684635; Mon, 03 Jul 2017 08:11:24 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::3df3]) by smtp.gmail.com with ESMTPSA id k67sm12295707pfg.37.2017.07.03.08.11.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 03 Jul 2017 08:11:23 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Mon, 3 Jul 2017 08:11:07 -0700 Message-Id: <20170703151107.35350-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170703151107.35350-1-raj.khem@gmail.com> References: <20170703151107.35350-1-raj.khem@gmail.com> Subject: [oe] [meta-multimedia][PATCH 2/2] kodi: Fix build on powerpc 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 64bit atomics are not available therefore link in libatomic Signed-off-by: Khem Raj --- meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb | 1 + 1 file changed, 1 insertion(+) -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb index 3bc2eb591..0b39116a1 100644 --- a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb +++ b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb @@ -133,6 +133,7 @@ BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}" LDFLAGS_append_mips = " -latomic" LDFLAGS_append_mipsel = " -latomic" +LDFLAGS_append_powerpc = " -latomic" EXTRA_OECONF_append = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"