Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build][202106] Fix libyang build broken issue #13160

Draft
wants to merge 4 commits into
base: 202106
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions sonic-slave-buster/Dockerfile.j2
Original file line number Diff line number Diff line change
Expand Up @@ -354,9 +354,6 @@ RUN apt-get update && apt-get install -y \
libsystemd-dev \
pkg-config

# Upgrade cmake to support dbus-python build in armhf
RUN apt-get install -t buster-backports -y cmake

RUN apt-get -y build-dep openssh

# Build fix for ARMHF buster libsairedis
Expand All @@ -380,6 +377,12 @@ RUN apt-get -y build-dep openssh

# workaround because of https://bugs.launchpad.net/qemu/+bug/1805913, just disable aspell
RUN cp /bin/true /usr/bin/aspell

# Upgrade cmake to support dbus-python build in armhf, but the latest version of cmake conflicts with libyang
RUN apt-get install -t buster-backports -y cmake=3.18.4-2+deb11u1~bpo10+1 cmake-data=3.18.4-2+deb11u1~bpo10+1
RUN pip3 install --upgrade pip
RUN pip3 install dbus-python
RUN apt-get install -y cmake=3.13.4-1 cmake-data=3.13.4-1 --allow-downgrades
{%- endif %}

## Config dpkg
Expand Down