From patchwork Fri Jun 22 17:55:17 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 139725 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1163917lji; Fri, 22 Jun 2018 10:55:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI+ZU7PSxZkHG/FM9NiPIoybpuojOT65Ys9W9cBYsIpakcrzQeRzYfAI141so7vtg6lj7BA X-Received: by 2002:a17:902:6bc7:: with SMTP id m7-v6mr2741411plt.162.1529690128047; Fri, 22 Jun 2018 10:55:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529690128; cv=none; d=google.com; s=arc-20160816; b=MeciO2QPv6PETsxj4ekfKRyOcNPrcnRRz/KlmkOjJBfaLLjUtgKEwJblnb/EUwqNtA NnsOUI+bOV8KZha+GquyTW+pSGkWRnaCdfpofL/HlJfK54GdI+HspEZ4WQXTK4MqW8Rs fNXS6LpzOmSYRL49CjdaWAVV3j8Qn4yJCoIX9cDbbLUtDYTtj8hbroWIJc2jh1KgaHb9 dMQk71Y1zmsjSnvz1qr09rXwhsBic2Fy5T1wsavOrxjNhJIkjFktmtaRf14Sr62m31a8 HD259mNewOQIzRx7xPCvpDmmbUOFBQNy2a0nuux3gvesWInzYBozxuQ+E8Im0xwUOsBh lTaw== 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=r3Jf9Yml8JnOK2n3gZtV6qkYdXHnZkasrcqf2XsPZ18=; b=e+pKoLB6Fk9d1Q9+3a9Pk3IO9hEfmmP0rHpVRc5GhnTfb3uhrxUM4s/q1rt3M5x5Y0 etHkw/AvQDvcg7MzZGYwone8vn1XsXw1RTyv2QO+t68yVmYOL5ciuBHQssVrN4a91B18 ODPNwbVT22GKr0rNbFNX924FUYFiZpTi92oHZA1QmUFYlwwh7NyKABM5RXGc7e7hksGS UfVmvH2eoyl3UeTzcjh7s1K7bwNnnuWKIcXcli9XZuvTpxw5kezyOypXIQqZC4Bp/hSz sqFvo4mli/mHqxEQh6voykOyYdmsYhcs9vWvp5GoWXxUkbPBuAWylQLRXr0djz8fcXL3 rW9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NPiORQQ3; 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=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 u7-v6si4176975pgn.194.2018.06.22.10.55.27; Fri, 22 Jun 2018 10:55:28 -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.s=20161025 header.b=NPiORQQ3; 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=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 6B46475545; Fri, 22 Jun 2018 17:55:21 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f68.google.com (mail-pg0-f68.google.com [74.125.83.68]) by mail.openembedded.org (Postfix) with ESMTP id 4566C7477C for ; Fri, 22 Jun 2018 17:55:19 +0000 (UTC) Received: by mail-pg0-f68.google.com with SMTP id c10-v6so3284999pgu.9 for ; Fri, 22 Jun 2018 10:55:20 -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=kmb/rvdBqtsBQ/5vNte6OEAfJ0nUw1kOJgg9KjELcow=; b=NPiORQQ3g7bhNQQ1Hnzp8ezWCN1GzVJAC5GhsW+0SupXLw/11yQZbMO36qBaIXPOeG XKLs8u43sA85k0z91L6jUhzTbe/65r2AnOgcqC3rc9H1AimJCmJVjyG9i5J7eYT2r0Sy 5mzoRtQVwpBh6huNWoiWp+PP1Lgj0ZdqzuxysXNSXQu3cldlWBRtscCWknn//J+DanTC sAyrVa9aHoHaLj2KDLkyCXxOgiCit4x5Mex8SzKJ/xIABYjDpKG4xqpoMk10f0s6o60w XNcAGNYoqPVfwRCJnVCUBwxXcEyC3TkEqdj1iJE291E8q06jS7n56vTQJtWnXWw9Woxl jmIg== 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=kmb/rvdBqtsBQ/5vNte6OEAfJ0nUw1kOJgg9KjELcow=; b=O+z6NBawg+nCkpW6MhkZNXEBtmFMx75Gfw/Le66VpH2LBWGX87JnApp9VCJ3Ed9dJb QRNTNu3aWT+PzlTVX8tYsZKq91JmVj/dwHVTiLjndKN6nWRxouTrUkRRCBe/iTTSGL1d pIaRwQqG3SbGePpEGrLDAFzt86OsKEDlaL3Ybtmp1mQ4apJLGnCFgFtzUrNw0VhF7DnY Z8NAl8PAhty0eHbA8nJaZUz9h/+BgTuHFgd/HgvY/BauciYgaemONeaPVoiiAPKD1byy tBumMYzm5Wwc+OUWqs9BipdmRvPJBICxSvy45pzn1YCoJi7SBaUOLoYhCy+/nAlLkOVx S5xQ== X-Gm-Message-State: APt69E1n/5ZTodiVlMIyPJ6Srs3KTn/9Fv5rUzpuuvjMUVBIyXB8mS8u v+cEgMujHIIx9SIZ7bCfiw5ksA== X-Received: by 2002:a63:6092:: with SMTP id u140-v6mr2275258pgb.433.1529690119624; Fri, 22 Jun 2018 10:55:19 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id n83-v6sm23758992pfi.147.2018.06.22.10.55.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 10:55:19 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Jun 2018 10:55:17 -0700 Message-Id: <20180622175521.21628-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 Subject: [oe] [meta-oe][PATCH 1/5] upm: Upgrade to latest and fix build with musl 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 --- ...lude-sys-types.h-for-uint-definition.patch | 33 +++++++++++++++++++ meta-oe/recipes-extended/upm/upm_git.bb | 11 +++---- 2 files changed, 38 insertions(+), 6 deletions(-) create mode 100644 meta-oe/recipes-extended/upm/upm/0001-include-sys-types.h-for-uint-definition.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/upm/upm/0001-include-sys-types.h-for-uint-definition.patch b/meta-oe/recipes-extended/upm/upm/0001-include-sys-types.h-for-uint-definition.patch new file mode 100644 index 0000000000..a0a47411d7 --- /dev/null +++ b/meta-oe/recipes-extended/upm/upm/0001-include-sys-types.h-for-uint-definition.patch @@ -0,0 +1,33 @@ +From 48a580bd402cf6a3ee9e42013653219bfeb3caf6 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Jun 2018 18:39:16 -0700 +Subject: [PATCH] include sys/types.h for uint definition + +uint is defined in sys/types.h, therefore this +header needs to be included, it gets exposed with +musl where this header is not getting included indirectly +as it is happening when building on glibc + +Fixes build errors on musl e.g. +upm/src/kx122/kx122.hpp:456:31: error: 'uint' has not been declared +| void setBufferThreshold(uint samples); +| ^~~~ + +Signed-off-by: Khem Raj +--- +Upstream-Status: Submitted [https://github.com/intel-iot-devkit/upm/pull/656] + src/kx122/kx122.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/kx122/kx122.h b/src/kx122/kx122.h +index 1622ed50..56e5215e 100644 +--- a/src/kx122/kx122.h ++++ b/src/kx122/kx122.h +@@ -31,6 +31,7 @@ extern "C"{ + #include + #include + #include ++#include + + #include + #include diff --git a/meta-oe/recipes-extended/upm/upm_git.bb b/meta-oe/recipes-extended/upm/upm_git.bb index 478aa0db1d..babe5f4893 100644 --- a/meta-oe/recipes-extended/upm/upm_git.bb +++ b/meta-oe/recipes-extended/upm/upm_git.bb @@ -7,13 +7,13 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=66493d54e65bfc12c7983ff2e884f37f" DEPENDS = "libjpeg-turbo mraa" -SRCREV = "37642f3b0194f6ddd63f1e6b5d49b8cb689d5c81" +SRCREV = "dc45cd78595c7c24c8a8574c63bb48b5bb99c5aa" PV = "1.6.0-git${SRCPV}" -SRC_URI = " \ - git://github.com/intel-iot-devkit/${BPN}.git;protocol=http \ - file://0001-Replace-strncpy-with-memcpy.patch \ -" +SRC_URI = "git://github.com/intel-iot-devkit/${BPN}.git;protocol=http \ + file://0001-Replace-strncpy-with-memcpy.patch \ + file://0001-include-sys-types.h-for-uint-definition.patch \ + " S = "${WORKDIR}/git" @@ -22,7 +22,6 @@ COMPATIBLE_HOST = "(x86_64.*|i.86.*|aarch64.*|arm.*)-linux" inherit distutils3-base cmake - # override this in local.conf to get needed bindings. # BINDINGS_pn-upm="python" # will result in only the python bindings being built/packaged. From patchwork Fri Jun 22 17:55:18 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 139726 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1164235lji; Fri, 22 Jun 2018 10:55:50 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIPM2aWxzJLIiKDp4p68zR5iXLe7X8MBRxqTmdZwkkerC4OSqVZl5DgmdKqNAHmYDiAWc9X X-Received: by 2002:a63:2404:: with SMTP id k4-v6mr2281056pgk.191.1529690150384; Fri, 22 Jun 2018 10:55:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529690150; cv=none; d=google.com; s=arc-20160816; b=qx9aWY++21WVkbmsovS7KuObhtfjdpcSo6QB3OcxKb6AnKNAMnERMtYrZqKR9BX12C PrvnbTNQ/lnBqyIWEOV8037ymLawoCGtqGTSPjcFJD5TtFhk1DXQlObbBEBByxYzQ4m2 zNC7VqBFVaGqzX93afJbLyAoDP8MHETYTwMiUMRAK25fKFl3uIcaddtpe5rrtHnB04c8 uJPH1JtuhRmM9/1yk7jO7rT+xoXdQy6H3UOR6QbvLoRtJGoN8H/pc/p0p3M7LGc5cl5z NvA4YkUllFC5yL8GSFM1sNJg/RmLN3o/YN8x4hwHv3pbzfX5TgdEPBSHqsfzGn7tUDLu qd4Q== 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=Jru/QPRAA04UBVBC9Vt207d17Lw2nKasmcVM0W3wgb4=; b=h+Jk04VSW1qX72TANGdxG1tvwOipP1UlYGOgy9gTl7kId795Jy240n0yimXSk9oZ+w y594IkX7QaVyCuvCkLRIJGC391HtGHjF/9n6MYkTyNbQ2LxOjADwiOLN5zhF54tqdqFt QpzKlaSXlCcTvsLbCabbLYRxQvTxmaXfbKQJdkQwz7M62yGskrMubbqpnUrMAQz4v5XQ Q57pZFa+Zr5H5BPvNmMR7oOpSk7ECoCj0/fN8k/ueoSSMH55/1/7WJJf6W6gbriIVzSZ tM7f6eljHBXC3uc3jnd+x9G9KCDad5HEUbK1sJHM89Nw0IK6DkgQGnQf2VjVMN8XDSUL XjHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=FNeduMOK; 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=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 z13-v6si8198164pfm.330.2018.06.22.10.55.50; Fri, 22 Jun 2018 10:55:50 -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.s=20161025 header.b=FNeduMOK; 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=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 DACCB75549; Fri, 22 Jun 2018 17:55:46 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f66.google.com (mail-pl0-f66.google.com [209.85.160.66]) by mail.openembedded.org (Postfix) with ESMTP id DB1E17477C for ; Fri, 22 Jun 2018 17:55:19 +0000 (UTC) Received: by mail-pl0-f66.google.com with SMTP id s24-v6so3837518plq.6 for ; Fri, 22 Jun 2018 10:55:21 -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=fVoqnR2xOKUd9fMm5JXK0Tw88nGHL+lJRt+SIsWmof8=; b=FNeduMOKv/ufQPZ9ttQxdRSgZBqI9wi8ig9rLo8flfG5uz6Lvsh9VhxiXqlMFq8qCi 0h0wJeWQeqpaR/swXHspQ70ZJbscPvuZcoDuOIfZLXcWgL9pPl2i35VKXXjIZynHLYd6 fRCpN6/WoIUM/sgRikOd756RIX36hi52zPocrcqXoqrkxyFclWgHdumsT5DGZ+wvsr4j R6L4ItZ2hxxBzH+baIAgXP9E/NjQn6BLuG17rdLRpDGU7mfFIy3ajm3a4mzSWp+wSKUS ji8E4OJ+JTV/mgpo3Ltc2lCjJm7hJ0LidLm5Ci8YQf94lx25SFbQuZ8BG0vfRcuG7qEW ImlA== 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=fVoqnR2xOKUd9fMm5JXK0Tw88nGHL+lJRt+SIsWmof8=; b=rGe9Ucql4UwHUOFIci9MVoQNTrGpCXab1yqow49lMxWKW9fhfsUhKfjlvXUsRDJefQ K8blapxHgKtaTDIw0TAcbERLrfXsNPX5VWZN6XIp7zZ3Irv614znpFItQZ2Dx3Ka+5Vf Q6kxR9nv7or0orlphSWn158vVYLJup7cBB9l6Nvj11xEbZHWco4K46tmkbY4y2dPA/v9 AK0QKlh6jzq5KY3EHSMOlD/a5NcU7S5noW8tIFPiMZLPNx/2TlIJnbUie/rXJqFEf+sr XuYxcovwAftCigiyMowsKvOr/o6mu6ywz5PK05cpt6WZ5Hkpem2APMlV71H7NyhSYp+K ixJw== X-Gm-Message-State: APt69E0PGn9A3O78ShO8Q+tCQ1sTQL94KBdpWAEis1i0+GvsEbca+1z+ XL7riG6pb6FeO9gRCFkRJlEPqA== X-Received: by 2002:a17:902:7688:: with SMTP id m8-v6mr2683931pll.54.1529690120375; Fri, 22 Jun 2018 10:55:20 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id n83-v6sm23758992pfi.147.2018.06.22.10.55.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 10:55:19 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Jun 2018 10:55:18 -0700 Message-Id: <20180622175521.21628-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180622175521.21628-1-raj.khem@gmail.com> References: <20180622175521.21628-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 2/5] libhugetlbfs: Fix build on musl 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 needs more runtime testing Signed-off-by: Khem Raj --- .../0001-include-stddef.h-for-ptrdiff_t.patch | 25 ++++++++++ .../0002-Mark-glibc-specific-code-so.patch | 39 +++++++++++++++ ...sconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch | 49 +++++++++++++++++++ ...shm.c-Mark-glibc-specific-changes-so.patch | 30 ++++++++++++ .../0005-Include-dirent.h-for-ino_t.patch | 28 +++++++++++ .../0006-include-limits.h-for-PATH_MAX.patch | 42 ++++++++++++++++ .../libhugetlbfs/libhugetlbfs_git.bb | 6 +++ 7 files changed, 219 insertions(+) create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch create mode 100644 meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch new file mode 100644 index 0000000000..bae90b4edc --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0001-include-stddef.h-for-ptrdiff_t.patch @@ -0,0 +1,25 @@ +From d3c2187716a0a1f9359a869ca383c129603554d9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Jun 2018 19:25:57 -0700 +Subject: [PATCH 1/6] include stddef.h for ptrdiff_t + +Signed-off-by: Khem Raj +--- + morecore.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/morecore.c b/morecore.c +index 62ad252..c5981d2 100644 +--- a/morecore.c ++++ b/morecore.c +@@ -19,6 +19,7 @@ + + #define _GNU_SOURCE + ++#include + #include + #include + #include +-- +2.17.1 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch new file mode 100644 index 0000000000..4354d78615 --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0002-Mark-glibc-specific-code-so.patch @@ -0,0 +1,39 @@ +From b72bf6a81fa879f32a074fe53776fc8291c83b6f Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Jun 2018 19:32:59 -0700 +Subject: [PATCH 2/6] Mark glibc specific code so + +Signed-off-by: Khem Raj +--- + morecore.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/morecore.c b/morecore.c +index c5981d2..ec9fafa 100644 +--- a/morecore.c ++++ b/morecore.c +@@ -347,6 +347,7 @@ void hugetlbfs_setup_morecore(void) + + INFO("setup_morecore(): heapaddr = 0x%lx\n", heapaddr); + ++#ifdef __GLIBC__ + heaptop = heapbase = (void *)heapaddr; + if (__hugetlb_opts.thp_morecore) + __morecore = &thp_morecore; +@@ -354,7 +355,6 @@ void hugetlbfs_setup_morecore(void) + __morecore = &hugetlbfs_morecore; + + /* Set some allocator options more appropriate for hugepages */ +- + if (__hugetlb_opts.shrink_ok) + mallopt(M_TRIM_THRESHOLD, hpage_size / 2); + else +@@ -364,4 +364,5 @@ void hugetlbfs_setup_morecore(void) + * This doesn't appear to prohibit malloc() from falling back + * to mmap() if we run out of hugepages. */ + mallopt(M_MMAP_MAX, 0); ++#endif + } +-- +2.17.1 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch new file mode 100644 index 0000000000..f6d8a10a9a --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch @@ -0,0 +1,49 @@ +From 3d6ab5ea8e23f96ee6fdd915e05acd9a751dd876 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Jun 2018 19:44:26 -0700 +Subject: [PATCH 3/6] alloc.c: Avoid sysconf(_SC_LEVEL2_CACHE_LINESIZE) on + linux + +musl does not have it + +Signed-off-by: Khem Raj +--- + alloc.c | 15 ++++++++++++++- + 1 file changed, 14 insertions(+), 1 deletion(-) + +diff --git a/alloc.c b/alloc.c +index bce9464..cf7eb40 100644 +--- a/alloc.c ++++ b/alloc.c +@@ -245,6 +245,19 @@ void free_huge_pages(void *ptr) + __free_huge_pages(ptr, 1); + } + ++static size_t get_cacheline_size() { ++#if defined(__linux__) ++ FILE * fp = fopen("/sys/devices/system/cpu/cpu0/cache/index0/coherency_line_size", "r"); ++ unsigned int line_size = 0; ++ if (fp) { ++ fscanf(fp, "%d", &line_size); ++ fclose(fp); ++ } ++ return line_size; ++#else ++ return sysconf(_SC_LEVEL2_CACHE_LINESIZE); ++#endif ++} + /* + * Offset the buffer using bytes wasted due to alignment to avoid using the + * same cache lines for the start of every buffer returned by +@@ -261,7 +274,7 @@ void *cachecolor(void *buf, size_t len, size_t color_bytes) + + /* Lookup our cacheline size once */ + if (cacheline_size == 0) { +- cacheline_size = sysconf(_SC_LEVEL2_CACHE_LINESIZE); ++ cacheline_size = get_cacheline_size(); + linemod = time(NULL); + } + +-- +2.17.1 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch new file mode 100644 index 0000000000..960e152939 --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0004-shm.c-Mark-glibc-specific-changes-so.patch @@ -0,0 +1,30 @@ +From 7002dec46dae375e8aa1aa8577a5b274c02fc697 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Jun 2018 19:48:04 -0700 +Subject: [PATCH 4/6] shm.c: Mark glibc specific changes so + +Signed-off-by: Khem Raj +--- + shm.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/shm.c b/shm.c +index 1f82cab..9447b63 100644 +--- a/shm.c ++++ b/shm.c +@@ -48,10 +48,11 @@ + * system shmget() may be performed without worry as there is no dynamic + * call chain. + */ ++#ifdef __GLIBC__ + extern void *dlsym (void *__restrict __handle, __const char *__restrict __name) + __attribute__((weak)) __THROW __nonnull ((2)); + extern char *dlerror (void) __attribute__((weak)) __THROW; +- ++#endif + + /* call syscall shmget through the generic syscall mechanism */ + static int syscall_shmget(key_t key, size_t size, int shmflg) +-- +2.17.1 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch new file mode 100644 index 0000000000..543302b135 --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0005-Include-dirent.h-for-ino_t.patch @@ -0,0 +1,28 @@ +From 87ed1706f426ed27fc4eeca7c3b09a4086c9a2a9 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Jun 2018 19:51:02 -0700 +Subject: [PATCH 5/6] Include dirent.h for ino_t + +Fixes +error: unknown type name 'ino_t'; did you mean 'int'? + +Signed-off-by: Khem Raj +--- + tests/hugetests.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tests/hugetests.h b/tests/hugetests.h +index 8b1d8d9..056042c 100644 +--- a/tests/hugetests.h ++++ b/tests/hugetests.h +@@ -22,6 +22,7 @@ + + #include + #include ++#include + + #include "libhugetlbfs_privutils.h" + #include "libhugetlbfs_testprobes.h" +-- +2.17.1 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch new file mode 100644 index 0000000000..35dd6e11cc --- /dev/null +++ b/meta-oe/recipes-benchmark/libhugetlbfs/files/0006-include-limits.h-for-PATH_MAX.patch @@ -0,0 +1,42 @@ +From 96c012ea31a2d124528f3b6f3b9857b71b059db3 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Thu, 21 Jun 2018 19:58:53 -0700 +Subject: [PATCH 6/6] include limits.h for PATH_MAX + +Fixes + +error: 'PATH_MAX' undeclared + +Signed-off-by: Khem Raj +--- + hugeadm.c | 1 + + tests/gethugepagesizes.c | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/hugeadm.c b/hugeadm.c +index fe4211d..8db274c 100644 +--- a/hugeadm.c ++++ b/hugeadm.c +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + + #include + #include +diff --git a/tests/gethugepagesizes.c b/tests/gethugepagesizes.c +index 9551b38..2645e3f 100644 +--- a/tests/gethugepagesizes.c ++++ b/tests/gethugepagesizes.c +@@ -29,6 +29,7 @@ + #include + #include + #include ++#include + + #include "hugetests.h" + +-- +2.17.1 + diff --git a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb index ee1b9d0507..14c909e758 100644 --- a/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb +++ b/meta-oe/recipes-benchmark/libhugetlbfs/libhugetlbfs_git.bb @@ -19,6 +19,12 @@ SRC_URI = " \ file://0001-run_test.py-not-use-hard-coded-path-.-obj-hugeadm.patch \ file://libhugetlbfs-elf_i386-avoid-search-host-library-path.patch \ file://Force-text-segment-alignment-to-0x08000000-for-i386-.patch \ + file://0001-include-stddef.h-for-ptrdiff_t.patch \ + file://0002-Mark-glibc-specific-code-so.patch \ + file://0003-alloc.c-Avoid-sysconf-_SC_LEVEL2_CACHE_LINESIZE-on-l.patch \ + file://0004-shm.c-Mark-glibc-specific-changes-so.patch \ + file://0005-Include-dirent.h-for-ino_t.patch \ + file://0006-include-limits.h-for-PATH_MAX.patch \ " UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)" From patchwork Fri Jun 22 17:55:19 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 139727 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1164337lji; Fri, 22 Jun 2018 10:55:57 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIF9Gi6Tww/Vv3k757hFv23iJWkLzWI16YYDKx0rvIBeW7J1D78Jr9DZYTZZduHmu6/iGEE X-Received: by 2002:a62:d2c3:: with SMTP id c186-v6mr2747599pfg.44.1529690157023; Fri, 22 Jun 2018 10:55:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529690157; cv=none; d=google.com; s=arc-20160816; b=YZO3XlMS9dXn3dneLmlOHjB3bQuefBxrNWGT2p0y0V8YGSeBmtfEjFKY6ypvmMwJGz Y1YCIsRz9naehJVRwcRVKDuLWNj2eOcl//SrqKcye7WgebGiI2/G9dI/mPMJoGubG5jx ibclj7zYw0ZMv/R/GdaHD4dram54V8zl7GkMQus0uUAHdIamjgN2cp4T17HGMDBoJCBQ B68IHMj4D5zrvD6sKfEPrgW/12eZN5KjHfmfycRutPlIpYWB3Ybc2u3YsfeGK2PZuaer ef7UVrgdRGblU8vCrN8sU3s7lLcSFnad40EPJxNVbI/Q7NH25Y+mt1PXa0zNO7a/k3hQ 20OQ== 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=3ssTf9c0N4gRU8zDK6sLJGQ0ShFNDo9lvCqclfaDXlI=; b=txqGyhjftFAiLItbIS5lVDW8MdSSjX4s6bKeiGEtKGcGWgHwlJO5ad8B6OjDW1K7hy NswvxA0RraEWdU+aA2Emre2BYjmfC9cvbP0lHxTCYJ3gT5bsmuZy1XA1Lei3tdnOwS/c uCycgDOzaPPmeQAozcjUfr0QNehOlruRjHGzHz0R0qb70juLLBkfX5Aa4dCNDMNsRifY M2XldEc9PxyzG9Fgv8CNfrb4ybOJjgy8VlKPD7RYvg42z/v+GiWf28tGVZ0M7Ez7WpM8 3aqBeiE2DufMEdflh0jQObocw7zZGo0Cv03mGEqGvRTdftDz7FZWEswoMf/9XbQ/yotN O1Qw== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=NyRBR9MH; 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=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 d16-v6si8195702pll.197.2018.06.22.10.55.56; Fri, 22 Jun 2018 10:55:57 -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.s=20161025 header.b=NyRBR9MH; 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=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 026236E5E9; Fri, 22 Jun 2018 17:55:48 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f51.google.com (mail-pl0-f51.google.com [209.85.160.51]) by mail.openembedded.org (Postfix) with ESMTP id 3C5117477C for ; Fri, 22 Jun 2018 17:55:20 +0000 (UTC) Received: by mail-pl0-f51.google.com with SMTP id c41-v6so3823869plj.10 for ; Fri, 22 Jun 2018 10:55:21 -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=GcB1L5TRCNewAQHOat9sDedTrDPv+IWnazBFRRl41ds=; b=NyRBR9MH2vatgs66S1wX2ikl0rdCtmNrtAFrIrM23HGy7lHNysPi9+QxA567WjjDOQ 2o4rHfE+5QyGXNUGBoopZbVwHa5uE3HvX9/nWDOvzCYpCz26TGtm0ZW80M7dTn+ZSfch U1HHUPxUSshtrCwOmL11k4Esg3pA2qGb1o/XkRhi08rLzTyEa/I+UWqxYneDFPhZuQ+y BYZlPSlVP6pUyR8w/d+kUeAFTlEbQbCglDa+eJH9OeZsbCWzp4mLxrPbIfAXcZ8nDW5u b9NNS88Nba1hPbmRhYYRPm7d6BU6kaGAJHcRCSXR1GCV6EFdsFrqj47E1mVmm53U3j3u ZDmQ== 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=GcB1L5TRCNewAQHOat9sDedTrDPv+IWnazBFRRl41ds=; b=BqutDIrX9su58YWfPZ/laAL2Qnh/9T1KdgIKo2NutApvQoCFIdnwtcSNPa2WbRSAca iyWU//GNnvSuAdxUNcUx4ly7IWpHvG7PCxjTeBsycOIu00bH8C0QaS2bttIzxxshyYJs +KMifYKyQPK82WsLmHNCK/O08JLa0t1MhRB/vpepo/iPXRNcXRlYFdkAEwJ/+fzVf//W uz+YkzKAEgsAb2NYwT4S5TNxj8cOyDGpUv4puxHz3Rgck3SDTQC6bqKkHluRyxxLAfcw 7hUdc/UMHZf0onhfIJtYcdKm3SmMlRLQST0WWJ5csq42swjjz+g0G1EPvzJ5bg0/CpzV WLZA== X-Gm-Message-State: APt69E2bGnncoNN8+/efca7zQRLKqFzs9qUbPbZb11f5W9PJb0oAkAiD a1itKUjfo7Gm4SDX7eab4F80MQ== X-Received: by 2002:a17:902:ba97:: with SMTP id k23-v6mr2681803pls.259.1529690121069; Fri, 22 Jun 2018 10:55:21 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id n83-v6sm23758992pfi.147.2018.06.22.10.55.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 10:55:20 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Jun 2018 10:55:19 -0700 Message-Id: <20180622175521.21628-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180622175521.21628-1-raj.khem@gmail.com> References: <20180622175521.21628-1-raj.khem@gmail.com> Subject: [oe] [meta-multimedia][PATCH 3/5] libdc1394: libglu needs both openGL and X11 but not tvirtual/libgl 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 Epxress this dependency accurately Signed-off-by: Khem Raj --- meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb index 8a9e9a1d7d..b6bb447bc2 100755 --- a/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb +++ b/meta-multimedia/recipes-multimedia/libdc1394/libdc1394_git.bb @@ -7,7 +7,8 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=c848e78d9a4a5cc69906178e4d6fbd64" # libsdl to provide sdl.m4 with AM_PATH_SDL DEPENDS += "libusb1 libraw1394 libsdl \ ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libxv virtual/libx11', '', d)} \ - ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl libglu', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'virtual/libgl', '', d)} \ + ${@bb.utils.contains('DISTRO_FEATURES', 'opengl x11', 'libglu', '', d)} \ " PV = "2.2.5+gitr${SRCPV}" From patchwork Fri Jun 22 17:55:20 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 139728 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1164424lji; Fri, 22 Jun 2018 10:56:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKI1yPfRW1DAgllYxOqMJYGC/SD6d+6qydMMCLO7SN34Bicy4Pst5sL4nM7ryjSOVSydZ7ao X-Received: by 2002:a17:902:ba97:: with SMTP id k23-v6mr2683569pls.259.1529690163767; Fri, 22 Jun 2018 10:56:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529690163; cv=none; d=google.com; s=arc-20160816; b=pTj7yHAbE78nvtpZ1gHu8dUuaDOOujvGyMcAPuyrh9PfNX93MmVtJSC7WfpGMyM4t1 UYzwadfyr4L5WOceu8pOFKif2mm+sJgVBdvYUGDzysVFgb/E8xMj5qL3j1I60Y1312Nj EY06qPYdc2+lAbvJcW17+z/GE8qio0AJcsYicX+eWFYo8ayHuZVDLeFxA+pIbw3Ng0LA BvaNM6pMYePHskbBs11YpIkr773DgH2k1pzZXs6OdHQhUVHcDO3NOdUkm+NOfHmxboK/ uDevGd4CLk1aGfMXRxVXE3EIOQGleQoKnjgYZkXeHTqtkHvRiVu3VirLgkFg2mf2QLRo Y40Q== 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=JHNacUJAD02ujXU0P6uo/7Mm0dTNu0MtBd1v/3dmk6o=; b=Lgl7Wmj8LgX2f1vX8lRlQSFb/B0+CjZnk5F3MS5mUCWfvXAMaJuCJ8ECmq0AUor/H7 HTnDl1VDwzR0O06cyVA1EMzkN1Rjb7VkqQ6KroQ7IVh3wZSThHfScSjrEaHZ0GXvNbb5 irPULo7/Bcrp6CrwtgXjKGoifib54jcgQVJtXK7BqpN+4d/Pq7HVgWp4eKFCb1ZEt32Y MV807al4XLNxzxnNk9FYaeRioiqUjoj1PFj1UxnfXawLt+Ola9d+ZWJq42rhpQVG3jPv 2YeX0M9LP4prXXhMVwa5NfdwjwPSceIVJ4OTxr2BCvMeO/aX6RaKf4hRRVIQPn53cFWP H3IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=W33EJJ8R; 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=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 a33-v6si7721403pld.167.2018.06.22.10.56.03; Fri, 22 Jun 2018 10:56:03 -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.s=20161025 header.b=W33EJJ8R; 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=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 2AB8675566; Fri, 22 Jun 2018 17:55:49 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@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 38B307477C for ; Fri, 22 Jun 2018 17:55:21 +0000 (UTC) Received: by mail-pl0-f65.google.com with SMTP id o18-v6so3138866pll.12 for ; Fri, 22 Jun 2018 10:55:22 -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=43MoM0V4D/wBLnLMyGAMOtHSp2hWWKPlP+iQOEibwo0=; b=W33EJJ8Rsgwhffgok98D7p7yo57GlTSFTe542AcEOvn2YIWEKUBTBT/3GzIDcvpW13 0wnD6FlTFXa9Tc7zHSM3dsqJva2uqTTFgZCU5098OskbwxfugAt15SJpNp8IaarZCsc4 z4gxJeza2l1geuC8kJlNICOnHsxH0OQyvCtE4bhOJJdkRu04iQGhRva6gkmtBmJ8hjFK nD2htLj9BsT/C7zCe38q58Y1H/zUXzEOXFuPaqPcUpXoR9LBATMraA/bbLIVuuybdTdK qZv0WjVhQfdlmLlhcHDFQnMS73hqcZ/gmmvOU98U5/wfgMyT05woKxGBdEAw+/LlsPbr FZvQ== 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=43MoM0V4D/wBLnLMyGAMOtHSp2hWWKPlP+iQOEibwo0=; b=PO4t962vjoVBH9jPkMTRbbwmdOflCfxAVYNlFPjzyi59msCk7blA+NEHt1Mix+7ekB EGpLM8ewb4SFUgznMdbgwcWEMDExY3qbiWvdMm1ACv8sCymlDwcy7LRMOtY2/9aYVy7Y SCjc4OE8Md84f8wcySpHn7KrL1cntXLoFgPyaJnfFHQzccd0oY4yyOrDuKwEj/PgBqkK XDDS1msgKq7fGVyiYzMd3zk1X9/54c08Z8xxQqPNhkTE7yr6Y9jlnwjN/sWCxUMl1P+s zZh7VuIHwhcEkA99G7LkpceZ1JnTfmijSasdwacbnSR7/FHD+YVy6H+At78tPGDHODTZ v0lg== X-Gm-Message-State: APt69E1S+CEJ+GvZGqSf9xebIbq3Ni5nzti+jCu1a0oMLLdMTG7HNuOz znAM/hfXSAMV2ffo/Rw13l7rLQ== X-Received: by 2002:a17:902:8549:: with SMTP id d9-v6mr2696488plo.81.1529690121942; Fri, 22 Jun 2018 10:55:21 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id n83-v6sm23758992pfi.147.2018.06.22.10.55.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 10:55:21 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Jun 2018 10:55:20 -0700 Message-Id: <20180622175521.21628-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180622175521.21628-1-raj.khem@gmail.com> References: <20180622175521.21628-1-raj.khem@gmail.com> Subject: [oe] [meta-python, meta-oe][PATCH 4/5] python-pywbem: update to version 0.11.0 and add a python3 recipe 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 From: Derek Straka Signed-off-by: Derek Straka Signed-off-by: Khem Raj --- .../openlmi/openlmi-tools_0.10.5.bb | 2 +- .../{pywbem_0.8.0.bb => python-pywbem.inc} | 36 ++++++++++++------- .../pywbem/python-pywbem_0.11.0.bb | 13 +++++++ .../pywbem/python3-pywbem_0.11.0.bb | 2 ++ 4 files changed, 40 insertions(+), 13 deletions(-) rename meta-python/recipes-extended/pywbem/{pywbem_0.8.0.bb => python-pywbem.inc} (59%) create mode 100644 meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb create mode 100644 meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb b/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb index 13e67cba12..05dc854fca 100644 --- a/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb +++ b/meta-oe/recipes-extended/openlmi/openlmi-tools_0.10.5.bb @@ -7,7 +7,7 @@ SECTION = "System/Management" inherit setuptools -DEPENDS = "python-native pywbem-native python-m2crypto pywbem" +DEPENDS = "python-native python-pywbem-native python-m2crypto python-pywbem" SRC_URI = "http://fedorahosted.org/released/${BPN}/${BP}.tar.gz \ " diff --git a/meta-python/recipes-extended/pywbem/pywbem_0.8.0.bb b/meta-python/recipes-extended/pywbem/python-pywbem.inc similarity index 59% rename from meta-python/recipes-extended/pywbem/pywbem_0.8.0.bb rename to meta-python/recipes-extended/pywbem/python-pywbem.inc index 7f1986e516..5151c33ea9 100644 --- a/meta-python/recipes-extended/pywbem/pywbem_0.8.0.bb +++ b/meta-python/recipes-extended/pywbem/python-pywbem.inc @@ -12,25 +12,37 @@ at http://www.dmtf.org/standards/wbem. \ \ It also provides a Python provider interface, and is the fastest and easiest \ way to write providers on the planet." -HOMEPAGE = "http://pywbem.sf.net/" -LICENSE = "LGPLv2" +HOMEPAGE = "http://pywbem.github.io" +LICENSE = "LGPLv2.1" LIC_FILES_CHKSUM = "file://pywbem/LICENSE.txt;md5=fbc093901857fcd118f065f900982c24" -SECTION = "Development/Libraries" -DEPENDS = "python-m2crypto-native python-typing-native" -SRC_URI = "http://jaist.dl.sourceforge.net/project/${BPN}/${BPN}/${BP}/${BP}-dev.r704.zip" -SRC_URI[md5sum] = "84072451dcdd1aa9ee82363848faf7ad" -SRC_URI[sha256sum] = "898035866d3cc741bbcd62c4ac26e633ad07b7c11d89db2472b9f923f3fd3ed8" +SRC_URI[md5sum] = "1465dfa92e4cbe558c773838b9b00711" +SRC_URI[sha256sum] = "2a05f2c1a6ab4b08560a6da55fdaabd0f52f4d1e6df6e288b9ed927bf5c289ed" -S = "${WORKDIR}/${BP}-dev" +inherit pypi -inherit setuptools python-dir +DEPENDS += " \ + ${PYTHON_PN}-ply-native \ + ${PYTHON_PN}-pyyaml-native \ + ${PYTHON_PN}-six-native \ +" do_install_append() { mv ${D}${bindir}/wbemcli.py ${D}${bindir}/pywbemcli - mv ${D}${bindir}/mof_compiler.py ${D}${bindir}/mofcomp - rm ${D}${libdir}/python2.7/site-packages/${BPN}/wbemcli.py* - rm ${D}${libdir}/python2.7/site-packages/${BPN}/mof_compiler.py* + rm -f ${D}${bindir}/*.bat } +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-datetime \ + ${PYTHON_PN}-io \ + ${PYTHON_PN}-netclient \ + ${PYTHON_PN}-ply \ + ${PYTHON_PN}-pyyaml \ + ${PYTHON_PN}-six \ + ${PYTHON_PN}-stringold \ + ${PYTHON_PN}-threading \ + ${PYTHON_PN}-unixadmin \ + ${PYTHON_PN}-xml \ +" + BBCLASSEXTEND = "native" diff --git a/meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb b/meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb new file mode 100644 index 0000000000..7410749071 --- /dev/null +++ b/meta-python/recipes-extended/pywbem/python-pywbem_0.11.0.bb @@ -0,0 +1,13 @@ +require python-pywbem.inc +inherit setuptools + +DEPENDS += " \ + ${PYTHON_PN}-m2crypto-native \ + ${PYTHON_PN}-typing-native \ +" + +RDEPENDS_${PN}_class-target += "\ + ${PYTHON_PN}-argparse \ + ${PYTHON_PN}-m2crypto \ + ${PYTHON_PN}-subprocess \ +" diff --git a/meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb b/meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb new file mode 100644 index 0000000000..6a35a87442 --- /dev/null +++ b/meta-python/recipes-extended/pywbem/python3-pywbem_0.11.0.bb @@ -0,0 +1,2 @@ +require python-pywbem.inc +inherit setuptools3 From patchwork Fri Jun 22 17:55:21 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 139729 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp1164543lji; Fri, 22 Jun 2018 10:56:11 -0700 (PDT) X-Google-Smtp-Source: ADUXVKKMVGPHiUVGtLuceQo3FD9e7kSz+has4cYL1Rp3dh8DWD7R6PWkKb7oGD20AAye8ff6m2/Q X-Received: by 2002:a62:9b57:: with SMTP id r84-v6mr2794854pfd.157.1529690171471; Fri, 22 Jun 2018 10:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529690171; cv=none; d=google.com; s=arc-20160816; b=J68Fb2/HvQnKC78RbypQiKR8VGdBE3UhPFogxrLO+Ypa+dXjWoCuRRytN/i9ePg/w5 zVtHNa2apgbZ39oyXrMZ3SUkvl3gRo9epc2Q2Jg9FqfLNjd/tkS2C+co1q8be2eclUYT d6L6YI1VbHPEyTxxEv54FuYbl2gUntoCbs+pA5wmEpY/MGRPNkaOdAlq2wXfdzf9t4AU kgGFYUhSvOVZnL2b2rLNA5LxFaj2sNvuU9uAZWyT01Mc1lLNrM7abar2HLdmSXgfcuGb Bk8i9ZV/6gDGGwikKK/8obVJtnJulq5jUi0HrvrZJgGYiZ/rPCQkgFBriEaoghlfGzNE TK1w== 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=XZ+0ZfgisPhMpT06zTN7yfdwZ32rp71WPiLGTPIt03U=; b=ipcybGJnN54XgswSDyD/Az8h7NyLTPLOcyMF0e07csO9NMIcH/jGH2mQEPOeDw9qs9 LuXc612mODVyOdJiVYTWJ8OL7tCHkahqWy89UBlVcrwEQSYoU4sa5N1lUZIuAufdzaum ieWtba9ZF63FrWz7pHYTBZFiDX++GWeJYbx2P4UT3t+HnIEyIxu/EwPxJrprPsmNnDPR KiNz8TySQH4B+Dstw74D7Py9/uVdWD42VqtmR6daMjWIr8OZ+AStLTtad+2EKiscNsa8 CKgbuMXMqiASyTZwPohbmDaw2GjXX5wd4d9XYDODTftMG+aQuJer0VbifWriSYK89f6p b3xg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=ZfhHxaOc; 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=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 6-v6si7756097pfb.204.2018.06.22.10.56.11; Fri, 22 Jun 2018 10:56:11 -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.s=20161025 header.b=ZfhHxaOc; 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=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 5118175578; Fri, 22 Jun 2018 17:55:50 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pl0-f48.google.com (mail-pl0-f48.google.com [209.85.160.48]) by mail.openembedded.org (Postfix) with ESMTP id 0A3CF7553A for ; Fri, 22 Jun 2018 17:55:21 +0000 (UTC) Received: by mail-pl0-f48.google.com with SMTP id o18-v6so3138891pll.12 for ; Fri, 22 Jun 2018 10:55:23 -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=5HKm118PJRnWkFGsXf5ooXKOYON/+bap7fnQnWnVOas=; b=ZfhHxaOcv3HW15Ujvuq8ZGb73Dwn4ldJFuLfwxA/P9+7rjGMWo18Zyed/+YKZ0HahL +OY4/j2ZsSSlayUZSRIndymSJDkkYqmHH2YYDb0DSF9azZdtxEsxRod0YXZlqey9Fz7T CCLoSJRyJo6kGpXDyO2NUCxE4Knb6WGKiLOVR7GIkihwBO/RNSPDQaPxR11BL7+DwGFz IOQfhdIspKSGK+vApkG1JN6dmzFACsD2xagnmllxFu86l/y+O25Z9rJDQ95AOYmlafLe rneb1RROe33o+B/D+DZyGDvwnMz7lWXsHxgHtznrBrQHdHGiCQghDBVBWQIA7wfJyPes T2kg== 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=5HKm118PJRnWkFGsXf5ooXKOYON/+bap7fnQnWnVOas=; b=Aj+2Jumsa5JQAvgvLNpBene3+iToFKElCeeofHBn+ZP5TLheQFr9/8y9JXgNvTrIr8 d7RnadvNgB7pDNK18dUNJaCKhZCLkpgratT/8gk9xe92aOoxepd7GRQq+vsGov3GSfuD Wtqu3gO883/7YsqcNnd7fQ2S2PZ2L4SJJ8mJM3/n6I6AK3S6jgZ+L3uQKgnAMJkg+ToB z4WzDyTQJNhcEeabT/5At/qHpMN55JmZzoPRl825Zea1qX5aF5AW8Fy3mybMtcKNlbsi t2QVsg8m+8n8KoFDepheBmv/B93L/HZHEnMS+6nHxd/ho7SoVsmHlegwm2HnAJf5KWn9 KoWg== X-Gm-Message-State: APt69E3Gamqjas29+DPcPKNvE4G//YGRBgIV2gm2kMP0Eir7h+jsvXlP gkNDwKLZGzMKdXD2+7raGn5Whg== X-Received: by 2002:a17:902:744c:: with SMTP id e12-v6mr2237459plt.28.1529690122920; Fri, 22 Jun 2018 10:55:22 -0700 (PDT) Received: from localhost.localdomain ([2601:646:877f:9499::91a0]) by smtp.gmail.com with ESMTPSA id n83-v6sm23758992pfi.147.2018.06.22.10.55.21 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 22 Jun 2018 10:55:22 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 22 Jun 2018 10:55:21 -0700 Message-Id: <20180622175521.21628-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20180622175521.21628-1-raj.khem@gmail.com> References: <20180622175521.21628-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 5/5] kpatch: Upgrade to 0.6.1 release 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 --- meta-oe/recipes-kernel/kpatch/kpatch_git.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.18.0 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-oe/recipes-kernel/kpatch/kpatch_git.bb b/meta-oe/recipes-kernel/kpatch/kpatch_git.bb index e495e2882c..024cca6553 100644 --- a/meta-oe/recipes-kernel/kpatch/kpatch_git.bb +++ b/meta-oe/recipes-kernel/kpatch/kpatch_git.bb @@ -2,9 +2,9 @@ require kpatch.inc LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -SRCREV = "db6efbb8c7e90d2b761272cf563047119072768f" +SRCREV = "7f550f01bd308cf058ae782327d29c8916cc5602" -PV = "0.5.0+git${SRCPV}" +PV = "0.6.1+git${SRCPV}" S = "${WORKDIR}/git"