Skip to content

msys2 tar Cannot create symlink #7904

@star-hengxing

Description

@star-hengxing

Xmake Version

dev

Operating System Version and Architecture

windows

Describe Bug

It will waste long time and break ci.

D:\a\_temp\msys64\usr\bin\tar.exe --force-local -xf C:\Users\runneradmin\AppData\Local\.xmake\cache\packages\2507\l\libwebsockets\v4.4.1\v4.4.1.tar.gz
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/esp32/esp-c3dev/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/esp32/esp-heltec-wb32/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/esp32/esp-wrover-kit/libwebsockets: Cannot create symlink to ‘../../../../’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/lhp/esp32-heltec-128-64/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/lhp/esp32-waveshare-104-212/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/lhp/esp32-waveshare-122-250-bw/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/lhp/esp32-waveshare-400-300-4gray/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/lhp/esp32-waveshare-600-448-7col/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/lhp/esp32-wrover-kit-320-200/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links
/usr/bin/tar: libwebsockets-4.4.1/minimal-examples/embedded/lhp/esp32s2-kaluga-320-200/libwebsockets: Cannot create symlink to ‘../../../..’: Too many levels of symbolic links

workaround:

Expected Behavior

N/A

Project Configuration

N/A

Additional Information and Error Logs

N/A

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions