Bug 772651
Summary: | /usr/lib64/perl5/vendor_perl/Encode/Makefile_PL.e2x detected as C source wrongly | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||
Component: | file | Assignee: | Kamil Dudka <kdudka> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 24 | CC: | jkaluza, kdudka, ppisar | ||||
Target Milestone: | --- | Keywords: | Patch, Reopened | ||||
Target Release: | --- | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | file-5.30-4.fc26 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-02-23 15:25:40 UTC | Type: | --- | ||||
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
2012-01-09 14:28:07 UTC
Thanks for the report. It should be fixed in file-5.10-4.fc17. Upstream bug report: http://bugs.gw.com/view.php?id=166 Fix verified. Thank you. The Fedora patch for this bug has never been applied upstream and it is known to cause problems (see bug #1424989). Based on the info from the above ticket on the upstream bug tracker, this bug is already fixed upstream in a different way. I am about to drop the downstream patch from Fedora now. Petr, do you have any data I can use to verify if this bug is fixed upstream? /usr/share/perl5/Encode/Makefile_PL.e2x does not exist on my Fedora 24 box... The bug report mentions Fedora 17. /usr/share/perl5/Encode/Makefile_PL.e2x is delivered by perl-devel-5.14.4-224.fc17.x86_64.rpm there and I can assure you that file-5.25-6.fc24.x86_64 still misinterprets the file: $ wget -q -O - https://kojipkgs.fedoraproject.org//packages/perl/5.14.4/224.fc17/x86_64/perl-devel-5.14.4-224.fc17.x86_64.rpm | rpm2cpio | cpio -i --to-stdout ./usr/share/perl5/Encode/Makefile_PL.e2x | file - 3823 blocks /dev/stdin: C source, ASCII text $ rpm -qf /usr/bin/file file-5.25-6.fc24.x86_64 F24 provides the file in perl-Encode-devel under /usr/lib64/perl5/vendor_perl/Encode/Makefile_PL.e2x path and it also exhibits the same problem: $ file /usr/lib64/perl5/vendor_perl/Encode/Makefile_PL.e2x /usr/lib64/perl5/vendor_perl/Encode/Makefile_PL.e2x: C source, ASCII text So it looks like a regression in Fedora because Fedora 24 is broken again. Reopening this bug report. Thanks! So it does not work anyway... The patch we have in Fedora is not the patch that was originally applied for this bug. The contents of file-5.10-strength.patch was (by mistake?) rewritten two years later: http://pkgs.fedoraproject.org/cgit/rpms/file.git/diff/file-5.10-strength.patch?id=3ddc6949 The patch for this bug patched Magdir/c-lang whereas the current patch (with the same file name) patches Magdir/python. The commit message only says "update to version 5.19": http://pkgs.fedoraproject.org/cgit/rpms/file.git/commit/?id=3ddc6949 Created attachment 1255707 [details]
reproducer
upstream commit: https://github.com/file/file/commit/3c60e59a downstream commit: http://pkgs.fedoraproject.org/cgit/rpms/file.git/commit/?id=909293dc |