Console Output
09:53:37 [2024-02-01T14:53:37.315Z] + docker build -t riscv-crosscompile .
09:53:37 [2024-02-01T14:53:37.315Z] Sending build context to Docker daemon 5.632kB
09:53:38 [2024-02-01T14:53:38.423Z] Step 1/19 : FROM debian:11.7-slim AS base
09:53:38 [2024-02-01T14:53:38.423Z] ---> f8e203ddac5b
09:53:38 [2024-02-01T14:53:38.423Z] Step 2/19 : ENV TZ=America/Toronto
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 1df78521d3c8
09:53:38 [2024-02-01T14:53:38.423Z] Step 3/19 : RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 2b4bbddf790e
09:53:38 [2024-02-01T14:53:38.423Z] Step 4/19 : RUN apt-get update && apt-get install -y binfmt-support bison build-essential ccache cmake flex gcc-riscv64-linux-gnu gdb git g++-riscv64-linux-gnu libelf-dev libdwarf-dev libglib2.0-dev lsb-release mmdebstrap ninja-build pkg-config python3 qemu-user-static time tzdata vim wget && rm -rf /var/lib/apt/lists/*
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 57a9302992d3
09:53:38 [2024-02-01T14:53:38.423Z] Step 5/19 : RUN groupadd -g 1001 jenkins && useradd -rm -u 1001 -g jenkins jenkins
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 08fd420a8b23
09:53:38 [2024-02-01T14:53:38.423Z] Step 6/19 : RUN wget -O /usr/local/include/riscv.h 'https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=include/opcode/riscv.h;hb=2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f' && wget -O /usr/local/include/riscv-opc.h 'https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob_plain;f=include/opcode/riscv-opc.h;hb=2f973f134d7752cbc662ec65da8ad8bbe4c6fb8f'
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> cc3505c6faaa
09:53:38 [2024-02-01T14:53:38.423Z] Step 7/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --keyserver keyserver.ubuntu.com --recv-key B523E5F3FC4E5F2C
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 4266c9f36b57
09:53:38 [2024-02-01T14:53:38.423Z] Step 8/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --keyserver keyserver.ubuntu.com --recv-key 8D69674688B6CB36
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 7664d67787d5
09:53:38 [2024-02-01T14:53:38.423Z] Step 9/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --export 8D69674688B6CB36 > /etc/apt/trusted.gpg.d/debian-ports-archive-2023.gpg
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 63262c37ee56
09:53:38 [2024-02-01T14:53:38.423Z] Step 10/19 : RUN gpg --homedir /tmp --no-default-keyring --primary-keyring "/tmp/debian-ports-keyring.gpg" --export 8D69674688B6CB36 > /etc/apt/trusted.gpg.d/debian-ports-archive-2023.gpg
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 47b950c78b26
09:53:38 [2024-02-01T14:53:38.423Z] Step 11/19 : RUN apt-get install -y fakeroot
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 011f89c20170
09:53:38 [2024-02-01T14:53:38.423Z] Step 12/19 : RUN wget -O /tmp/libfakeroot_1.31-1.2_riscv64.deb http://ftp.ports.debian.org/debian-ports/pool-riscv64/main/f/fakeroot/libfakeroot_1.31-1.2_riscv64.deb
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 5e61654425cb
09:53:38 [2024-02-01T14:53:38.423Z] Step 13/19 : RUN wget -O /tmp/libfakechroot_2.20.1+ds-15_riscv64.deb http://ftp.ports.debian.org/debian-ports/pool-riscv64/main/f/fakechroot/libfakechroot_2.20.1+ds-15_riscv64.deb
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> f9826bc821ae
09:53:38 [2024-02-01T14:53:38.423Z] Step 14/19 : RUN dpkg -X /tmp/libfakeroot_1.31-1.2_riscv64.deb /
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 0fd06809cd79
09:53:38 [2024-02-01T14:53:38.423Z] Step 15/19 : RUN dpkg -X /tmp/libfakechroot_2.20.1+ds-15_riscv64.deb /
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> f6ef9cf05cb9
09:53:38 [2024-02-01T14:53:38.423Z] Step 16/19 : RUN update-alternatives --set fakeroot /usr/bin/fakeroot-tcp
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> fd086cdca922
09:53:38 [2024-02-01T14:53:38.423Z] Step 17/19 : RUN mmdebstrap --mode=fakeroot --variant=minbase --architectures=riscv64 --include="debian-ports-archive-keyring,build-essential,libdwarf-dev,libelf-dev,libx11-dev,libxext-dev,libxrender-dev,libxrandr-dev,libxtst-dev,libxt-dev,libasound2-dev,libcups2-dev,libfontconfig1-dev" bullseye "/opt/sysroot" "deb http://deb.debian.org/debian-ports/ sid main" "deb http://deb.debian.org/debian-ports/ unreleased main"
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> feae129dc112
09:53:38 [2024-02-01T14:53:38.423Z] Step 18/19 : ENV CROSS_SYSROOT_RISCV64=/opt/sysroot
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 4363f61e379b
09:53:38 [2024-02-01T14:53:38.423Z] Step 19/19 : USER jenkins
09:53:38 [2024-02-01T14:53:38.423Z] ---> Using cache
09:53:38 [2024-02-01T14:53:38.423Z] ---> 08f75fcfc87a
09:53:38 [2024-02-01T14:53:38.423Z] Successfully built 08f75fcfc87a
09:53:38 [2024-02-01T14:53:38.423Z] Successfully tagged riscv-crosscompile:latest