Summary: | Please drop dependency on perl-generators from rpm-build | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Vít Ondruch <vondruch> |
Component: | rpm | Assignee: | Petr Pisar <ppisar> |
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | rawhide | CC: | ffesti, jplesnik, jzeleny, novyjindrich, packaging-team-maint, perl-devel, ppisar, psabata, rvokal, vondruch, zbyszek |
Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org/message/QDPPEZ32JWR4WSSJ6XR2XHGCAN3WAGUT/ | ||
Whiteboard: | |||
Fixed In Version: | rpm-4.13.0-0.rc1.40.fc25 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-07-26 05:26:32 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Bug Depends On: | |||
Bug Blocks: | 1332102 |
Description
Vít Ondruch
2014-10-30 12:00:31 UTC
s/ARM/PPC/ (In reply to Vít Ondruch from comment #0) > Please note that this is probably the last reason, why Pearl is pulled into > minimal build root, since the last but one was solved by this upstream [2] > commit. This is a misunderstanding. The commit in [2] only removes an alternative perl generator which has NEVER been used by anybody, so it has zero impact on anything at all. Rpm upstream still includes and uses perl.req and perl.prov scripts in "factory defaults" setup and is likely to continue doing so for quite some time. Fedora rpm doesn't include the upstream perl generators since last summer though. > > Also note that no other dynamic language pulls their dependency generators > into minimal buildroot and Perl should be no exception. Python generator is in the minimal buildroot. However that's different in that it doesn't involve the actual interpreter or its libs. > > This is the start of discussion. If you agree, I'd love to announce this > intention on fedora-devel and probably fill the Change proposal for F22, if > deemed necessary. From technical POV I'm not opposed at all, on the contrary. However you need to keep in mind that this would be breaking a 15+ year old practise. So whether that practise makes sense or not, changing it is going to cause a fair amount of pain and grief for ... largely just "sake of correctness". So... I personally will NOT touch that dependency unless there's an explicit request to do so from the perl SIG. Somebody needs to be prepared to deal with the inevitable mass-fallout and it sure as hell is not going to be me, not for this. (In reply to Panu Matilainen from comment #2) > (In reply to Vít Ondruch from comment #0) > > Please note that this is probably the last reason, why Pearl is pulled into > > minimal build root, since the last but one was solved by this upstream [2] > > commit. > > This is a misunderstanding. The commit in [2] only removes an alternative > perl generator which has NEVER been used by anybody, so it has zero impact > on anything at all. I agree with you that it does nothing, but since it contains perl script with perl shebang, you can compare the requires without patch: # rpm -q -R rpm-build | grep perl /usr/bin/perl perl(File::Basename) perl(File::Temp) perl(Getopt::Long) perl(Thread::Queue) perl(threads) perl-generators and with the patch applied: # rpm -q -R rpm-build | grep perl perl-generators Um. I dont know what rpm version you are looking at, but Fedora rpm has not shipped any of those since June. See http://pkgs.fedoraproject.org/cgit/rpm.git/commit/?id=b9e9858cd09cc37060b6443ce52fcaf4af69e095 which has: # These live in perl-generators now rm -f $RPM_BUILD_ROOT/%{rpmhome}/{perldeps.pl,perl.*} rm -f $RPM_BUILD_ROOT/%{_fileattrsdir}/perl* So the upstream changes have absolutely zero impact for Fedora. Now lets concentrate on the subject at hand please. I'm not against. I even could implement it. But it's a Fedora system wide change. It requires changing packaging guidelines, thus FPC agreement. (In reply to Panu Matilainen from comment #4) > Um. I dont know what rpm version you are looking at # rpm -q rpm-build -R | grep perl /usr/bin/perl perl(File::Basename) perl(File::Temp) perl(Getopt::Long) perl(Thread::Queue) perl(threads) perl-generators # rpm -q rpm-build rpm-build-4.12.0.1-2.fc22.x86_64 > Now lets concentrate on the subject at hand please. Definitely :) (In reply to Petr Pisar from comment #5) > I'm not against. I even could implement it. But it's a Fedora system wide > change. It requires changing packaging guidelines, thus FPC agreement. Thanks. I can help lobbying (at minimum). Would you prefer me to announce this proposal on fedora-devel in adwance (e.g. right now)? (In reply to Vít Ondruch from comment #6) > Thanks. I can help lobbying (at minimum). Would you prefer me to announce > this proposal on fedora-devel in adwance (e.g. right now)? You can try it. I will bury your bones if wolves leave anything. This bug appears to have been reported against 'rawhide' during the Fedora 22 development cycle. Changing version to '22'. More information and reason for this action is here: https://fedoraproject.org/wiki/Fedora_Program_Management/HouseKeeping/Fedora22 Is there still someone working on this? Or can we just close it as WONTFIX? I'm working on it. Very probably it will be resolved in Fedora 25. Please keep the dependency there for now. FESCo accepted removing Perl from minimal build root. FPC approved new Perl guidelines but has not yet announced them. After the announcement I will update and test all affected Perl spec files locally. Then I will push the changes into dist-git. Removing the Perl dependency from the rpm-build will be the last step. Because we rebase perl next week, I will work on it after the rebase. So be patient and don't remove the dependency now. I will let you know when the right time comes. Good news 👍 Thx for pushing this forward. RPM maintainers, it's time to remove "Requires: perl-generators" from rpm-build package. See <https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl>. Please remove the dependency. If you are busy, I can do it instead of you. The removal will cause warnings about missing "perl" when expanding these macro definitions from /usr/lib/rpm/macros: %perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo $installsitearch) %perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib) %perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo $installvendorarch) %perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo $installvendorlib) %perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib) %perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib) They are harmless. Previous rpm maintainer wanted to keep the macros in rpm. Do you share the idea or should they be moved to perl-macros package (perl source package)? (In reply to Petr Pisar from comment #13) > The removal will cause warnings about missing "perl" when expanding these > macro definitions from /usr/lib/rpm/macros: > > %perl_sitearch %(eval "`%{__perl} -V:installsitearch`"; echo > $installsitearch) > %perl_sitelib %(eval "`%{__perl} -V:installsitelib`"; echo $installsitelib) > %perl_vendorarch %(eval "`%{__perl} -V:installvendorarch`"; echo > $installvendorarch) > %perl_vendorlib %(eval "`%{__perl} -V:installvendorlib`"; echo > $installvendorlib) > %perl_archlib %(eval "`%{__perl} -V:installarchlib`"; echo $installarchlib) > %perl_privlib %(eval "`%{__perl} -V:installprivlib`"; echo $installprivlib) > > They are harmless. Previous rpm maintainer wanted to keep the macros in rpm. > Do you share the idea or should they be moved to perl-macros package (perl > source package)? If we decide to move them, then "__perl" macro should follow them: %__perl /usr/bin/perl Any progress? If you don't have time, I can remove the dependency myself. It seems you are busy. I will push the change today or tomorrow. Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. If you are unable to reopen this bug, please file a new report against the current release. If you experience problems, please add a comment to this bug. Thank you for reporting this bug and we are sorry it could not be fixed. We fixed few packages that used perl to control build-requires. I think nothing spectacular happened in last week since the perl was removed. |