Created
September 29, 2017 19:14
-
-
Save milkey-mouse/cb6b75b5116cf369603dec46e214e914 to your computer and use it in GitHub Desktop.
Trying to build microG (see https://stackoverflow.com/q/46411074/4183827)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ./gradlew build --stacktrace | |
Incremental java compilation is an incubating feature. | |
Skipping debug jar:microg-ui-tools:preBuild UP-TO-DATE | |
:microg-ui-tools:preDebugBuild UP-TO-DATE | |
:microg-ui-tools:checkDebugManifest | |
:microg-ui-tools:preDebugAndroidTestBuild UP-TO-DATE | |
:microg-ui-tools:preDebugUnitTestBuild UP-TO-DATE | |
:microg-ui-tools:preReleaseBuild UP-TO-DATE | |
:microg-ui-tools:preReleaseUnitTestBuild UP-TO-DATE | |
:microg-ui-tools:prepareComAndroidSupportAnimatedVectorDrawable2531Library | |
:microg-ui-tools:prepareComAndroidSupportAppcompatV72531Library | |
:microg-ui-tools:prepareComAndroidSupportPreferenceV142531Library | |
:microg-ui-tools:prepareComAndroidSupportPreferenceV72531Library | |
:microg-ui-tools:prepareComAndroidSupportRecyclerviewV72531Library | |
:microg-ui-tools:prepareComAndroidSupportSupportCompat2531Library | |
:microg-ui-tools:prepareComAndroidSupportSupportCoreUi2531Library | |
:microg-ui-tools:prepareComAndroidSupportSupportCoreUtils2531Library | |
:microg-ui-tools:prepareComAndroidSupportSupportFragment2531Library | |
:microg-ui-tools:prepareComAndroidSupportSupportMediaCompat2531Library | |
:microg-ui-tools:prepareComAndroidSupportSupportV42531Library | |
:microg-ui-tools:prepareComAndroidSupportSupportVectorDrawable2531Library | |
:microg-ui-tools:prepareComTakisoftFixPreferenceV725310Library | |
:microg-ui-tools:prepareDebugDependencies | |
:microg-ui-tools:compileDebugAidl | |
:microg-ui-tools:compileDebugNdk UP-TO-DATE | |
:microg-ui-tools:compileLint | |
:microg-ui-tools:copyDebugLint UP-TO-DATE | |
:microg-ui-tools:compileDebugRenderscript | |
:microg-ui-tools:generateDebugBuildConfig | |
:microg-ui-tools:generateDebugResValues | |
:microg-ui-tools:generateDebugResources | |
:microg-ui-tools:mergeDebugResources | |
java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. | |
:microg-ui-tools:mergeDebugResources FAILED | |
FAILURE: Build failed with an exception. | |
* What went wrong: | |
Execution failed for task ':microg-ui-tools:mergeDebugResources'. | |
> java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. | |
* Try: | |
Run with --info or --debug option to get more log output. | |
* Exception is: | |
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':microg-ui-tools:mergeDebugResources'. | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:84) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:55) | |
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:62) | |
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58) | |
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:88) | |
at org.gradle.api.internal.tasks.execution.ResolveTaskArtifactStateTaskExecuter.execute(ResolveTaskArtifactStateTaskExecuter.java:46) | |
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:51) | |
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:54) | |
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43) | |
at org.gradle.api.internal.tasks.execution.CatchExceptionTaskExecuter.execute(CatchExceptionTaskExecuter.java:34) | |
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:236) | |
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker$1.execute(DefaultTaskGraphExecuter.java:228) | |
at org.gradle.internal.Transformers$4.transform(Transformers.java:169) | |
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106) | |
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:61) | |
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:228) | |
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter$EventFiringTaskWorker.execute(DefaultTaskGraphExecuter.java:215) | |
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:77) | |
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:58) | |
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:32) | |
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:113) | |
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:37) | |
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37) | |
at org.gradle.execution.DefaultBuildExecuter.access$000(DefaultBuildExecuter.java:23) | |
at org.gradle.execution.DefaultBuildExecuter$1.proceed(DefaultBuildExecuter.java:43) | |
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32) | |
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:37) | |
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:30) | |
at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:196) | |
at org.gradle.initialization.DefaultGradleLauncher$3.execute(DefaultGradleLauncher.java:193) | |
at org.gradle.internal.Transformers$4.transform(Transformers.java:169) | |
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:106) | |
at org.gradle.internal.progress.DefaultBuildOperationExecutor.run(DefaultBuildOperationExecutor.java:56) | |
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:193) | |
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:119) | |
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:102) | |
at org.gradle.launcher.exec.GradleBuildController.run(GradleBuildController.java:71) | |
at org.gradle.tooling.internal.provider.ExecuteBuildActionRunner.run(ExecuteBuildActionRunner.java:28) | |
at org.gradle.launcher.exec.ChainingBuildActionRunner.run(ChainingBuildActionRunner.java:35) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:41) | |
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26) | |
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:75) | |
at org.gradle.tooling.internal.provider.ContinuousBuildActionExecuter.execute(ContinuousBuildActionExecuter.java:49) | |
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:44) | |
at org.gradle.tooling.internal.provider.ServicesSetupBuildActionExecuter.execute(ServicesSetupBuildActionExecuter.java:29) | |
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51) | |
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:173) | |
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:244) | |
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:217) | |
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:33) | |
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24) | |
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33) | |
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22) | |
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:210) | |
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:174) | |
at org.gradle.launcher.Main.doAction(Main.java:33) | |
at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45) | |
at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:60) | |
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:37) | |
at org.gradle.launcher.GradleMain.main(GradleMain.java:23) | |
at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:33) | |
at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:130) | |
at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:48) | |
Caused by: com.android.build.gradle.tasks.ResourceException: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. | |
at com.android.build.gradle.tasks.MergeResources.doFullTaskAction(MergeResources.java:166) | |
at com.android.build.gradle.internal.tasks.IncrementalTask.taskAction(IncrementalTask.java:88) | |
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:73) | |
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$IncrementalTaskAction.doExecute(DefaultTaskClassInfoStore.java:163) | |
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:134) | |
at org.gradle.api.internal.project.taskfactory.DefaultTaskClassInfoStore$StandardTaskAction.execute(DefaultTaskClassInfoStore.java:123) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:95) | |
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:76) | |
... 62 more | |
Caused by: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. | |
at com.android.ide.common.res2.MergeWriter.end(MergeWriter.java:54) | |
at com.android.ide.common.res2.MergedResourceWriter.end(MergedResourceWriter.java:220) | |
at com.android.ide.common.res2.DataMerger.mergeData(DataMerger.java:301) | |
at com.android.ide.common.res2.ResourceMerger.mergeData(ResourceMerger.java:410) | |
at com.android.build.gradle.tasks.MergeResources.doFullTaskAction(MergeResources.java:159) | |
... 69 more | |
Caused by: java.lang.RuntimeException: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. | |
at com.android.ide.common.internal.WaitableExecutor.waitForTasksWithQuickFail(WaitableExecutor.java:147) | |
at com.android.ide.common.res2.MergeWriter.end(MergeWriter.java:50) | |
... 73 more | |
Caused by: java.awt.AWTError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. | |
at com.android.ide.common.vectordrawable.VdTree.drawIntoImage(VdTree.java:87) | |
at com.android.ide.common.vectordrawable.VdPreview.getPreviewFromVectorTree(VdPreview.java:349) | |
at com.android.ide.common.vectordrawable.VdPreview.getPreviewFromVectorXml(VdPreview.java:285) | |
at com.android.builder.png.VectorDrawableRenderer.generateFile(VectorDrawableRenderer.java:152) | |
at com.android.ide.common.res2.MergedResourceWriter.lambda$addItem$1(MergedResourceWriter.java:333) | |
BUILD FAILED | |
Total time: 10.555 secs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment