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" From patchwork Sat Jul 8 13:17:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107214 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1263654qge; Sat, 8 Jul 2017 06:19:44 -0700 (PDT) X-Received: by 10.84.231.206 with SMTP id g14mr8434019pln.259.1499519984515; Sat, 08 Jul 2017 06:19:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499519984; cv=none; d=google.com; s=arc-20160816; b=YTTfyK1OyZA5kj3qBCLH5AKQUw4p47qj6QiI/azHZvMDbvRbLazwQmhqQouaxrT5G4 yuh1L6+iNe5BhYOD6QDrrPxjJ6+PC0KQADjnY/HV7yqyGdL3jg+AZZaBCb2BWDdkCD93 5Gpx57DHnQ0Z1jpNa3cTaImd5LucjgdWpTWCk0/F9laAh94A6QI48LQtzuLAsfYp9Kgd XTA3aZ3gSdsPDIP8IMS1VMX2m3zPHWu2ccOuT3XbZVr0NrlmcSQcN5dDKYzdr3P3rDl+ QYAgXY47WJoPQpClJStY9MeAUUEaAVb0qtkfSOU80VK2xCCfFUpgkRXOc8Yw303jijH/ /Sbg== 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=yGJzAYCCZjKNyJeGMpY+wT6z63LfNDHlPI6a2QTjdNM=; b=BT9v16AOwahydzqQBnOalPgJbx8DJD4y1H2ps25zFS2v9eu0Zcm56EhupbDKQCoCy9 oV7s0/YIqyD8Q1BWLkMhipoZfbvZy06uohZUw9k+YVf3682xTikVzmnREgKWIOwRG9Er Gd7VZilU8kLVoSD7nR8yhbxWf52RT/JCoqvAI5JPgcpppKwKfpBgUg1M/KDGuooz/biN cgt6YEDYgqz2VLV0jl1fkwX3NDEd67fN4NQdAY/cSp1bVzg9dADgTB8S1VzoDDWMVq/5 ch1LiGqFljtYErVyXAz/2rs0BpMnxjMIQu4vvk60OVKwDxjkHpgVtecrfmlIxppsdfbC TEIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=oAmdwIpx; 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 d71si4187748pgc.68.2017.07.08.06.19.44; Sat, 08 Jul 2017 06:19: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=oAmdwIpx; 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 74314780A0; Sat, 8 Jul 2017 13:19:41 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f171.google.com (mail-pf0-f171.google.com [209.85.192.171]) by mail.openembedded.org (Postfix) with ESMTP id 4AFE7780B8 for ; Sat, 8 Jul 2017 13:17:59 +0000 (UTC) Received: by mail-pf0-f171.google.com with SMTP id q85so29310919pfq.1 for ; Sat, 08 Jul 2017 06:18:01 -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=PXci5+i79cc5hFPTzTU8NUP2u/AKjAxjan+5s3FAk7g=; b=oAmdwIpxvwgPyCvVN/A27eRtukmA7cORdubgcHdWZtBKuu6EohRkaHeopBYT3Uq5r8 FbudWskNc357o0f5Ntlr2Oz9yDvhPF/qeLF+loNLOTx4is9//K68LfOpV8ay8bCNRYQh 5NIatGezsBjoTGJerYrmnyzpMaDLfoshUnphUpvK8/pigQps/0dZQ09g/2Tqgfhb+RUr 6nDd6JxYkm7fVs3jh0NqGVtge4NabswSWEDdSW1AtW5EzyW6CL8OK0bHNXhWag3HiJfB xd83bG34L84xSvn84lTtK0XdgdU3QvW4eiAEznjtwZ1Txo/1TVU/C+ZXp2qnNsCxr0VM 9GKA== 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=PXci5+i79cc5hFPTzTU8NUP2u/AKjAxjan+5s3FAk7g=; b=g23AkMgb3XgGc57+bzvDCrtfQcqq6s2FVJ0+Ws3ylzL3gM3t5Wpnen9UNv/KV7gXKY zlzD5ZZeCjf9PrLTWa3H/trCkwvxLKpzuAag9NsG9SLavY7wlwm50MydQSoq2rym9USd 9A+0Yq3JLo9ziQYBpqZAYPpa0/lN3i28zIEYk3hPRAAQzwy2ijsBDol8sfnwcYltPzp5 djTWYAXjn6UdHDsTN1rByE4rv0tKfBKvImOyK+/bdEpXNgHL3MIHdTBOqVASfjpb3RQv 4kcU6eZfwJ4jDDmAZU7hEn8+bU1xSgT/WCnZMx6UMcQoiNSeUkHEzI/wmeLGVDY/5wjL JiVg== X-Gm-Message-State: AIVw113Vnv3vpiSC4UMJr902FNv5TDbdCkDVxTsulTmBP2rjDcJFNO2D /D7nUUv6Rw6AdGqO X-Received: by 10.99.9.69 with SMTP id 66mr6283228pgj.178.1499519881034; Sat, 08 Jul 2017 06:18:01 -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.59 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jul 2017 06:18:00 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 8 Jul 2017 06:17:41 -0700 Message-Id: <20170708131744.33927-2-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170708131744.33927-1-raj.khem@gmail.com> References: <20170708131744.33927-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][meta-networking][PATCH 2/5] security_flags.inc: Delete 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 OE-Core has now reworked the PIE flags, where they are implicitly passed by compiler when security flags are enabled None of these pinnings are needed anymore, since these packages compile fine with security flags enabled Signed-off-by: Khem Raj --- .../include/meta_networking_security_flags.inc | 10 -------- meta-networking/conf/layer.conf | 3 --- .../conf/distro/include/meta_oe_security_flags.inc | 28 ---------------------- meta-oe/conf/layer.conf | 3 --- 4 files changed, 44 deletions(-) delete mode 100644 meta-networking/conf/distro/include/meta_networking_security_flags.inc delete mode 100644 meta-oe/conf/distro/include/meta_oe_security_flags.inc -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/conf/distro/include/meta_networking_security_flags.inc b/meta-networking/conf/distro/include/meta_networking_security_flags.inc deleted file mode 100644 index 19e13ea87..000000000 --- a/meta-networking/conf/distro/include/meta_networking_security_flags.inc +++ /dev/null @@ -1,10 +0,0 @@ -# configure righteously complains: -# | configure:3479: using CFLAGS: -O2 -pipe -g -feliminate-unused-debug-types -fstack-protector-strong -pie -fpie -D_FORTIFY_SOURCE=2 -# | configure:3485: CFLAGS error: CFLAGS may only be used to specify C compiler flags, not macro definitions. Use CPPFLAGS for: -D_FORTIFY_SOURCE=2 -# | configure:3516: error: Can not continue. Fix errors mentioned immediately above this line. - -# Make sure it's at least empty in builds which don't include -# conf/distro/include/security_flags.inc -lcl_maybe_fortify ?= "" -TARGET_CFLAGS_remove_pn-c-ares = "${lcl_maybe_fortify}" -TARGET_CPPFLAGS_append_pn-c-ares = "${lcl_maybe_fortify}" diff --git a/meta-networking/conf/layer.conf b/meta-networking/conf/layer.conf index b5aa1599b..2dfde4bdf 100644 --- a/meta-networking/conf/layer.conf +++ b/meta-networking/conf/layer.conf @@ -19,9 +19,6 @@ LAYERDEPENDS_networking-layer += "meta-python" LICENSE_PATH += "${LAYERDIR}/licenses" -# Override security flags -require conf/distro/include/meta_networking_security_flags.inc - SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ wireguard-tools->wireguard-module \ " diff --git a/meta-oe/conf/distro/include/meta_oe_security_flags.inc b/meta-oe/conf/distro/include/meta_oe_security_flags.inc deleted file mode 100644 index 03868bfaf..000000000 --- a/meta-oe/conf/distro/include/meta_oe_security_flags.inc +++ /dev/null @@ -1,28 +0,0 @@ -# Build errors with the pie options enabled -SECURITY_CFLAGS_pn-libdbus-c++ = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libdevmapper = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-lvm2 = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-rrdtool = "${SECURITY_NO_PIE_CFLAGS}" - -# This has text reloc errors with the pie options enabled -SECURITY_CFLAGS_pn-llvm3.3 = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-mozjs = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-openldap = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-s3c64xx-gpio = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-s3c24xx-gpio = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-cpufrequtils = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libcec = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libmodplug = "${SECURITY_NO_PIE_CFLAGS}" -SECURITY_CFLAGS_pn-libcdio = "${SECURITY_NO_PIE_CFLAGS}" - -#| /mnt/b/build/tmp-glibc/sysroots/intel-corei7-64/usr/lib/libc_nonshared.a(elf-init.oS): In function `__libc_csu_init': -#| /usr/src/debug/glibc/2.24-r0/git/csu/elf-init.c:86: undefined reference to `__init_array_start' - -SECURITY_CFLAGS_pn-libvdpau = "${SECURITY_NO_PIE_CFLAGS}" - -#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/6.2.0/ld: lj_err_dyn.o: relocation R_X86_64_TPOFF32 against `static_uex' can not be used when making a shared object; recompile with -fPIC -#| /mnt/a/build/tmp-glibc/sysroots/x86_64-linux/usr/libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/6.2.0/ld: final link failed: Nonrepresentable section on output -#| collect2: error: ld returned 1 exit status -#| make[1]: *** [Makefile:675: libluajit.so] Error 1 -SECURITY_CFLAGS_pn-luajit = "${SECURITY_NO_PIE_CFLAGS}" - diff --git a/meta-oe/conf/layer.conf b/meta-oe/conf/layer.conf index 54425c68e..f0d21ed50 100644 --- a/meta-oe/conf/layer.conf +++ b/meta-oe/conf/layer.conf @@ -77,7 +77,4 @@ SIGGEN_EXCLUDE_SAFE_RECIPE_DEPS += " \ FREESMARTPHONE_GIT = "git://git.freesmartphone.org" -# Override security flags -require conf/distro/include/meta_oe_security_flags.inc - HOSTTOOLS += "id" From patchwork Sat Jul 8 13:17:42 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107215 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1263760qge; Sat, 8 Jul 2017 06:19:49 -0700 (PDT) X-Received: by 10.84.134.162 with SMTP id 31mr8234730plh.170.1499519989639; Sat, 08 Jul 2017 06:19:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499519989; cv=none; d=google.com; s=arc-20160816; b=ROt5mBSfmk0PMVtuWaL+ZAbK/xRukQch5r+FNrCnRVB2Jjy3Jv3lI6UghKDyL7Dq7q hYVFcmUVysm7vcKyBWCdKgMEZRU+sSlwvaxtRQpi0NZAy3VQfPvBE4d0nJ2+dtjz15hq EJbKyi5wj60poA/OszY4wfMEDJPXw3h7zimoy2VFTx3nSBvGg9W+G1jcuQKNC77zMSEg RgD6l79MrlatJX2RCP3rka+WcTmj3DEh64uMN9Ym5kbIKaRF1r4VQGCRe/kFufKXcwUC egytpsfa8KNAxVAqRlFXlJ0e8G6xN7mgHacaNUvFG5uoH6qRihFSjwfxwgvqaodTGYSN TG6g== 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=KwxrjxsCOdnCeP5mvMshQar+lXl+vk9euMGyUHFHn6Zo35qJuHcfb6n7C/7gKlbsCZ MXKM7bhZloppZzJH/2HA/pXOxNBpW9SRPAZQjwYFbzmNF9odSzKUlgxDE4WFCtBiiucc vTQiBXfROnjOqBB/gkehV7anlX6llDnsSjOSx1sjOcQTAIDRIg7staeJulkyN4qq2ojR 6dXqPAvCG8NzZvJ0u/s+BhyVG3zjmDS7h64jnJZRWjSuKkzQ0LFKGupf4hM7CdFNjGoO Fb49cW2SuDiQP+odV6wUJA37qy79k6ojfcyR0KjUxPQIWaYSTI3TqBc8Vo0yT0ooedxv UPKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=p5yGg4rq; 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 v24si4240109pfl.202.2017.07.08.06.19.49; Sat, 08 Jul 2017 06:19:49 -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=p5yGg4rq; 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 8124F780EC; Sat, 8 Jul 2017 13:19:43 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f196.google.com (mail-pf0-f196.google.com [209.85.192.196]) by mail.openembedded.org (Postfix) with ESMTP id D2B1A780A3 for ; Sat, 8 Jul 2017 13:18:01 +0000 (UTC) Received: by mail-pf0-f196.google.com with SMTP id e199so8211039pfh.0 for ; Sat, 08 Jul 2017 06:18:03 -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=p5yGg4rqsWWaUXX6nhBc2m1nyjtIMFYHnUMcs/GcwYD0jn/s/FTf9NXLxJESOy8SiY OUOMbXGR6/uF2ZYut9VRXvsBrLF2r6jusV4/o2LThxd8qAX3ZobW8zNEE3/k4dR7UNT6 r54F4ZL6ME5wnr7qbGXlDZEYjmD6OrSrTBkH+FS/3uClhXxIk/PsYv9KSeqgfcvm67+n +b2ah5mblAj5ktHze/0/u/nI9EWCvPK2w8oHvDJz4EpaWFM2Gh89Ti8hhOZWmOpu+9Z1 rqwx5PpMQlxSECRerrWRo/I8am9PsSGM4+JeCUfYBQsaiMfWIpDPS6W3aLxMgNq53Tom I1vQ== 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=uK5n4Olhy//dNVshD1IxruDysHcdF+KOZvKaADMTQBpzwiHAuEpJm4FdTovVF6oZIh 8i71D/n373TmZneFlqNOn6YPK2CM4yk1UsOoA7tOSjG3zmby2IbrRY5K30EO/hr0nvNW RXBS9X2vsFh0hEAEZNCQAodZq0OWQ3/Fj1QOBnZrisMyqw8PUE+AFsstYWxm6rDcsf0f bg3Br9rKrJt5mnNBf7OCU9aejes8gnrUphoweLNL6Iw7Hq6GAM6BGinMXHUF06rIXoL0 tzHPf53jq9dE/CiJeZRbCwDQie3Uu65Kzxt6hDb8nd0JfPWpOuy1GfhVZtdDgPCaboQv 97Pw== X-Gm-Message-State: AIVw111JDMD5H2sdnlq34Qw9P1nLoKxIMwkTHkYmvVdsHsjGpeW1d/d2 sBDuAf72lLO56Vi8 X-Received: by 10.99.39.69 with SMTP id n66mr6249494pgn.94.1499519882455; Sat, 08 Jul 2017 06:18:02 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id o73sm13277185pfi.2.2017.07.08.06.18.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jul 2017 06:18:01 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 8 Jul 2017 06:17:42 -0700 Message-Id: <20170708131744.33927-3-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170708131744.33927-1-raj.khem@gmail.com> References: <20170708131744.33927-1-raj.khem@gmail.com> Subject: [oe] [meta-multimedia][PATCH 3/5] 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" From patchwork Sat Jul 8 13:17:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107216 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1263870qge; Sat, 8 Jul 2017 06:19:56 -0700 (PDT) X-Received: by 10.84.172.1 with SMTP id m1mr8351798plb.174.1499519995989; Sat, 08 Jul 2017 06:19:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499519995; cv=none; d=google.com; s=arc-20160816; b=awwDnIyFqa2PRDzi7jfuY9Xv+ag5JvHVCkpuoRmIjchNljP68oxma6kV6DYGYoXoOO F+mqWtz0GCEcLV/RlCc6104ks22QZFrlFKb/kaGWh+r1oN/4nU+5sqJaY6vxA2gqV8nE umg1V16zn4f6Pnqx0vvr8jH+GYFEWwXuMEzsgIXjlplljqx9uAqzf9dFh+mPuwAQ2vRd n5bJtg2/F+KcD582RiRaHt74NlE7ER/jkmukDq/X8VLKn7i4+ceJhu34EiOsDphfUo2H zPvQVFjsUYXwmqDexoyN9ZichCESVNDJR8/EIcMm5xJ9A3gZMJBQJXQgAtdbG1Z67Vas LHow== 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=mopKXqWacoXYjh73zj0bY+4C2fB64xHWBCE6yXtzMY0=; b=Vyt+21SyWMUghqdDHmI6NZqC8+9TPkcMKpZ09+OqYLLHG7tTm9ic2DXyaLz0u3djGn 2wmTDaXC7XWK/cXlYOVlKDH729LVC9sHqAx+c4lKvXrE27/+vGOq6cBYH38d/yqCw+zh ZqVpQE05z5Qt1ylV6SNx8DILYgu7qIkb1+jWB8nlI+UQoTy27fpv23565H2LjnFA3BEd 3FqUfbHyPzXCvKVasVqtHM06RfM6GP/N4X2wkI+BOH/+g4JwQRnNbfIaakfCoSio5M8Z 9lt4hr5J6FimxFvcNM79hTPMiR7ZgTUPKFLG2LLCMfHW8jxRr5Go6nooreTgzZb1N543 FwzA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=Vy0zuvjl; 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 o15si4249326pfj.483.2017.07.08.06.19.55; Sat, 08 Jul 2017 06:19:55 -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=Vy0zuvjl; 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 970437810C; Sat, 8 Jul 2017 13:19:44 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg0-f66.google.com (mail-pg0-f66.google.com [74.125.83.66]) by mail.openembedded.org (Postfix) with ESMTP id 5C923780A3 for ; Sat, 8 Jul 2017 13:18:02 +0000 (UTC) Received: by mail-pg0-f66.google.com with SMTP id j186so7250471pge.1 for ; Sat, 08 Jul 2017 06:18:04 -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=RR36F5MIZj4Oo1eNBOL4GEkTJFUqG9UZYt08B6XHxik=; b=Vy0zuvjlorqh4njsas+fjbL8Zwyf7nFl2kpImN3mr0llzY/t63zuGyEVPILT4Vm3+6 tC0qeFJdIGIZUBY8QpTA8XjMRXSbrG9B6ARx906ehYXyAlx0pub0c+S8em0SY9iZVhCW mWf5zLcrhcto4HWGWAmYlvGaXVv0xgvxLvrh2QOZ7QpuZrbrHio4y0HxPlZY8UEZsAyi Vc6hzfiyqFxJJsOPvNr1tcNVZF8iuG1lw0xFxESSUGPfA+mVr7PyMR7V2X/LCBWFXHgz m5w3x6Qht2d1+BdPP20ZJvZWDyJ6uA34Znuy/RUNDP++hyQql/yn22XGBBYEPzXRRLim Y3xw== 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=RR36F5MIZj4Oo1eNBOL4GEkTJFUqG9UZYt08B6XHxik=; b=fBPJOh+uZIJdglAqUg5q1bhM32ZgdfntpAq0jQ2jQtwRTa2LqZzJMq8rl2nTH6a18O ndDLRpLDySVdKtrz8xtLBW5H3GarEvw7ciX2NIpkHGCveq2OfIBq6SAQa5RJayYBm2Bv vjXHxcxr5WzIfMLpk7C//fIGWUVC15Q8wvPbROrlJtgkaWJtlsMuGillDiX6EBYDNDj3 9ZmbsAhw9DpIhrJtf4OCfiJgbCaevCEq4ERKOkKBY5QIQML5kKj0qGI2PP57mI6B4q+e b5SFMaMlCcpQiOfQnavG0tGPtiiqNllXdvOLsSPzQzYGsavwUorlBLNA+h0SZcyop9Xb 3XLg== X-Gm-Message-State: AIVw111nWSG0FyLLxYEF7576vXEUxgI6cdbCkvkZVBYXhtkJwvCiGATT CRjhphHMZtHIUS4M X-Received: by 10.84.130.46 with SMTP id 43mr8711636plc.128.1499519884266; Sat, 08 Jul 2017 06:18:04 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id o73sm13277185pfi.2.2017.07.08.06.18.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jul 2017 06:18:02 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 8 Jul 2017 06:17:43 -0700 Message-Id: <20170708131744.33927-4-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170708131744.33927-1-raj.khem@gmail.com> References: <20170708131744.33927-1-raj.khem@gmail.com> Subject: [oe] [meta-oe][PATCH 4/5] ltrace: 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 Signed-off-by: Khem Raj --- ...nfigure-Recognise-linux-musl-as-a-host-OS.patch | 25 ++++++++++++++++++++++ meta-oe/recipes-devtools/ltrace/ltrace_git.bb | 1 + 2 files changed, 26 insertions(+) create mode 100644 meta-oe/recipes-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.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-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.patch b/meta-oe/recipes-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.patch new file mode 100644 index 000000000..52264a17e --- /dev/null +++ b/meta-oe/recipes-devtools/ltrace/ltrace/0001-configure-Recognise-linux-musl-as-a-host-OS.patch @@ -0,0 +1,25 @@ +From c1d3aaf5ec810c2594938438c7b4ccd20943f255 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 7 Jul 2017 10:20:52 -0700 +Subject: [PATCH] configure: Recognise linux-musl as a host OS + +Signed-off-by: Khem Raj +--- + configure.ac | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/configure.ac b/configure.ac +index 3e8667f..95d6642 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -35,6 +35,7 @@ AC_CANONICAL_HOST + case "${host_os}" in + linux-gnu*) HOST_OS="linux-gnu" ;; + linux-uclibc*) HOST_OS="linux-gnu" ;; ++ linux-musl*) HOST_OS="linux-gnu" ;; + *) AC_MSG_ERROR([unkown host-os ${host_os}]) ;; + esac + AC_SUBST(HOST_OS) +-- +2.13.2 + diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb index b613bc3af..01b3bbe1b 100644 --- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb +++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb @@ -23,6 +23,7 @@ SRC_URI = "git://anonscm.debian.org/collab-maint/ltrace.git;branch=master \ file://0001-ARM-code-has-unreachable-code-after-switch-statement.patch \ file://0001-Fix-tautological-compare-warning.patch \ file://0001-Add-support-for-mips64-n32-n64.patch \ + file://0001-configure-Recognise-linux-musl-as-a-host-OS.patch \ " S = "${WORKDIR}/git" From patchwork Sat Jul 8 13:17:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 107217 Delivered-To: patch@linaro.org Received: by 10.140.101.44 with SMTP id t41csp1264030qge; Sat, 8 Jul 2017 06:20:03 -0700 (PDT) X-Received: by 10.84.229.136 with SMTP id c8mr8697142plk.27.1499520003184; Sat, 08 Jul 2017 06:20:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1499520003; cv=none; d=google.com; s=arc-20160816; b=wshp6U974RUSevIDXPHgWFbwFU3RHcvXAzx89d+ynSy9u9Y5w93070LtWj2KAxpdHj NvuYPpCe6dQyTgOD4mmiKtUzyoE33h3O3fhfzqlDElgz45l14s8PMMcJx5zJK69HX0pt +VDnRlL5EtkGF/+aH8bxleZTceXetjFvGcl/7ewWUJfGwm5+SNcMMZex5Wv0MSH8hbeK zBH1KnCd35ilLkSICJ0/DMIrmt03s0D3wUJeia57XrIaqYd9pfC8qGxuhWkOL4qFMToh I1sQuvtT5y+Z/Ry3xmOU5XLQMfyB6hySDtzWgeEMO8Cpmo6bj8E+FNmNPsrGBk6GBhNX blIQ== 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=cjNJm+bcjx4CbH5P0RW5b+6iTyxLcIvoHru/DfSipik=; b=WTAXzC6bR+DCvu9tKRn9lQsD4y4nWbgM6wB8HVkYi3Hi8acIG79a7IMsOYQ0Hz44R1 PK861nOTtdpFv0sQ+BarNKj0/hK1T2ycl9/+BkvCD+/eLFPjSE7L8ndLVAVqOZe/VgOE 9h3cni2tdIYi7JVX76BMpExOhZ3GKmnnMbaaEGAERORt2JW4Nxjelj2X6em0s2PRWE63 nfyyJyeR09s0uYlPYTrWbpav6JA0UMuN9e2g9/HWDCBvnOUX2xs9NevhuV3moPI/CXs7 KD/9sbVK+u378q5pFGuwHcR+aooPDPu38s4HGVG1qsUGZkVuponcMO0g3ZENDDmEQUQa r5OQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.b=kE8cWqlL; 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 y188si4262541pfy.325.2017.07.08.06.20.02; Sat, 08 Jul 2017 06:20: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.b=kE8cWqlL; 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 ADE6E78170; Sat, 8 Jul 2017 13:19:45 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pf0-f180.google.com (mail-pf0-f180.google.com [209.85.192.180]) by mail.openembedded.org (Postfix) with ESMTP id A821A780A3 for ; Sat, 8 Jul 2017 13:18:04 +0000 (UTC) Received: by mail-pf0-f180.google.com with SMTP id c73so29337177pfk.2 for ; Sat, 08 Jul 2017 06:18:06 -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=GcTPLxzN/niybF/VRG5Bu15unW7XbPUPM+1qL0M8A4c=; b=kE8cWqlLcDdNq9KwLNhzqN9kCrrNENgMfV1ZXJeH9LeKTpJWITjqpbdtUJnsG0Tu0Y 9VJGemfieM3gPDPMZiixAxrwu1x15cBpf7MVFpDmIjkp/JQsaBzPw9NjMHRnPS3vh594 zRFMsKgw3RRIr+y7iGq71YU4GlChbdYr2LeuEsyTUtKRcV5FtTROLAC/GedCTkWm/A0W pOsLloC6aniAgRtmkXPj4T9sUm/3RcPDaHNhMHMQcRdeJQWyWEUFPW79+g7rGTrcR7so m81VCfAKMJaRRxeyNzsPA52lr4mySDehNyY4k0aWT9gcSt9gjgSPHu1D/cXne02PvThh 7Jvg== 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=GcTPLxzN/niybF/VRG5Bu15unW7XbPUPM+1qL0M8A4c=; b=jUC093GFDMwCwiLd+yFgaku1/Oew1ralQeOB8K3K19hpRd39g1+GOZw1n/WY9mW1b9 KlWDFlH3qQ0FJ7KWxiC//vLff1sbkM33CnBDSBnBfhyBq2yt5BkOeA6slHmJWrtFv+Tz K6E8uQHyfFLxVK5BYSoXVk9PhXBpW8ijqmaOtl2Yf3cNGUk19pxwqqoesi4T/Jj5XPZ+ urCglmYBE3HWOVD34xU3Q/3PmjCzDCRd0h5TZx1fq8GB75jOWnV4jdyby9rD10nFwHQn IV85y0uzsdwRKDkbR6XqNBpfdQezLM+B68RaYb0BZpzPQfVUau17dNbH7IayMfS3PFGN xeSQ== X-Gm-Message-State: AIVw113J65cCSPRt769OLaScUsKx8F5Fe+mVeIleXjWrw8OIs2iOkNq6 V/TeQqxEKJnp+cu0 X-Received: by 10.84.133.73 with SMTP id 67mr8669836plf.125.1499519885727; Sat, 08 Jul 2017 06:18:05 -0700 (PDT) Received: from localhost.localdomain ([2601:646:8882:b8c::7028]) by smtp.gmail.com with ESMTPSA id o73sm13277185pfi.2.2017.07.08.06.18.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 08 Jul 2017 06:18:04 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Sat, 8 Jul 2017 06:17:44 -0700 Message-Id: <20170708131744.33927-5-raj.khem@gmail.com> X-Mailer: git-send-email 2.13.2 In-Reply-To: <20170708131744.33927-1-raj.khem@gmail.com> References: <20170708131744.33927-1-raj.khem@gmail.com> Subject: [oe] [meta-networking][PATCH 5/5] pptp-linux: Upgrade to 1.9.0 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 Fix build errors found when building for musl while here Signed-off-by: Khem Raj --- .../0001-include-missing-sys-types.h.patch | 28 ++++++++++++++++++++++ .../{pptp-linux-1.8.0 => pptp-linux}/options.pptp | 0 .../{pptp-linux_1.8.0.bb => pptp-linux_1.9.0.bb} | 9 ++++--- 3 files changed, 32 insertions(+), 5 deletions(-) create mode 100644 meta-networking/recipes-protocols/pptp-linux/pptp-linux/0001-include-missing-sys-types.h.patch rename meta-networking/recipes-protocols/pptp-linux/{pptp-linux-1.8.0 => pptp-linux}/options.pptp (100%) rename meta-networking/recipes-protocols/pptp-linux/{pptp-linux_1.8.0.bb => pptp-linux_1.9.0.bb} (81%) -- 2.13.2 -- _______________________________________________ Openembedded-devel mailing list Openembedded-devel@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-devel diff --git a/meta-networking/recipes-protocols/pptp-linux/pptp-linux/0001-include-missing-sys-types.h.patch b/meta-networking/recipes-protocols/pptp-linux/pptp-linux/0001-include-missing-sys-types.h.patch new file mode 100644 index 000000000..804bf1234 --- /dev/null +++ b/meta-networking/recipes-protocols/pptp-linux/pptp-linux/0001-include-missing-sys-types.h.patch @@ -0,0 +1,28 @@ +From f6c4d2468ae0dadd2f35680d61b98b2a59077328 Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Fri, 7 Jul 2017 10:31:03 -0700 +Subject: [PATCH] include missing sys/types.h + +Fixes errors seen on musl +pqueue.h:21:3: error: unknown type name 'u_int32_t' + +Signed-off-by: Khem Raj +--- + pqueue.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/pqueue.h b/pqueue.h +index c37ba7b..ae4cc6a 100644 +--- a/pqueue.h ++++ b/pqueue.h +@@ -3,6 +3,7 @@ + + #include + #include ++#include + + /* wait this many seconds for missing packets before forgetting about them */ + #define DEFAULT_PACKET_TIMEOUT 0.3 +-- +2.13.2 + diff --git a/meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.8.0/options.pptp b/meta-networking/recipes-protocols/pptp-linux/pptp-linux/options.pptp similarity index 100% rename from meta-networking/recipes-protocols/pptp-linux/pptp-linux-1.8.0/options.pptp rename to meta-networking/recipes-protocols/pptp-linux/pptp-linux/options.pptp diff --git a/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.8.0.bb b/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.9.0.bb similarity index 81% rename from meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.8.0.bb rename to meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.9.0.bb index bc8b2cb2b..10c9170fb 100644 --- a/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.8.0.bb +++ b/meta-networking/recipes-protocols/pptp-linux/pptp-linux_1.9.0.bb @@ -9,14 +9,13 @@ SECTION = "net" LICENSE = "GPLv2+" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -PR = "r1" - SRC_URI = "${SOURCEFORGE_MIRROR}/sourceforge/pptpclient/pptp-${PV}.tar.gz \ file://options.pptp \ -" + file://0001-include-missing-sys-types.h.patch \ + " -SRC_URI[md5sum] = "4efce9f263e2c3f38d79d9df222476de" -SRC_URI[sha256sum] = "e39c42d933242a8a6dd8600a0fa7f0a5ec8f066d10c4149d8e81a5c68fe4bbda" +SRC_URI[md5sum] = "b2117b377f65294a9786f80f0235d308" +SRC_URI[sha256sum] = "0b1e8cbfc578d3f5ab12ee87c5c2c60419abfe9cc445690a8a19c320b11c9201" S = "${WORKDIR}/pptp-${PV}"