Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp719976pxb; Thu, 9 Sep 2021 10:24:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwIpny+GdobvfXrY/lOM8nsDi1IkgpyY5aLye0iVgakYDdhGbGNE4SsW1dZTjAHKjH6Fl7 X-Received: by 2002:a92:c145:: with SMTP id b5mr2988599ilh.203.1631208256882; Thu, 09 Sep 2021 10:24:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1631208256; cv=none; d=google.com; s=arc-20160816; b=mo92JFouiBpzBrSyQlQzKM1Ipwo3/AgnfhBuSed7POlmKH6O21CuggNPFl7Pcxs9Rj Hhn7ljdB+o932w+Uns3yJ9Qy4WGBGlM5ZrZ7FuTHlJ0Lvd//lR7onRh9spoCmiNxhPf7 H06lAIhvryV0cjp7DasETDrwz+pCnlQAPo46v4witvU58BqhKwxBJsBWB5uzWKxKz+cS kBYnsls0/wt9vVP7U+1luKWhs8DNHPOysQ/GR7sktXfdvDMB0ekx9ubkbt7XnuvEifkE xH/cdOxY23dhMZRVEhe5xkgbNQwwkM5IyEfhiSv0mVs4VQ/CtiDZj7ZgoJ9x/UElv4aX 0f1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=pf0sRl8GXCP8dz4WMUu5tGxz1KupPTUSRLTXOLgH9SU=; b=CpQ+d7UNIrECCfW1V2JruFz/dDEL2ae4VRb+ICOEXAbvGVP/JJglBWWvc9RXNBUC+f eFmdlYUydvMnc3MTSa+zbX3Au5VYOKkEklbuRBOCME1tdYd5/g5++C6Wd8GKixuH35Pf FfsaYNjI0FjRXqqQkqpg0Nwtd+Hbm71k1BaIQkpDvO4PHXn2Kye1xfnkWgFXL2FqeFVl xvS1/Bpj/tUNwcv8aAgIeIk65A/N9xt4/4xRkOqsxX40dc2iKW/0GU/d3e5mxbNW+sh0 RbG9dWznt8/C30GjVe5viSBV3Wyep08qHC70/0m7VWmnOLk3X15Zu/ggsvr/wjmf8lpB Y3xQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=daKTLDBv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h33si2508384jav.17.2021.09.09.10.24.00; Thu, 09 Sep 2021 10:24:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=daKTLDBv; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240976AbhIIRXt (ORCPT + 99 others); Thu, 9 Sep 2021 13:23:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240761AbhIIRXs (ORCPT ); Thu, 9 Sep 2021 13:23:48 -0400 Received: from mail-lf1-x12f.google.com (mail-lf1-x12f.google.com [IPv6:2a00:1450:4864:20::12f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EF619C061756 for ; Thu, 9 Sep 2021 10:22:38 -0700 (PDT) Received: by mail-lf1-x12f.google.com with SMTP id h16so5107910lfk.10 for ; Thu, 09 Sep 2021 10:22:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=pf0sRl8GXCP8dz4WMUu5tGxz1KupPTUSRLTXOLgH9SU=; b=daKTLDBvTN5qMOW0vOaEkHQg4/ZsrtihPsz6YVNP0kYXHwUiYsbXYMn5llV712jFEs ZOfDTsSc3X+W8b0ARaG41CZ7yM1F4kQJvfjfPIynsgelm+Qi2jJbS+UKD93oh9dHk54v /Ce0lj2gwvzaRE2LZQM69aFFd/Y9x7Rfpgy5s3lL+R6HZ0LH71fmVYi7K5RNPEP1Cmgk Gb1avWRyW13ODPiwB4R586e12yqY1QSBx7BLX8EC03SQeKvOLtV4+yE3anQK+R5cVENa m0OxekpciEuc3h395jhA1GSXpVRhKd+XqjHVggplMObVpgKpn/cvVA45k81c9iHt62sr T+9w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=pf0sRl8GXCP8dz4WMUu5tGxz1KupPTUSRLTXOLgH9SU=; b=twKiyaYlenOQUuN/+p58r45S/VvqQGboahc8iCgR1obRpB8wLA3i2QzPlPxE/sLQ2T /Ju9XoOKRbhnX7DPqMa0TRgVIacBk328dTNi+de6ZLMbSAaTRoIw/Nics0wQq0SYnQQr nUjUkAIMj2OQUoOsi5/ItpWiHvcTkqFiQ20ifojKIhOX5blbypn2R0zZa+mte2XVCFn9 6FJAYHmw4Ni8G5v0gAkIhpNML4r+jS2fUo4VV6d0QbcjJ1JqjVHLNh4gpG2j0hcqaC/K MlIAakTtta3EtiLuhgW1Qn0rWC/DlZIz74/Su8T6MH8loC3NyOKK+kYSAncCWx/MbcLJ 2rCw== X-Gm-Message-State: AOAM532NIgdQXYszGhJAqt4t3N+CKfKRz4Bgmu8ch9mPOHZAsxA3vENe Nu7f4Gr8V6EE0EC5d0Pl/UFiP08gOopgn5vO64TiOw== X-Received: by 2002:a05:6512:139c:: with SMTP id p28mr649503lfa.523.1631208157162; Thu, 09 Sep 2021 10:22:37 -0700 (PDT) MIME-Version: 1.0 References: <20210908032847.18683-1-kortanzh@gmail.com> In-Reply-To: <20210908032847.18683-1-kortanzh@gmail.com> From: Nick Desaulniers Date: Thu, 9 Sep 2021 10:22:26 -0700 Message-ID: Subject: Re: [PATCH v2] gen_compile_commands: fix missing 'sys' package To: Kortan Cc: nathan@kernel.org, masahiroy@kernel.org, linux-kbuild@vger.kernel.org, llvm@lists.linux.dev, clang-built-linux@googlegroups.com, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Sep 7, 2021 at 8:30 PM Kortan wrote: > > We need to import the 'sys' package since the script has called > sys.exit() method. > > Signed-off-by: Kortan I'm quite sure I've run this script before; how have we not noticed such an issue before? > --- > Changes v1 -> v2: > * Fix commit title. > * Improve commit message. > > scripts/clang-tools/gen_compile_commands.py | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/scripts/clang-tools/gen_compile_commands.py b/scripts/clang-tools/gen_compile_commands.py > index 0033eedce003..1d1bde1fd45e 100755 > --- a/scripts/clang-tools/gen_compile_commands.py > +++ b/scripts/clang-tools/gen_compile_commands.py > @@ -13,6 +13,7 @@ import logging > import os > import re > import subprocess > +import sys > > _DEFAULT_OUTPUT = 'compile_commands.json' > _DEFAULT_LOG_LEVEL = 'WARNING' > -- > 2.33.0 > > -- > You received this message because you are subscribed to the Google Groups "Clang Built Linux" group. > To unsubscribe from this group and stop receiving emails from it, send an email to clang-built-linux+unsubscribe@googlegroups.com. > To view this discussion on the web visit https://groups.google.com/d/msgid/clang-built-linux/20210908032847.18683-1-kortanzh%40gmail.com. -- Thanks, ~Nick Desaulniers