Bug 515767
| Summary: | multilib: file /usr/share/misc/magic.mgc conflicts | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Kratochvil <jan.kratochvil> | ||||||
| Component: | file | Assignee: | Daniel Novotny <dnovotny> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | low | Docs Contact: | |||||||
| Priority: | low | ||||||||
| Version: | rawhide | CC: | dnovotny, michel | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | 5.03-12.fc12 | Doc Type: | Bug Fix | ||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 540836 (view as bug list) | Environment: | |||||||
| Last Closed: | 2009-08-25 11:17:57 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: | |||||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 540836 | ||||||||
| Attachments: |
|
||||||||
|
Description
Jan Kratochvil
2009-08-05 16:49:26 UTC
> Additional info: > $ cmp */usr/share/misc/magic.mgc > file-libs-5.03-7.fc12.i686/usr/share/misc/magic.mgc > file-libs-5.03-7.fc12.x86_64/usr/share/misc/magic.mgc differ: byte 221, line 1 this is strange, because those files should be the same. I examined the 7.fc12 build and it was a "F12 mass rebuild", I don't know what strange thing happened during that, but it's the only build where file sizes differ. Today when I did a scratch build myself (because of this bug), the magic.mgc files were the same in i686 and x86_64 packages see http://koji.fedoraproject.org/koji/taskinfo?taskID=1585857 to fix this, I will do another "normal" rebuild 8.fc12 for the file package, let me know if it was OK OK, so file-5.03-8.fc12 is out http://koji.fedoraproject.org/koji/taskinfo?taskID=1585947 see if it helps your conflict I guess you could test it yourself. Anyway the problem is the same. wget http://kojipkgs.fedoraproject.org/packages/file/5.03/8.fc12/i686/file-libs-5.03-8.fc12.i686.rpm http://kojipkgs.fedoraproject.org/packages/file/5.03/8.fc12/x86_64/file-5.03-8.fc12.x86_64.rpm http://kojipkgs.fedoraproject.org/packages/file/5.03/8.fc12/x86_64/file-libs-5.03-8.fc12.x86_64.rpm; for i in i686 x86_64;do mkdir $i;cd $i;rpm2cpio ../file-libs-5.03-8.fc12.$i.rpm|cpio -id;cd ..;done;cmp */usr/share/misc/magic.mgc 4711 blocks 4707 blocks i686/usr/share/misc/magic.mgc x86_64/usr/share/misc/magic.mgc differ: byte 221, line 1 and also: rpm -r /var/lib/mock/fedora-rawhide-x86_64/root/ -U file-* file /usr/share/misc/magic.mgc conflicts between attempted installs of file-libs-5.03-8.fc12.i686 and file-libs-5.03-8.fc12.x86_64 This bug is preventing rpm-libs.i686 from being installed, meaning some visible end-user apps like Adobe AIR (32-bit only) does not work on x86_64. seems the text magic files are passed to "file -C" (compilation of magic.mgc file) in different order on i686 versus x86_64 I will analyze this and make them the same both files, although they differ, both function the same way, the order of magic is just different Created attachment 358552 [details]
patch for compilation of magic.mgc
this patch ensures the same order of magic files used for compilation of magic.mgc
fixed in file-5.03-9.fc12 file-5.03-12.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/file-5.03-12.fc12 Created attachment 374731 [details]
new patch
I had to rethink the problem again, this is the new patch: cat-ing all the magic files together and compiling the result ensures the compiled magic file is allways the same
file-5.03-12.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report. |