FS#10378 - file 4.24-1 no longer identifies .ogg containers

Attached to Project: Arch Linux
Opened by Robert Bowers (onedingo) - Friday, 09 May 2008, 02:34 GMT
Last edited by Andreas Radke (AndyRTR) - Wednesday, 11 June 2008, 22:29 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture i686
Severity Medium
Priority Normal
Reported Version 2007.08-2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

As requested from AndyRTR in forum post: http://bbs.archlinux.org/viewtopic.php?id=48347

file 4.24-1 no longer identifies .ogg containers and just labels them as data. There is also a problem with .url files.

I will just post my email to upstream about this issue and it should also appear later at:
http://mx.gw.com/pipermail/file/2008/thread.html

From: Rob Bowers <rob.bowers@onedingo.com>
To: file@mx.gw.com
Subject: file 4.24 no longer identifies .ogg & .url correctly
Date: Fri, 9 May 2008 01:04:35 +0000

Hi.

I am using Arch Linux and file 4.24 no longer identifies .ogg & .url files.

For .ogg:

owner@amd1200:/common/netcast$ file bsdtalk148.ogg
bsdtalk148.ogg: data
owner@amd1200:/common/netcast$ hexdump -Cv bsdtalk148.ogg | head
00000000 4f 67 67 53 00 02 00 00 00 00 00 00 00 00 08 48 |OggS...........H|
00000010 db 44 00 00 00 00 cc 71 9c 61 01 1e 01 76 6f 72 |.D.....q.a...vor|
00000020 62 69 73 00 00 00 00 01 44 ac 00 00 00 00 00 00 |bis.....D.......|
00000030 00 77 01 00 00 00 00 00 b8 01 4f 67 67 53 00 00 |.w........OggS..|
00000040 00 00 00 00 00 00 00 00 08 48 db 44 01 00 00 00 |.........H.D....|
00000050 c2 f2 5e 03 10 2d ff ff ff ff ff ff ff ff ff ff |..^..-..........|
00000060 ff ff ff ff c9 03 76 6f 72 62 69 73 1d 00 00 00 |......vorbis....|
00000070 58 69 70 68 2e 4f 72 67 20 6c 69 62 56 6f 72 62 |Xiph.Org libVorb|
00000080 69 73 20 49 20 32 30 30 34 30 36 32 39 00 00 00 |is I 20040629...|
00000090 00 01 05 76 6f 72 62 69 73 29 42 43 56 01 00 08 |...vorbis)BCV...|

For .url: (Microsoft Favorites/Web Shortcuts)

owner@amd1200:/common/workspace$ cat > website.url
[InternetShortcut]
URL=http://www.server.com/
owner@amd1200:/common/workspace$ dos2unix --u2d website.url
owner@amd1200:/common/workspace$ file website.url
website.url: MS Windows 95 Internet shortcut text (URL=< >)

URL=< > above contains nothing but it used to.

I just subscribed to this list today and the mailing list archive ends on April 8, so I don't know if this has been posted already.

Please respond directly as I have not received a subscription confirmation yet.

Thanks.
R.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Wednesday, 11 June 2008, 22:29 GMT
Reason for closing:  Won't fix
Comment by Robert Bowers (onedingo) - Friday, 09 May 2008, 03:43 GMT
This has also been noticed at Gentoo
http://bugs.gentoo.org/show_bug.cgi?id=219215
Comment by Robert Bowers (onedingo) - Sunday, 11 May 2008, 00:27 GMT
I got a reply with the fix.

In file-4.24/magic/Magdir/vorbis change:
0 search/1000 OggS Ogg data
to
0 string OggS Ogg data
and recompile

owner@amd1200:/usr/local/bin$ ./file /common/netcast/bsdtalk148.ogg
/common/netcast/bsdtalk148.ogg: Ogg data, Vorbis audio, mono, 44100 Hz, ~96000 bps, created by: Xiph.Org libVorbis I (1.1.0 RC1)
Comment by Dan McGee (toofishes) - Wednesday, 14 May 2008, 02:09 GMT
Fixed upstream then?
Comment by Robert Bowers (onedingo) - Wednesday, 14 May 2008, 22:25 GMT
It's been noticed so I can only guess that it will be.
Comment by Andreas Radke (AndyRTR) - Wednesday, 11 June 2008, 22:29 GMT
also .Z files are no more recognized.

these are minor issues and the upstream developer knows about it and how to fix. so you too. no need to touch the pkg here for a quick fix.

Loading...