From: "Gavini, Sumanth" <sumanth.gavini@windriver.com>
To: Richard Purdie <richard.purdie@linuxfoundation.org>,
"openembedded-core@lists.openembedded.org"
<openembedded-core@lists.openembedded.org>,
"mathieu.dubois-briand@bootlin.com"
<mathieu.dubois-briand@bootlin.com>,
"alex.kanavin@gmail.com" <alex.kanavin@gmail.com>
Cc: "mattware@cisco.com" <mattware@cisco.com>,
"esparlin@cisco.com" <esparlin@cisco.com>,
"peter.marko@siemens.com" <peter.marko@siemens.com>,
"MacLeod, Randy" <Randy.MacLeod@windriver.com>
Subject: Re: [OE-core] [PATCH v15 00/12] rpm: 4.20.1 -> 6.0.2
Date: Tue, 18 Aug 2026 16:09:56 +0000 [thread overview]
Message-ID: <8e27d69d-7d93-48a7-96c1-4145c477cb4c@windriver.com> (raw)
In-Reply-To: <9b1d36c0af04de14a7f59695e40f513dc454d7a4.camel@linuxfoundation.org>
On 8/17/2026 5:20 PM, Richard Purdie wrote:
> CAUTION: This email comes from a non Wind River email account!
> Do not click links or open attachments unless you recognize the sender and know the content is safe.
>
> On Sun, 2026-08-16 at 16:10 -0700, Sumanth Gavini via lists.openembedded.org wrote:
>> Sumanth Gavini (12):
>> package_rpm.bbclass: Drop external dependency generator to support rpm
>> 6
>
> I am still worried about what this means. We've focused on build
> failures and trying to get this to test out ok, but what are the
> implications of the internal vs. external rpmdeps change?
>
> What it means is that we go from these dependencies being present for
> all package backends to them only working for rpm.
>
> If you use rpm, great, it probably doesn't matter so much to you. If
> you use ipk or deb, bad luck.
>
> Do we really want to have different dependencies between packages
> depending on which backend you select?
>
> Cheers,
>
> Richard
Hi Richard,
You are correct, and we should not have different dependencies between
packages based on the selected backend.
In RPM 4, MERGEPERFILEDEPS = 1 resulted in __find_requires %{nil} and
__find_provides %{nil}, suppressing all autogenerated Requires and Provides.
In RPM 6, use_internal_dependency_generator is no longer supported for
v6-format packages, so the fileattr-based generators always run. The
only way I see to suppress dependency generation is to set the
individual fileattr macros to %{nil}. We observed incorrectly generated
pkgconfig() dependencies on autobuilder and local builds, which led to
these changes.
Should we also suppress all autogenerated Provides in RPM 6 to match the
RPM 4 behavior? If so, I'll need to identify the complete list of
fileattr-based provides generators that need to be disabled
Thanks to Alex and Mathieu for their testing and support throughout this
upgrade.
--
# Sumanth Gavini
# Wind River Linux
next prev parent reply other threads:[~2026-08-18 16:10 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-16 23:10 [PATCH v15 00/12] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-08-16 23:10 ` [PATCH v15 01/12] package_rpm.bbclass: Drop external dependency generator to support rpm 6 Sumanth Gavini
2026-08-17 8:55 ` Mathieu Dubois-Briand
2026-08-17 13:34 ` Gavini, Sumanth
2026-08-17 14:48 ` Mathieu Dubois-Briand
2026-08-17 20:15 ` Alexander Kanavin
2026-08-19 7:10 ` Mathieu Dubois-Briand
2026-08-22 9:05 ` [OE-core] " Richard Purdie
2026-08-16 23:10 ` [PATCH v15 02/12] package_rpm.bbclass: Define _lib and _libdir for rpmbuild Sumanth Gavini
2026-08-16 23:10 ` [PATCH v15 03/12] lib/oe/package.py: Don't add ldconfig_postinst_fragment for glibc or musl Sumanth Gavini
2026-08-16 23:10 ` [PATCH v15 04/12] lib/oe/package.py: Don't redirect stderr Sumanth Gavini
2026-08-16 23:10 ` [PATCH v15 05/12] target-sdk-provides-dummy: Add pkg-config to DUMMYPROVIDES Sumanth Gavini
2026-08-16 23:10 ` [PATCH v15 06/12] rpm: 4.20.1 -> 6.0.2 Sumanth Gavini
2026-08-16 23:10 ` [PATCH v15 07/12] libarchive: Make it work with rpm 6.0.2 Sumanth Gavini
2026-08-16 23:11 ` [PATCH v15 08/12] rpm: Fix pkgconfig() Provides missing in cross-built RPMs Sumanth Gavini
2026-08-16 23:11 ` [PATCH v15 09/12] libarchive: Add RPM format reader to support rpm 6 Sumanth Gavini
2026-08-16 23:11 ` [PATCH v15 10/12] libarchive: Disable RPM filter auto-bidding and update huge_rpm test Sumanth Gavini
2026-08-23 8:06 ` [OE-core] " Richard Purdie
2026-08-16 23:11 ` [PATCH v15 11/12] package_rpm.bbclass: Suppress pkgconfig() Requires for sstate compatibility Sumanth Gavini
2026-08-16 23:11 ` [PATCH v15 12/12] lib/oe/package_manager/rpm: Enable DNF filelists to resolve file deps Sumanth Gavini
2026-08-17 22:20 ` [OE-core] [PATCH v15 00/12] rpm: 4.20.1 -> 6.0.2 Richard Purdie
2026-08-18 1:13 ` Ryan Eatmon
2026-08-18 16:09 ` Gavini, Sumanth [this message]
2026-08-18 21:05 ` Richard Purdie
2026-08-21 23:49 ` Gavini, Sumanth
2026-08-24 18:01 ` Richard Purdie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8e27d69d-7d93-48a7-96c1-4145c477cb4c@windriver.com \
--to=sumanth.gavini@windriver.com \
--cc=Randy.MacLeod@windriver.com \
--cc=alex.kanavin@gmail.com \
--cc=esparlin@cisco.com \
--cc=mathieu.dubois-briand@bootlin.com \
--cc=mattware@cisco.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=peter.marko@siemens.com \
--cc=richard.purdie@linuxfoundation.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.