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

Could not find protoc-3.23.3-linux-x86_64.exe (com.google.protobuf:protoc:3.23.3). #13071

Closed
Goooler opened this issue Jun 15, 2023 · 2 comments

Comments

@Goooler
Copy link

Goooler commented Jun 15, 2023

What version of protobuf and what language are you using?
Version: 3.23.3
Language: Java

What operating system (Linux, Windows, ...) and version?
Ubuntu 22.04

What runtime / compiler are you using (e.g., python version or gcc version)
Gradle plugin:

protobuf {
    // Configure the protoc executable
    protoc {
        artifact = "com.google.protobuf:protoc:3.23.3"
    }
    generateProtoTasks {
        all().configureEach { task ->
            task.builtins {
                remove java
                java {
                    option "lite"
                }
            }
        }
    }
}

What did you do?
Steps to reproduce the behavior:

  1. git clone https://github.com/LibChecker/LibChecker.git
  2. git checkout renovate/protoc
  3. ./gradlew app:assembleRelease
  4. See build error.

What did you expect to see

What did you see instead?
See https://github.com/LibChecker/LibChecker/actions/runs/5272252751/jobs/9534266621?pr=810

> Could not resolve all files for configuration ':app:protobufToolsLocator_protoc'.
   > Could not find protoc-3.23.3-linux-x86_64.exe (com.google.protobuf:protoc:3.23.3).
     Searched in the following locations:
         https://repo.maven.apache.org/maven2/com/google/protobuf/protoc/3.23.3/protoc-3.23.3-linux-x86_64.exe

Make sure you include information that can help us debug (full error message, exception listing, stack trace, logs).

Anything else we should know about your project / environment

You can repro this at LibChecker/LibChecker#810, it works well with version 3.23.3.

@Goooler Goooler added the untriaged auto added to all issues by default when created. label Jun 15, 2023
@Goooler
Copy link
Author

Goooler commented Jun 15, 2023

Duplicate of #13070

@deannagarcia
Copy link
Member

Thanks for this report, going to close because of the duplicate.

@googleberg googleberg removed the untriaged auto added to all issues by default when created. label Feb 17, 2024
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

No branches or pull requests

3 participants