Bug 1811741
| Summary: | /usr/bin/perl is no longer pulled in by perl packages, making builds fail | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Nicolas Mailhot <nicolas.mailhot> |
| Component: | perl | Assignee: | Jitka Plesnikova <jplesnik> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | caillon+fedoraproject, iarnell, jplesnik, kasal, mmaslano, paul, perl-devel, ppisar, psabata, rhughes, sandmann, tcallawa |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-03-10 06:43:17 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: | |
| Embargoed: | |||
|
Description
Nicolas Mailhot
2020-03-09 16:36:09 UTC
If your package needs the perl interpreter to build, it should BuildRequires: perl-interpreter https://fedoraproject.org/wiki/Packaging:Perl#Build_Dependencies The package explicitly installs a bunch of perl packages. What use are those without an interpreter? Perl modules can be used with an embedded perl via libperl.so and so don't need /usr/bin/perl. Existing packages should have been fixed to support this arrangement as part of: https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules That was a change for Fedora 27. Is this a new package you're working on? No, that‘s a package that builds in F32, built in F33 a few days ago, but does not build today in F33 without a perl-interpreter BuildRequires It'll have started failing to build as a result of this change: https://lists.fedoraproject.org/archives/list/perl-devel@lists.fedoraproject.org/thread/UWJBPOBKLN6JD74AKQKZDOUO2DGUFL4H/ The fix is to BR: perl-interpreter as per the guidelines. This is an expected behavior. If your spec file executes /usr/bin/perl, build-require perl-interpreter RPM package. Please follow the packaging guidelines. |