Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp499956rwr; Thu, 20 Apr 2023 02:21:59 -0700 (PDT) X-Google-Smtp-Source: AKy350Z6/5DWssDo92RJlo3GFiJ+S5oKVNfQqHR+4aFquihb189UBy6smQnIHHAoOX70OF6KeaSi X-Received: by 2002:a05:6a00:986:b0:63d:33c9:aec4 with SMTP id u6-20020a056a00098600b0063d33c9aec4mr869610pfg.10.1681982519396; Thu, 20 Apr 2023 02:21:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681982519; cv=none; d=google.com; s=arc-20160816; b=nPDiMAhkRsDRWCAl/AF5bsERDuKewsNe4gcBxuihioNDZQVqbjAtEEHFnf0eGzPE1U KyDxr/NfUL2j90IEqOluaXJz1zCnG+LhXmHY9B12Xz2R8oatY1lWf61JwJ+whLkfjnp4 f80e98lJbvA5m8EFhPaiLgO7JtPqCXI8a8ikw0RYxyJTGUNEt5wcPEwblAyjYydhI2e5 nMkJI6aR6ShadKI6xMIcL65ov2oxCpEyxvuRh0g2Xc0ndwV5fHyRqtO93vNDvD7mGjFn 1MbriY7fnxBJ1HHYHxdgxP/8dq2YF6A6UmcFEpAniZ6ylAUP6pEJjpgZyp8O5JZnXg9G ZwrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=Q8eBEDtPUEVlD/ElkxBAMsHg5j06OaZaHjsxrBkGphk=; b=DyVYXfnG85I7B1c4Vbm3DVHVrGUim9z/o99K40uTABKqvaKyIFnvhcMZv3708MTobT 0ZrJFN9AuWgwhCtqEgmCptimZM6d9bCmvFvPIHErzH6KeO2/jlVRiSEJmoRlhZWFyi7A sEsSgqTb69AKS++3hqK5t290LADE7gTcLDA7TtEcTDixXMSgq+6rKlRhSkFMJL6TXLU0 YUXdZ5utXPOcn4TIU4h7ZckYJCYbqSV2W1iPP7xEpXoewI0N8tHkrR7JrDlKUjAWLGS7 6cN76GNwwdF7fSkNVeTJG+nIFjKsZZkqbTSW6fKOPAC4Z4GmRoozMUH1g/KoXOMCT4Rn k1/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@avm.de header.s=mail header.b="L/CMoPzV"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 67-20020a620546000000b0063d2d7e2b39si1186344pff.68.2023.04.20.02.21.46; Thu, 20 Apr 2023 02:21:59 -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=@avm.de header.s=mail header.b="L/CMoPzV"; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=avm.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233975AbjDTJQ2 (ORCPT + 99 others); Thu, 20 Apr 2023 05:16:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37028 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229913AbjDTJQ1 (ORCPT ); Thu, 20 Apr 2023 05:16:27 -0400 X-Greylist: delayed 62 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Thu, 20 Apr 2023 02:16:25 PDT Received: from mail.avm.de (mail.avm.de [212.42.244.94]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB6D699; Thu, 20 Apr 2023 02:16:24 -0700 (PDT) Received: from mail-auth.avm.de (dovecot-mx-01.avm.de [212.42.244.71]) by mail.avm.de (Postfix) with ESMTPS; Thu, 20 Apr 2023 11:06:06 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=avm.de; s=mail; t=1681981567; bh=mlTANCmDo+Jtpjnm59UD3LG84AZcxPMr8iGEO/CopDE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=L/CMoPzVCko6Z7jL3zNK7X/zn69XihFFHdr8E6bxN5EFgn+e5qdPVEQQtPkE68NBf EJeijtER7j+ccuefD9qLacG7IqV1Vn+Pq14DVXkn1w6TBZKhlS93Mpl2YxGUBBqi4r HDRUAYcQa59N2HLweFMt0jRqYDH3ITa1Byke0IGw= Received: from buildd.core.avm.de (buildd-sv-01.avm.de [172.16.0.225]) by mail-auth.avm.de (Postfix) with ESMTPA id DCC3482294; Thu, 20 Apr 2023 11:06:06 +0200 (CEST) Received: by buildd.core.avm.de (Postfix, from userid 1000) id CE72A180E99; Thu, 20 Apr 2023 11:06:06 +0200 (CEST) Date: Thu, 20 Apr 2023 11:06:06 +0200 From: Nicolas Schier To: Tariq Toukan Cc: Nathan Chancellor , Masahiro Yamada , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, Nick Desaulniers , Nick Terrell , dalevi@nvidia.com, Gal Pressman , Leon Romanovsky , Saeed Mahameed , Tariq Toukan Subject: Re: [PATCH 3/3] kbuild: do not create intermediate *.tar for tar packages Message-ID: References: <20230407101629.1298051-1-masahiroy@kernel.org> <20230407101629.1298051-3-masahiroy@kernel.org> <20230407181223.GD1018455@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-purgate-ID: 149429::1681981566-B3FD5C00-30EE84B8/0/0 X-purgate-type: clean X-purgate-size: 2621 X-purgate-Ad: Categorized by eleven eXpurgate (R) http://www.eleven.de X-purgate: This mail is considered clean (visit http://www.eleven.de for further information) X-purgate: clean X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, 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 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 packages > f8d94++c4e403c kbuild: do not create intermediate *.tar for source tarballs > f6d8283549bc kbuild: merge cmd_archive_linux and cmd_archive_perf > aa7d233f45b4 kbuild: give up untracked files for source package builds > > Can you please take a look and advise? > > Regards, > Tariq > > [root@c-237-113-200-203 linux]# make -j24 rpm-pkg > sh ./scripts/package/mkspec >./kernel.spec > rpmbuild --target x86_64-linux -bs kernel.spec \ > --define='_smp_mflags %{nil}' --define='_sourcedir rpmbuild/SOURCES' > --define='_srcrpmdir .' > Building target platforms: x86_64-linux > Building for target x86_64-linux > Wrote: ./kernel-6.3.0_rc7+-1.src.rpm > rpmbuild --target x86_64-linux -rb kernel-6.3.0_rc7+-1.src.rpm \ > --define='_smp_mflags %{nil}' > Installing kernel-6.3.0_rc7+-1.src.rpm > Building target platforms: x86_64-linux > Building for target x86_64-linux > Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.yDFEga > + umask 022 > + cd /root/rpmbuild/BUILD > + cd /root/rpmbuild/BUILD > + rm -rf linux > + /usr/bin/gzip -dc /root/rpmbuild/SOURCES/linux.tar.gz > + /usr/bin/tar -xof - > + STATUS=0 > + '[' 0 -ne 0 ']' > + cd linux > /var/tmp/rpm-tmp.yDFEga: line 37: cd: linux: No such file or directory > error: Bad exit status from /var/tmp/rpm-tmp.yDFEga (%prep) > > > 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@kernel.org/ Kind regards, Nicolas