Bug 532489 - Cannot build latest release of asterisk-sounds-core
Summary: Cannot build latest release of asterisk-sounds-core
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: file
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Daniel Novotny
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-11-02 15:37 UTC by Jeffrey C. Ollie
Modified: 2009-12-04 11:21 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-12-04 11:21:09 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File that is failing (460 bytes, application/octet-stream)
2009-11-02 15:37 UTC, Jeffrey C. Ollie
no flags Details

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"


Note You need to log in before you can comment on or make changes to this bug.