From patchwork Fri Jul 6 14:51:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 141332 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp3203210ljj; Fri, 6 Jul 2018 07:51:27 -0700 (PDT) X-Google-Smtp-Source: AAOMgpd5WgPnrqRYR+2VVPyCEimohXTknQ5UnFi96I55kGtlTe5SMqos9Br+KuHAxlTCWl7iKy7+ X-Received: by 2002:a17:902:530a:: with SMTP id b10-v6mr10824399pli.316.1530888687393; Fri, 06 Jul 2018 07:51:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530888687; cv=none; d=google.com; s=arc-20160816; b=zxP5UgP9cu3675D8yvN8qoRT2TAyp7j5k8q3R5LC3zh48xEts72cIYzfcxlfetCyAd SQet9WnAtcq7JTzQEHhp81VOkWpukpLVBm1XD0U9nrZ1wifuoNactwtayyfSXMOJ3AHy kv5yv8S/Qzv3mYfI+GhX6bNwdEXsQevCBzNyBYQRiSW57S6+C0DtjWmx+e992GpTB3Fm uSIJos5Q1YyaA5vCWIGETh6Tx7QTCjSxDW0/MbBbX1Yfl0lsKEWKMc1SB7sWSZZyzzr3 6JhJXQFGUZHM0xwNtqSWQJ+LHp1amZny/naKK2zb77OD1DGNhNj8oEsHcd6CpwB05pqY Dj0g== 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=w6zADxk58w+T7arzrdeCtY2KK/W6MTmh3/VD6wfjtDYrtVJWcaMwIrR5K9JNlxizbr tjelbHZYut3CxCqypZYyf+qyKqwvLtyg10TLDieV0T+e3W6mM6f8GAd8L+ruXGeKe0p+ jo8OjO3HxhoOKktffECCMdJ7mFDNjvzqSC47FEYT78tbgrWQh4ZSX6k5JgF4kYH/15dN DDi4DwGmj+m2MfgYGSr44Sphg3YsSyWjTFoOaNKTHFAVGSnW+TcfEsMZyLs27uTkm1iS ekECiZtSdSsMyeR0MBZonhtU3VstTRcqy8kGtKMDu1cIQCt/Z6kMkOvNsCTFPwMQKAEj XFFA== 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=ACVwf4VM; 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 d36-v6si8435608pla.484.2018.07.06.07.51.26; Fri, 06 Jul 2018 07:51:27 -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=ACVwf4VM; 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 DAE1978B57; Fri, 6 Jul 2018 14:51:21 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by mail.openembedded.org (Postfix) with ESMTP id 90D2478B4F for ; Fri, 6 Jul 2018 14:51:19 +0000 (UTC) Received: by mail-wm0-f65.google.com with SMTP id s14-v6so14766407wmc.1 for ; Fri, 06 Jul 2018 07:51:20 -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=ACVwf4VMh93vKthHa5KsYnm4LJmsoNM0kOvjGsQomFYebcqX18EnDRwKyjTLfn5kLW Nquc0f83mRlW8FhgFiZ532iNlQqTLJDPXtlaFB1oGZFNxGs5YJWQevj72oV6765KZ50n N+nxsAIhuIqH4jgKDjGppeACU9Ifl1a/4YBb7uheIi6e2AK9CJzlLZSKTKjAAGs4LdI8 0tOqFmJSOm+dpEA2UeV90sB/jM3by6bStpdmJrh/F4zA2rLc79xjT0JqU+nkVdbllXlv O9SVBiNb/sNsRtueMQayOflUn4FayEz/X9nYA13M6qvehBZY/PO4m6ADZUTDC1Py1JXc tp9g== 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=VHgBxL7VFVDPFE1m7TZxGwj+JjDeSFQj875YuDghx++8ly4kyPpUdkdeSm5xWabEFJ Pshyfc127xamYvfurBxiw13F4eWYJj8mfGxUY20Tw5JNzk1bCZmeYcBgPoyMFb6ZlgiN FOtmJs219Cb39KL/dJvQx6yT2GXYhJU15LBrET3MBz1zRemAcYBgBIZLZ0+Y0znTddLB JuCUHVHXbQHFdB6K6fL+vcVkxOIXTlP6HxMQehZlI3p9pTtwBazcjo7espW2d3bE6aF/ 6HX5/6dIVXrnCGE9ayCNzLa9cyECTQShoZP7wFUvDNssI1DH0TAv0RcFexh/uhDMheoD 5yAQ== X-Gm-Message-State: APt69E3wpK3DOquGC3pMwLAa+3zhLLWNfMeNTwvsOLjqWNh6DCVo3yUX D+Ttmty1naj1IyKFOOeeJJ6MBVTK X-Received: by 2002:a1c:a341:: with SMTP id m62-v6mr7621606wme.3.1530888680006; Fri, 06 Jul 2018 07:51:20 -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 72-v6sm3321672wmh.0.2018.07.06.07.51.18 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Jul 2018 07:51:19 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 6 Jul 2018 15:51:15 +0100 Message-Id: <20180706145116.30481-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH 1/2] 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