Skip to content

[BUG] Update sof docker for latest alsa-lib and alsa-utils #3650

@juimonen

Description

@juimonen

Describe the bug
Current sof docker can't build enum topologies, because of old versions of alsa-lib and alsa-utils

To Reproduce
Build topology with enum control

Reproduction Rate
Always

Expected behavior
Topologies with enum controls can be built

Impact
Showstopper

In:
scripts/docker_build/sof_builder/Dockerfile

we have:
git clone $CLONE_DEFAULTS https://github.com/thesofproject/alsa-lib.git &&
git clone $CLONE_DEFAULTS https://github.com/thesofproject/alsa-utils.git

The above are not up-to-date with upstream

I personally just used:
git clone $CLONE_DEFAULTS https://github.com/alsa-project/alsa-lib.git &&
git clone $CLONE_DEFAULTS https://github.com/alsa-project/alsa-utils.git && \

to get things working (could we just use upstream here?).

Also latest crosstools-ng needs to increase open file size, so I needed to add:
--ulimit nofile=65536:65536 into /scripts/docker_build/sof_builder/docker-build.sh, (don't know if this is just my build environment), so I used:
docker build --ulimit nofile=65536:65536 --build-arg UID=$(id -u) --build-arg host_http_proxy=$http_proxy --build-arg host_https_proxy=$https_proxy -t sof

Metadata

Metadata

Labels

P1Blocker bugs or important featuresbugSomething isn't working as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions