Re: file not recognizing MP3 files?
Nope. "Universal" on my machine installs it for i386 and PPC, which means I'm still running the i386 version that wasn't working before. On Wed, Mar 2, 2011 at 11:05 AM, Andrew Watts wrote: > 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@drbernice ~ $ md5 /opt/local/share/misc/magic.mgc > MD5 (/opt/local/share/misc/magic.mgc) = 5b0f88319e3367f3597650fa9782522f > > andrew@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@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 > wrote: >> On Tue, Mar 1, 2011 at 3:20 AM, Andrew Watts 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 >> > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: file not recognizing MP3 files?
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@drbernice ~ $ md5 /opt/local/share/misc/magic.mgc MD5 (/opt/local/share/misc/magic.mgc) = 5b0f88319e3367f3597650fa9782522f andrew@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@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 wrote: > On Tue, Mar 1, 2011 at 3:20 AM, Andrew Watts 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 > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: file not recognizing MP3 files?
On Tue, Mar 1, 2011 at 5:05 AM, Rainer Müller wrote: > On 2011-03-01 03:47 , Arno Hautala wrote: >> and annoyingly: >>> $ /opt/local/bin/file /usr/bin/file /opt/local/bin/file >>> /usr/bin/file: Mach-O fat file with 2 architectures >>> /opt/local/bin/file: Mach-O fat file with 2 architectures > > Interesting, I get different results: > > $ port -q installed file > file @5.05_0 (active) > $ /opt/local/bin/file --version > file-5.05 > magic file from /opt/local/share/misc/magic > > $ /usr/bin/file /usr/bin/file /opt/local/bin/file > /usr/bin/file: Mach-O universal binary with 2 architectures > /usr/bin/file (for architecture x86_64): Mach-O 64-bit executable > x86_64 > /usr/bin/file (for architecture i386): Mach-O executable i386 > /opt/local/bin/file: Mach-O 64-bit executable x86_64 > $ /opt/local/bin/file /usr/bin/file /opt/local/bin/file > /usr/bin/file: Mach-O fat file with 2 architectures > /opt/local/bin/file: data > I'm seeing exactly the same output. If I drop back to 5.04, it works again; I suspect that the bug report that Ryan linked to is probably the same issue, although they don't mention the additional inability to recognize skinny Mach-O files. > > The sources for the Apple provided file command is here: > http://opensource.apple.com/source/file/file-39/ > > Would someone care to compare the sources and magic file? > > Rainer > ___ > macports-users mailing list > macports-users@lists.macosforge.org > http://lists.macosforge.org/mailman/listinfo.cgi/macports-users > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: file not recognizing MP3 files?
On Tue, Mar 1, 2011 at 4:51 AM, Ryan Schmidt wrote: > On Feb 28, 2011, at 18:22, Andrew Watts wrote: > >> It appears that version 5.05 of file is not recognizing MP3 files. On >> my mac, running 10.5.8, I get this: >> >> andrew@drbernice ~ $ file nanana.mp3 >> nanana.mp3: data > > Looks like this: > > http://bugs.gw.com/view.php?id=114 > > > Are you on PowerPC or Intel? Could be an endian issue. > I'm on Intel. > > > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: file not recognizing MP3 files?
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. Could it be a 32-bit / 64-bit issue? On Mon, Feb 28, 2011 at 7:38 PM, Arno Hautala wrote: > On Mon, Feb 28, 2011 at 19:22, Andrew Watts wrote: >> It appears that version 5.05 of file is not recognizing MP3 files. On >> my mac, running 10.5.8, I get this: > > I'm running 10.6.6, but the same version of "file" and don't see an issue. > > Try: >> file -l | grep ID3 > > and: >> file -l | grep MPEG > > I see: >> Strength = 60 : Audio file with ID3 version 2 [] > > and: >> Strength = 70 : MPEG ADIF, AAC [audio/x-hx-aac-adif] >> 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] > > Have you tried reinstalling 5.05? > > -- > arno s hautala /-| a...@alum.wpi.edu > > pgp b2c9d448 > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: file not recognizing MP3 files?
Bumping the version back to version 5.04 (r75061) fixes this problem. On Mon, Feb 28, 2011 at 7:22 PM, Andrew Watts wrote: > It appears that version 5.05 of file is not recognizing MP3 files. On > my mac, running 10.5.8, I get this: > > andrew@drbernice ~ $ file nanana.mp3 > nanana.mp3: data > andrew@drbernice ~ $ file --version > file-5.05 > magic file from /opt/local/share/misc/magic > andrew@drbernice ~ $ md5 nanana.mp3 > MD5 (nanana.mp3) = 489c7353b240310bf549a5479d44a79a > > On a machine running FC10, I get this: > > awatts@elton ~ $ file nanana.mp3 > nanana.mp3: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo > awatts@elton ~ $ file --version > file-4.26 > magic file from /usr/share/file/magic > awatts@elton ~ $ md5sum nanana.mp3 > 489c7353b240310bf549a5479d44a79a nanana.mp3 > > (I include the MD5 just to demonstrate that it's the same file). > > It's not just this file; it's not recognizing any MP3 on my machine. > It does recognize ID3 tags, but not the MP3 data that follows them. > > Any suggestions? > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
file not recognizing MP3 files?
It appears that version 5.05 of file is not recognizing MP3 files. On my mac, running 10.5.8, I get this: andrew@drbernice ~ $ file nanana.mp3 nanana.mp3: data andrew@drbernice ~ $ file --version file-5.05 magic file from /opt/local/share/misc/magic andrew@drbernice ~ $ md5 nanana.mp3 MD5 (nanana.mp3) = 489c7353b240310bf549a5479d44a79a On a machine running FC10, I get this: awatts@elton ~ $ file nanana.mp3 nanana.mp3: MPEG ADTS, layer III, v1, 128 kbps, 44.1 kHz, JntStereo awatts@elton ~ $ file --version file-4.26 magic file from /usr/share/file/magic awatts@elton ~ $ md5sum nanana.mp3 489c7353b240310bf549a5479d44a79a nanana.mp3 (I include the MD5 just to demonstrate that it's the same file). It's not just this file; it's not recognizing any MP3 on my machine. It does recognize ID3 tags, but not the MP3 data that follows them. Any suggestions? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Re: Unable to play MP3 files with mpg123
Strange I thought I'd set a DYLD_LIBRARY_PATH in my .profile, but I must have done that as a one-off way back the last time I needed mpg123. Adding export DYLD_LIBRARY_PATH=/opt/local/lib/mpg123:/opt/local/lib to my .profile did the trick. Thanks! Watts On Wed, Dec 2, 2009 at 11:28 AM, <(redacted)> wrote: > I had this problem. I worked around it with: > setenv DYLD_LIBRARY_PATH /opt/local/lib/mpg123 > (for tcsh, which I use, or > DYLD_LIBRARY_PATH=/opt/local/lib/mpg123; export DYLB_LIBRARY_PATH > for bash) > > I don't know how to make mpg123 know this by default, but this is good > enough for now. > > DAn. > > Andrew Watts-3 wrote: >> >> I suspect after some recent update, mpg123 stopped playing files. I >> get the following error message: >> >> and...@drbernice Music $ mpg123 20091006_ascom_bocachica.mp3 >> [module.c:138] error: Failed to open module coreaudio: file not found >> [audio.c:180] error: Unable to find a working output module in this >> list: coreaudio >> [audio.c:527] error: Failed to open audio output module >> [mpg123.c:779] error: Failed to initialize output, goodbye. >> >> I noticed that in /opt/local/lib/mpg123, there is an >> output_coreaudio.so; should this instead have been built as a .dylib? >> ___ >> macports-users mailing list >> macports-users@lists.macosforge.org >> http://lists.macosforge.org/mailman/listinfo.cgi/macports-users >> >> > Quoted from: > http://old.nabble.com/Unable-to-play-MP3-files-with-mpg123-tp26487565p26487565.html > > ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
Unable to play MP3 files with mpg123
I suspect after some recent update, mpg123 stopped playing files. I get the following error message: and...@drbernice Music $ mpg123 20091006_ascom_bocachica.mp3 [module.c:138] error: Failed to open module coreaudio: file not found [audio.c:180] error: Unable to find a working output module in this list: coreaudio [audio.c:527] error: Failed to open audio output module [mpg123.c:779] error: Failed to initialize output, goodbye. I noticed that in /opt/local/lib/mpg123, there is an output_coreaudio.so; should this instead have been built as a .dylib? ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
p5-io-aio needs common/sense.pm?
I was trying to play with the MogileFS server in MacPorts, and after a "port selfupdate" and a "sudo port upgrade outdated", mogstored refused to run: and...@drbernice ~ $ mogstored -d ERROR: IO::AIO not installed, so async IO not available. Refusing to run unless you set the environment variable MOGSTORED_RUN_WITHOUT_AIO=1 But p5-io-aio does seem to be installed: and...@drbernice ~ $ port list p5-io-aio p5-io-aio @3.3perl/p5-io-aio I tried running a quickie perl script to see why IO::AIO wouldn't load: and...@drbernice ~ $ perl -e "use IO::AIO" Can't locate common/sense.pm in @INC (@INC contains: /opt/local/lib/perl5/site_perl/5.8.9/darwin-2level /opt/local/lib/perl5/site_perl/5.8.9 /opt/local/lib/perl5/site_perl /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level /opt/local/lib/perl5/vendor_perl/5.8.9 /opt/local/lib/perl5/vendor_perl /opt/local/lib/perl5/5.8.9/darwin-2level /opt/local/lib/perl5/5.8.9 .) at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/IO/AIO.pm line 191. BEGIN failed--compilation aborted at /opt/local/lib/perl5/vendor_perl/5.8.9/darwin-2level/IO/AIO.pm line 191. Compilation failed in require at -e line 1. BEGIN failed--compilation aborted at -e line 1. It looks like this package does exist here (http://search.cpan.org/dist/common-sense/), but I can't find a port for it. Is this an oversight or am I just a doofus and doing something wrong? I'm not really even a Perl novice, so I'm a little out of my depth trying to diagnose this. FWIW, I'm running Leopard. Thanks, Andrew Watts ahwa...@gmail.com ___ macports-users mailing list macports-users@lists.macosforge.org http://lists.macosforge.org/mailman/listinfo.cgi/macports-users