Skip to content

Commit 5f9c223

Browse files
Fix Debian:sid container env build
This patch is a fix for the scheduled `SID` build & publish workflow: https://github.com/MariaDB/buildbot/actions/runs/22814064687/job/66253037585 ```bash E: Unable to satisfy dependencies. Reached two conflicting assignments: 1. libboost1.83-dev:amd64 is selected for install because: 1. libboost-system-dev:amd64=1.83.0.2+b2 is selected for install 2. libboost-system-dev:amd64 Depends libboost-system1.83-dev 3. libboost-system1.83-dev:amd64 Depends libboost1.83-dev (= 1.83.0-5+b2) 2. libboost1.83-dev:amd64 is available in version 1.83.0-5+b2 but none of the choices are installable: - libboost1.83-dev:amd64=1.83.0-5+b2 is not selected for install because: 1. libboost-dev:amd64 is selected for install 2. libboost-dev:amd64 Depends libboost1.90-dev 3. libboost1.90-dev:amd64 Conflicts libboost1.83-dev ``` `libboost` is now 1.90 in `SID`, `libboost-system-dev` is no longer a STUB and was not released as a package in 1.90. Trying to install it will generate conflicts with the other boost development packages.
1 parent ee26e1f commit 5f9c223

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

ci_build_images/debian.Dockerfile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ RUN . /etc/os-release \
2323
exit 1; \
2424
fi
2525

26+
ARG BASE_IMAGE
2627
ARG ARCH_VARIANT=
2728
ENV ARCH_VARIANT=$ARCH_VARIANT
2829
# Install updates and required packages
@@ -71,7 +72,11 @@ RUN . /etc/os-release \
7172
libasio-dev \
7273
# bootstrapping libboost additions in below line for MDEV-35826. \
7374
# to be removed after https://github.com/MariaDB/server/pull/2651 merge to 11.4 \
74-
libboost-atomic-dev libboost-chrono-dev libboost-date-time-dev libboost-regex-dev libboost-system-dev libboost-thread-dev \
75+
libboost-atomic-dev \
76+
libboost-chrono-dev \
77+
libboost-date-time-dev \
78+
libboost-regex-dev \
79+
libboost-thread-dev \
7580
libboost-dev \
7681
libboost-filesystem-dev \
7782
libboost-program-options-dev \
@@ -90,6 +95,7 @@ RUN . /etc/os-release \
9095
socat \
9196
sudo \
9297
wget \
98+
&& if [[ $BASE_IMAGE != "debian:sid" ]]; then apt-get -y install --no-install-recommends libboost-system-dev; fi \
9399
&& if [ "$(getconf LONG_BIT)" = 64 ]; then apt-get -y install --no-install-recommends galera-4; fi \
94100
&& if [ "${VERSION_ID}" != 11 ]; then \
95101
# Bootstrap MDEV-32686 so only temporary until https://github.com/MariaDB/server/pull/3692 merged up \

0 commit comments

Comments
 (0)