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

Gradle script does not run on M1 chipsets #199

Open
stym06 opened this issue Sep 28, 2022 · 4 comments · May be fixed by #200
Open

Gradle script does not run on M1 chipsets #199

stym06 opened this issue Sep 28, 2022 · 4 comments · May be fixed by #200
Assignees

Comments

@stym06
Copy link

stym06 commented Sep 28, 2022

Description
Mentioned version of protoc does not have aarch64 files, that fails the gradle build

To Reproduce
./gradlew clean dagger-common:generateTestProto

Expected behavior
Proto file generation

Behavior

Execution failed for task ':dagger-common:generateTestProto'.
> Could not resolve all files for configuration ':dagger-common:protobufToolsLocator_protoc'.
   > Could not find protoc-3.1.0-osx-aarch_64.exe (com.google.protobuf:protoc:3.1.0).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.1.0/protoc-3.1.0-osx-aarch_64.exe

Additional context

@sumitaich1998 sumitaich1998 linked a pull request Oct 3, 2022 that will close this issue
@sumitaich1998
Copy link
Contributor

hey @stym06 , i have raised a pr for this #200 , can you pull the branch fix-protoc-arm64 and rerun the build to test if its working?

@sumitaich1998 sumitaich1998 self-assigned this Oct 3, 2022
@stym06
Copy link
Author

stym06 commented Oct 4, 2022

Still fails with another dependency issue:

Execution failed for task ':dagger-common:generateTestProto'.
> Could not resolve all files for configuration ':dagger-common:protobufToolsLocator_grpc'.
   > Could not find protoc-gen-grpc-java-1.19.0-osx-aarch_64.exe (io.grpc:protoc-gen-grpc-java:1.19.0).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/io/grpc/protoc-gen-grpc-java/1.19.0/protoc-gen-grpc-java-1.19.0-osx-aarch_64.exe


@stym06
Copy link
Author

stym06 commented Oct 4, 2022

Can we have a profile for aarm64 arch builds? I think hotfixes might break in future.

@sumitaich1998
Copy link
Contributor

sumitaich1998 commented Nov 4, 2022

@stym06 feel free to raise a pr to fix this issue. Let us know if any help is needed. Since we cannot test this on our system, it might be difficult to fix this ourselves, since we do not know which all dependencies can fail for M1 chipsets.

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

Successfully merging a pull request may close this issue.

2 participants