question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to build library

See original GitHub issue

Describe the bug After cloning master i am unable to build it due to the lack of dependencies

To Reproduce

maman@Marcins-MacBook-Pro ~/Documents/kotlinx.serialization (master) [1]> git remote -v
origin	https://github.com/Kotlin/kotlinx.serialization.git (fetch)
origin	https://github.com/Kotlin/kotlinx.serialization.git (push)
maman@Marcins-MacBook-Pro ~/Documents/kotlinx.serialization (master)> ./gradlew build

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'kotlinx-serialization'.
> Could not resolve all artifacts for configuration ':classpath'.
   > Could not find kotlin-annotation-processing-gradle-1.4.10.jar (org.jetbrains.kotlin:kotlin-annotation-processing-gradle:1.4.10).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/kotlin/kotlin-annotation-processing-gradle/1.4.10/kotlin-annotation-processing-gradle-1.4.10.jar
   > Could not find kotlin-android-extensions-1.4.10.jar (org.jetbrains.kotlin:kotlin-android-extensions:1.4.10).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/kotlin/kotlin-android-extensions/1.4.10/kotlin-android-extensions-1.4.10.jar
   > Could not find kotlin-scripting-compiler-impl-embeddable-1.4.10.jar (org.jetbrains.kotlin:kotlin-scripting-compiler-impl-embeddable:1.4.10).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/kotlin/kotlin-scripting-compiler-impl-embeddable/1.4.10/kotlin-scripting-compiler-impl-embeddable-1.4.10.jar
   > Could not find kotlin-gradle-plugin-model-1.4.10.jar (org.jetbrains.kotlin:kotlin-gradle-plugin-model:1.4.10).
     Searched in the following locations:
         https://cache-redirector.jetbrains.com/maven.pkg.jetbrains.space/kotlin/p/kotlin/dev/org/jetbrains/kotlin/kotlin-gradle-plugin-model/1.4.10/kotlin-gradle-plugin-model-1.4.10.jar
   > Could not find sisu-guice-3.1.0-no_aop.jar (org.sonatype.sisu:sisu-guice:3.1.0).
     Searched in the following locations:
         file:/Users/maman/.m2/repository/org/sonatype/sisu/sisu-guice/3.1.0/sisu-guice-3.1.0-no_aop.jar

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.3/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 457ms

It is possible that it is just a temporary outage (but for me it lasts at least for 2 days), if this is a case go ahead and close the issue.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
kamildoleglocommented, Dec 14, 2020

Still not building

0reactions
kamildoleglocommented, Dec 21, 2020

It looks like a bug in Gradle though. After bumping your Gradle wrapper to 6.7.1 the build succeeds, so probably that’s the easiest solution @sandwwraith

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to build library with side-effects modules #1449 - GitHub
Type of Issue When building library via ng build my-lib, all side-effects modules could not be resolved, however, the problem does not exist ......
Read more >
Can't build Library building even after researching the ... - Reddit
I researched the technology for some building e.g. Library really at the beginning of the game. I already have the Campus district built...
Read more >
angular 13 ng build library fails (ivy partial compilation mode)
1. This solution appears to be for an Angular app. I'm trying to build a library. There is no .browserslistrc in the library's...
Read more >
Solved: Unable to build libraries when importing a project...
Re: Unable to build libraries when importing a project from a git repository in Windows · 1- Clone the git repository · 2-...
Read more >
Unable to build a bar (mqsicreatebar) when using shared ...
This Q&A is abstracted from a PMR. I tried to build a bar file using the following command: mqsicreatebar -data C:\Users\ADMIN\IBM\IIBT10\workspace\ -l ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found