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

Repo can't be cloned on Windows #3223

Closed
1 task done
meyertst-aws opened this issue Dec 16, 2024 · 3 comments
Closed
1 task done

Repo can't be cloned on Windows #3223

meyertst-aws opened this issue Dec 16, 2024 · 3 comments
Assignees
Labels
bug This issue is a bug. build-problem problems with building this sdk p1 This is a high priority issue

Comments

@meyertst-aws
Copy link
Contributor

meyertst-aws commented Dec 16, 2024

Describe the bug

When cloning the repo on Windows, the following error causes the clone to fail with the following error.

error: unable to create file tools/code-generation/smithy/codegen/.gradle/8.10.2/dependencies-accessors/ff89fa8742c5e83b2b9d65507e208fccb62ee814/classes/org/gradle/accessors/dm/LibrariesForCodegenInPluginsBlock$SmokeTestLibraryAccessors.class: Filename too long

Regression Issue

  • Select this option if this issue appears to be a regression.

Expected Behavior

This repo clones successfully on Windows.

Current Behavior

Cloning fails on a Windows machine.

Reproduction Steps

git clone --recurse-submodules https://github.com/aws/aws-sdk-cpp on a Windows machine without long file names enabled.

Possible Solution

No response

Additional Information/Context

No response

AWS CPP SDK version used

1.11.467

Compiler and Version used

Visual Studio

Operating System and version

Windows Server 2022 Datacenter - version - 21H2

@meyertst-aws meyertst-aws added bug This issue is a bug. needs-triage This issue or PR still needs to be triaged. labels Dec 16, 2024
@sbera87 sbera87 self-assigned this Dec 16, 2024
@sbera87
Copy link
Contributor

sbera87 commented Dec 16, 2024

The exact error message:

Cloning into 'aws-sdk-cpp'...
remote: Enumerating objects: 1076598, done.
remote: Counting objects: 100% (37065/37065), done.
remote: Compressing objects: 100% (7456/7456), done.
remote: Total 1076598 (delta 26247), reused 36338 (delta 25862), pack-reused 1039533 (from 1)
Receiving objects: 100% (1076598/1076598), 611.66 MiB | 18.26 MiB/s, done.

Resolving deltas: 100% (852143/852143), done.
error: unable to create file tools/code-generation/smithy/codegen/.gradle/8.10.2/dependencies-accessors/ff89fa8742c5e83b2b9d65507e208fccb62ee814/classes/org/gradle/accessors/dm/LibrariesForCodegenInPluginsBlock$AwsCloudformationLibraryAccessors.class: Filename too long
error: unable to create file tools/code-generation/smithy/codegen/.gradle/8.10.2/dependencies-accessors/ff89fa8742c5e83b2b9d65507e208fccb62ee814/classes/org/gradle/accessors/dm/LibrariesForCodegenInPluginsBlock$AwsSmokeTestLibraryAccessors.class: Filename too long
Updating files: 100% (135462/135462), done.
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'

@jmklix jmklix added p1 This is a high priority issue build-problem problems with building this sdk and removed needs-triage This issue or PR still needs to be triaged. labels Dec 16, 2024
@jmklix
Copy link
Member

jmklix commented Dec 17, 2024

This is fixed with this PR: #3224

@jmklix jmklix closed this as completed Dec 17, 2024
Copy link

This issue is now closed. Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug. build-problem problems with building this sdk p1 This is a high priority issue
Projects
None yet
Development

No branches or pull requests

3 participants