Open fartymonk opened 7 years ago
Did you found a solution or workaround?
@DaHopi I never manage to successfully building libvlc and I got various errors while trying. But, maybe you can try to build the mips separately? I got the similar error while building other lib for Android and building it separately works.
I hope you manage to build this successfully. And please do share if you ever solved this problem :).
Problem: I'm having this same issue. I seem to have success with armebi-v7a, but not MIPS. I've tried various checkout tags, and even attempted to edit the compilation scripts in the vlc-android folder; but to no avail.
android-vlc checkout tag: 2.1.1
Command: ./gradlew libVLC
Logs:
`Dumping dbg symbols info .dbg/mips/2.1.1
Incremental java compilation is an incubating feature.
:libvlc:preBuild UP-TO-DATE
:libvlc:preReleaseBuild UP-TO-DATE
:libvlc:checkReleaseManifest
:libvlc:prepareReleaseDependencies
:libvlc:compileReleaseAidl UP-TO-DATE
:libvlc:compileReleaseNdk UP-TO-DATE
:libvlc:compileLint UP-TO-DATE
:libvlc:copyReleaseLint UP-TO-DATE
:libvlc:compileReleaseRenderscript UP-TO-DATE
:libvlc:generateReleaseBuildConfig UP-TO-DATE
:libvlc:generateReleaseResValues UP-TO-DATE
:libvlc:generateReleaseResources UP-TO-DATE
:libvlc:packageReleaseResources UP-TO-DATE
:libvlc:processReleaseManifest UP-TO-DATE
:libvlc:processReleaseResources UP-TO-DATE
:libvlc:generateReleaseSources UP-TO-DATE
:libvlc:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:libvlc:javaPreCompileRelease
:libvlc:compileReleaseJavaWithJavac UP-TO-DATE
:libvlc:extractReleaseAnnotations UP-TO-DATE
:libvlc:mergeReleaseShaders UP-TO-DATE
:libvlc:compileReleaseShaders UP-TO-DATE
:libvlc:generateReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseProguardFiles UP-TO-DATE
:libvlc:packageReleaseRenderscript UP-TO-DATE
:libvlc:processReleaseJavaRes UP-TO-DATE
:libvlc:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:libvlc:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:libvlc:mergeReleaseJniLibFolders
:libvlc:transformNativeLibsWithMergeJniLibsForRelease
:libvlc:transformNativeLibsWithStripDebugSymbolForRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':libvlc:transformNativeLibsWithStripDebugSymbolForRelease'.
> java.io.IOException: Failed to delete /home/osboxes/bin/vlc-android-sdk/vlc-android/libvlc/build/intermediates/transforms/stripDebugSymbol/release/folders/2000/3/main/lib/armeabi-v7a
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 22.16 secs
:compileVlcMips FAILED
:copyLibVlcFiles
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':compileVlcMips'.
> Process 'command './compile.sh'' finished with non-zero exit value 1
* Try:
Run with --info or --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':compileVlcMips'.
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:305)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:88)
at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:68)
at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:62)
at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:55)
at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:149)
at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:106)
at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:86)
at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:80)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:36)
at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:51)
at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:237)
at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:210)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:35)
at org.gradle.launcher.cli.JavaRuntimeValidationAction.execute(JavaRuntimeValidationAction.java:24)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:206)
at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:169)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
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:54)
at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:35)
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: org.gradle.process.internal.ExecException: Process 'command './compile.sh'' finished with non-zero exit value 1
at org.gradle.process.internal.DefaultExecHandle$ExecResultImpl.assertNormalExitValue(DefaultExecHandle.java:365)
at org.gradle.process.internal.DefaultExecAction.execute(DefaultExecAction.java:31)
at org.gradle.api.tasks.AbstractExecTask.exec(AbstractExecTask.java:54)
at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:218)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:211)
at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:200)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:579)
at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:562)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
... 47 more
BUILD FAILED
Total time: 17 mins 13.381 secs
Previous HEAD position was fad7ab3... NEWS for 2.0.6 and BT
HEAD is now at bbcb462... Update version to 2.1.1
cp: cannot stat '/src/main/*': No such file or directory
Command: cd vlc-android ./compile.sh -a armeabi-v7a
Logs:
Dumping dbg symbols info .dbg/armeabi-v7a/2.1.1
Incremental java compilation is an incubating feature.
:api:preBuild UP-TO-DATE
:api:preReleaseBuild UP-TO-DATE
:api:checkReleaseManifest
:api:preDebugAndroidTestBuild UP-TO-DATE
:api:preDebugBuild UP-TO-DATE
:api:preDebugUnitTestBuild UP-TO-DATE
:api:preReleaseUnitTestBuild UP-TO-DATE
:api:prepareComAndroidSupportAnimatedVectorDrawable2520Library
:api:prepareComAndroidSupportAppcompatV72520Library
:api:prepareComAndroidSupportSupportCompat2520Library
:api:prepareComAndroidSupportSupportCoreUi2520Library
:api:prepareComAndroidSupportSupportCoreUtils2520Library
:api:prepareComAndroidSupportSupportFragment2520Library
:api:prepareComAndroidSupportSupportMediaCompat2520Library
:api:prepareComAndroidSupportSupportV42520Library
:api:prepareComAndroidSupportSupportVectorDrawable2520Library
:api:prepareReleaseDependencies
:api:compileReleaseAidl UP-TO-DATE
:api:compileReleaseNdk UP-TO-DATE
:api:compileLint UP-TO-DATE
:api:copyReleaseLint UP-TO-DATE
:api:compileReleaseRenderscript UP-TO-DATE
:api:generateReleaseBuildConfig UP-TO-DATE
:api:generateReleaseResValues UP-TO-DATE
:api:generateReleaseResources UP-TO-DATE
:api:mergeReleaseResources UP-TO-DATE
:api:processReleaseManifest UP-TO-DATE
:api:processReleaseResources UP-TO-DATE
:api:generateReleaseSources UP-TO-DATE
:api:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:api:javaPreCompileRelease
:api:compileReleaseJavaWithJavac UP-TO-DATE
:api:extractReleaseAnnotations UP-TO-DATE
:api:mergeReleaseShaders UP-TO-DATE
:api:compileReleaseShaders UP-TO-DATE
:api:generateReleaseAssets UP-TO-DATE
:api:mergeReleaseAssets UP-TO-DATE
:api:mergeReleaseProguardFiles UP-TO-DATE
:api:packageReleaseRenderscript UP-TO-DATE
:api:packageReleaseResources UP-TO-DATE
:api:processReleaseJavaRes UP-TO-DATE
:api:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:api:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:api:mergeReleaseJniLibFolders UP-TO-DATE
:api:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:api:transformNativeLibsWithStripDebugSymbolForRelease UP-TO-DATE
:api:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
:api:bundleRelease UP-TO-DATE
:axmlrpc:compileJava UP-TO-DATE
:axmlrpc:processResources UP-TO-DATE
:axmlrpc:classes UP-TO-DATE
:axmlrpc:jar UP-TO-DATE
:libvlc:preBuild UP-TO-DATE
:libvlc:preReleaseBuild UP-TO-DATE
:libvlc:checkReleaseManifest
:libvlc:prepareReleaseDependencies
:libvlc:compileReleaseAidl UP-TO-DATE
:libvlc:compileReleaseNdk UP-TO-DATE
:libvlc:compileLint UP-TO-DATE
:libvlc:copyReleaseLint UP-TO-DATE
:libvlc:compileReleaseRenderscript UP-TO-DATE
:libvlc:generateReleaseBuildConfig UP-TO-DATE
:libvlc:generateReleaseResValues UP-TO-DATE
:libvlc:generateReleaseResources UP-TO-DATE
:libvlc:packageReleaseResources UP-TO-DATE
:libvlc:processReleaseManifest UP-TO-DATE
:libvlc:processReleaseResources UP-TO-DATE
:libvlc:generateReleaseSources UP-TO-DATE
:libvlc:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:libvlc:javaPreCompileRelease
:libvlc:compileReleaseJavaWithJavac UP-TO-DATE
:libvlc:extractReleaseAnnotations UP-TO-DATE
:libvlc:mergeReleaseShaders UP-TO-DATE
:libvlc:compileReleaseShaders UP-TO-DATE
:libvlc:generateReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseProguardFiles UP-TO-DATE
:libvlc:packageReleaseRenderscript UP-TO-DATE
:libvlc:processReleaseJavaRes UP-TO-DATE
:libvlc:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:libvlc:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:libvlc:mergeReleaseJniLibFolders
:libvlc:transformNativeLibsWithMergeJniLibsForRelease
:libvlc:transformNativeLibsWithStripDebugSymbolForRelease
/home/osboxes/bin/android-ndk-r13b/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin/arm-linux-androideabi-strip:/home/osboxes/bin/vlc-android-sdk/vlc-android/libvlc/build/intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib/armeabi-v7a/gdb.setup: File format not recognized
Unable to strip library '/home/osboxes/bin/vlc-android-sdk/vlc-android/libvlc/build/intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib/armeabi-v7a/gdb.setup', packaging it as is.
:libvlc:transformNativeLibsWithSyncJniLibsForRelease
:libvlc:bundleRelease
:medialibrary:preBuild UP-TO-DATE
:medialibrary:preReleaseBuild UP-TO-DATE
:medialibrary:checkReleaseManifest
:medialibrary:preDebugAndroidTestBuild UP-TO-DATE
:medialibrary:preDebugBuild UP-TO-DATE
:medialibrary:preDebugUnitTestBuild UP-TO-DATE
:medialibrary:preReleaseUnitTestBuild UP-TO-DATE
:medialibrary:prepareComAndroidDatabindingAdapters131Library
:medialibrary:prepareComAndroidDatabindingLibrary131Library
:medialibrary:prepareComAndroidSupportSupportCompat2520Library
:medialibrary:prepareComAndroidSupportSupportCoreUi2520Library
:medialibrary:prepareComAndroidSupportSupportCoreUtils2520Library
:medialibrary:prepareComAndroidSupportSupportFragment2520Library
:medialibrary:prepareComAndroidSupportSupportMediaCompat2520Library
:medialibrary:prepareComAndroidSupportSupportV42520Library
:medialibrary:prepareReleaseDependencies
:medialibrary:compileReleaseAidl UP-TO-DATE
:medialibrary:compileReleaseNdk UP-TO-DATE
:medialibrary:compileLint UP-TO-DATE
:medialibrary:copyReleaseLint UP-TO-DATE
:medialibrary:compileReleaseRenderscript UP-TO-DATE
:medialibrary:generateReleaseResValues UP-TO-DATE
:medialibrary:generateReleaseResources UP-TO-DATE
:medialibrary:mergeReleaseResources UP-TO-DATE
:medialibrary:dataBindingProcessLayoutsRelease UP-TO-DATE
:medialibrary:generateReleaseBuildConfig UP-TO-DATE
:medialibrary:processReleaseManifest UP-TO-DATE
:medialibrary:processReleaseResources UP-TO-DATE
:medialibrary:generateReleaseSources UP-TO-DATE
:medialibrary:dataBindingExportBuildInfoRelease
:medialibrary:incrementalReleaseJavaCompilationSafeguard
:medialibrary:javaPreCompileRelease
:medialibrary:transformClassesAndDataBindingWithDataBindingMergeArtifactsForRelease UP-TO-DATE
:medialibrary:compileReleaseJavaWithJavac
:medialibrary:extractReleaseAnnotations
:medialibrary:mergeReleaseShaders UP-TO-DATE
:medialibrary:compileReleaseShaders UP-TO-DATE
:medialibrary:generateReleaseAssets UP-TO-DATE
:medialibrary:mergeReleaseAssets UP-TO-DATE
:medialibrary:mergeReleaseProguardFiles UP-TO-DATE
:medialibrary:packageReleaseRenderscript UP-TO-DATE
:medialibrary:packageReleaseResources UP-TO-DATE
:medialibrary:processReleaseJavaRes UP-TO-DATE
:medialibrary:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:medialibrary:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:medialibrary:mergeReleaseJniLibFolders
:medialibrary:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:medialibrary:transformNativeLibsWithStripDebugSymbolForRelease
:medialibrary:transformNativeLibsWithSyncJniLibsForRelease
:medialibrary:bundleRelease UP-TO-DATE
:vlc-android:preBuild UP-TO-DATE
:vlc-android:preVanillaARMv7DebugBuild UP-TO-DATE
:vlc-android:checkVanillaARMv7DebugManifest
:vlc-android:preChromeARMv7DebugBuild UP-TO-DATE
:vlc-android:extractProguardFiles
:vlc-android:preChromeARMv7ReleaseBuild
:vlc-android:preChromeARMv8DebugBuild UP-TO-DATE
:vlc-android:preChromeARMv8ReleaseBuild
:vlc-android:preChromeMIPS64DebugBuild UP-TO-DATE
:vlc-android:preChromeMIPS64ReleaseBuild
:vlc-android:preChromeMIPSDebugBuild UP-TO-DATE
:vlc-android:preChromeMIPSReleaseBuild
:vlc-android:preChromeX86DebugBuild UP-TO-DATE
:vlc-android:preChromeX86ReleaseBuild
:vlc-android:preChromeX86_64DebugBuild UP-TO-DATE
:vlc-android:preChromeX86_64ReleaseBuild
:vlc-android:preVanillaARMv7ReleaseBuild
:vlc-android:preVanillaARMv8DebugBuild UP-TO-DATE
:vlc-android:preVanillaARMv8ReleaseBuild
:vlc-android:preVanillaMIPS64DebugBuild UP-TO-DATE
:vlc-android:preVanillaMIPS64ReleaseBuild
:vlc-android:preVanillaMIPSDebugBuild UP-TO-DATE
:vlc-android:preVanillaMIPSReleaseBuild
:vlc-android:preVanillaX86DebugBuild UP-TO-DATE
:vlc-android:preVanillaX86ReleaseBuild
:vlc-android:preVanillaX86_64DebugBuild UP-TO-DATE
:vlc-android:preVanillaX86_64ReleaseBuild
:vlc-android:prepareComAndroidDatabindingAdapters131Library
:vlc-android:prepareComAndroidDatabindingLibrary131Library
:vlc-android:prepareComAndroidSupportAnimatedVectorDrawable2520Library
:vlc-android:prepareComAndroidSupportAppcompatV72520Library
:vlc-android:prepareComAndroidSupportConstraintConstraintLayout100Library
:vlc-android:prepareComAndroidSupportDesign2520Library
:vlc-android:prepareComAndroidSupportLeanbackV172520Library
:vlc-android:prepareComAndroidSupportPreferenceLeanbackV172520Library
:vlc-android:prepareComAndroidSupportPreferenceV142520Library
:vlc-android:prepareComAndroidSupportPreferenceV72520Library
:vlc-android:prepareComAndroidSupportRecyclerviewV72520Library
:vlc-android:prepareComAndroidSupportSupportCompat2520Library
:vlc-android:prepareComAndroidSupportSupportCoreUi2520Library
:vlc-android:prepareComAndroidSupportSupportCoreUtils2520Library
:vlc-android:prepareComAndroidSupportSupportFragment2520Library
:vlc-android:prepareComAndroidSupportSupportMediaCompat2520Library
:vlc-android:prepareComAndroidSupportSupportV42520Library
:vlc-android:prepareComAndroidSupportSupportVectorDrawable2520Library
:vlc-android:prepareComAndroidSupportTransition2520Library
:vlc-android:prepareVanillaARMv7DebugDependencies
:vlc-android:compileVanillaARMv7DebugRenderscript
:vlc-android:generateVanillaARMv7DebugResValues
:vlc-android:generateVanillaARMv7DebugResources
:vlc-android:luaMetaCopy UP-TO-DATE
:vlc-android:luaPlaylistCopy UP-TO-DATE
:vlc-android:mergeVanillaARMv7DebugResources
:vlc-android:dataBindingProcessLayoutsVanillaARMv7Debug
:vlc-android:compileVanillaARMv7DebugAidl UP-TO-DATE
:vlc-android:generateVanillaARMv7DebugBuildConfig UP-TO-DATE
:vlc-android:processVanillaARMv7DebugManifest UP-TO-DATE
:vlc-android:processVanillaARMv7DebugResources
warning: string 'advanced_debugging' has no default translation.
warning: string 'beta_warning' has no default translation.
warning: string 'enable_brightness_gesture' has no default translation.
warning: string 'enable_iomx' has no default translation.
warning: string 'enable_jump_buttons' has no default translation.
warning: string 'enable_jump_buttons_summary' has no default translation.
warning: string 'enable_wheel_bar' has no default translation.
warning: string 'file_other' has no default translation.
warning: string 'filebrowser_title' has no default translation.
warning: string 'hardware_acceleration_error_message' has no default translation.
warning: string 'hardware_acceleration_error_title' has no default translation.
warning: string 'interface_secondary_display_category' has no default translation.
warning: string 'main_prefs_category' has no default translation.
warning: string 'new_app' has no default translation.
warning: string 'new_app_go' has no default translation.
warning: string 'new_app_msg' has no default translation.
:vlc-android:generateVanillaARMv7DebugSources
:vlc-android:dataBindingExportBuildInfoVanillaARMv7Debug
:vlc-android:incrementalVanillaARMv7DebugJavaCompilationSafeguard
:vlc-android:javaPreCompileVanillaARMv7Debug
:vlc-android:transformClassesAndDataBindingWithDataBindingMergeArtifactsForVanillaARMv7Debug UP-TO-DATE
:vlc-android:compileVanillaARMv7DebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:vlc-android:compileVanillaARMv7DebugNdk UP-TO-DATE
:vlc-android:compileVanillaARMv7DebugSources
:vlc-android:mergeVanillaARMv7DebugShaders UP-TO-DATE
:vlc-android:compileVanillaARMv7DebugShaders UP-TO-DATE
:vlc-android:generateVanillaARMv7DebugAssets UP-TO-DATE
:vlc-android:mergeVanillaARMv7DebugAssets UP-TO-DATE
:vlc-android:transformClassesWithDexForVanillaARMv7Debug
Running dex as a separate process.
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB (based on the dexOptions.javaMaxHeapSize = 1g).
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
:vlc-android:mergeVanillaARMv7DebugJniLibFolders UP-TO-DATE
:vlc-android:transformNativeLibsWithMergeJniLibsForVanillaARMv7Debug
:vlc-android:transformNativeLibsWithStripDebugSymbolForVanillaARMv7Debug
:vlc-android:processVanillaARMv7DebugJavaRes UP-TO-DATE
:vlc-android:transformResourcesWithMergeJavaResForVanillaARMv7Debug UP-TO-DATE
:vlc-android:validateSigningVanillaARMv7Debug
:vlc-android:packageVanillaARMv7Debug
:vlc-android:assembleVanillaARMv7Debug
BUILD SUCCESSFUL
Total time: 2 mins 4.549 secs
Command: cd vlc-android ./compile.sh -a mips
Logs:
Dumping dbg symbols info .dbg/mips/2.1.1
Incremental java compilation is an incubating feature.
:api:preBuild UP-TO-DATE
:api:preReleaseBuild UP-TO-DATE
:api:checkReleaseManifest
:api:preDebugAndroidTestBuild UP-TO-DATE
:api:preDebugBuild UP-TO-DATE
:api:preDebugUnitTestBuild UP-TO-DATE
:api:preReleaseUnitTestBuild UP-TO-DATE
:api:prepareComAndroidSupportAnimatedVectorDrawable2520Library
:api:prepareComAndroidSupportAppcompatV72520Library
:api:prepareComAndroidSupportSupportCompat2520Library
:api:prepareComAndroidSupportSupportCoreUi2520Library
:api:prepareComAndroidSupportSupportCoreUtils2520Library
:api:prepareComAndroidSupportSupportFragment2520Library
:api:prepareComAndroidSupportSupportMediaCompat2520Library
:api:prepareComAndroidSupportSupportV42520Library
:api:prepareComAndroidSupportSupportVectorDrawable2520Library
:api:prepareReleaseDependencies
:api:compileReleaseAidl UP-TO-DATE
:api:compileReleaseNdk UP-TO-DATE
:api:compileLint UP-TO-DATE
:api:copyReleaseLint UP-TO-DATE
:api:compileReleaseRenderscript UP-TO-DATE
:api:generateReleaseBuildConfig UP-TO-DATE
:api:generateReleaseResValues UP-TO-DATE
:api:generateReleaseResources UP-TO-DATE
:api:mergeReleaseResources UP-TO-DATE
:api:processReleaseManifest UP-TO-DATE
:api:processReleaseResources UP-TO-DATE
:api:generateReleaseSources UP-TO-DATE
:api:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:api:javaPreCompileRelease
:api:compileReleaseJavaWithJavac UP-TO-DATE
:api:extractReleaseAnnotations UP-TO-DATE
:api:mergeReleaseShaders UP-TO-DATE
:api:compileReleaseShaders UP-TO-DATE
:api:generateReleaseAssets UP-TO-DATE
:api:mergeReleaseAssets UP-TO-DATE
:api:mergeReleaseProguardFiles UP-TO-DATE
:api:packageReleaseRenderscript UP-TO-DATE
:api:packageReleaseResources UP-TO-DATE
:api:processReleaseJavaRes UP-TO-DATE
:api:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:api:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:api:mergeReleaseJniLibFolders UP-TO-DATE
:api:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:api:transformNativeLibsWithStripDebugSymbolForRelease UP-TO-DATE
:api:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
:api:bundleRelease UP-TO-DATE
:axmlrpc:compileJava UP-TO-DATE
:axmlrpc:processResources UP-TO-DATE
:axmlrpc:classes UP-TO-DATE
:axmlrpc:jar UP-TO-DATE
:libvlc:preBuild UP-TO-DATE
:libvlc:preReleaseBuild UP-TO-DATE
:libvlc:checkReleaseManifest
:libvlc:prepareReleaseDependencies
:libvlc:compileReleaseAidl UP-TO-DATE
:libvlc:compileReleaseNdk UP-TO-DATE
:libvlc:compileLint UP-TO-DATE
:libvlc:copyReleaseLint UP-TO-DATE
:libvlc:compileReleaseRenderscript UP-TO-DATE
:libvlc:generateReleaseBuildConfig UP-TO-DATE
:libvlc:generateReleaseResValues UP-TO-DATE
:libvlc:generateReleaseResources UP-TO-DATE
:libvlc:packageReleaseResources UP-TO-DATE
:libvlc:processReleaseManifest UP-TO-DATE
:libvlc:processReleaseResources UP-TO-DATE
:libvlc:generateReleaseSources UP-TO-DATE
:libvlc:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:libvlc:javaPreCompileRelease
:libvlc:compileReleaseJavaWithJavac UP-TO-DATE
:libvlc:extractReleaseAnnotations UP-TO-DATE
:libvlc:mergeReleaseShaders UP-TO-DATE
:libvlc:compileReleaseShaders UP-TO-DATE
:libvlc:generateReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseProguardFiles UP-TO-DATE
:libvlc:packageReleaseRenderscript UP-TO-DATE
:libvlc:processReleaseJavaRes UP-TO-DATE
:libvlc:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:libvlc:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:libvlc:mergeReleaseJniLibFolders
:libvlc:transformNativeLibsWithMergeJniLibsForRelease
:libvlc:transformNativeLibsWithStripDebugSymbolForRelease FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':libvlc:transformNativeLibsWithStripDebugSymbolForRelease'.
> java.io.IOException: Failed to delete /home/osboxes/bin/vlc-android-sdk/vlc-android/libvlc/build/intermediates/transforms/stripDebugSymbol/release/folders/2000/3/main/lib/armeabi-v7a
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
BUILD FAILED
Total time: 15.935 secs
I was able to successfully build the MIPS version. I basically needed to delete those folders that the script/gradle was telling me it could not delete. It's a 'hacky' workaround. Hope this helps anyone else.
Here is what I did: Commands:
rm -R /home/osboxes/bin/vlc-android-sdk/vlc-android/libvlc/build/intermediates/transforms/stripDebugSymbol/release/folders/2000/3/main/lib/armeabi-v7a
sudo rm -R /home/osboxes/bin/vlc-android-sdk/vlc-android/medialibrary/build/intermediates/transforms/stripDebugSymbol/release/folders/2000/4/d8151a9dbd694774c3d3ee913ade9444e145711a/armeabi-v7a
./compile.sh -a mips
Result:
Dumping dbg symbols info .dbg/mips/2.1.1
Incremental java compilation is an incubating feature.
:api:preBuild UP-TO-DATE
:api:preReleaseBuild UP-TO-DATE
:api:checkReleaseManifest
:api:preDebugAndroidTestBuild UP-TO-DATE
:api:preDebugBuild UP-TO-DATE
:api:preDebugUnitTestBuild UP-TO-DATE
:api:preReleaseUnitTestBuild UP-TO-DATE
:api:prepareComAndroidSupportAnimatedVectorDrawable2520Library
:api:prepareComAndroidSupportAppcompatV72520Library
:api:prepareComAndroidSupportSupportCompat2520Library
:api:prepareComAndroidSupportSupportCoreUi2520Library
:api:prepareComAndroidSupportSupportCoreUtils2520Library
:api:prepareComAndroidSupportSupportFragment2520Library
:api:prepareComAndroidSupportSupportMediaCompat2520Library
:api:prepareComAndroidSupportSupportV42520Library
:api:prepareComAndroidSupportSupportVectorDrawable2520Library
:api:prepareReleaseDependencies
:api:compileReleaseAidl UP-TO-DATE
:api:compileReleaseNdk UP-TO-DATE
:api:compileLint UP-TO-DATE
:api:copyReleaseLint UP-TO-DATE
:api:compileReleaseRenderscript UP-TO-DATE
:api:generateReleaseBuildConfig UP-TO-DATE
:api:generateReleaseResValues UP-TO-DATE
:api:generateReleaseResources UP-TO-DATE
:api:mergeReleaseResources UP-TO-DATE
:api:processReleaseManifest UP-TO-DATE
:api:processReleaseResources UP-TO-DATE
:api:generateReleaseSources UP-TO-DATE
:api:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:api:javaPreCompileRelease
:api:compileReleaseJavaWithJavac UP-TO-DATE
:api:extractReleaseAnnotations UP-TO-DATE
:api:mergeReleaseShaders UP-TO-DATE
:api:compileReleaseShaders UP-TO-DATE
:api:generateReleaseAssets UP-TO-DATE
:api:mergeReleaseAssets UP-TO-DATE
:api:mergeReleaseProguardFiles UP-TO-DATE
:api:packageReleaseRenderscript UP-TO-DATE
:api:packageReleaseResources UP-TO-DATE
:api:processReleaseJavaRes UP-TO-DATE
:api:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:api:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:api:mergeReleaseJniLibFolders UP-TO-DATE
:api:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:api:transformNativeLibsWithStripDebugSymbolForRelease UP-TO-DATE
:api:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
:api:bundleRelease UP-TO-DATE
:axmlrpc:compileJava UP-TO-DATE
:axmlrpc:processResources UP-TO-DATE
:axmlrpc:classes UP-TO-DATE
:axmlrpc:jar UP-TO-DATE
:libvlc:preBuild UP-TO-DATE
:libvlc:preReleaseBuild UP-TO-DATE
:libvlc:checkReleaseManifest
:libvlc:prepareReleaseDependencies
:libvlc:compileReleaseAidl UP-TO-DATE
:libvlc:compileReleaseNdk UP-TO-DATE
:libvlc:compileLint UP-TO-DATE
:libvlc:copyReleaseLint UP-TO-DATE
:libvlc:compileReleaseRenderscript UP-TO-DATE
:libvlc:generateReleaseBuildConfig UP-TO-DATE
:libvlc:generateReleaseResValues UP-TO-DATE
:libvlc:generateReleaseResources UP-TO-DATE
:libvlc:packageReleaseResources UP-TO-DATE
:libvlc:processReleaseManifest UP-TO-DATE
:libvlc:processReleaseResources UP-TO-DATE
:libvlc:generateReleaseSources UP-TO-DATE
:libvlc:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:libvlc:javaPreCompileRelease
:libvlc:compileReleaseJavaWithJavac UP-TO-DATE
:libvlc:extractReleaseAnnotations UP-TO-DATE
:libvlc:mergeReleaseShaders UP-TO-DATE
:libvlc:compileReleaseShaders UP-TO-DATE
:libvlc:generateReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseAssets UP-TO-DATE
:libvlc:mergeReleaseProguardFiles UP-TO-DATE
:libvlc:packageReleaseRenderscript UP-TO-DATE
:libvlc:processReleaseJavaRes UP-TO-DATE
:libvlc:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:libvlc:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:libvlc:mergeReleaseJniLibFolders UP-TO-DATE
:libvlc:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:libvlc:transformNativeLibsWithStripDebugSymbolForRelease UP-TO-DATE
:libvlc:transformNativeLibsWithSyncJniLibsForRelease UP-TO-DATE
:libvlc:bundleRelease UP-TO-DATE
:medialibrary:preBuild UP-TO-DATE
:medialibrary:preReleaseBuild UP-TO-DATE
:medialibrary:checkReleaseManifest
:medialibrary:preDebugAndroidTestBuild UP-TO-DATE
:medialibrary:preDebugBuild UP-TO-DATE
:medialibrary:preDebugUnitTestBuild UP-TO-DATE
:medialibrary:preReleaseUnitTestBuild UP-TO-DATE
:medialibrary:prepareComAndroidDatabindingAdapters131Library
:medialibrary:prepareComAndroidDatabindingLibrary131Library
:medialibrary:prepareComAndroidSupportSupportCompat2520Library
:medialibrary:prepareComAndroidSupportSupportCoreUi2520Library
:medialibrary:prepareComAndroidSupportSupportCoreUtils2520Library
:medialibrary:prepareComAndroidSupportSupportFragment2520Library
:medialibrary:prepareComAndroidSupportSupportMediaCompat2520Library
:medialibrary:prepareComAndroidSupportSupportV42520Library
:medialibrary:prepareReleaseDependencies
:medialibrary:compileReleaseAidl UP-TO-DATE
:medialibrary:compileReleaseNdk UP-TO-DATE
:medialibrary:compileLint UP-TO-DATE
:medialibrary:copyReleaseLint UP-TO-DATE
:medialibrary:compileReleaseRenderscript UP-TO-DATE
:medialibrary:generateReleaseResValues UP-TO-DATE
:medialibrary:generateReleaseResources UP-TO-DATE
:medialibrary:mergeReleaseResources UP-TO-DATE
:medialibrary:dataBindingProcessLayoutsRelease UP-TO-DATE
:medialibrary:generateReleaseBuildConfig UP-TO-DATE
:medialibrary:processReleaseManifest UP-TO-DATE
:medialibrary:processReleaseResources UP-TO-DATE
:medialibrary:generateReleaseSources UP-TO-DATE
:medialibrary:dataBindingExportBuildInfoRelease UP-TO-DATE
:medialibrary:incrementalReleaseJavaCompilationSafeguard UP-TO-DATE
:medialibrary:javaPreCompileRelease
:medialibrary:transformClassesAndDataBindingWithDataBindingMergeArtifactsForRelease UP-TO-DATE
:medialibrary:compileReleaseJavaWithJavac UP-TO-DATE
:medialibrary:extractReleaseAnnotations UP-TO-DATE
:medialibrary:mergeReleaseShaders UP-TO-DATE
:medialibrary:compileReleaseShaders UP-TO-DATE
:medialibrary:generateReleaseAssets UP-TO-DATE
:medialibrary:mergeReleaseAssets UP-TO-DATE
:medialibrary:mergeReleaseProguardFiles UP-TO-DATE
:medialibrary:packageReleaseRenderscript UP-TO-DATE
:medialibrary:packageReleaseResources UP-TO-DATE
:medialibrary:processReleaseJavaRes UP-TO-DATE
:medialibrary:transformResourcesWithMergeJavaResForRelease UP-TO-DATE
:medialibrary:transformClassesAndResourcesWithSyncLibJarsForRelease UP-TO-DATE
:medialibrary:mergeReleaseJniLibFolders UP-TO-DATE
:medialibrary:transformNativeLibsWithMergeJniLibsForRelease UP-TO-DATE
:medialibrary:transformNativeLibsWithStripDebugSymbolForRelease
/home/osboxes/bin/android-ndk-r13b/toolchains/mipsel-linux-android-4.9/prebuilt/linux-x86_64/bin/mipsel-linux-android-strip:/home/osboxes/bin/vlc-android-sdk/vlc-android/medialibrary/build/intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib/mips/gdb.setup: File format not recognized
Unable to strip library '/home/osboxes/bin/vlc-android-sdk/vlc-android/medialibrary/build/intermediates/transforms/mergeJniLibs/release/folders/2000/3/main/lib/mips/gdb.setup', packaging it as is.
:medialibrary:transformNativeLibsWithSyncJniLibsForRelease
:medialibrary:bundleRelease
:vlc-android:preBuild UP-TO-DATE
:vlc-android:preVanillaMIPSDebugBuild UP-TO-DATE
:vlc-android:checkVanillaMIPSDebugManifest
:vlc-android:preChromeARMv7DebugBuild UP-TO-DATE
:vlc-android:extractProguardFiles
:vlc-android:preChromeARMv7ReleaseBuild
:vlc-android:preChromeARMv8DebugBuild UP-TO-DATE
:vlc-android:preChromeARMv8ReleaseBuild
:vlc-android:preChromeMIPS64DebugBuild UP-TO-DATE
:vlc-android:preChromeMIPS64ReleaseBuild
:vlc-android:preChromeMIPSDebugBuild UP-TO-DATE
:vlc-android:preChromeMIPSReleaseBuild
:vlc-android:preChromeX86DebugBuild UP-TO-DATE
:vlc-android:preChromeX86ReleaseBuild
:vlc-android:preChromeX86_64DebugBuild UP-TO-DATE
:vlc-android:preChromeX86_64ReleaseBuild
:vlc-android:preVanillaARMv7DebugBuild UP-TO-DATE
:vlc-android:preVanillaARMv7ReleaseBuild
:vlc-android:preVanillaARMv8DebugBuild UP-TO-DATE
:vlc-android:preVanillaARMv8ReleaseBuild
:vlc-android:preVanillaMIPS64DebugBuild UP-TO-DATE
:vlc-android:preVanillaMIPS64ReleaseBuild
:vlc-android:preVanillaMIPSReleaseBuild
:vlc-android:preVanillaX86DebugBuild UP-TO-DATE
:vlc-android:preVanillaX86ReleaseBuild
:vlc-android:preVanillaX86_64DebugBuild UP-TO-DATE
:vlc-android:preVanillaX86_64ReleaseBuild
:vlc-android:prepareComAndroidDatabindingAdapters131Library
:vlc-android:prepareComAndroidDatabindingLibrary131Library
:vlc-android:prepareComAndroidSupportAnimatedVectorDrawable2520Library
:vlc-android:prepareComAndroidSupportAppcompatV72520Library
:vlc-android:prepareComAndroidSupportConstraintConstraintLayout100Library
:vlc-android:prepareComAndroidSupportDesign2520Library
:vlc-android:prepareComAndroidSupportLeanbackV172520Library
:vlc-android:prepareComAndroidSupportPreferenceLeanbackV172520Library
:vlc-android:prepareComAndroidSupportPreferenceV142520Library
:vlc-android:prepareComAndroidSupportPreferenceV72520Library
:vlc-android:prepareComAndroidSupportRecyclerviewV72520Library
:vlc-android:prepareComAndroidSupportSupportCompat2520Library
:vlc-android:prepareComAndroidSupportSupportCoreUi2520Library
:vlc-android:prepareComAndroidSupportSupportCoreUtils2520Library
:vlc-android:prepareComAndroidSupportSupportFragment2520Library
:vlc-android:prepareComAndroidSupportSupportMediaCompat2520Library
:vlc-android:prepareComAndroidSupportSupportV42520Library
:vlc-android:prepareComAndroidSupportSupportVectorDrawable2520Library
:vlc-android:prepareComAndroidSupportTransition2520Library
:vlc-android:prepareVanillaMIPSDebugDependencies
:vlc-android:compileVanillaMIPSDebugRenderscript
:vlc-android:generateVanillaMIPSDebugResValues
:vlc-android:generateVanillaMIPSDebugResources
:vlc-android:luaMetaCopy UP-TO-DATE
:vlc-android:luaPlaylistCopy UP-TO-DATE
:vlc-android:mergeVanillaMIPSDebugResources
:vlc-android:dataBindingProcessLayoutsVanillaMIPSDebug
:vlc-android:compileVanillaMIPSDebugAidl
:vlc-android:generateVanillaMIPSDebugBuildConfig
:vlc-android:processVanillaMIPSDebugManifest
:vlc-android:processVanillaMIPSDebugResources
warning: string 'advanced_debugging' has no default translation.
warning: string 'beta_warning' has no default translation.
warning: string 'enable_brightness_gesture' has no default translation.
warning: string 'enable_iomx' has no default translation.
warning: string 'enable_jump_buttons' has no default translation.
warning: string 'enable_jump_buttons_summary' has no default translation.
warning: string 'enable_wheel_bar' has no default translation.
warning: string 'file_other' has no default translation.
warning: string 'filebrowser_title' has no default translation.
warning: string 'hardware_acceleration_error_message' has no default translation.
warning: string 'hardware_acceleration_error_title' has no default translation.
warning: string 'interface_secondary_display_category' has no default translation.
warning: string 'main_prefs_category' has no default translation.
warning: string 'new_app' has no default translation.
warning: string 'new_app_go' has no default translation.
warning: string 'new_app_msg' has no default translation.
:vlc-android:generateVanillaMIPSDebugSources
:vlc-android:dataBindingExportBuildInfoVanillaMIPSDebug
:vlc-android:incrementalVanillaMIPSDebugJavaCompilationSafeguard
:vlc-android:javaPreCompileVanillaMIPSDebug
:vlc-android:transformClassesAndDataBindingWithDataBindingMergeArtifactsForVanillaMIPSDebug
:vlc-android:compileVanillaMIPSDebugJavaWithJavac
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.
:vlc-android:compileVanillaMIPSDebugNdk UP-TO-DATE
:vlc-android:compileVanillaMIPSDebugSources
:vlc-android:mergeVanillaMIPSDebugShaders
:vlc-android:compileVanillaMIPSDebugShaders
:vlc-android:generateVanillaMIPSDebugAssets
:vlc-android:mergeVanillaMIPSDebugAssets
:vlc-android:transformClassesWithDexForVanillaMIPSDebug
Running dex as a separate process.
To run dex in process, the Gradle daemon needs a larger heap.
It currently has 1024 MB.
For faster builds, increase the maximum heap size for the Gradle daemon to at least 1536 MB (based on the dexOptions.javaMaxHeapSize = 1g).
To do this set org.gradle.jvmargs=-Xmx1536M in the project gradle.properties.
For more information see https://docs.gradle.org/current/userguide/build_environment.html
:vlc-android:mergeVanillaMIPSDebugJniLibFolders
:vlc-android:transformNativeLibsWithMergeJniLibsForVanillaMIPSDebug
:vlc-android:transformNativeLibsWithStripDebugSymbolForVanillaMIPSDebug
:vlc-android:processVanillaMIPSDebugJavaRes
:vlc-android:transformResourcesWithMergeJavaResForVanillaMIPSDebug
:vlc-android:validateSigningVanillaMIPSDebug
:vlc-android:packageVanillaMIPSDebug
:vlc-android:assembleVanillaMIPSDebug
BUILD SUCCESSFUL
Total time: 1 mins 7.12 secs
FYI. Updating to vlc-android to git tag 2.1.2 solved the problem for me.
FYI. Updating to vlc-android to git tag 2.1.2 solved the problem for me.
Where exactly ? great job btw !!!
Make sure you followed the Android compile instructions in terms of dependencies. The process to circumvent this I followed was this:
Let me know if you get stuck.
Fail again. This is the sequence of execution:
After working for a couple of minutes I get some errors like:
checking whether the C compiler works... checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking target system type... arm-unknown-linux-androideabi
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking for arm-linux-androideabi-gcc... clang
checking whether the C compiler works... no
no
configure: error: in /home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/libdvbpsi': configure: error: in
/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/freetype/builds/unix':
configure: error: C compiler cannot create executables
See config.log' for more details configure: error: C compiler cannot create executables See
config.log' for more details
builds/unix/detect.mk:85: recipe for target 'setup' failed
make[1]: [setup] Error 77
make[1]: Leaving directory '/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/freetype'
../../contrib/src/freetype2/rules.mak:24: recipe for target '.freetype2' failed
make: [.freetype2] Error 2
make: Waiting for unfinished jobs....
../../contrib/src/dvbpsi/rules.mak:24: recipe for target '.dvbpsi' failed
make: [.dvbpsi] Error 77
autoreconf: running: aclocal -I /home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: running: aclocal -I /home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force -I m4
autoreconf: configure.in: tracing
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, autotools'. libtoolize: copying file
autotools/ltmain.sh'
libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.in and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding
-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
aclocal: warning: autoconf input should be named 'configure.ac', not 'configure.in'
autoreconf: configure.ac: tracing
autoreconf: running: /home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
autoreconf: running: libtoolize --copy --force
libtoolize: putting auxiliary files in .'. libtoolize: copying file
./ltmain.sh'
libtoolize: putting macros in m4'. libtoolize: copying file
m4/libtool.m4'
libtoolize: copying file m4/ltoptions.m4' libtoolize: copying file
m4/ltsugar.m4'
libtoolize: copying file m4/ltversion.m4' libtoolize: copying file
m4/lt~obsolete.m4'
libtoolize: Consider adding AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. autoreconf: running: /home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin/autoheader --include=/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force autoreconf: running: automake --add-missing --copy --force-missing Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin/automake line 3936. automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' configure.in:8: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are deprecated. For more info, see: configure.in:8: http://www.gnu.org/software/automake/manual/automake.html#Modernize-AM_005fINIT_005fAUTOMAKE-invocation configure.in:14: installing 'autotools/compile' configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: running: /home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin/autoconf --include=/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') automake: warning: autoconf input should be named 'configure.ac', not 'configure.in' liba52/Makefile.am: installing 'autotools/depcomp' liba52/Makefile.am:1: warning: 'CFLAGS' is a user variable, you should not override it; liba52/Makefile.am:1: use 'AM_CFLAGS' instead configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') src/Makefile.am:1: warning: 'CFLAGS' is a user variable, you should not override it; src/Makefile.am:1: use 'AM_CFLAGS' instead configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') parallel-tests: installing 'autotools/test-driver' configure.in:82: warning: 'INCLUDES' is the old name for 'AM_CPPFLAGS' (or '*_CPPFLAGS') autoreconf: Leaving directory
.'
cd a52dec && CC="clang" CXX="clang++" LD="arm-linux-androideabi-ld" AR="arm-linux-androideabi-ar" CCAS="clang -c" RANLIB="arm-linux-androideabi-ranlib" STRIP="arm-linux-androideabi-strip" PATH="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/bin:/home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin:/home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin:/home/toga/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/toga/android-sdk:/home/toga/android-ndk:/home/toga/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin:/home/toga/android-sdk/platform-tools:/home/toga/android-sdk/tools:/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin" CPPFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include" CFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" LDFLAGS=" -L/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/lib" ./configure --prefix="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi" --datarootdir="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share" --includedir="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include" --libdir="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/lib" --build="x86_64-linux-gnu" --host="arm-linux-androideabi" --target="arm-linux-androideabi" --program-prefix="" --enable-static --disable-shared --disable-dependency-tracking --with-pic
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-pc-linux-gnu
checking host system type... arm-unknown-linux-androideabi
checking for arm-linux-androideabi-gcc... clang
autoreconf: running: /home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin/autoheader --include=/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share/aclocal --force
checking whether the C compiler works... no
configure: error: in /home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/a52dec': configure: error: C compiler cannot create executables See
config.log' for more details
../../contrib/src/a52/rules.mak:26: recipe for target '.a52' failed
make: [.a52] Error 77
autoreconf: running: automake --add-missing --copy --force-missing
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE ([^ \t=:+{}]+)}/ at /home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin/automake line 3936.
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
doc/Makefile.am:26: 'lib/Headers.mk' included from here
lib/Headers.mk:22: warning: shell cat $(top_srcdir: non-POSIX variable name
lib/Headers.mk:22: (probably a GNU make extension)
lib/Makefile.am:28: 'lib/Headers.mk' included from here
test/Makefile.am:30: warning: '%'-style pattern rules are a GNU make extension
autoreconf: Leaving directory .' cd fribidi && CC="clang" CXX="clang++" LD="arm-linux-androideabi-ld" AR="arm-linux-androideabi-ar" CCAS="clang -c" RANLIB="arm-linux-androideabi-ranlib" STRIP="arm-linux-androideabi-strip" PATH="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/bin:/home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin:/home/toga/Downloads/vlcClone2/vlc-android/vlc/extras/tools/build/bin:/home/toga/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86_64/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/home/toga/android-sdk:/home/toga/android-ndk:/home/toga/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/linux-x86/bin:/home/toga/android-sdk/platform-tools:/home/toga/android-sdk/tools:/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/../arm-linux-androideabi/bin" CPPFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include" CFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" CXXFLAGS=" -g -mfpu=vfpv3-d16 -mcpu=cortex-a8 -mthumb -mfloat-abi=softfp -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/include -I/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a/include -I/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include -g -O2" LDFLAGS=" -L/home/toga/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/armeabi-v7a -lgnustl_static -L/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/lib" ./configure --prefix="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi" --datarootdir="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/share" --includedir="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/include" --libdir="/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/arm-linux-androideabi/lib" --build="x86_64-linux-gnu" --host="arm-linux-androideabi" --target="arm-linux-androideabi" --program-prefix="" --enable-static --disable-shared --disable-dependency-tracking --with-pic checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for arm-linux-androideabi-strip... arm-linux-androideabi-strip checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking for style of include used by make... GNU checking for arm-linux-androideabi-gcc... clang checking whether the C compiler works... no configure: error: in
/home/toga/Downloads/vlcClone2/vlc-android/vlc/contrib/contrib-android-arm-linux-androideabi/fribidi':
configure: error: C compiler cannot create executables
See `config.log' for more details
../../contrib/src/fribidi/rules.mak:26: recipe for target '.fribidi' failed
make: [.fribidi] Error 77
contribs: make failed
2.0.6 never compiled for me. Also make sure you're compiling on x64 Ubuntu. I compiled on v16 virtual machine. Try git checkout 2.1.2 instead.
Sorry, my previous comment was wrong it seems...
Hi, I have trouble compiling libvlc with this script in Ubuntu16.10.
It builds fine for other architecture, but when it reach the
compileVlcMips
it failed with error. My steps followed exactly what the ReadMe tutorial for building newest libVLC said. Can anyone help me?Here is the error: