On Jan 14, 2009, at 9:04 AM, Noam Sturmwind wrote: > There seem to be a couple of problems with the new mpd package. > > First, it seems that mpd-0.14-2 depends on libfaad1-shlibs and > libfaad1-dev version 2.0.0-1099 or greater, but the only available > version > of libfaad1 is 2.0.0-1013. Changing the dependencies in mpd.info to > use > version 2.0.0-1013 instead seems to cause no problems. However, I'm > assuming that 2.0.0-1099 was required for a reason. >
I wouldn't assume that. :-) > Second, the configure script for mpd attempts to compile with ffmpeg > support as long as libavformat, libavcodec, and libavutil are present. > However, the majority of ffmpeg files are provided in the ffmpeg-dev > package. Without this package, ffmpeg support does not compile > properly. > This issue arises because mpd.info lists libavformat-dev, libavcodec- > dev, > and libavutil-dev as buil dependencies, but does not list ffmpeg-dev. > Adding it as a build dependency solves this problem. > Thanks for catching that. We don't currently have a mechanism in place to track inheritance of build dependencies, so they get missed sometimes. > After making these changes I was able to successfully compile and > run mpd, > but I encountered a third problem when running it as a daemon. (It > works > fine when running with the --no-daemon flag.) When I initiate > playback of > an audio file, the mpd daemon crashes with the following message: > > playlist: play 0:"David Bowie/Unknown Album/Space Oddity.mp3" > client 0: command returned 0 > The process has forked and you cannot use this CoreFoundation > functionality safely. You MUST exec(). > Break on > __THE_PROCESS_HAS_FORKED_AND_YOU_CANNOT_USE_THIS_COREFOUNDATION_FUNCTIONALITY___YOU_MUST_EXEC__ > > () > to debug. > > This is on 10.5.5 Intel. I have a CrashReporter log that I can send; > I'm > not sure if attachments are permitted on this list. > > Noam > What you're seeing in the daemon mode on 10.5 is a fundamental problem on Leopard. Basically, anything that links to CoreFoundation isn't allowed to use fork(). (It may have been problematic on Tiger, too, but wasn't set up to be fatal). This will require some patching, as well as potentially discussions with the upstream developers. I've updated the dependencies, though, and cc'ed the maintainer. ------------------------------------------------------------------------------ This SF.net email is sponsored by: SourcForge Community SourceForge wants to tell your story. http://p.sf.net/sfu/sf-spreadtheword _______________________________________________ Fink-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/fink-users
