Every Fedora41 based non-minimal template tonight shows the following although they supposedly complete successfully.
One template (untrusted-dvm-f41) for example:
untrusted-dvm-f41:err: warning: posix.fork(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
untrusted-dvm-f41:err: warning: posix.wait(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
untrusted-dvm-f41:err: warning: posix.exec(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead
Maybe nothing but…I don’t believe that it’s been witnessed by anyone else yet.
Fedora 41 has been particularly bug-ridden… Hope you guys (the devs, I mean) make the F41 templates stable before May 28th when F40 reaches end-of-support.
fprintf(stderr,
"warning: %s(): .fork(), .exec(), .wait() and .redirect2null() are deprecated, use rpm.spawn() or rpm.execute() instead\n", func);
Instead of “…use…”, I would have re-phrased it like: “…package maintainer should use…”.
And finally the devs opinion :
No, the point is that we need to warn on all new usages of these functions to scare people away from using them. Otherwise, we’ll be in the same situation ten years from now and still can’t remove those functions.