From patchwork Fri Apr 5 20:00:05 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 161895 Delivered-To: patch@linaro.org Received: by 2002:a02:c6d8:0:0:0:0:0 with SMTP id r24csp849960jan; Fri, 5 Apr 2019 13:00:15 -0700 (PDT) X-Google-Smtp-Source: APXvYqwzfIkYjlTyZ2Wh2bfmjJ5Y6OODan/9QaKnIOVM/FOEz7KpB4AAAVOlSnRCnbbxHff9uCgM X-Received: by 2002:a17:902:1621:: with SMTP id g30mr14729362plg.116.1554494414833; Fri, 05 Apr 2019 13:00:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554494414; cv=none; d=google.com; s=arc-20160816; b=x20PahaGQWSZvJjmgd3anRw2yIKeAOqiAUCo7wrVu/dlMK1b2QY0n28s7uZBIgjPcx fJCDWNKM9rFSWvqZYbQfjS/D0ZSYKUvoMZkkZAfn7NEGuujLhUfT6g1edrDuTd6Nzc3q 1NHK4SSlkc8osvnTIeJCLQEazwOyx+9A6PhiLntd4lquZaYzVmoW+ldYmuqOiGpwZiZ4 vJIrV1PZdPgJOpuIX4wheNZp64/uYoUg4fDLKry2XlWD6NtqxpKMBKMaXH/phjeQeIrd hIVWVBRHKol7rzsgDf0xe/HLFvz9qXJAElkRsMureSuopOdyJzNyLjVMqsi0Tbss222P 9byw== 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; bh=5J/O8dSsXoSedllrknqFDeFuqGZBbwAcyEEWOPUXzkw=; b=l/+epjdzRmZnCOyJzFXOmb6ZCD7mBOGrqexC8S8x4wT3uQhfUxqEavWiD/vec0Wt2n pEj+I+HkbcchNAtqNIlaBRn0UrFwHquLpX/G+31xkMVq7SuhbK5Hpp804G0uQyFAMLWz MPRqWrlnLxn1Hpr1ZKaed/iIzocFQTO3TrslfZ5FeWtArUAL94MBLfbSVIEyKVTvn2qR Z6yQqmSF7f5T76TZfO5FK6yTrl/bzjFAphn9L9qlMDnN41lkQf/2U7r4AKUDUGZ5cBZr +t+6TIApGq2YYPs9zmEGBfPg4MJl20U1TbW4cdajiAmk4b6B6O9VKijR3mFB4nYJcunB 7Huw== 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=qpVjmtdA; 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 d37si20157597pla.71.2019.04.05.13.00.13; Fri, 05 Apr 2019 13:00:14 -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=qpVjmtdA; 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 ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 080F87D653; Fri, 5 Apr 2019 20:00:10 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wr1-f48.google.com (mail-wr1-f48.google.com [209.85.221.48]) by mail.openembedded.org (Postfix) with ESMTP id 526B37D5BE for ; Fri, 5 Apr 2019 20:00:08 +0000 (UTC) Received: by mail-wr1-f48.google.com with SMTP id p10so9401365wrq.1 for ; Fri, 05 Apr 2019 13:00:09 -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=mSRLz6ijc7TjxFAwnTC1b2BHaKIKz1j6Ppklbr1RzeM=; b=qpVjmtdA9jVx75Ztb/OzyhNuAjFJr1sAxz7TPiu4VQCEVbP4QTlf5w7qNP4C1M5skn csz4rMDqC1MeuottmNhJiNphkfit1JNLisn26SYCCQzP+M1d9vqNxjrV8Lb79UkTkor2 t/t63SzmQFGO9fSr1gy5qpW99A5a+qT5iOx3Yrh0QdcpIk0vqRUWl8Gv0WkbrOo8R0S3 ojiaVFcZLwsCGijjwSGO0a7/elZCY3SBmoR3p0RhPedKxZwEjACnZDHkkOQsaYixPlQU Canyvp8be6QvvU6REeJjHWGPqrMv3JsT4gLPxCw0f+mLIiN9dAmwoIvjdgjB5NLEoVnB MC6A== 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=mSRLz6ijc7TjxFAwnTC1b2BHaKIKz1j6Ppklbr1RzeM=; b=PMktE1u1x2gqZ65SUKTZM3tMjkXsYINhOth341CnvvdcoeXGL8eeV9LGuPd5GyylGJ PgEZlfAh/JIW8xnVqvM1pINThMaLg+5zlg3tTH2EG2I7oRWTdy5WHSKV8Fdowf2EwYV6 2YmS6xAdKX83t3U28wg3H6+Q+RdisK/MEK1T3pvaRkrAMFh9dwUdjwmm8u6O8Shc+MaM XZWGuVQhDWpgqDCwKea1GOWEF8XcK7KtNyc44NfR0pUMes8iRxSDFaKFgRBw4dQFSwEl HBrS8CiwHfaEE8N5Y2FNSWwm5xghrpUB2SI2pjwER94NKLHhglYbLjoNl9TORcV5n6Ay 9zBQ== X-Gm-Message-State: APjAAAWQA7VHNTyvMevNYMedivBlg/kwFA7ihQD1vRfnM+OiBvlcSd3+ BqxirHuOqFue18AGN1e9dBE7+nD1WtA= X-Received: by 2002:adf:eed1:: with SMTP id a17mr9995224wrp.268.1554494408737; Fri, 05 Apr 2019 13:00:08 -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 r9sm20269665wrv.82.2019.04.05.13.00.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 05 Apr 2019 13:00:07 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Fri, 5 Apr 2019 21:00:05 +0100 Message-Id: <20190405200005.29748-1-ross.burton@intel.com> X-Mailer: git-send-email 2.11.0 Subject: [OE-core] [PATCH] sanity: clarify error message if TMPDIR moves 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 TMPDIR is moved the error message says "move it back or rebuild" but the obvious rebuild method of running 'bitbake [recipe]] -cclean' fails with the same error. Make it clear what we mean by adding "delete and". Signed-off-by: Ross Burton --- meta/classes/sanity.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index cab09214014..4cbb1f3a61f 100644 --- a/meta/classes/sanity.bbclass +++ b/meta/classes/sanity.bbclass @@ -876,7 +876,7 @@ def check_sanity_everybuild(status, d): with open(checkfile, "r") as f: saved_tmpdir = f.read().strip() if (saved_tmpdir != tmpdir): - status.addresult("Error, TMPDIR has changed location. You need to either move it back to %s or rebuild\n" % saved_tmpdir) + status.addresult("Error, TMPDIR has changed location. You need to either move it back to %s or delete it and rebuild\n" % saved_tmpdir) else: bb.utils.mkdirhier(tmpdir) # Remove setuid, setgid and sticky bits from TMPDIR