Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101298 - sys-apps/file -i always returns the same mime type
Summary: sys-apps/file -i always returns the same mime type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: Low major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-04 01:06 UTC by PIERRE Benoît
Modified: 2005-08-18 15:27 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 PIERRE Benoît 2005-08-04 01:06:28 UTC
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 Carsten Lohrke (RETIRED) gentoo-dev 2005-08-04 02:56:51 UTC
`emerge --info` please. Which version of sys-apps/file are you using?
Comment 2 PIERRE Benoît 2005-08-04 13:13:51 UTC
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 Julien Janier 2005-08-04 13:26:53 UTC
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 SpanKY gentoo-dev 2005-08-04 16:17:20 UTC
confirmed ... file-4.14 outputs audio/x-mod for most things but file-4.13 works fine
Comment 5 SpanKY gentoo-dev 2005-08-18 15:27:21 UTC
fixed with file-4.15