[Pkg-alsa-devel] Bug#915125: libasound2-data: Stretch Regression: alsa.conf.d not provided and breaks crouton audio build

Mike Fedyk mikefedyk at gmail.com
Sat Dec 1 09:04:56 GMT 2018


Hi,

I just re-ran a test using:

$ sudo bash ~/Downloads/crouton -r buster -t audio -n test-buster

Which gives these errors:

Compiling CRAS (native)...
Installing CRAS...
/prepare.sh: 1173: /prepare.sh: cannot create
/usr/share/alsa/alsa.conf.d/10-cras.conf: Directory nonexistent
Failed to complete chroot setup.
Unmounting /mnt/stateful_partition/crouton/chroots/test-buster...


I mount it with this crouton tool:

$ sudo mount-chroot test-buster

Then I chroot into it:

$ sudo chroot /var/run/crouton/mnt/stateful_partition/crouton/chroots/test-buster/
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.utf8)

Then I run dpkg as requested:

(test-buster)root at localhost:/# dpkg -l | egrep "(libasou|alsa)"
ii  alsa-utils                    1.1.7-1              armhf
Utilities for configuring and using ALSA
ii  libasound2:armhf              1.1.7-1+b1           armhf
shared library for ALSA applications
ii  libasound2-data               1.1.7-1              all
Configuration files and profiles for ALSA drivers
ii  libasound2-dev:armhf          1.1.7-1+b1           armhf
shared library for ALSA applications -- development files

Confirmation the directory is missing:

(test-buster)root at localhost:/# ls -lhd /usr/share/alsa/alsa.conf.d
ls: cannot access '/usr/share/alsa/alsa.conf.d': No such file or directory


On Sat, Dec 1, 2018 at 1:32 AM Elimar Riesebieter <riesebie at lxtec.de> wrote:

> * Mike Fedyk <mikefedyk at gmail.com> [2018-11-30 12:44 -0600]:
>
> > Package: libasound2-data
> > Version: 1.1.7-1
> > Severity: normal
> >
> > Hi,
> >
> > I can install crouton with audio with stretch by running:
> >
> > $ sudo bash ~/Downloads/crouton -r stretch -t audio
> >
> > But it fails when I try with testing/buster:
> >
> > $ sudo bash ~/Downloads/crouton -r buster -t audio
> >
> > Looking into it, it fails on this line:
> >
> > https://github.com/dnschneid/crouton/blob/master/targets/audio#L200
> > which writes to /usr/share/alsa/alsa.conf.d/10-cras.conf, but that
> > directory doesn't exist.
>
> What tells:
>
> $ dpkg -l | egrep "(libasou|alsa)"
>
> ?
>
> Elimar
> --
>   "Talking much about oneself can also
>    be a means to conceal oneself."
>          -Friedrich Nietzsche
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-alsa-devel/attachments/20181201/89c77202/attachment.html>


More information about the Pkg-alsa-devel mailing list