Description of problem: file-libs is a multilib package (required by rpm-libs which are required by gdb in my case which I develop for both arches on x86_64 although gdb is not multilib itself). Version-Release number of selected component (if applicable): file-libs-5.03-7.fc12.x86_64 file-libs-5.03-7.fc12.i686 How reproducible: Always. Steps to Reproduce: mock -v -r fedora-rawhide-x86_64 update Actual results: Transaction Check Error: file /usr/share/misc/magic.mgc conflicts between attempted installs of file-libs-5.03-7.fc12.x86_64 and file-libs-5.03-7.fc12.i686 Expected results: Update mock root. 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
> 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.