Bug 1279401
Summary: | Regression between 5.22 and 5.25: a perl script is mislabeled as module source | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||
Component: | file | Assignee: | Jan Kaluža <jkaluza> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | urgent | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | jkaluza, packaging-team, perl-devel | ||||
Target Milestone: | --- | Keywords: | Regression | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | file-5.25-3.fc24 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2015-11-23 16:40:07 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: | |||||||
Attachments: |
|
Description
Petr Pisar
2015-11-09 11:34:45 UTC
Created attachment 1091693 [details]
The 40_draw.pl sample
See <https://ppisar.fedorapeople.org/perl_rebuild/scratch/2015-11-18/index.xhtml#done> for Perl mass rebuild. It breaks generating Perl RPM dependencies on many RPM packages. For example, perl-App-find2perl is very simple package with the only Perl file /usr/bin/find2perl. I tried to solve the issue for Perl in attribute file perl.attr which is part of perl-generators. It helped, but it did not solve it completely. All perl(*) dependencies are back, but shebang command '/usr/bin/perl' is still missing. It seems shebang is added by rpm only, if the file is detected as script. For example: The latest koji build $ rpm -qpR perl-App-find2perl-1.003-6.fc23.noarch.rpm /usr/bin/perl perl(:MODULE_COMPAT_5.22.0) perl(Config) perl(File::Spec::Functions) perl(strict) perl(vars) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 Package build with updated perl-generators (not submitted yet) $ rpm -qpR perl-App-find2perl-1.003-7.fc24.noarch.rpm perl(:MODULE_COMPAT_5.22.0) perl(Config) perl(File::Spec::Functions) perl(strict) perl(vars) rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 rpmlib(PayloadIsXz) <= 5.2-1 I confirm file-5.25-3.fc24 fixes the regression. I checked all perlish packages built with the broken file packages in the Koji (53) and the only affected package was postgrey, so I rebuild it. |