Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save expiringplatform/652befb79f309daee9a26083b26957e1 to your computer and use it in GitHub Desktop.
Save expiringplatform/652befb79f309daee9a26083b26957e1 to your computer and use it in GitHub Desktop.
signal android v7.2.1 reproducible build error
~/playground/Signal-Android$ docker run --rm -v $(pwd):/project -w /project signal-android ./gradlew clean assemblePlayProdRelease
Downloading https://services.gradle.org/distributions/gradle-8.0.2-all.zip
...............10%................20%................30%................40%................50%................60%................70%................80%................90%................100%
Welcome to Gradle 8.0.2!
Here are the highlights of this release:
- Improvements to the Kotlin DSL
- Fine-grained parallelism from the first build with configuration cache
- Configurable Gradle user home cache cleanup
For more details see https://docs.gradle.org/8.0.2/release-notes.html
Starting a Gradle Daemon (subsequent builds will be faster)
> Configure project :benchmark
WARNING: The option setting 'android.experimental.androidTest.numManagedDeviceShards=4' is experimental.
> Task :build-logic:tools:compileKotlin UP-TO-DATE
> Task :build-logic:tools:compileJava NO-SOURCE
> Task :build-logic:tools:processResources NO-SOURCE
> Task :build-logic:tools:classes UP-TO-DATE
> Task :build-logic:tools:jar UP-TO-DATE
> Task :build-logic:tools:inspectClassesForKotlinIC UP-TO-DATE
> Task :build-logic:plugins:generateExternalPluginSpecBuilders UP-TO-DATE
> Task :build-logic:plugins:extractPluginRequests UP-TO-DATE
> Task :build-logic:plugins:generatePluginAdapters UP-TO-DATE
> Task :build-logic:plugins:extractPrecompiledScriptPluginPlugins UP-TO-DATE
> Task :build-logic:plugins:compilePluginsBlocks UP-TO-DATE
> Task :build-logic:plugins:generatePrecompiledScriptPluginAccessors UP-TO-DATE
> Task :build-logic:plugins:generateScriptPluginAdapters UP-TO-DATE
> Task :build-logic:plugins:compileKotlin UP-TO-DATE
> Task :build-logic:plugins:compileJava UP-TO-DATE
> Task :build-logic:plugins:compileGroovy NO-SOURCE
> Task :build-logic:plugins:compileGroovyPlugins UP-TO-DATE
> Task :build-logic:plugins:pluginDescriptors UP-TO-DATE
> Task :build-logic:plugins:processResources UP-TO-DATE
> Task :build-logic:plugins:classes UP-TO-DATE
> Task :build-logic:plugins:jar UP-TO-DATE
> Task :build-logic:plugins:inspectClassesForKotlinIC UP-TO-DATE
> Configure project :Signal-Android
fatal: detected dubious ownership in repository at '/project'
To add an exception for this directory, call:
git config --global --add safe.directory /project
FAILURE: Build failed with an exception.
* Where:
Build file '/project/app/build.gradle.kts' line: 617
* What went wrong:
Process 'command 'git'' finished with non-zero exit value 128
* 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 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.2/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 3m 30s
17 actionable tasks: 17 up-to-date
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment