Runc and containerd compilation fails

Why can't I find this directory?
Does it have something to do with this?

make[3]: Entering directory `/home/openwrt/master/openwrt/package/feeds/tools/runc'
rm -f /home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10/.built
touch /home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10/.built_check
CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10=runc-1.0.0-rc10 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/openwrt/master/openwrt/staging_dir/target-x86_64_musl/usr/include -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/usr/include -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/include/fortify -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/include " CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10=runc-1.0.0-rc10 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro  -I/home/openwrt/master/openwrt/staging_dir/target-x86_64_musl/usr/include -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/usr/include -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/include/fortify -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/include " LDFLAGS="-L/home/openwrt/master/openwrt/staging_dir/target-x86_64_musl/usr/lib -L/home/openwrt/master/openwrt/staging_dir/target-x86_64_musl/lib -L/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/usr/lib -L/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/lib -znow -zrelro "               GOOS=linux GOARCH=amd64 GO386= GOARM= GOMIPS= GOMIPS64= CGO_ENABLED=1 CC=x86_64-openwrt-linux-musl-gcc CXX=x86_64-openwrt-linux-musl-g++ CGO_CFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10=runc-1.0.0-rc10 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_CPPFLAGS="-I/home/openwrt/master/openwrt/staging_dir/target-x86_64_musl/usr/include -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/usr/include -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/include/fortify -I/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/include" CGO_CXXFLAGS="-Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10=runc-1.0.0-rc10 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" CGO_LDFLAGS="-L/home/openwrt/master/openwrt/staging_dir/target-x86_64_musl/usr/lib -L/home/openwrt/master/openwrt/staging_dir/target-x86_64_musl/lib -L/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/usr/lib -L/home/openwrt/master/openwrt/staging_dir/toolchain-x86_64_gcc-9.3.0_musl/lib -znow -zrelro"       GOPATH=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10/.go_work/build GOCACHE=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10/.go_work/cache GOENV=off make  -C /home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10/.go_work/build/src/github.com/opencontainers/runc AR="x86_64-openwrt-linux-musl-gcc-ar" AS="x86_64-openwrt-linux-musl-gcc -c -Os -pipe -fno-caller-saves -fno-plt -fhonour-copts -Wno-error=unused-but-set-variable -Wno-error=unused-result -ffile-prefix-map=/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10=runc-1.0.0-rc10 -Wformat -Werror=format-security -fstack-protector -D_FORTIFY_SOURCE=1 -Wl,-z,now -Wl,-z,relro" LD=x86_64-openwrt-linux-musl-ld NM="x86_64-openwrt-linux-musl-gcc-nm" CC="x86_64-openwrt-linux-musl-gcc" GCC="x86_64-openwrt-linux-musl-gcc" CXX="x86_64-openwrt-linux-musl-g++" RANLIB="x86_64-openwrt-linux-musl-gcc-ranlib" STRIP=x86_64-openwrt-linux-musl-strip OBJCOPY=x86_64-openwrt-linux-musl-objcopy OBJDUMP=x86_64-openwrt-linux-musl-objdump SIZE=x86_64-openwrt-linux-musl-size CROSS="x86_64-openwrt-linux-musl-" ARCH="x86_64" COMMIT=dc9208a3303feef5b3839f4323d9beb36df0a9dd BUILDTAGS='seccomp' ;
make: *** /home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10/.go_work/build/src/github.com/opencontainers/runc: No such file or directory.  Stop.
make[3]: *** [/home/openwrt/master/openwrt/build_dir/target-x86_64_musl/runc-1.0.0-rc10/.built] Error 2
make[3]: Leaving directory `/home/openwrt/master/openwrt/package/feeds/tools/runc'
time: package/feeds/tools/runc/compile#0.09#0.09#0.17

Could be - give it a try :grinning:

Comment out the code
#rm -f $(STAMP_BUILT) Fixed!!

1 Like

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.