Bug 2319139 - weird deprecation message to end users that can't do anything
Summary: weird deprecation message to end users that can't do anything
Keywords:
Status: CLOSED DUPLICATE of bug 2291869
Alias: None
Product: Fedora
Classification: Fedora
Component: rpm
Version: rawhide
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Packaging Maintenance Team
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-10-16 12:14 UTC by Peter Robinson
Modified: 2024-10-25 13:30 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-10-23 15:49:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Peter Robinson 2024-10-16 12:14:28 UTC
So in recent version of rpm when upgrading certain packages, either via dnf or rpm you get the following output to the user on the commandline:

warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead

While they might be deprecated there is nothing that the user can do about it so it just provides confusion, these sort of deprecated messages should be output as part of the rpmbuild process to alert the rpm maintainer, as they are the ones that can do something about it, that something needs to be updated in their packages.

Reproducible: Always

Steps to Reproduce:
1. Update packages using the cli via dnf/rpm such as the kernel


Expected Results:  
Clean output for users without information they can do nothing about

Comment 1 Michal Domonkos 2024-10-23 15:49:52 UTC

*** This bug has been marked as a duplicate of bug 2291869 ***


Note You need to log in before you can comment on or make changes to this bug.