Subject: Re: pkg/33254 (default install of libao results in no audio output on NetBSD)
To: Havard Eidnes <he@netbsd.org>
From: Julio M. Merino Vidal <jmmv84@gmail.com>
List: pkgsrc-bugs
Date: 04/16/2006 19:49:29
On 4/16/06, Havard Eidnes <he@netbsd.org> wrote:
> > Can you try to run the following from vorbis-tools and show us the resu=
lts?
> >     make show-vars VARNAMES=3D"_LIBAO_DEFAULT_PLUGIN OPSYS"
> > Thanks.
>
> It shows
>
> vestlia: {2} make show-vars VARNAMES=3D"_LIBAO_DEFAULT_PLUGIN OPSYS"
> oss
> NetBSD
> vestlia: {3}

This looks right.  Doing a 'make extract' from within vorbis-tools should l=
ist
libao-oss as one of the dependencies (well, it will really show
libao-[a-z]*-[0-9]*,
but the default provider will be set to libao-oss).

> BTW, when using the oss device type (after my manual tweak to libao;
> it was not recognized earlier) required me to manually create a
> symlink /dev/dsp, pointing to /dev/sound, while pkgsrc did not warn me
> that I had to do so.

This should certainly not happen.  The SUBST* stuff in libao-oss/Makefile s=
hould
take care of that...

> The reason this may be a problem on my side is that I've run with a
> partially updated pkgsrc (mk and audio from pkgsrc-2006Q1 IIRC); I'm
> updating it all now.

But maybe this is the reason.  Can you deinstall libao-oss, vorbis-tools an=
d
try again from an up to date tree?

--
Julio M. Merino Vidal <jmmv84@gmail.com>
The Julipedia - http://julipedia.blogspot.com/