I'm trying to build libopenmetaverse on CentOS however I get the following error. I'm not this kind of developer and am installing this for someone else to use. This is just the part of the build that fails. Any ideas?
[nant] /opt/libomv/Programs/WinGridProxy/WinGridProxy.exe.build build
Buildfile: file:///opt/libomv/Programs/WinGridProxy/WinGridProxy.exe.build
Target framework: Mono 2.0 Profile
Target(s) specified: build
build:
[echo] Build Directory is /opt/libomv/bin
[csc] Compiling 15 files to '/opt/libomv/bin/WinGridProxy.exe'.
[resgen] Error: Invalid ResX input.
[resgen] Position: Line 2700, Column 5.
[resgen] Inner exception: An exception was thrown by the type initializer for System.Drawing.GDIPlus
BUILD FAILED
External Program Failed: /tmp/tmp5a71a509.tmp/resgen.exe (return code was 1)
Total time: 0.4 seconds.
BUILD FAILED
Nested build failed. Refer to build log for exact reason.
Total time: 47 seconds.
Build Exit Code: 1
You might need to install libgdiplus, or ensure that your system can find it.
Ok, dont know why, but installing libgdiplus-devel seemed to fix it.
Related
I was trying to setup my modding environement and when i did 'gradlew setupDecompWorkSpace', this happen :
WARNING: You are using an unsupported version of ForgeGradle.
Please consider upgrading to ForgeGradle 4 and helping in the efforts to get old versions working on the modern toolchain.
See https://gist.github.com/TheCurle/fe7ad3ede188cbdd15c235cc75d52d4a for more info on contributing.
#################################################
ForgeGradle 1.2.2-g2ea0336
https://github.com/MinecraftForge/ForgeGradle
#################################################
Powered by MCP unknown
http://modcoderpack.com
by: Searge, ProfMobius, Fesh0r,
R4wk, ZeuX, IngisKahn, bspkrs
#################################################
:extractMcpData UP-TO-DATE
:getVersionJson
Unexpected reponse 403 from http://s3.amazonaws.com/Minecraft.Download/versions/1.7.10/1.7.10.json
:extractUserDev UP-TO-DATE
:genSrgs SKIPPED
:extractNatives UP-TO-DATE
:getAssetsIndex
Unexpected reponse 403 from https://s3.amazonaws.com/Minecraft.Download/indexes/1.7.10.json
:getAssets FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':getAssets'.
> java.lang.NullPointerException (no error message)
* 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: 4.862 secs
C:\Users\Dimitri\eclipse-workspace\forge-1.7.10-10.13.4.1614-1.7.10-src>
I've tried to change the gradle version into the gradle-wrapper.properties from 2.0 to 2.6, It just lasted longer.
I'm not a professional in this but my workaround when I had this problem was replacing forge gradle with anatawa12's fork. I think what happened was some urls changed in one of the forge updates and forge 1.7.10 wasn't considered in the change.
New gradle: https://github.com/anatawa12/ForgeGradle-1.2
How to fix the Problem Method 1:
Follow: https://github.com/anatawa12/ForgeGradle-example#how-to-replace-forgegradle-12-with-anatawa12s-fork
Edit Gradle wrapper to use gradle 4.4.1 or higher.
How to fix the Problem Method 2:
Download and use anatawa12's example gradle template (same commands for cmd):
https://github.com/anatawa12/ForgeGradle-example/archive/master.zip
I'm trying to install Spartacus for SAP Commerce 2005 following the guide:
https://sap.github.io/spartacus-docs/installing-sap-commerce-cloud-2005/
At Step 2-3 (Initialize the system using the following command) I've got an error:
[testClassesScanner] Found 12 ordercalculation testclasses in 7.191 ms
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\ordercalculation_testsrctouch
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices
[mkdir] Created dir: C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\odata2services
[copy] Copying 1 file to C:\CX2005\hybris\bin\modules\integration-apis\odata2services
[mkdir] Created dir: C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[yjavac] Compiling 73 source files to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[yjavac] Compiling 396 source files to C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\outboundservices_srctouch
[groovyc] Compiling 26 source files to C:\CX2005\hybris\bin\modules\integration-apis\outboundservices\classes
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\odata2services_srctouch
[groovyc] Compiling 150 source files to C:\CX2005\hybris\bin\modules\integration-apis\odata2services\classes
[testClassesScanner] Found 218 odata2services testclasses in 16.72 ms
[touch] Creating C:\CX2005\hybris\temp\hybris\touch\odata2services_testsrctouch
BUILD FAILED
C:\CX2005\hybris\bin\platform\build.xml:13: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:75: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:116: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\util.xml:42: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\util.xml:44: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:123: The following error occurred while executing this line:
C:\CX2005\hybris\bin\platform\resources\ant\compiling.xml:340: The following error occurred while executing this line:
C:\CX2005\hybris\bin\modules\platform\groovynature\buildcallbacks.xml:33: BUG! exception in phase 'semantic analysis' in source unit 'C:\CX2005\hybris\bin\modules\integrati
n-apis\outboundservices\testsrc\de\hybris\platform\outboundservices\client\RestTemplateFactoryIntegrationTest.groovy' null
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:980)
at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:651)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:600)
at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:583)
at org.codehaus.groovy.tools.FileSystemCompiler.compile(FileSystemCompiler.java:75)
at org.codehaus.groovy.tools.FileSystemCompiler.doCompilation(FileSystemCompiler.java:243)
at org.codehaus.groovy.ant.Groovyc.runCompiler(Groovyc.java:1206)
at org.codehaus.groovy.ant.Groovyc.compile(Groovyc.java:1258)
at org.codehaus.groovy.ant.Groovyc.execute(Groovyc.java:853)
The last part of the log:
at org.codehaus.groovy.control.CompilationUnit.applyToSourceUnits(CompilationUnit.java:976)
... 102 more
Total time: 10 minutes 32 seconds
> Task :recipes:cx-for-spa:buildSystem FAILED
FAILURE: Build failed with an exception.
* Where:
Build file 'C:\CX2005\installer\recipes\cx-for-spa\build.gradle' line: 594
* What went wrong:
Execution failed for task ':recipes:cx-for-spa:buildSystem'.
> external process returned non-zero exit code, command: [cmd, /c, set "ANT_OPTS=-Xmx1024m -Dfile.encoding=UTF-8" & set "PLATFORM_HOME=C:\CX2005\hybris\bin\platform" & set "ANT_HOME=C:\CX2005\hybris\bin\platform\apache-ant" & set "PATH=C:\CX2005\hybris\bin\platform\apache-ant\bin;%PATH%" & ant clean all]
Any ideas how to resolve this?
Regards,
Jegors
Commenting out below line in installer/customconfig/custom.properties resolved the issue.
#build.parallel=true
I had the same problem, maybe you should install Grunt and that is all.
I hope to be resolved your answer
Good Luck
Try after removing NodeJS path environment variable in windows.
Reffer this discussion from answers.sap.com, will help.
Getting that build failed error because I have 4 warnings that read the same.
##[warning]C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v14.0\Python Tools\Microsoft.PythonTools.Django.targets(120,5): Warning : Errors while resolving environments: Some project interpreters failed to load:
Interpreter d:\a\1\s\"name of project"\env\ has invalid value for 'Id': env
Interpreter reference has invalid path: Global|PythonCore|3.4
I am using Python 3.4.4 64-bit if that makes a difference.
The build is failing during the Build solution **\*.sln section of the build.
Thank you in advance for any help.
Edit pyproj file to change 10.0 to 15.0
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">15.0</VisualStudioVersion>
i've got a rather large, multi-dimension Android app that i'm trying to upgrade from Dagger 1 to Dagger 2. i've made all the code changes i believe need to be made to support the upgrade, but now when i build the app i'm getting the following exception (during the transformClassesWithMultidexlistForXXX task):
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':app:transformClassesWithMultidexlistForMyFlavorAndDimensionDebug'.
> java.lang.UnsupportedOperationException (no error message)
* Try:
Run with --debug option to get more log output.
* Exception is:
org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:transformClassesWithMultidexlistForMyFlavorAndDimensionDebug'.
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)
...(snip)...
Caused by: java.lang.UnsupportedOperationException
at com.android.ide.common.process.ProcessInfoBuilder$JavaProcessInfoImpl.getExecutable(ProcessInfoBuilder.java:349)
at com.android.build.gradle.internal.process.GradleProcessResult.buildProcessException(GradleProcessResult.java:74)
at com.android.build.gradle.internal.process.GradleProcessResult.assertNormalExitValue(GradleProcessResult.java:49)
at com.android.builder.core.AndroidBuilder.createMainDexList(AndroidBuilder.java:1426)
...(snip)...
... 68 more
BUILD FAILED
Total time: 5 mins 5.179 secs
Stopped 0 compiler daemon(s).
digging into the source, ProcessBuilder.JavaProcessInfoImpl.getExecutable() simply throws an UnsupportedOperationException.
i'm using version 2.2.3 of the Android Gradle plug-in.
has anyone else run into this issue? have i done something in error to lead me down this path?
any thoughts or suggestions would be greatly appreciated!
*********************** UPDATE ***********************
i managed my way around this issue by downgrading from Dagger 2.8 —> 2.7.
I am fairly new at Android development and have been struggling to get a working build of an app I am working on.
I receive the following error after a build with Gradle:
:app:transformClassesWithJarMergingForDebug FAILED
FAILURE: Build failed with an exception.
What went wrong: Execution failed for task ':app:transformClassesWithJarMergingForDebug'.
com.android.build.api.transform.TransformException: java.util.zip.ZipException: duplicate entry:
android/support/v4/print/PrintHelper$1.class
I (think) I narrowed the issue down to multiple libraries using the same 'support-v4' module, but I'm not sure. I can provide more details. Thank you.
I fixed this by deleting .jar files that were duplicates.