file not recognizing MP3 files?

Andrew Watts ahwatts at gmail.com
Wed Mar 2 08:05:42 PST 2011


It looks like my MD5 is the same as yours.  The only difference I can
see is that mine appears to be i386-specific for 10.5 and yours is a
universal binary for 10.6.  I'll try building a universal binary.

andrew at drbernice ~ $ md5 /opt/local/share/misc/magic.mgc
MD5 (/opt/local/share/misc/magic.mgc) = 5b0f88319e3367f3597650fa9782522f

andrew at drbernice ~ $ port -v installed file
The following ports are currently installed:
  file @5.04_1 platform='darwin 9' archs='i386'
  file @5.05_0 (active) platform='darwin 9' archs='i386'

andrew at drbernice ~ $ file -l | grep "ID3\|MPEG"
Strength =  70 : MPEG ADIF, AAC [audio/x-hx-aac-adif]
Strength =  60 : Audio file with ID3 version 2 []
Strength =  71 : MPEG sequence [video/mpeg]
Strength =  70 : MPEG transport stream data []
Strength =  51 : MPEG ADTS, layer III, v1,  32 kbps [audio/mpeg]
Strength =  50 : MPEG-4 LOAS [audio/x-mp4a-latm]
Strength =  50 : MPEG ADTS, AAC [audio/x-hx-aac-adts]
Strength =  50 : MPEG ADTS, layer III,  v2.5 [audio/mpeg]
Strength =  50 : MPEG ADTS, layer I, v2 [audio/mpeg]
Strength =  50 : MPEG ADTS, layer II, v2 []
Strength =  50 : MPEG ADTS, layer III, v2 [audio/mpeg]
Strength =  50 : MPEG ADTS, layer II, v1 [audio/mpeg]

On Wed, Mar 2, 2011 at 3:49 AM, Andrea D'Amore <and.damore at macports.org> wrote:
> On Tue, Mar 1, 2011 at 3:20 AM, Andrew Watts <ahwatts at gmail.com> wrote:
>> I just tried uninstalling & reinstalling 5.05, and I'm getting the
>> same behavior.  I get identical results to yours from the "file -l"
>> commands.
>>
>> Curiously, it's also not recognizing binaries (like its own) as Mach-O
>> executables.  file `which file` is giving me "data".
>>
>> It does recognize things like M4A and WAV files, as well as JPEGs / PNGs.
>
> Out of curiosity what's md5 for /opt/local/share/misc/magic.mgc @5.05 ?
>
> I have:
>
> ~ $ md5 /opt/local/share/misc/magic.mgc
> MD5 (/opt/local/share/misc/magic.mgc) = 5b0f88319e3367f3597650fa9782522f
>
>
> and
>
> ~ $ port -v installed file
> The following ports are currently installed:
>  file @5.05_0+universal (active) platform='darwin 10' archs='i386 x86_64'
> ~ $ file -l | grep "ID3\|MPEG"
> Strength =  70 : MPEG ADIF, AAC [audio/x-hx-aac-adif]
> Strength =  60 : Audio file with ID3 version 2 []
> Strength =  71 : MPEG sequence [video/mpeg]
> Strength =  70 : MPEG transport stream data []
> Strength =  51 : MPEG ADTS, layer III, v1,  32 kbps [audio/mpeg]
> Strength =  50 : MPEG-4 LOAS [audio/x-mp4a-latm]
> Strength =  50 : MPEG ADTS, AAC [audio/x-hx-aac-adts]
> Strength =  50 : MPEG ADTS, layer III,  v2.5 [audio/mpeg]
> Strength =  50 : MPEG ADTS, layer I, v2 [audio/mpeg]
> Strength =  50 : MPEG ADTS, layer II, v2 []
> Strength =  50 : MPEG ADTS, layer III, v2 [audio/mpeg]
> Strength =  50 : MPEG ADTS, layer II, v1 [audio/mpeg]
>
>
> --
> Andrea
>


More information about the macports-users mailing list