Skip to content

Failed to wget a possible non-existent file #27

@zclllyybb

Description

@zclllyybb

On centos8 with arm64 arch, when I run docker build . there's an error at line 125:

RUN wget https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-$(/usr/lib/llvm-${LLVM_VERSION}/bin/clang --version  | head -n 1 | awk '{print $4}')/libcxx/utils/gdb/libcxx/printers.py -O /opt/printers.py

It shows:

ERROR: failed to solve: process "/bin/sh -c wget https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-$(/usr/lib/llvm-${LLVM_VERSION}/bin/clang --version  | head -n 1 | awk '{print $4}')/libcxx/utils/gdb/libcxx/printers.py -O /opt/printers.py" did not complete successfully: exit code: 8

the actual wget target showed in running command is :

https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-17.0.6/libcxx/utils/gdb/libcxx/printers.py

and I checked the file. It doesn't exist. what I can see the newest file tag of llvm release is llvmorg-17.0.5 here. and if I change tag to llvmorg-17.0.5 the wget could succeed. Is there something wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions