Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dockerfile fails to build an image #24

Open
gon1332 opened this issue Mar 7, 2024 · 1 comment
Open

Dockerfile fails to build an image #24

gon1332 opened this issue Mar 7, 2024 · 1 comment

Comments

@gon1332
Copy link

gon1332 commented Mar 7, 2024

Hi!

First of all sorry if this isn't the space to post such issues.

I've tried it on current main (09225f2).

$ docker build . -f ./Dockerfile -t lnxdsp-u-boot-2023-4
[+] Building 203.0s (24/37)
 => [internal] load build definition from Dockerfile                                                                                                                                                           
 => => transferring dockerfile: 9.71kB                                                                                                                                                                         
 => [internal] load .dockerignore                                                                                                                                                                              
 => => transferring context: 2B                                                                                                                                                                                
 => [internal] load metadata for docker.io/library/ubuntu:jammy-20230126                                                                                                                                       
 => [ 1/34] FROM docker.io/library/ubuntu:jammy-20230126@sha256:9a0bdde4188b896a372804be2384015e90e3f84906b750c1a53539b585fbbe7f                                                                               
 => CACHED [ 2/34] RUN apt-get update && apt-get install -y gnupg2 wget xz-utils && rm -rf /var/lib/apt/lists/*                                                                                                
 => CACHED [ 3/34] RUN wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -                                                                                                                    
 => CACHED [ 4/34] RUN echo deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-14 main | tee /etc/apt/sources.list.d/llvm.list                                                                                
 => CACHED [ 5/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-aarch64-linux.tar.xz | tar -C /opt -xJ                                   
 => CACHED [ 6/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-arm-linux-gnueabi.tar.xz | tar -C /opt -xJ                               
 => CACHED [ 7/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-i386-linux.tar.xz | tar -C /opt -xJ                                      
 => CACHED [ 8/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-m68k-linux.tar.xz | tar -C /opt -xJ                                      
 => CACHED [ 9/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-mips-linux.tar.xz | tar -C /opt -xJ                                      
 => CACHED [10/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-microblaze-linux.tar.xz | tar -C /opt -xJ                                
 => CACHED [11/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-nios2-linux.tar.xz | tar -C /opt -xJ                                     
 => CACHED [12/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-powerpc-linux.tar.xz | tar -C /opt -xJ                                   
 => CACHED [13/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-riscv64-linux.tar.xz | tar -C /opt -xJ                                   
 => CACHED [14/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-riscv32-linux.tar.xz | tar -C /opt -xJ                                   
 => CACHED [15/34] RUN wget -O - https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/12.2.0/x86_64-gcc-12.2.0-nolibc-sh2-linux.tar.xz | tar -C /opt -xJ                                       
 => CACHED [16/34] RUN wget -O - https://github.com/foss-xtensa/toolchain/releases/download/2020.07/x86_64-2020.07-xtensa-dc233c-elf.tar.gz | tar -C /opt -xz                                                  
 => CACHED [17/34] RUN wget -O - https://github.com/foss-for-synopsys-dwc-arc-processors/toolchain/releases/download/arc-2021.03-release/arc_gnu_2021.03_prebuilt_uclibc_le_archs_linux_install.tar.gz | tar --
 => CACHED [18/34] RUN apt-get update && apt-get install -y  automake  autopoint  bc  binutils-dev  bison  build-essential  clang-14  coreutils  cpio  cppcheck  curl  device-tree-compiler  dosfstools  e2fspr
 => CACHED [19/34] RUN chmod +r /boot/vmlinu*                                                                                                                                                                  
 => CACHED [20/34] RUN git clone git://git.savannah.gnu.org/grub.git /tmp/grub &&  cd /tmp/grub &&  git checkout grub-2.06 &&  git config --global user.name "GitLab CI Runner" &&  git config --global user.em
 => ERROR [21/34] RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu &&  cd /tmp/qemu &&  git submodule update --init dtc &&  git checkout v6.1.0 &&  git config user.name u-boot &&  git config 
------
 > [21/34] RUN git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu &&  cd /tmp/qemu &&         git submodule update --init dtc &&      git checkout v6.1.0 &&  git config user.name u-boot &&  git conget -O - http://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/mbox/ | git am &&       ./configure --prefix=/opt/qemu --target-list="aarch64-softmmu,arm-softmmu,i386-oftmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu,sh4-softmmu,x86_64-softmmu,xtensa-softmmu" &&        make -j$(nproc) all install &&  rm -rf /tmp/qemu:
#24 0.506 Cloning into '/tmp/qemu'...
Updating files: 100% (10099/10099), done.99)
#24 185.2 error: pathspec 'dtc' did not match any file(s) known to git
------
executor failed running [/bin/sh -c git clone https://gitlab.com/qemu-project/qemu.git /tmp/qemu &&     cd /tmp/qemu &&         git submodule update --init dtc &&      git checkout v6.1.0 &&  git config userit config user.email [email protected] &&  wget -O - http://patchwork.ozlabs.org/project/qemu-devel/patch/[email protected]/mbox/ | git am &&      ./configure --prefix=/opt/qemu --targetmips64-softmmu,mips64el-softmmu,mipsel-softmmu,ppc-softmmu,riscv32-softmmu,riscv64-softmmu,sh4-softmmu,x86_64-softmmu,xtensa-softmmu" &&        make -j$(nproc) all install &&  rm -rf /tmp/qemu]: exit code: 1

That's actually a known issue that has been fixed on the upstream recently.

Is there any way this fix makes it to your main branch?

Thanks!

@artursartamonovsadi
Copy link
Contributor

Hi, if you follow closely the u-boot mailing list there is submitted patches, to u-boot mainline to add support for adi adsp-sc5xx. So this will be not an issue in future when submitted patches will be in upstream.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants