Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp711986rwr; Thu, 20 Apr 2023 05:36:29 -0700 (PDT) X-Google-Smtp-Source: AKy350Y1xc3B+/jgIKlqVxHNMzddQhLdwNFoeU6A82n/miGzWW27zG/Bq4kGR2yGU3nGGBLTeOdH X-Received: by 2002:a17:902:ced0:b0:19f:1f0a:97f1 with SMTP id d16-20020a170902ced000b0019f1f0a97f1mr1599677plg.30.1681994189605; Thu, 20 Apr 2023 05:36:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681994189; cv=none; d=google.com; s=arc-20160816; b=Nfm2t+wdiyD/2qBEkRRT6ijB78lkS32Og443BXajiBayXLV11vl0r3kTwSEE7ozzjE JLC6YT679FuHiNfUJvBHNEwCGqlqMgfO4Oz8WJJlH6tQjLMSW35wNeWPjNpiA2ihdG3b 9iB+lZmIDRjQKRXN8CKOlaE/omHwtHuWKvBjysmdpV/BM3hhU886iJHB+h9JC9XrB139 dppnNWl/3MQa5sm7ROK1P4fxGpCnAGGvMS5TVkpYYV4efSGNVWRTDhrOydeb3ULESgD7 YVhE1piy25+d8h4trrG6W+JeHi7/K0s7kAH3AVVT/qP+8+xm5dQ3jBfJGMAY+zD855t2 WIRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=+neCSxV7W9LCbnRLMeZMwgJAisDa5ioS+iL0LElqtJE=; b=RHtRPVLYlvqgz6glFyeiQOhuR36GdYSjmZ5eVV0yvtDQZta0SsbXNDm4aR0aeog6nC NjRoUgn/Il4BhMwKmh5UpG4V+jgl9kVIi0mTGtgC5owOFW7a8WqXZCylgySm8S5893J5 wCUpXnbXXzebmAbb5D3lfjgc0Z18OHv4MO+C2HVKdh7GfGEJf+mbC6aWr8/wtzIRXMY+ bWc0lcyiSOx4uGXRjYa/0zbLUsLvpVfu0CEpsLBktcx5Fl1XHpWNIiyuB8m4+BmyVT57 Tyt89/Ll2elQCZ2k4/SU/eWNYvLj934WMNWKFMLYzi6WXMHRyRnhqHhwDN/j95efbSk6 TS7w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vzxxm55d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d4-20020a170902654400b001a6919158cbsi1570911pln.167.2023.04.20.05.36.12; Thu, 20 Apr 2023 05:36:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Vzxxm55d; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234956AbjDTMc6 (ORCPT + 99 others); Thu, 20 Apr 2023 08:32:58 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234406AbjDTMcv (ORCPT ); Thu, 20 Apr 2023 08:32:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BF0B4524E; Thu, 20 Apr 2023 05:32:36 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 5A02C64894; Thu, 20 Apr 2023 12:32:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B9E6CC4339E; Thu, 20 Apr 2023 12:32:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1681993955; bh=tiIf8xShGMy5YmQneQeNGTSNOauc/Dske3qGt5FpTP8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Vzxxm55d5jmtbIy6WA0A45FLM7DahIZxqJBvueyagQFyvrLEV2pkEnZkxH35Y0fCo 6bHPbmmDQ/JD3oMAVf0gjV48M69Y7KcKjRiWFPkAywT/tnyrSx++XuWS/P52Qq5tVV nAc2wnUglj++kKNQI1+RtpkF2RgE2FcTwb0WtkO9LdDrJRLNM+0OaUtSFOYaO8SOtu OxCBGjKyNM6AK49yWhpYZusTkONaVNKRggUUdr1rLBKIbSu9DrgB7ZH6Bqvpwh5PTx OSjIM3kaiE2rQeBiaJvEIB0WVaKYTOnrkoDm/m7nKNq6X7o8Ffy3UhjDdt7fNZ+ZGd yNbUaR7Sq8LJg== Received: by mail-ot1-f53.google.com with SMTP id 46e09a7af769-6a604259983so712856a34.2; Thu, 20 Apr 2023 05:32:35 -0700 (PDT) X-Gm-Message-State: AAQBX9foOiH2nGld91bqQBbW6SLPGfDtyekWlQQGmqFuKToOYYMHuCDA C7IEATYSsl48PzbwOCg99uIcmX31s1m8AaA+XdY= X-Received: by 2002:a05:6870:e40b:b0:184:5608:eb2d with SMTP id n11-20020a056870e40b00b001845608eb2dmr860331oag.21.1681993955041; Thu, 20 Apr 2023 05:32:35 -0700 (PDT) MIME-Version: 1.0 References: <20230407101629.1298051-1-masahiroy@kernel.org> <20230407101629.1298051-3-masahiroy@kernel.org> <20230407181223.GD1018455@dev-arch.thelio-3990X> <20230420091903.GB4423@unreal> In-Reply-To: <20230420091903.GB4423@unreal> From: Masahiro Yamada Date: Thu, 20 Apr 2023 21:31:58 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 3/3] kbuild: do not create intermediate *.tar for tar packages To: Leon Romanovsky Cc: Nathan Chancellor , Nicolas Schier , Tariq Toukan , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers , Nick Terrell , dalevi@nvidia.com, Gal Pressman , Saeed Mahameed , Tariq Toukan , Linus Torvalds Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 20, 2023 at 6:19=E2=80=AFPM Leon Romanovsky w= rote: > > On Thu, Apr 20, 2023 at 11:06:06AM +0200, Nicolas Schier wrote: > > On Thu, Apr 20, 2023 at 11:54:34AM +0300, Tariq Toukan wrote: > > > > > > > > > On 07/04/2023 21:12, Nathan Chancellor wrote: > > > > On Fri, Apr 07, 2023 at 07:16:29PM +0900, Masahiro Yamada wrote: > > > > > Commit 05e96e96a315 ("kbuild: use git-archive for source package > > > > > creation") split the compression as a separate step to factor out > > > > > the common build rules. > > > > > > > > > > With the previous commit, we got back to the situation where > > > > > compressed source tarballs are created by a single rule. > > > > > There is no reason to keep the separate compression rules. > > > > > > > > > > Generate the comressed tar packages directly. > > > > > > > > > > Signed-off-by: Masahiro Yamada > > > > > > > > Reviewed-by: Nathan Chancellor > > > > > > > > > > Hi, > > > > > > We started seeing the failure below in rc7. > > > We narrowed it down to your patches: > > > > > > 3c65a2704cdd kbuild: do not create intermediate *.tar for tar package= s > > > f8d94c4e403c kbuild: do not create intermediate *.tar for source tarb= alls > > > f6d8283549bc kbuild: merge cmd_archive_linux and cmd_archive_perf Strictly speaking, these are not bugs, but gave a bad user experience. (build slowness and extra disk space consumed). I got a complaint about the intermediate *.tar file. https://lore.kernel.org/linux-kbuild/20230406152540.8207-1-youling257@gmail= .com/ I noticed fixing it was not difficult, so I merged. (but, apparently I introduced another regression, sorry about that) > > > aa7d233f45b4 kbuild: give up untracked files for source package build= s > > <...> > > > > RPM build errors: > > > Bad exit status from /var/tmp/rpm-tmp.yDFEga (%prep) > > > make[1]: *** [scripts/Makefile.package:69: rpm-pkg] Error 1 > > > make: *** [Makefile:1656: rpm-pkg] Error 2 > > > > Thanks for the report. It should/will be fixed with > > https://lore.kernel.org/linux-kbuild/20230419170424.78688-1-masahiroy@k= ernel.org/ > > Thanks for the prompt response. > > I have a general question, why commits listed by Tariq were not delayed t= o merge window? > > Only one of them has Fixes line, but even that patch doesn't talk about > error, but code refactoring "To simplify the code, ...". > > Thanks > > > > > Kind regards, > > Nicolas --=20 Best Regards Masahiro Yamada