https://bugzilla.redhat.com/show_bug.cgi?id=2150992
Bug ID: 2150992 Summary: perl-generators 1.4 started to create bogus dependencies on perl(.::t/lifecycles/utils.pl) Product: Fedora Version: rawhide Status: NEW Component: perl-generators Assignee: jplesnik@redhat.com Reporter: mhroncok@redhat.com QA Contact: extras-qa@fedoraproject.org CC: jplesnik@redhat.com, mspacek@redhat.com, perl-devel@lists.fedoraproject.org, ppisar@redhat.com Target Milestone: --- Classification: Fedora
Description of problem: Between perl-generators-1.13-8.fc37 and perl-generators-1.14-1.fc38 a new boghus dependency started to be generated for rt-tests.
Use the rt package from this commit: https://src.fedoraproject.org/rpms/rt/c/78d6db9676df2a5032f42471348e20ce5d37... (the bigus require was later filtered out manually).
perl-generators-1.13-8.fc37: $ rpm -qRp rt-tests-5.0.3-2.fc38.noarch.rpm /bin/sh /usr/bin/bash /usr/bin/perl /usr/bin/prove /usr/bin/rm perl(CGI::PSGI) perl(DBD::SQLite) ...
perl-generators-1.14-1.fc38: $ rpm -qRp rt-tests-5.0.3-2.fc38.noarch.rpm /bin/sh /usr/bin/bash /usr/bin/perl /usr/bin/prove /usr/bin/rm perl(.::t/lifecycles/utils.pl) perl(CGI::PSGI) perl(DBD::SQLite) ...
$ rg -F 't/lifecycles/utils.pl' rt-5.0.3 rt-5.0.3/t/lifecycles/types.t 4:BEGIN {require './t/lifecycles/utils.pl'};
rt-5.0.3/t/lifecycles/basics.t 4:BEGIN {require './t/lifecycles/utils.pl'};
rt-5.0.3/t/lifecycles/dates.t 4:BEGIN {require './t/lifecycles/utils.pl'};
rt-5.0.3/t/lifecycles/moving.t 4:BEGIN {require './t/lifecycles/utils.pl'};
rt-5.0.3/t/lifecycles/unresolved-deps.t 4:BEGIN {require './t/lifecycles/utils.pl'};
rt-5.0.3/t/lifecycles/unprivileged.t 4:BEGIN { require './t/lifecycles/utils.pl' }
rt-5.0.3/t/web/lifecycle_mappings.t 4:BEGIN { require './t/lifecycles/utils.pl' }
rt-5.0.3/t/web/lifecycle_rights.t 4:BEGIN {require './t/lifecycles/utils.pl'};
Version-Release number of selected component (if applicable): perl-generators-1.14-1.fc38
How reproducible: always
Steps to Reproduce: 1. build rt from 78d6db9676df2a5032f42471348e20ce5d37ceda
Actual results: perl(.::t/lifecycles/utils.pl) is required
Expected results: perl(.::t/lifecycles/utils.pl) is not required
Additional info: See https://bugzilla.redhat.com/show_bug.cgi?id=2148952#c6
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
Miro Hrončok mhroncok@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|perl-generators 1.4 started |perl-generators 1.14 |to create bogus |started to create bogus |dependencies on |dependencies on |perl(.::t/lifecycles/utils. |perl(.::t/lifecycles/utils. |pl) |pl)
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
Charles R. Anderson cra@fea.st changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |cra@fea.st
--- Comment #1 from Charles R. Anderson cra@fea.st --- I'm sorry to say this was caused by my fix for bug #2029995. I'm not sure what the proper fix should be.
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
--- Comment #2 from Petr Pisar ppisar@redhat.com ---
$ rpm -qRp rt-tests-5.0.3-2.fc38.noarch.rpm
[...]
perl(.::t/lifecycles/utils.pl)
I think this is a bug in the generators. Relative imports (./) should be ignored.
t/web/lifecycle_rights.t:4:BEGIN {require './t/lifecycles/utils.pl'};
perl(CGI::PSGI)
This dependency is correct:
t/web/redirect.t:5:use CGI::PSGI;
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
--- Comment #3 from Miro Hrončok mhroncok@redhat.com --- (In reply to Petr Pisar from comment #2)
perl(CGI::PSGI)
This dependency is correct:
t/web/redirect.t:5:use CGI::PSGI;
Yes, I never said it is not.
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
Miro Hrončok mhroncok@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|perl-generators 1.14 |perl-generators 1.14 |started to create bogus |started to create bogus |dependencies on |dependencies for relative |perl(.::t/lifecycles/utils. |imports, e.g. |pl) |perl(.::t/lifecycles/utils. | |pl)
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
Jitka Plesnikova jplesnik@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |MODIFIED Fixed In Version| |perl-generators-1.15-1.fc38
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
--- Comment #4 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-848ebdeccf has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2022-848ebdeccf
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|MODIFIED |ON_QA
--- Comment #5 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-848ebdeccf has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2022-848ebdeccf` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2022-848ebdeccf
See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
https://bugzilla.redhat.com/show_bug.cgi?id=2150992
Fedora Update System updates@fedoraproject.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |ERRATA Status|ON_QA |CLOSED Fixed In Version|perl-generators-1.15-1.fc38 |perl-generators-1.15-1.fc38 | |perl-generators-1.15-1.fc37 Last Closed| |2022-12-16 01:56:22
--- Comment #6 from Fedora Update System updates@fedoraproject.org --- FEDORA-2022-848ebdeccf has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.
perl-devel@lists.fedoraproject.org