Details
-
Bug
-
Resolution: Done
-
Test Blocker
-
None
-
None
-
None
Description
cbmultimanager has two Dockerfiles which attempt to install too-specific versions of dependencies from the OS pacakge manager.
docker/Dockerfile.fluent-bit-linux-debian:
build-essential=12.8ubuntu1.1 cmake=3.16.3-1ubuntu1 make=4.2.1-1.2 \
|
libssl-dev=1.1.1f-1ubuntu2.13 ca-certificates=20211016~20.04.1 \
|
flex=2.6.4-6.2 bison=2:3.5.1+dfsg-1 curl=7.68.0-1ubuntu2.11
|
docker/Dockerfile.fluent-bit-linux-centos:
yum -y install bison-3.0.4-2.el7 cmake3-3.14.6 cmake3-3.17.5 flex-2.5.37-6.el7 gcc-4.8.5-44.el7 \
|
gcc-c++-4.8.5-44.el7 make-3.82-24.el7 openssl-devel-1.0.2k-25.el7_9 &&\
|
At least the first of these is causing build failures, because those packages are no longer available in the Ubuntu repositories:
08:44:33 #6 5.447 E: Version '1.1.1f-1ubuntu2.13' for 'libssl-dev' was not found
|
08:44:33 #6 5.447 E: Version '7.68.0-1ubuntu2.11' for 'curl' was not found
|
In general, it's bad practice to be so explicit for exactly this reason, and also because it prevents you from receiving security updates from the OS.
As a side note, that Centos one specifies two different versions of cmake, which won't work either - only one will end up installed.
Attachments
Issue Links
For Gerrit Dashboard: CMOS-490 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
178089,4 | CMOS-490: CMOS build broken due to over-specified dependencies | master | cbmultimanager | Status: MERGED | +2 | +1 |