-
Bug
-
Resolution: Done
-
Normal
-
None
-
4.13
-
None
-
Critical
-
No
-
False
-
Description of problem:
While trying to build a driver with KMM on OCP 4.13.0-0.nightly-2023-03-28-132111 I get this error
[2/2] STEP 9/11: RUN depmod -b /opt depmod: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory error: build error: building at STEP "RUN depmod -b /opt": while running runtime: exit status 127
Version-Release number of selected component (if applicable):
4.13.0-0.nightly-2023-03-28-132111
How reproducible:
Build a KMM module with following Dockerfile
FROM image-registry.openshift-image-registry.svc:5000/openshift/driver-toolkit as builder ARG KERNEL_VERSION ARG MY_MODULE WORKDIR /build RUN git clone https://github.com/cdvultur/kmm-kmod.git WORKDIR /build/kmm-kmod RUN cp kmm_ci_a.c multi-stage.c RUN make FROM registry.redhat.io/ubi8/ubi-minimal ARG KERNEL_VERSION ARG MY_MODULE RUN microdnf -y install kmod COPY --from=builder /usr/bin/kmod /usr/bin/ RUN for link in /usr/bin/modprobe /usr/bin/rmmod; do \ ln -s /usr/bin/kmod "$link"; done COPY --from=builder /etc/driver-toolkit-release.json /etc/ COPY --from=builder /build/kmm-kmod/*.ko /opt/lib/modules/${KERNEL_VERSION}/ RUN depmod -b /opt
Steps to Reproduce:
1. 2. 3.
Actual results:
[2/2] STEP 9/11: RUN depmod -b /opt depmod: error while loading shared libraries: libcrypto.so.3: cannot open shared object file: No such file or directory error: build error: building at STEP "RUN depmod -b /opt": while running runtime: exit status 127
Expected results:
Driver build to succeed
Additional info:
- is caused by
-
OCPBUGS-11120 DTK docs should mention the ubi9 base image instead of ubi8
- Closed