Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 219215
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo's Team for Core System packages <base-system@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Alan McKinnon <alan.mckinnon@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 219215 depends on: Show dependency tree
Bug 219215 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-04-24 22:36 0000
sys-apps/file-4.24 does not identify .ogg files (possibly others):
alan@nazgul ~ $ eix -e file
[I] sys-apps/file
     Available versions:  4.21-r1 4.23 (~)4.24 {python}
     Installed versions:  4.24(11:15:43 PM 04/01/2008)(python)

alan@nazgul ~ $ file /home/alan/music/A/ABC/The\ Lexicon\ of\ Love/01\ -\ Show\
me.ogg
/home/alan/music/A/ABC/The Lexicon of Love/01 - Show me.ogg: data

sys-apps/file-4.23 recognises these files correctly:
alan@nazgul ~ $ eix -e file
[I] sys-apps/file
     Available versions:  4.21-r1 4.23 [m](~)4.24 {python}
     Installed versions:  4.23(12:17:46 AM 04/25/2008)(python)

alan@nazgul ~ $ file /home/alan/music/A/ABC/The\ Lexicon\ of\ Love/01\ -\ Show\
me.ogg
/home/alan/music/A/ABC/The Lexicon of Love/01 - Show me.ogg: Ogg data, Vorbis
audio, stereo, 44100 Hz, ~160000 bps, created by: Xiph.Org libVorbis I (1.1.0
RC1)

4.24 has only /usr/share/misc/file/magic.mgc as a magic file

4.23 installs more files:
alan@nazgul ~/temp $ ls -al /usr/share/misc/file/
total 1602
drwxr-xr-x 2 root root     168 2008-04-25 00:17 ./
drwxr-xr-x 3 root root     640 2008-04-15 18:51 ../
-rw-r--r-- 1 root root  484372 2008-04-25 00:17 magic
-rw-r--r-- 1 root root 1062400 2008-04-25 00:17 magic.mgc
-rw-r--r-- 1 root root   33539 2008-04-25 00:17 magic.mime
-rw-r--r-- 1 root root   46208 2008-04-25 00:17 magic.mime.mgc


Reproducible: Always

Steps to Reproduce:
1. emerge =sys-apps/file-4.24
2. file /path/to/an/ogg/file

Actual Results:  
file-4.24 says .ogg files are type "data"

Expected Results:  
file-4.24 should say .ogg files are "Ogg data, Vorbis audio..." etc

Confirmed by Neil Bothwick on gentoo-user@lists.gentoo.org:
Message-ID: <20080424225938.1918d808@zaphod.digimed.co.uk>

------- Comment #1 From Joerg Plate 2008-05-22 12:57:28 0000 -------
makeself 2.15 fails, because file doesn't recognize the unpacked file as ".gz".

------- Comment #2 From Arun Raghavan 2008-05-27 17:45:13 0000 -------
(In reply to comment #1)
> makeself 2.15 fails, because file doesn't recognize the unpacked file as ".gz".

I can confirm this. makeself-2.1.5 installs fine with file-4.23 but fails with
4.24 because the data blob is not recognised as a tarball.

------- Comment #3 From Jeremy Olexa (darkside) 2008-05-29 14:56:11 0000 -------
(In reply to comment #2)
> (In reply to comment #1)
> > makeself 2.15 fails, because file doesn't recognize the unpacked file as ".gz".
> 
> I can confirm this. makeself-2.1.5 installs fine with file-4.23 but fails with
> 4.24 because the data blob is not recognised as a tarball.

See bug #215499 Comment #3

------- Comment #4 From SpanKY 2008-05-31 06:39:31 0000 -------
this is from upstream and should fix things:
#0              search/1000     OggS            Ogg data
0               string  OggS            Ogg data

------- Comment #5 From Jeremy Olexa (darkside) 2008-06-02 02:43:40 0000 -------
*** Bug 224403 has been marked as a duplicate of this bug. ***

------- Comment #6 From Jeremy Olexa (darkside) 2008-06-16 17:52:24 0000 -------
*** Bug 226859 has been marked as a duplicate of this bug. ***

------- Comment #7 From Jeremy Olexa (darkside) 2008-07-17 19:34:49 0000 -------
(In reply to comment #0)
> 4.24 has only /usr/share/misc/file/magic.mgc as a magic file
> 
> 4.23 installs more files:
> alan@nazgul ~/temp $ ls -al /usr/share/misc/file/
> total 1602
> drwxr-xr-x 2 root root     168 2008-04-25 00:17 ./
> drwxr-xr-x 3 root root     640 2008-04-15 18:51 ../
> -rw-r--r-- 1 root root  484372 2008-04-25 00:17 magic
> -rw-r--r-- 1 root root 1062400 2008-04-25 00:17 magic.mgc
> -rw-r--r-- 1 root root   33539 2008-04-25 00:17 magic.mime
> -rw-r--r-- 1 root root   46208 2008-04-25 00:17 magic.mime.mgc

SpanKY: What do you think about the above? I would like to fix up file-4.24.
Thanks.

------- Comment #8 From Doug Goldstein 2008-07-17 20:06:39 0000 -------
We could still patch this for 4.24-r1 to make a newer stable. But I just bumped
it to 4.25 where the issue is fixed.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug