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 EAADA2797AC for ; Mon, 16 Feb 2026 08:25:39 +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=1771230341; cv=none; b=ontLZ/pcXezpNKtEHBHqp81aP1NbUECLZV0mKgRIF8zQ4CxymXao+iPxAENC2hg+nHLTDC80VCFW6jsTAHIEwkqsTlB2sdeHl1X8MbsVLd/KDeTJSwv33tJxm9SFSvPqVIVcLqCGtYJF45w5xi3o5lwXxPJffCQnURThWj04Bl0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1771230341; c=relaxed/simple; bh=nInKCgIP+A0LTqJCkbRxrySrnisfW77dFmLRGjVFfwA=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=dFwzXOtKjU1qT4ny+3VsqVJHe4rDPsWDI2pDIwIRi8YmBvvjp7zpgAGqB6Z9nKNsaNIEuMNRWdqpucYctDzx/t6wLING2WVITSuk7fZCsU/JqyllNZXKcRd+qly6AoUCvy08HULDCpmyoMk9nOMSXMi59kALTVatv/Qhg6Mop7E= 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=QCJc/4tC; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b=ZukPKZ14; 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="QCJc/4tC"; dkim=pass (2048-bit key) header.d=redhat.com header.i=@redhat.com header.b="ZukPKZ14" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1771230339; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=DTyr5ePnFbB0QkSaBB5Ia4C9W9pTREiW3R9ckzEINXQ=; b=QCJc/4tCnTp1tkXY668VL99Mo6kvIdxHNo+GBJ2JBsiu6cyZo656uIjt46MKmeioEPjAxJ B0NHfSgYZ51iAb7Nps2ChExuHFHmYBlMSvH6E3j6b92nZOBdZprfMZc9jq5qH6nAjPwU9a Z+i2+rF+Kt3ZJ2fU/TH+wPD6JjAvItQ= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-657-cKi1wtWIOHWG65X2tptxyA-1; Mon, 16 Feb 2026 03:25:37 -0500 X-MC-Unique: cKi1wtWIOHWG65X2tptxyA-1 X-Mimecast-MFC-AGG-ID: cKi1wtWIOHWG65X2tptxyA_1771230336 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-4837907ec88so29873785e9.0 for ; Mon, 16 Feb 2026 00:25:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=google; t=1771230336; x=1771835136; darn=vger.kernel.org; h=in-reply-to:content-transfer-encoding:content-disposition :mime-version:references:message-id:subject:cc:to:from:date:from:to :cc:subject:date:message-id:reply-to; bh=DTyr5ePnFbB0QkSaBB5Ia4C9W9pTREiW3R9ckzEINXQ=; b=ZukPKZ14dE4BWjimW2qGgAt9hmnF/7esIloQHYp2TGUs8zdy7FNR7Eh1xLMQQhZqwt Iim/Q5njlU/ITL/R0jNIoKobT5Qz8zR6xErBzbp5snkSSgB0fVDkNHFSM349pvuqTYFo DbBM1rvk8QMNcppes6D2m5CoxyBuQK5QGBCzemQn9o2ISyQftmKOeB/M+MafuuUfqLXX tNHTXqh/tVnK+Xp/spdKhYcMNHdOQC1ZBvrR9pWgIt8hvckX2xtu8+9SU+Sg1cbqpaud 0eqYPqZOW1NZq9HtRRHHJzKIAZ9L/TA9B/OT65XNsvIdvUT1zN2lsFi77ARqBikzoIqd k1+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1771230336; x=1771835136; h=in-reply-to:content-transfer-encoding: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=DTyr5ePnFbB0QkSaBB5Ia4C9W9pTREiW3R9ckzEINXQ=; b=hmqU8+XW75686uGCd8+nQT1jeB8qdna+2qQKU1FoPtxGno4D5QZemr3sfGfRc9lSh3 A1Jce47PGAriIdUy9emULqz2t8z0l0wIEdG1QQyi4JTjrzY804RW1hFEAye5dbaL8jlH MTwdrCiUCRzhcHmoxcMyVNFKZb1pllQttzC8qEfA5f2QUY8mNqDIBUpKzQ52gQ1Cjzbu 0pSiKsVTtcaYwvdTHj9Q2OxUDfVSCczzaYECdEugQmOgFox3t2XnOXjZeVj1c8SmW2m7 SM4Q8Ep2QygsMjfzpQ2KLWn48Y8HCnDyvK0YwgVavQbTqmFm/E3gKcIIAkIAYMBf/ee0 6pog== X-Forwarded-Encrypted: i=1; AJvYcCVREUKACJdbOkEvhBjdmIt6aMWZyH14XeOve53lhC3U7Lq2Syh0SnuGGEVumHtR725i0C99280=@vger.kernel.org X-Gm-Message-State: AOJu0YyJDKOiGCVG6+lqkDcbgaatDch7GQzxGHBrhoGBGqEUmVoNNUvH b1gffptRmyNR69k5tHEpami2bxBbuTKzKCYXttL/iwoeHkc2JSIVF87/I7v8iDGTnNM484Toxb3 s0HviirRCRVnhixOBMCCSGsofVw48FIDcYiYOeEX5xbx7mWwdsl87jXUPNQ== X-Gm-Gg: AZuq6aJiz6odpcB9YIxWR17Trp6gKRpY2Zqi9DEGhEHW2Jg+p6RD5WelSmAs4El5waW 7ePNGwqtiAWVvJL4uLXjXfzVRRczLsyXtgCOObEKi9y6hE4LdGZTMgu0kc2xNsbmQQt2jYgYJjR l098zDgLhQMO6TcZRbJBDflYOaTlR7OJKhYawmUHxdTHvOH1b9yQkvWIsvzqKCakp/0axTDIAdB C5AvT9nV8eQgG3SJCQUcvuRoKzouL2cfvfdYGsJXST5Gvde4MfVfXVlb1zdEU8l2sF+vwpbBF9Y wsyuiXt2wTFO1jhBZC0AdBtxy/8WNHvSZe3VLfNffhc3C99hYb9+OtmcTAcHtsauAIfQFQ0OraW OUwhRIGlRE3mW29qklCtImnixkytbPOfRkbZbHszfzmWGheUv32fJwnA4wVEBJrSG8F0/4uw= X-Received: by 2002:a05:600c:190c:b0:477:5af7:6fa with SMTP id 5b1f17b1804b1-48373a59a74mr134122955e9.32.1771230336351; Mon, 16 Feb 2026 00:25:36 -0800 (PST) X-Received: by 2002:a05:600c:190c:b0:477:5af7:6fa with SMTP id 5b1f17b1804b1-48373a59a74mr134122665e9.32.1771230335778; Mon, 16 Feb 2026 00:25:35 -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 5b1f17b1804b1-48371a298b5sm78451155e9.12.2026.02.16.00.25.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 16 Feb 2026 00:25:35 -0800 (PST) Date: Mon, 16 Feb 2026 09:25:25 +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> <20260213191138.GA2131983@ax162> <20260215212901.GA695045@ax162> Precedence: bulk X-Mailing-List: stable@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20260215212901.GA695045@ax162> On Sun, Feb 15, 2026 at 04:29:01PM -0500, Nathan Chancellor wrote: >On Fri, Feb 13, 2026 at 08:41:24PM +0100, Stefano Garzarella wrote: >> mmm, that it's odd indeed. >> Without this series applied, I had issues on Fedora 42 (RPM version >> 4.20.1), but it worked on Fedora 43 (RPM version 6.0.1). >> >> I just retried on Fedora 42 to build commit cee73b1e840c ("Merge tag >> 'riscv-for-linus-7.0-mw1' of >> git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux") and I have >> the following errors: >> >> RPM build errors: >> Dependency tokens must begin with alpha-numeric, '_' or '/': #�) = 0x0d000002 >> Dependency tokens must begin with alpha-numeric, '_' or '/': �) = 0x0d000000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x7c0e000000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x47161b0700 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x339b1a000ac0 >> Dependency tokens must begin with alpha-numeric, '_' or '/': �) = 0x36000000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x7508200000000000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x2e76000000000400 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x803ab2b00000000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x1a00000000005e00 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x125590000000060 >> Dependency tokens must begin with alpha-numeric, '_' or '/': = 0x03080000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x818000000003600 >> Dependency tokens must begin with alpha-numeric, '_' or '/': �) = 0x0d000000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x7c0e000000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Dependency tokens must begin with alpha-numeric, '_' or '/': $) = 0x1c01040000004d00 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x63c300000000000 >> Illegal char '?' (0xffffffd8) in: 3� >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x1320f691700 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x2e17101500 >> Version required: ksym(g) = >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Dependency tokens must begin with alpha-numeric, '_' or '/': p) = 0x3875480000005c >> Dependency tokens must begin with alpha-numeric, '_' or '/': ]) = 0xfc22000000003000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': 2) = 0x5d0d03cc22 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ]) = 0x32042c1c >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x1c11a3d1b00 >> Version required: ksym(�) = >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3220312e322e3400 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x322e353120295400 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x2029554e47282000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Illegal char ')' (0x29) in: (GNU) >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Dependency tokens must begin with alpha-numeric, '_' or '/': #) = 0x031c0000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x570d03ea11 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x4728203a43434800 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = >> 0x4000000520d03c0 >> Dependency tokens must begin with alpha-numeric, '_' or '/': C) = 0x690d03cf33 >> Dependency tokens must begin with alpha-numeric, '_' or '/': �l) = 0x102000001471140 >> Dependency tokens must begin with alpha-numeric, '_' or '/': i) = 0x4a00000000011000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x2e00000000240000 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0x42111503a533 >> Dependency tokens must begin with alpha-numeric, '_' or '/': ) = 0xea1303bb33000000 >> Unknown rich dependency op 'Hat': (Red Hat 15.2.1-7)) = 0x3130363230322000 >> >> But if I apply this series on top, everything is fine. > >Okay interesting! I have not seen that error yet... I wonder if adding >'AutoReqProv: no' to the kernel-debuginfo subpackage (like the >kernel-devel subpackage) would avoid that for rpm 4.20.0... Probably not >that big of a deal if it is resolved with rpm 6.0.1 but it would be good >to avoid as many corner cases as possible. Oh, yeah, I just tried the following change on top of commit cee73b1e840c ("Merge tag 'riscv-for-linus-7.0-mw1' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux"), so without this series applied: diff --git a/scripts/package/kernel.spec b/scripts/package/kernel.spec index 0f1c8de1bd95..86ca327ebccf 100644 --- a/scripts/package/kernel.spec +++ b/scripts/package/kernel.spec @@ -50,6 +50,7 @@ against the %{version} kernel package. %if %{with_debuginfo} %package debuginfo Summary: Debug information package for the Linux kernel +AutoReqProv: no %description debuginfo This package provides debug information for the kernel image and modules from the %{version} package. And I'm able to generate RPMs too without errors! Thanks, Stefano