From patchwork Sat Jul 20 05:14:18 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Khem Raj X-Patchwork-Id: 169293 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4712711ilk; Fri, 19 Jul 2019 22:14:39 -0700 (PDT) X-Google-Smtp-Source: APXvYqxWKZ9NtEZTcHpgdC53Tg5zRO4yOkuZig5OqXacKaUM16GbH99kZ1YR1X1bEiHpOX86aeOL X-Received: by 2002:a17:90a:b394:: with SMTP id e20mr61618565pjr.76.1563599679002; Fri, 19 Jul 2019 22:14:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1563599678; cv=none; d=google.com; s=arc-20160816; b=lnjTwSQv/tqujdVEtdTY9w+Y9+r1mAwGZR8w3sILl217IimRoLUrPxYJaK/dfTPG0C C10U07dHXezCE82SZmA4SG9ne+wYHQ91p+Ap9rGO081a8kwCv9dAuMCbORpVpvf6MqBK nsJwVolEQrGt+3EtQYlwGalVZfZFZTTfmke+x9NEp9PMQ6cLfH07JYjTVpqurYdPic1U 9BIeg5REHf8K7bQYgZYJXIbptoKeWyhW4b/w+j85LYK0PBQPeL8qQimH6g6aqL7zvicj hQ83hCXjrp5lm8oG445hNbmBSncbVica+GsczDyd2toh7S0R95jrgbt2UBM+wm65rh+g rxcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :cc:mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=tUM6l8WYCyxqxZObInjmZXlkiv+xqFLq6vc1HObtqe4=; b=YBErk3zIZC9/drwoCCr9V5V20jhYUQNw5uTdCCC4P4n8xicZ4+i1dumTmQwCBIfb2x EIwfkp01iUbbeSQCmXuOqCthjRvGtgUt9tdcS8zsH6iss1sXH4aBoJZTV4Q9kcvTRH6O BY0TCMilI4yTbHwvHDgLYI+R50LbGVm5Dh/LFNAJZJuhGRbMxj/N+VJQSnfgiXWLbxHq A2bEhgvc/bnLS+5gPHvrqSRT1QVEZD6JLTmcsC1XyWZSb/nQQxzrvVAkIx6lLObt6rdv tRGFYxibSzW/fLbgaAaSGlGkg0/KdpqyU1YTke6MH+ZaJSCHE+vrccYuNlz4aT7u2KNn DqhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=o8qT2OzJ; 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 z19si3905339pfa.19.2019.07.19.22.14.37; Fri, 19 Jul 2019 22:14:38 -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=o8qT2OzJ; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 93B137CF9E; Sat, 20 Jul 2019 05:14:32 +0000 (UTC) X-Original-To: openembedded-devel@lists.openembedded.org Delivered-To: openembedded-devel@lists.openembedded.org Received: from mail-pg1-f196.google.com (mail-pg1-f196.google.com [209.85.215.196]) by mail.openembedded.org (Postfix) with ESMTP id DFFD37CF9E for ; Sat, 20 Jul 2019 05:14:29 +0000 (UTC) Received: by mail-pg1-f196.google.com with SMTP id x15so4982921pgg.8 for ; Fri, 19 Jul 2019 22:14:31 -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:mime-version :content-transfer-encoding; bh=66G6jxm9XeLmzsw/46dEmuqdY1HHOwslaZmxG+rvZps=; b=o8qT2OzJH724jCykfqW29nts3MbK1W5BeG+AoQXs2VcV4//fWQvm8zlozXFncEiCs7 wYk1iyIjv1MExnTgt5gQ3XlL9A3BJH96034XtnA9lpc1JZXzJ9ZKY/iNJ2vJuW06F5WO CvoZC+F8ODJoAWahj0wOy4hRYLQGu1udonsAErUHDOzV/t+eHBNXY+ayBOok44Y67H/t SX/GamuJld5hfvJvDinqsk9odRVQOvIyFdpC7seI4rTdLtldoA/phN/4Ew12e7JLHaJN vQ8HYqXGxGR+OyrGv3APnkBvbxreI/Rk2p3Gh0YdO9jeEORp4psT143kfQcVPmKK4aIG ZHiw== 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:mime-version :content-transfer-encoding; bh=66G6jxm9XeLmzsw/46dEmuqdY1HHOwslaZmxG+rvZps=; b=moXcyWFilKFCt1n8MXjW4l1okCeGtpilzCy7XxGM7BHES+af7+I0OIIbzCZnUolpbM gd0vsAHu0PLm+r9NkSwfoFi0MHyu66hyCN4aQMts7UdF25DDGtD4Yitjc5eAzJQAuEig wjdH4ceVk2929QgrqvAQiUdqk7LEADQfNi+Ffmic84bQZWOAM88+Fs6tMNbdOeQG/Kih h5zws0RpsKOPzPNAHv9uHXYXz0mUPqALp2f5Esr5SlEdUs4CXhATA3fLTMAJ2dvKaIS0 bjvOZqkMnrotbxlbX5WKpY3ZNz0Cr+ZRFwa5zQB8YA7MWSdCX3bfAw7EXc/tMFcOJAYu p1Og== X-Gm-Message-State: APjAAAV4FljRhUCB3191CtD23LU9am6s7SOWhDQn5b5H28LXZPCCOfPi 8Lu9E23+gjbfOsZvemCdQeryTbvGLOk= X-Received: by 2002:a63:3046:: with SMTP id w67mr19649299pgw.37.1563599670252; Fri, 19 Jul 2019 22:14:30 -0700 (PDT) Received: from apollo.hsd1.ca.comcast.net (c-73-71-176-3.hsd1.ca.comcast.net. [73.71.176.3]) by smtp.gmail.com with ESMTPSA id u69sm38863075pgu.77.2019.07.19.22.14.29 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Fri, 19 Jul 2019 22:14:29 -0700 (PDT) From: Khem Raj To: openembedded-devel@lists.openembedded.org Date: Fri, 19 Jul 2019 22:14:18 -0700 Message-Id: <20190720051418.15137-1-raj.khem@gmail.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Cc: Oleksandr Kravchuk Subject: [oe] [meta-oe][PATCH] librelp: Pass Wno-error to compiler 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: , Sender: openembedded-devel-bounces@lists.openembedded.org Errors-To: openembedded-devel-bounces@lists.openembedded.org After autoconf-archive was upgraded to 2019.01.06 it started to add extra warning flags via WARN_CFLAGS along with -Werror which means that now compiler could be stricter and break the build if any of the new warnings are flagged The difference is old WARN_CFLAGS='-fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers' new WARN_CFLAGS='-fno-strict-aliasing -Wimplicit-function-declaration -Wold-style-definition -Wjump-misses-init -Wall -Wextra -Wundef -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Wmissing-noreturn -Winit-self -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wreturn-type -Wswitch-enum -Wswitch-default -Wduplicated-cond -Wduplicated-branches -Wlogical-op -Wrestrict -Wnull-dereference -Wdouble-promotion -pedantic -Wunused-parameter -Wmissing-field-initializers -Werror -Wno-suggest-attribute=format -Wunused-parameter -Wmissing-field-initializers' Hence we started seing build failure like https://errors.yoctoproject.org/Errors/Details/252684/ This fix just turns off warnings-as-errors so build can still go on, if we need to fix the warnings they still are present in log.do_compile Signed-off-by: Khem Raj Cc: Oleksandr Kravchuk Cc: Robert Yang --- meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb | 2 ++ 1 file changed, 2 insertions(+) -- 2.22.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/rsyslog/librelp_1.4.0.bb b/meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb index 9e57dd520d..16c63a7523 100644 --- a/meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb +++ b/meta-oe/recipes-extended/rsyslog/librelp_1.4.0.bb @@ -14,3 +14,5 @@ SRCREV = "e96443dda3c080fa991decec26bc4ac98d24b9a2" S = "${WORKDIR}/git" inherit autotools pkgconfig + +CPPFLAGS += "-Wno-error"