Bug 101298 - sys-apps/file -i always returns the same mime type
Bug#: 101298 Product:  Gentoo Linux Version: 2005.0 Platform: x86
OS/Version: Linux Status: RESOLVED Severity: major Priority: P4
Resolution: FIXED Assigned To: base-system@gentoo.org Reported By: pierre_b@epita.fr
Component: Core system
URL: 
Summary: sys-apps/file -i always returns the same mime type
Keywords:  
Status Whiteboard: 
Opened: 2005-08-04 01:06 0000
Description:   Opened: 2005-08-04 01:06 0000
file -i is currently broken: it returns 'audio/x-mod' no matter what the file
format is. This break application using the library too (libfile).

------- Comment #1 From Carsten Lohrke 2005-08-04 02:56:51 0000 -------
`emerge --info` please. Which version of sys-apps/file are you using?

------- Comment #2 From PIERRE BenoƮt 2005-08-04 13:13:51 0000 -------
Sorry, here:

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r1,
2.6.12-gentoo-r6 i686)
=================================================================
System uname: 2.6.12-gentoo-r6 i686 AMD Athlon(tm) XP
Gentoo Base System version 1.12.0_pre3
dev-lang/python:     2.3.5
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2

sys-apps/file:       4.14

------- Comment #3 From Julien Janier 2005-08-04 13:26:53 0000 -------
I have the same probleme on my system :

Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r0,
2.6.12-rc4 i686)
=================================================================
System uname: 2.6.12-rc4 i686 Intel(R) Pentium(R) 4 CPU 2.00GHz
Gentoo Base System version 1.6.13
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.11
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2


sys-apps/file:       4.14


file -i always report "audio/x-mod"

------- Comment #4 From SpanKY 2005-08-04 16:17:20 0000 -------
confirmed ... file-4.14 outputs audio/x-mod for most things but file-4.13 works
fine

------- Comment #5 From SpanKY 2005-08-18 15:27:21 0000 -------
fixed with file-4.15