play fails to start, it cannot find some libraries. It may be connected to some compile options. Fix: # fgrep -rIsl libasound_module_pcm_oss /usr/ports/audio/ /usr/ports/audio/alsa-plugins/pkg-plist /usr/ports/audio/alsa-utils/Makefile /usr/ports/audio/hydrogen/Makefile /usr/ports/audio/xmp/Makefile After installing audio/alsa-plugins play works properly. Some RUN_DEPENDS should be added. How-To-Repeat: # play some.mp3 ALSA lib pcm.c:2173:(snd_pcm_open_conf) Cannot open shared library /usr/local/lib/alsa-lib/libasound_module_pcm_oss.so play FAIL formats: can't open output file `default': snd_pcm_open error: No such file or directory # cd /usr/ports/audio/sox; make showconfig ===> The following configuration options are available for sox-14.3.0_5: AO=on "Enable libao output" AMRNB=on "AMR Speech Codec (Narrowband)" AMRWB=on "AMR Speech Codec (Wideband)" FFMPEG=on "Enable ffmpeg en/decoding" FLAC=on "Enable flac en/decoding with libflac" GSM=on "Use libgsm from ports (else use bundled lib)" ID3TAG=on "Enable mp3 tagging with libid3tag" LADSPA=on "Audio plugin support" LAME=on "Enable mp3 encoding with LAME" MAD=on "Enable mp3 decoding with MAD" PNG=on "Enable PNG spectrogram creation" SNDFILE=on "Enable libsndfile" VORBIS=on "Enable Ogg Vorbis support" WAVPACK=on "Enable Wavpack support" ===> Use 'make config' to modify these settings
Maintainer of audio/sox, Please note that PR ports/153159 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/153159 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
The attached patch should fix the problem (I used audio/xmp's Makefile as a template). Any port committer that wants to commit this, please use the following log entry: === Sox will use alsa-lib if it finds it and isn't told not to use it, so add an optional dependency on it, defaulting to off. Bump portrevision to repair any installed sox binaries that might be broken due to the unreported dependency. === -- Dan Nelson dnelson@allantgroup.com
Responsible Changed From-To: freebsd-ports-bugs->makc I'll take it.
State Changed From-To: feedback->open Feedback received.
makc 2010-12-16 17:34:41 UTC FreeBSD ports repository Modified files: audio/sox Makefile distinfo Log: Add optinal dependency on alsa-lib Remove md5 checksum while I'm here PR: ports/153159 Reported by: Anatoly Borodin <anatoly.borodin at gmail.com> Patched by: Dan Nelson (maintainer) Revision Changes Path 1.52 +10 -1 ports/audio/sox/Makefile 1.21 +0 -1 ports/audio/sox/distinfo _______________________________________________ cvs-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/cvs-all To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!