From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 91FDE35A93D for ; Fri, 13 Feb 2026 14:11:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=170.10.129.124 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770991910; cv=none; b=mPfINuc3LSYViJjR5wjqEBJfKQw345mifIl1i3ls8w8o+77cy7l2XprJ0n/GP2PC3ThsDL+9fjmgG723KQ9a4qFTFE2jxr5kVae2ZfpJlyxC72RWYuy/Q+7R3S6inVDODxdPRoJ6Bk/dknffNMunx1iA3Va5TuVAbjHSFLiB0Y4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1770991910; c=relaxed/simple; bh=6cLnfUZAs+yk7KbeeS6F+Pq5kNHB19xTX2baVXfcN5o=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=olZIE6Wb3ibxOK5Iw409mqnXpZg1DT/5HKi/inN9/WqDsf2OcVZGFRyRx7XXPhPcCtN6AJKbCiIuV1IwtQ4JH0gaHJah9vMkDoaiM0G2xKBYcxagrbpGxUuZy8iRFNcsz+PUzcO+f4s0gseQSbB+6R8vVeVNTCNNpTc6pcv5IyU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com; spf=pass smtp.mailfrom=redhat.com; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b=XQ7qIbOH; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=I8rC6LkC; arc=none smtp.client-ip=170.10.129.124 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=redhat.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=redhat.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="XQ7qIbOH"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="I8rC6LkC" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1770991908; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ii0g1jv8fE87XK8ACC94JMMkpOuPMvHxDIekJymNWR4=; b=XQ7qIbOHGc94J7o5FmHuWloBlj6M/4cyo5LnePgwTpWtZ+3HBnDHrnW3ParLZ7Rf3Wqrbk 0mjmPEmZE5cibe+zaRKm1yVxqn78x0SshCk5GGHnWX5F8fOjyF3BQONaAUfs1a2hXfNX4r MYcMBLP9oMPDanMg9zysb7LGMH2dX0M= Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-149-59P285YdNc2_uOPnxGDxCw-1; Fri, 13 Feb 2026 09:11:47 -0500 X-MC-Unique: 59P285YdNc2_uOPnxGDxCw-1 X-Mimecast-MFC-AGG-ID: 59P285YdNc2_uOPnxGDxCw_1770991906 Received: by mail-wr1-f71.google.com with SMTP id ffacd0b85a97d-437159d3ff2so1138536f8f.1 for ; Fri, 13 Feb 2026 06:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1770991906; x=1771596706; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=ii0g1jv8fE87XK8ACC94JMMkpOuPMvHxDIekJymNWR4=; b=I8rC6LkC2sPSgHkgqIFQhe+yBWyn37Nj3Hkgm4CqNIvsDOL9qgjFSlXmYBH2083YEw ZnWR15jrT5CDG34pfPZEvvw5xArWEtO3yjg01sBUP1tGeakO7OIjGRfXchyrSVu4kx+c ogwx/SIiv2Im1FDC4eRcfvcIf47Tg9GEI117saJAd5TX0ELXNFq1+qYkhgMwzUHPTh5P ulpysba4Vnbi6+VEH5wGIfo/axR64P0yld0lXoVniZVVCfxK1HjyDGfCpbru/wLTZCdx CNIeZND4yZtQgtVQj6JUQamrsm3leS34yqoTD5u8KgFUj9u72T3sTAwCCPHmP8vsmRSB KOng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1770991906; x=1771596706; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ii0g1jv8fE87XK8ACC94JMMkpOuPMvHxDIekJymNWR4=; b=BVgeGRJ+4Hsioq/OwxhE+qKR10SyyoMrQdLrcadzNusAh7dL1pNv9ruVQHumO03XZv +/enFfFzCZOzazjMMKiirnQ1+twu91Hl1WU4KblUXaDWutCypLGwL0EWGfmI/9IOFEHA xpB6/UARF86loRega2dpRo9ilosltFSCpg31uzp5tvguvAViwWldWCjT2IezVM/Ue1Gy pQIxwcIY2ZHhvABCwhScbPAjWJDDwOqAgxq8/VxPFeYR9UDAYYpESfBe8g2zwdQdvP55 hapSou3XBEif45k7QSG0uKKfcHUDR+fA6GqO0OA2ROHVxmJnA2MT2RUL3RKdf4Uib+Zp o5pQ== X-Forwarded-Encrypted: i=1; AJvYcCWVFDkVDzjCmvoVmrrge3DSlw6krXix3hewfn6k2iwwCzuOinQ+LxEOdETHK7MrQWoWtjlNRF1LDuKnzZ0=@vger.kernel.org X-Gm-Message-State: AOJu0YzBFPZoezwRblLkyw5rEFKPhvOSCm0NyoJUoESlxgNWqJtdpXqo zRb4UNtB+L7bIWKn9XxKqzFSGYdnsIKKCvMgxwRjMA8st2p8+9nfsZmF4lXptJ/qWPoEXqXHVc6 i1EvehT7kdvKVoaqhlK6IeMcqqrcQWrHowPY6A6C+9LC0tqL7z3E57xPiRCw/m27f3w== X-Gm-Gg: AZuq6aLw7j7ZjBk5ZBXVl8HIantbQ2xLeGunrgep8qNmFDIY5ptaas60HPPOxZEiqec ZmmdvJFujHCg+JO2ka43+N60RcvsBzAMWIq0A5muvmx99gGjpE82b9t7ZvsPGQzbm4/7sn7pG5w gDFPTToPhcYqSZePFM0OuvXaicUXo6515mU/gbn1mnNm0FGlw1ffQASrCYri99Pqcn1gXpauaeG p6i032Z3aSF1q1mOdHc4nY3XpVCRMNJCXEfHVKklXZ+PAeRLvRz/Hx8BpGj/84rLcuij+PXPW2e vTtCuXiRHo1RXOt2Ec6UtlT8Uj3dFriwVRu+M/Y8jDqnnBB3AulfngO+IJgHUfZfzhSKlP37tRi KC8U+LF/8J8QmczzS6F3beaDGPYPkxkW5Im4hwcQRBnCFSAe+b5+AmhId8nSlxLrQ0kD9sVM= X-Received: by 2002:a05:6000:220d:b0:436:d824:620b with SMTP id ffacd0b85a97d-43796aefa84mr4107126f8f.39.1770991905726; Fri, 13 Feb 2026 06:11:45 -0800 (PST) X-Received: by 2002:a05:6000:220d:b0:436:d824:620b with SMTP id ffacd0b85a97d-43796aefa84mr4107073f8f.39.1770991905184; Fri, 13 Feb 2026 06:11:45 -0800 (PST) Received: from sgarzare-redhat (host-82-53-134-58.retail.telecomitalia.it. [82.53.134.58]) by smtp.gmail.com with ESMTPSA id ffacd0b85a97d-43796a6ba57sm4915369f8f.15.2026.02.13.06.11.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 Feb 2026 06:11:42 -0800 (PST) Date: Fri, 13 Feb 2026 15:11:38 +0100 From: Stefano Garzarella To: Nathan Chancellor Cc: Nicolas Schier , linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org, Steve French Subject: Re: [PATCH 0/2] kbuild: rpm-pkg: Address -debuginfo build regression with RPM < 4.20.0 Message-ID: References: <20260210-kbuild-fix-debuginfo-rpm-v1-0-0730b92b14bc@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20260210-kbuild-fix-debuginfo-rpm-v1-0-0730b92b14bc@kernel.org> On Tue, Feb 10, 2026 at 12:04:47AM -0700, Nathan Chancellor wrote: >Steve reported a build issue with commit 62089b804895 ("kbuild: rpm-pkg: >Generate debuginfo package manually") on RHEL9, which has an older >version of RPM than what I tested. Turns out that RPM 4.20.0 fixed an >issue with specifying %files for a -debuginfo subpackage. > >The first patch restricts the new -debuginfo package generation process >to CONFIG_MODULE_SIG=y and RPM >= 4.20.0 to ensure it is actually >necessary and working. The second patch restores the original -debuginfo >package generation process from commit a7c699d090a1 ("kbuild: rpm-pkg: >build a debuginfo RPM") when CONFIG_MODULE_SIG is disabled to keep the >-debuginfo package around for older versions of RPM. Yeah, I had similar issue on Fedora 42 (RPM version 4.20.1) and this series fixed my issue. > >--- >Nathan Chancellor (2): > kbuild: rpm-pkg: Restrict manual debug package creation > kernel: rpm-pkg: Restore find-debuginfo.sh approach to -debuginfo package > > scripts/package/kernel.spec | 57 +++++++++++++++++++++++++++++++++++++++------ > scripts/package/mkspec | 38 +++++++++++++++++++++++++++--- > 2 files changed, 85 insertions(+), 10 deletions(-) >--- >base-commit: 05f7e89ab9731565d8a62e3b5d1ec206485eeb0b >change-id: 20260209-kbuild-fix-debuginfo-rpm-718f81dbcaa6 Tested-by: Stefano Garzarella Thanks, Stefano