From patchwork Fri Jul 6 13:35:30 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 141321 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3124011ljj; Fri, 6 Jul 2018 06:35:39 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfSVnzAMDsiIGPNCftyVNCZ8BnCqGye7Cp4Jqqe5NRQHnD7J66iTQOQH+DK4tDY+pvl99wa X-Received: by 2002:a65:47cc:: with SMTP id f12-v6mr9448935pgs.173.1530884139262; Fri, 06 Jul 2018 06:35:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530884139; cv=none; d=google.com; s=arc-20160816; b=jPRS7t7Uu6tyl0zP14m/iOrJXSmFGLS/7cW7tUpHs2vTKPSHrhDW5aha/tgKUxRv1j oZDKPeOHcLrYx9eDsK5oFMf7Dvo0KKkM8/BtCd40uxFgvV8HpcyImcWs0GkPwyoa3HB+ v3vflZqLVzQXHN7A4AwOCT0H2yB2YOVl229r+Jk+lYEanZ43KnCW+1NPUQpQFoecmriS lc9JUqfNHdK3fSpelm0vFHQEUpnzJwOTn7RtN6Jy2wVQ7mAiOkvBk1ag71oTcJIzSwpL jWRYPzH+CjCy48RSacCLBzjftUTWLGjdP1BVwYBqUd7+SR8K37czNws+SV5DOqXVtN/j ZgLg== 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=GXPgvw6W1tTKLO4ErED5j0a7sfT+7dN9iKn22g4C2ys=; b=ttAhalhZ21KeF9Kvp/oTSPOMwwshcEjij+U/hEVaCY2hsyLhMxHVdQX2AURP/rXRH9 43hqkiAnfh9Tr5Hp7mINL5QbiDMgzM9b3nBIcc/U5MZiLG6Ct1N385v84dYrmAqYplE1 1sH6E5bQAf5TAvkjQ4VvxCJARa/Xv6azZ9LpDZMJKgwEGpY1ey2Dy1+wXgyBGAGV5NSf w99NJGNkfZIkboWUO61DLr+L60ZwWSzSJAHXZJ5Isro1KwcBZQCMR8fvTQ06T8esbo5R c8orskOFFG92ZZJWCktbtRWoNjSL32TvXSE9luxc0z8uD1cgnWDrldL0We2G7aGilGSu y/1w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=RmIIJFDO; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id w5-v6si8081322plq.112.2018.07.06.06.35.38; Fri, 06 Jul 2018 06:35:39 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-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=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=RmIIJFDO; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from layers.openembedded.org (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id C540278A84; Fri, 6 Jul 2018 13:35:34 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f66.google.com (mail-wr1-f66.google.com [209.85.221.66]) by mail.openembedded.org (Postfix) with ESMTP id 6948078A6F for ; Fri, 6 Jul 2018 13:35:32 +0000 (UTC) Received: by mail-wr1-f66.google.com with SMTP id h10-v6so4231831wre.6 for ; Fri, 06 Jul 2018 06:35:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id; bh=PaQOs+W4YB1WkusaEHkjEUVBGatq3XB99q7RAnMfLGI=; b=RmIIJFDOchr3bi7FnJl5yrWxKRbjs03ey7L26RIu2XcqIQquIKVHHcBXCA4zQLuwGx Q5/XQfVSI1BNqMitf7wd2vZAO1+s6E9Q5JOTUgoq/r2d+F1NmNFN73NHih1l+ekdDVEA LPrcla0mVeKWBg89WBAaD0mje2xa1WNB3xkOyIDyyPBELDmCne8jcLHR6whcCB2x3FhB +adVMZfNVqNciOkvudz9Hds8lKlN0w+WgX65r5dnYaXZDOPoqBZf7QhDi5fzBI8Agymt SIGa3naA3MlF27cVHHcdN70WA11QB9G/i2DIAO4mhG0lsitjfaH+kmH6hluSfAGHqSCc A1Eg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id; bh=PaQOs+W4YB1WkusaEHkjEUVBGatq3XB99q7RAnMfLGI=; b=TEpsB5mOZQGEoKfCWSq3DLkwXeqPCOZ2SUHAARuoCYmlbgj9STDs2F0SsUySBKW2tl due0Itkgo8Aq80Xc3CkzKIeX53v0IdbpXd5bx6uyoWpJLkaFs0WxAZZXpAYgVV+jJ/rJ RgKpx8izapkrBLFvPZCs32K7iIEnYSTpqo2BUxbSlwI4H35ORmyG/J+LxM830kwZbh/M SuzoWLcqZO9AMu9vK6uTC8JTfoWAPLIMSw0y9swhjW3+7DAHpR9Oo3aC+pb9/NMqt9qQ 82D5skzXmKtZI4eEv5cNAmzr1AXkWPF8AQva+tkX8F67T3j1dhOeQK2JoG9tAkGw3ZKO dVxg== X-Gm-Message-State: APt69E3Vl5WVRGUVMty/t+lxpbeNhv9SPsHV+2zo/afagmv6yeKmEJjl GUVd4ZKCfgGMEJBCCwZYoayN9+m4 X-Received: by 2002:adf:b0d0:: with SMTP id j16-v6mr7183805wra.3.1530884133460; Fri, 06 Jul 2018 06:35:33 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id h8-v6sm6137355wmb.32.2018.07.06.06.35.31 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jul 2018 06:35:32 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 6 Jul 2018 14:35:30 +0100 Message-Id: <20180706133530.19524-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] meson: send user to our wiki instead of Meson bug system X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org If a CPU family isn't recognised the first step should be to verify the mapping. Send the user to a wiki page explaining what to do, instead of directly to the Meson bug tracker. Signed-off-by: Ross Burton --- meta/recipes-devtools/meson/meson/validate-cpu.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/meson/meson/validate-cpu.patch b/meta/recipes-devtools/meson/meson/validate-cpu.patch index 8bdb204ab04..e7dad00d47c 100644 --- a/meta/recipes-devtools/meson/meson/validate-cpu.patch +++ b/meta/recipes-devtools/meson/meson/validate-cpu.patch @@ -100,7 +100,7 @@ index 091d92dc..67177c1f 100644 if trial not in known_cpu_families: - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) -+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % trial) ++ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % trial) return trial @@ -109,7 +109,7 @@ index 091d92dc..67177c1f 100644 if entry == 'cpu_family' and res not in known_cpu_families: - mlog.warning('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) -+ raise EnvironmentException('Unknown CPU family %s, please report this at https://github.com/mesonbuild/meson/issues/new' % value) ++ raise EnvironmentException('Unknown CPU family %s, see https://wiki.yoctoproject.org/wiki/Meson/UnknownCPU for directions.' % value) if self.ok_type(res): self.config[s][entry] = res