Summary: | audio/praat, audio/alsa-lib: missing libs | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | kaltheat <kaltheat> | ||||||
Component: | Individual Port(s) | Assignee: | Jan Beich <jbeich> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Only Me | CC: | jwb | ||||||
Priority: | --- | Flags: | jbeich:
maintainer-feedback+
jwb: maintainer-feedback+ |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Description
kaltheat
2016-04-11 21:01:16 UTC
Created attachment 169227 [details] Depend on alsa-plugins package (In reply to kaltheat from comment #0) > ALSA lib dlmisc.c:254:(snd1_dlobj_cache_get) Cannot open shared library /usr/local/lib/alsa-lib/libasound_module_pcm_oss.so Install alsa-plugins package. There's no kernel ALSA support on FreeBSD. It looks like audio/praat uses bundled portaudio which supports OSS natively. audio/portaudio uses --without-alsa probably to avoid ALSA being picked over OSS. To avoid such issues maintainer may want to unbundle libraries under external/ subdirectory. https://www.freebsd.org/doc/en/books/porters-handbook/bundled-libs.html Patch approved. I've copied the latest praat into my WIP collection and will work on unbundling when I get a chance. https://github.com/outpaddling/freebsd-ports-wip Thanks, Jason Created attachment 169229 [details]
Drop alsa dependency, v0
Sorry, that wasn't enough to unbreak runtime.
A commit references this bug: Author: jbeich Date: Thu Apr 14 21:35:34 UTC 2016 New revision: 413318 URL: https://svnweb.freebsd.org/changeset/ports/413318 Log: audio/praat: unbreak sound support Portaudio doesn't work with alsa-plugins-oss, so switch to native OSS. ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [...] PR: 208728 Reported by: kaltheat@gmail.com Approved by: Jason Bacon <bacon4000@gmail.com> (maintainer) MFH: 2016Q2 Changes: head/audio/praat/Makefile head/audio/praat/files/makefile.defs.freebsd.alsa head/audio/praat/files/patch-external_portaudio_Makefile head/audio/praat/files/patch-external_portaudio_pa__unix__hostapis.c Thanks. Committed. A commit references this bug: Author: jbeich Date: Fri Apr 15 04:20:13 UTC 2016 New revision: 413323 URL: https://svnweb.freebsd.org/changeset/ports/413323 Log: MFH: r413318 audio/praat: unbreak sound support Portaudio doesn't work with alsa-plugins-oss, so switch to native OSS. ALSA lib confmisc.c:768:(parse_card) cannot find card '0' ALSA lib conf.c:4292:(_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory [...] PR: 208728 Reported by: kaltheat@gmail.com Approved by: Jason Bacon <bacon4000@gmail.com> (maintainer) Approved by: ports-secteam (junovitch) Changes: _U branches/2016Q2/ branches/2016Q2/audio/praat/Makefile branches/2016Q2/audio/praat/files/makefile.defs.freebsd.alsa branches/2016Q2/audio/praat/files/patch-external_portaudio_Makefile branches/2016Q2/audio/praat/files/patch-external_portaudio_pa__unix__hostapis.c |