Created attachment 367156 [details] File that is failing Description of problem: Cannot build latest release of asterisk-sounds core because a call to "magic_file" from rpmbuild is erroring out on one of the files. Version-Release number of selected component (if applicable): file-5.03-9.fc12.x86_64 How reproducible: Always. Steps to Reproduce: 1. Build asterisk-sounds-core-1.4.16-1 Actual results: Build fails with "error: Recognition of file "/builddir/build/BUILDROOT/asterisk-sounds-core-1.4.16-1.fc13.noarch/usr/share/asterisk/sounds/fr/digits/1.g729" failed: mode 100444 zlib: invalid stored block lengthsempty (gzip compressed data, reserved method, encrypted, last modified: Tue Nov 9 20:48:48 2010, max speed)" Expected results: Build succeeds. Additional info: I've attached the file that file(1) is failing to recogzize properly. The error can be easily reproduced by running "file -z 1.g729". Note that the file is not gzip compressed data, it's an audio file compressed by the G.729 audio codec in raw format, which means it doesn't have any headers that describe the data.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
cc-ing rpm maintainer: do you really need to add the MAGIC_COMPRESS flag, when checking the files? in this case it "recognizes" false positive "gzip file" (the magic is only two bytes long, so it's likely to be encountered again) and crashes when trying to "ungzip" it...
It's necessary for font provide extraction (and gives better classification for some things like manual pages although this info is not currently really used). Failing the build here is unnecessary though (see http://rpm.org/ticket/105), will fix...
This should be fixed by rpm-4.7.2-2 just built for rawhide.
thanks a lot Panu, so I will close this as "fixed in rawhide"