Bug 532489

Summary: Cannot build latest release of asterisk-sounds-core
Product: [Fedora] Fedora Reporter: Jeffrey C. Ollie <jeff>
Component: fileAssignee: Daniel Novotny <dnovotny>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: dnovotny, jonstanley, pmatilai
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-12-04 11:21:09 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 Flags
File that is failing none

Description Jeffrey C. Ollie 2009-11-02 15:37:29 UTC
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.

Comment 1 Bug Zapper 2009-11-16 14:53:29 UTC
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

Comment 2 Daniel Novotny 2009-11-18 14:50:46 UTC
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...

Comment 3 Panu Matilainen 2009-11-26 09:36:15 UTC
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...

Comment 4 Panu Matilainen 2009-12-04 10:58:39 UTC
This should be fixed by rpm-4.7.2-2 just built for rawhide.

Comment 5 Daniel Novotny 2009-12-04 11:21:09 UTC
thanks a lot Panu, so I will close this as "fixed in rawhide"