d1_build icon indicating copy to clipboard operation
d1_build copied to clipboard

Build hangs at step [build_image 4/8]

Open peerchemist opened this issue 1 year ago • 0 comments

DOCKER_BUILDKIT=1 docker-compose build panel

Building panel
[+] Building 8.9s (59/68)                                                                                
 => [internal] load build definition from Dockerfile                                                0.0s
 => => transferring dockerfile: 7.55kB                                                              0.0s
 => [internal] load .dockerignore                                                                   0.0s
 => => transferring context: 2B                                                                     0.0s
 => [internal] load metadata for docker.io/library/debian:bookworm                                  1.1s
 => [internal] load build context                                                                   0.0s
 => => transferring context: 3.08kB                                                                 0.0s
 => [builder 1/4] FROM docker.io/library/debian:bookworm@sha256:7b1f092d471519e5c2063824436cb5d64d  0.0s
 => CACHED [builder 2/4] RUN echo "Acquire::http::Proxy "";" >/etc/apt/apt.conf.d/00proxy           0.0s
 => CACHED [builder 3/4] RUN --mount=type=cache,sharing=shared,target=/var/cache     --mount=type=  0.0s
 => CACHED [builder 4/4] RUN riscv64-linux-gnu-gcc --version | grep gcc | cut -d')' -f2             0.0s
 => CACHED [build_opensbi 1/4] WORKDIR /build                                                       0.0s
 => CACHED [build_uboot  2/15] RUN eatmydata git clone --depth 1 --branch d1-2022-10-31 https://gi  0.0s
 => CACHED [build_uboot  3/15] WORKDIR /build/u-boot                                                0.0s
 => CACHED [build_uboot  4/15] COPY kernel/update_uboot_config.sh .                                 0.0s
 => CACHED [build_uboot  5/15] COPY config/ov_lichee_rv_mini_lcd.dts ./arch/riscv/dts/ov_lichee_rv  0.0s
 => CACHED [build_uboot  6/15] RUN sed -i '3s/^/dtb-$(CONFIG_TARGET_SUN20I_D1) += ov_lichee_rv_min  0.0s
 => CACHED [build_uboot  7/15] RUN cat ./arch/riscv/dts/Makefile                                    0.0s
 => CACHED [build_uboot  8/15] RUN if [ "lichee_rv_86" = "lichee_rv_86" ] ; then       echo "Build  0.0s
 => CACHED [build_opensbi 2/4] RUN git clone --depth 1 --branch v1.2 https://github.com/riscv-soft  0.0s
 => CACHED [build_opensbi 3/4] WORKDIR /build/opensbi                                               0.0s
 => CACHED [build_opensbi 4/4] RUN eatmydata make CROSS_COMPILE=riscv64-linux-gnu- PLATFORM=generi  0.0s
 => CACHED [build_uboot  9/15] COPY --from=build_opensbi /build/opensbi/build/platform/generic/fir  0.0s
 => CANCELED [build_uboot 10/15] RUN eatmydata make -j $(nproc) CROSS_COMPILE=riscv64-linux-gnu- a  7.8s
 => CACHED [build_image 1/8] WORKDIR /builder                                                       0.0s
 => CACHED [build_rootfs  2/19] COPY rootfs/multistrap_lichee_rv_86.conf multistrap.conf            0.0s
 => CACHED [build_rootfs  3/19] RUN --mount=type=cache,sharing=shared,target=/var/cache     --moun  0.0s
 => CACHED [build_rootfs  4/19] WORKDIR /build                                                      0.0s
 => CACHED [build_kernel  2/17] RUN eatmydata git clone --depth 1 --branch d1-wip-v5.18-rc1 https:  0.0s
 => CACHED [build_kernel  3/17] RUN cd linux && eatmydata git checkout  && cd -                     0.0s
 => CACHED [build_kernel  4/17] WORKDIR /build/linux/drivers/net/wireless                           0.0s
 => CACHED [build_kernel  5/17] RUN eatmydata git clone --depth 1 https://github.com/YuzukiHD/Xrad  0.0s
 => CACHED [build_kernel  6/17] RUN echo 'obj-$(CONFIG_XR829_WLAN) += Xradio-XR829/' >> Makefile    0.0s
 => CACHED [build_kernel  7/17] WORKDIR /build/linux                                                0.0s
 => CACHED [build_kernel  8/17] COPY kernel/update_kernel_config.sh .                               0.0s
 => CACHED [build_kernel  9/17] RUN ./update_kernel_config.sh defconfig                             0.0s
 => CACHED [build_kernel 10/17] WORKDIR /build                                                      0.0s
 => CACHED [build_kernel 11/17] RUN eatmydata make ARCH=riscv -C linux O=../linux-build defconfig   0.0s
 => CACHED [build_kernel 12/17] RUN eatmydata make -j $(nproc) -C linux-build ARCH=riscv CROSS_COM  0.0s
 => CACHED [build_kernel 13/17] WORKDIR /build                                                      0.0s
 => CACHED [build_kernel 14/17] RUN eatmydata git clone --depth 1 https://github.com/lwfinger/rtl8  0.0s
 => CACHED [build_kernel 15/17] WORKDIR /build/rtl8723ds                                            0.0s
 => CACHED [build_kernel 16/17] RUN eatmydata make -j $(nproc) ARCH=riscv CROSS_COMPILE=riscv64-li  0.0s
 => CACHED [build_kernel 17/17] RUN ls -l                                                           0.0s
 => CACHED [build_rootfs  5/19] COPY --from=build_kernel /build/linux-build/ ./linux-build/         0.0s
 => CACHED [build_rootfs  6/19] COPY --from=build_kernel /build/linux/ ./linux/                     0.0s
 => CACHED [build_rootfs  7/19] COPY --from=build_kernel /build/rtl8723ds/8723ds.ko .               0.0s
 => CACHED [build_rootfs  8/19] WORKDIR /build/linux-build                                          0.0s
 => CACHED [build_rootfs  9/19] RUN eatmydata make ARCH=riscv INSTALL_MOD_PATH=/port/rv64-port mod  0.0s
 => CACHED [build_rootfs 10/19] RUN ls /port/rv64-port/lib/modules/ > /kernel_ver                   0.0s
 => CACHED [build_rootfs 11/19] RUN echo "export MODDIR=$(ls /port/rv64-port/lib/modules/)" > /mod  0.0s
 => CACHED [build_rootfs 12/19] RUN ls /port/rv64-port/lib/modules/                                 0.0s
 => CACHED [build_rootfs 13/19] RUN . /moddef && echo "Creating wireless module in ${MODDIR}"       0.0s
 => CACHED [build_rootfs 14/19] RUN . /moddef && install -v -D -p -m 644 /build/8723ds.ko /port/rv  0.0s
 => CACHED [build_rootfs 15/19] RUN . /moddef && rm /port/rv64-port/lib/modules/${MODDIR}/build     0.0s
 => CACHED [build_rootfs 16/19] RUN . /moddef && rm /port/rv64-port/lib/modules/${MODDIR}/source    0.0s
 => CACHED [build_rootfs 17/19] RUN . /moddef && depmod -a -b /port/rv64-port "${MODDIR}"           0.0s
 => CACHED [build_rootfs 18/19] RUN echo '8723ds' >> /port/rv64-port/etc/modules                    0.0s
 => CACHED [build_rootfs 19/19] RUN echo 'xr829' >> /port/rv64-port/etc/modules                     0.0s
 => CACHED [build_image 2/8] COPY --from=build_rootfs /kernel_ver ./                                0.0s
 => CACHED [build_image 3/8] COPY --from=build_rootfs /port/rv64-port/ ./rv64-port/                 0.0s
 => CACHED [build_image 4/8] COPY --from=build_kernel /build/linux-build/arch/riscv/boot/Image.gz   0.0s

I've left it running for over 4 hours at this step, it just stays there.

Any tips how to debug this?

peerchemist avatar Mar 19 '23 09:03 peerchemist