Bug 15521 - For rpm 6: remove _use_internal_dependency_generator setting
Summary: For rpm 6: remove _use_internal_dependency_generator setting
Status: NEW
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 5.99
Hardware: x86 Multiple
: Medium enhancement
Target Milestone: 6.1
Assignee: Randy MacLeod
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2024-06-18 19:46 UTC by Randy MacLeod
Modified: 2026-05-28 13:22 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy MacLeod 2024-06-18 19:46:59 UTC
This will be a small part of updating to rpm 6 (to be released in ~Q3 2025)
but I noticed the following warning in a qemuppc64 core-image-minimal build:

log.do_package_write_rpm
...
warning: Deprecated external dependency generator is used!
...repeats many times...
...

I found that the following issue tracks the removal of the feature for rpm-6:

https://github.com/rpm-software-management/rpm/issues/2373

and the setting has been in poky for > 10 years:

https://git.yoctoproject.org/poky/commit/?id=84f7f70308eed0ac96abeb5a762e9b7765e5db91

I'm mostly creating this enhancement so that I can add a link to it in a comment on rpm's github.
Comment 1 Randy MacLeod 2024-06-18 19:54:57 UTC
FYI:
https://rpm.org/roadmap.html
Comment 2 Randy MacLeod 2025-05-20 16:56:40 UTC
rpm6 is in alpha as of May 20, 2025:
https://rpm.org/download.html
Comment 3 Randy MacLeod 2026-01-13 22:30:01 UTC
We're still using rpm 4 and we're still using this option:
oe-core.git on master
❯ rg use_internal_dependency_generator
meta/classes-global/package_rpm.bbclass
696:    cmd = cmd + " --define '_use_internal_dependency_generator 0'"

bump to 6.0. 
We probably should NOT update to rpm6 for this LTS release given that there is only 6 weeks of development time left before oe-core code freeze.
Comment 4 Randy MacLeod 2026-05-28 13:22:13 UTC
rpm6 has not merged to master yet. 
Bump to 6.1.