From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dan.rpsys.net ([93.97.175.187]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1R8HoD-0006CU-UD for openembedded-core@lists.openembedded.org; Mon, 26 Sep 2011 22:29:50 +0200 Received: from localhost (dan.rpsys.net [127.0.0.1]) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id p8QKUiMA012899 for ; Mon, 26 Sep 2011 21:30:45 +0100 X-Virus-Scanned: Debian amavisd-new at dan.rpsys.net Received: from dan.rpsys.net ([127.0.0.1]) by localhost (dan.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id maEuv5WMbfCi for ; Mon, 26 Sep 2011 21:30:44 +0100 (BST) Received: from [192.168.1.40] (tim [93.97.173.237]) (authenticated bits=0) by dan.rpsys.net (8.14.2/8.14.2/Debian-2build1) with ESMTP id p8QKUfee012885 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Mon, 26 Sep 2011 21:30:43 +0100 From: Richard Purdie To: openembedded-core Date: Mon, 26 Sep 2011 21:24:18 +0100 X-Mailer: Evolution 3.1.91- Message-ID: <1317068664.26109.95.camel@ted> Mime-Version: 1.0 Subject: [PATCH] insane: Promote most warnings into QA errors by default X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2011 20:29:50 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit We agreed a while back that we'd start ERRORing on QA issues, not just WARNING about them. This patch changes the default QA levels to error on everything except ldflag and useless rpath issues. It also stops giving out QA warnings about desktop files since it adds noise to the build and until someone plans to seriously tackle that problem, its pointless. We can promote the ldflag and rpath warnings too, when the issues in OE-Core are resolved (they're mostly there now, jsut a few more to go). Signed-off-by: Richard Purdie --- diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index addb9ac..62935c3 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -99,9 +99,9 @@ def package_qa_get_machine_dict(): } -WARN_QA ?= "dev-so rpaths debug-deps dev-deps debug-files arch la2 pkgconfig desktop la ldflags perms useless-rpaths" -ERROR_QA ?= "" -#ERROR_QA ?= "rpaths debug-deps dev-deps debug-files arch pkgconfig perms" +# Currently not being used by default "desktop" +WARN_QA ?= "ldflags useless-rpaths" +ERROR_QA ?= "dev-so rpaths debug-deps dev-deps debug-files arch la2 pkgconfig la perms" def package_qa_clean_path(path,d): """ Remove the common prefix from the path. In this case it is the TMPDIR"""