This repository was archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 53
Error in building the container #1088
Copy link
Copy link
Open
Description
While running
$ docker build --pull --build-arg CACHEBUST= --build-arg GOFLAGS=-mod=vendor --build-arg BIN_SUFFIX= --build-arg no_proxy=${no_proxy} --build-arg VERSION=v1.0.0-115-g03ffd4f9 -t localhost:5000/pmem-csi-driver:canary -f ./Dockerfile . --label revision=v1.0.0-115-g03ffd4f9
I got an error when it is doing the
Step 12/48 : RUN set -x && git clone https://github.com/intel/ipmctl.git && cd ipmctl && tag=$(curl --silent https://github.com/intel/ipmctl/releases/latest | sed -e 's;.*tag/\([^"]*\).*;\1;') && git checkout $tag && mkdir build && cd build && cmake -DRELEASE=ON -DCMAKE_INSTALL_PREFIX=/usr/local .. && make -j all && make install
The error is the following
[ 9%] Building C object CMakeFiles/ipmctl_os_interface.dir/src/os/os_common.c.o
/usr/bin/cc -DHAVE_C99 -DINI_INSTALL_FILEPATH=\"/usr/local/share/ipmctl/\" -DOS_BUILD -DPCD_CACHE_ENABLED -DPLAYBACK_RECORD_SUPPORTED -D_GNU_SOURCE -D__LINUX__ -D__VERSION_NUMBER__=02.00.00.3885 -I/ipmctl/src/os -I/ipmctl/src/os/linux -I/ipmctl/DcpmPkg/common -I/ipmctl/DcpmPkg/cli -I/ipmctl/src/os/nvm_api -I/ipmctl/src/os/s_string -I/ipmctl/MdePkg/Include -I/ipmctl/MdePkg/Include/Uefi -I/ipmctl/src/os/efi_shim -DNO_MSABI_VA_FUNCS -std=c99 -Wformat -Wformat-security -D_XOPEN_SOURCE=500 -Wall -Wfatal-errors -MMD -fPIC -fno-strict-aliasing -fstack-protector-strong -O3 -DNDEBUG -O2 -fno-strict-aliasing -D_FORTIFY_SOURCE=2 -Werror -fvisibility=hidden -o CMakeFiles/ipmctl_os_interface.dir/src/os/linux/lnx_api.c.o -c /ipmctl/src/os/linux/lnx_api.c
[ 10%] Building C object CMakeFiles/ipmctl_os_interface.dir/src/os/os_str.c.o
/ipmctl/src/os/linux/lnx_acpi.c:11:10: fatal error: Base.h: No such file or directory
#include <Base.h>
make[2]: Leaving directory '/ipmctl/build'
make[2]: *** [CMakeFiles/ipmctl_os_interface.dir/build.make:131: CMakeFiles/ipmctl_os_interface.dir/src/os/linux/lnx_system.c.o] Error 1
*** Waiting for unfinished jobs....
gzip -f /ipmctl/output/release/manpage/*.1
Built target manpage
make[1]: Leaving directory '/ipmctl/build'
make: *** [Makefile:144: all] Error 2
The command '/bin/sh -c set -x && git clone https://github.com/intel/ipmctl.git && cd ipmctl && tag=$(curl --silent https://github.com/intel/ipmctl/releases/latest | sed -e 's;.*tag/\([^"]*\).*;\1;') && git checkout $tag && mkdir build && cd build && cmake -DRELEASE=ON -DCMAKE_INSTALL_PREFIX=/usr/local .. && make -j all && make install' returned a non-zero code: 2
make[1]: *** [Makefile:100: build-image] Error 2
The system is using
Go version: go1.18.6
Kubectl v1.23.1
Metadata
Metadata
Assignees
Labels
No labels