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

file name too long #3763

Open
4 tasks done
Perrywzp opened this issue Apr 7, 2024 · 7 comments
Open
4 tasks done

file name too long #3763

Perrywzp opened this issue Apr 7, 2024 · 7 comments
Labels
bug Something isn't working build Related to the build system

Comments

@Perrywzp
Copy link

Perrywzp commented Apr 7, 2024

Describe the bug

as we create too deep folders , appear the fault : file name too long while build

Reproduction

create too deep folders

Expected behavior

except can build success, even zhe folders is deep and each folder name is long

System Info

System:
    OS: Windows 10 10.0.16299
    CPU: (6) x64 Intel(R) Core(TM) i5-8500 CPU @ 3.00GHz
    Memory: 5.00 GB / 15.89 GB
  Binaries:
    Node: 20.9.0 - D:\program\nvm1.1.11\nodejs\node.EXE
    npm: 10.1.0 - D:\program\nvm1.1.11\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (41.16299.1480.0)
    Internet Explorer: 11.0.16299.371
  npmPackages:
    vitepress: ^1.0.0-rc.44 => 1.0.1

Additional context

No response

Validations

@Perrywzp Perrywzp added the bug: pending triage Maybe a bug, waiting for confirmation label Apr 7, 2024
@brc-dd brc-dd added build Related to the build system and removed bug: pending triage Maybe a bug, waiting for confirmation labels Apr 7, 2024
@brc-dd
Copy link
Member

brc-dd commented Apr 7, 2024

@Perrywzp
Copy link
Author

Perrywzp commented Apr 7, 2024

how can i set in centos7, because i set gitlabCICD on it . it appear this fault too.

@brc-dd
Copy link
Member

brc-dd commented Apr 7, 2024

On centos this shouldn't be happening unless you are using a filesystem that's limiting the path length. Can you post the exact error with stack trace and system information from the machine where the error is actually happening.

as we create too deep folders

How deep exactly are you talking about? Can you share the output of getconf -a . from your project directory.

@Perrywzp
Copy link
Author

Perrywzp commented Apr 8, 2024

so sorry , like this picture, because we use chinese name folders, it`s deep and long.
image

@brc-dd
Copy link
Member

brc-dd commented Apr 8, 2024

Ah, now I understand. The name is containing the joined path which may exceed NAME_MAX.

@brc-dd brc-dd added the bug Something isn't working label Apr 8, 2024
@Perrywzp
Copy link
Author

Perrywzp commented Apr 9, 2024

can this question be fixed quickly? very thanks!

@brc-dd
Copy link
Member

brc-dd commented Apr 9, 2024

Ah it's not that easy. We'll need to change whole chunk resolution logic to make this work. I'd recommend switching to some other tool for now if this is urgent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working build Related to the build system
Projects
None yet
Development

No branches or pull requests

2 participants