Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 51975 - /usr/bin/file identifies an ogg file as audio/ogg instead of application/ogg
Summary: /usr/bin/file identifies an ogg file as audio/ogg instead of application/ogg
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-25 00:46 UTC by johnny
Modified: 2004-05-26 19:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description johnny 2004-05-25 00:46:45 UTC
according to rfc3534
http://www.faqs.org/rfcs/rfc3534.html

it's really supposed to identify ogg files as application/ogg

i didn't see a way to contact the author of the file program to file the bug with him so i'm posting it here

Reproducible: Always
Steps to Reproduce:
1. type 
# file -i <ogg file>

Actual Results:  
prints out audio/ogg

Expected Results:  
print out application/ogg
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2004-05-25 11:30:47 UTC
reopen with output of emerge --info and version of file please.
Comment 2 johnny 2004-05-25 14:13:28 UTC
what's the point of emerge --info... it's a problem with the file magic #'s..so you need to either submit it upstream.. since i can't find the author contact info.. or fix itfor gentoo

although version of file would be good though.. 4.09

falling src # emerge --info
Portage 2.0.50-r6 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3_pre20040420-r0, 2.6.6-mm1)
=================================================================
System uname: 2.6.6-mm1 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.15
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/overlays/personal /usr/local/overlays/bmg-main"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X X509 aalib accounting acpi adns aim alsa apache2 apm ardour-ksi audiofile avi berkdb bonobo cddb cdr chroot crypt cups curl devfs directfb dnd encode esd faad fam fastcgi fbcon ffmpeg fftw flac foomaticdb freetype fs gd gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml ieee1394 imagemagick imap imlib imlib2 innodb ipv6 jabber jack jack-tmpfs java javascript joystick jpeg lcd lcms ldap libg++ libsamplerate libwww lufsusermount mad maildir make-busybox-symlinks mbox md5sum memlimit mikmod mldonkeypango mmap mmx mng monkey mono motif mozcalendar mozdomi mozilla mozp3p mozsvg mpeg mpeg2 mpeg4 mpi music mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nntp nptl nvidia offensive oggvorbis opengl oscar oss pam parse-clocks pdflib perl pg-hier php physfs pic pie png portaudio postgres ppds propolice psyco pthreads python quicktime readline samba sasl savedconfig scanner sdl skey slang slp sox speedo speex spell sqlite ssl svg svga tcltk tcpd theora tiff truetype unicode usb vda vhosts wmf wsconvert wxwindows x86 xine xml xml2 xmms xosd xv xvid zlib zvbi"

Comment 3 johnny 2004-05-25 14:15:27 UTC
all you have to do is change the association to application/ogg instead of audio/ogg
Comment 4 SpanKY gentoo-dev 2004-05-26 19:10:37 UTC
going by the ChangeLog with the file package, maintainer would be christos@zoulas.com