Problème de build



  • Depuis 3 jours, j'essaye de compiler mon mod 1.7.2(gradlew build)
    Même après avoir cherché de l'aide un peu partout je n'arrive toujours pas a compiler ce mod….
    Pourtant j'arrive sans aucun probleme a lancer le mod sur eclipse, meme si j'ai une ligne comme celle suivant:

    [20:28:57] [Client thread/ERROR] [FML]: FML has detected a mod that is using a package name based on 'net.minecraft.src' : net.minecraft.src.FMLRenderAccessLibrary. This is generally a severe programming error. There should be no mod code in the minecraft namespace. MOVE YOUR MOD! If you're in eclipse, select your source code and 'refactor' it into a new package. Go on. DO IT NOW!
    

    sachant que çela faisait longtemps que c'était affiché je m'y suis jamais interessé, et je ne voit pas de quoi cette ligne parle..
    Je vous envoie donc mon log en mode debug:

    84811eb77ba00e6d95a
    3720ab09c097df94aba4c3f9d683d017
    19bdbf8e9e4a154f8114fd563d2e7eda
    30c3b9785c179d62f576a44fde7b3964
    82a1b606bd90887f5aac4888ec4584a6
    20:39:22.484 [INFO] [org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter ]
    Skipping task ':genSrgs' as task onlyIf is false.
    20:39:22.495 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter ]
    Finished executing task ':genSrgs'
    20:39:22.506 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :genSrgs SKIPPED
    20:39:22.518 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :genSrgs (Thread[main,5,main]) completed. Took 2.129 secs.
    20:39:22.529 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :reobf (Thread[main,5,main]) started.
    20:39:22.539 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :reobf
    20:39:22.540 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter ] Starting to execute task ':reobf'
    20:39:22.559 [DEBUG] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter ] Determining if task ':reobf' is up-to-date
    20:39:22.575 [INFO] [org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter ] Executing task ':reobf' (up-to-date check took 0.006 secs) due to: No history is available.
    20:39:22.586 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter ]Executing actions for task ':reobf'.
    20:39:24.694 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter ]Finished executing task ':reobf'
    20:39:24.705 [LIFECYCLE] [class org.gradle.TaskExecutionLogger] :reobf FAILED
    20:39:24.716 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :reobf (Thread[main,5,main]) completed. Took 2.178 secs.
    20:39:24.725 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[main,5,main]] finished, busy: 17.495 secs, idle: 0.302 secs
    20:39:24.741 [ERROR] [org.gradle.BuildExceptionReporter]
    20:39:24.752 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
    20:39:24.763 [ERROR] [org.gradle.BuildExceptionReporter]
    20:39:24.826 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
    20:39:24.882 [ERROR] [org.gradle.BuildExceptionReporter] Execution failed for task ':reobf'.
    20:39:24.891 [ERROR] [org.gradle.BuildExceptionReporter] > MALFORMED
    20:39:24.904 [ERROR] [org.gradle.BuildExceptionReporter]
    20:39:24.912 [ERROR] [org.gradle.BuildExceptionReporter] * Exception is:
    20:39:24.921 [ERROR] [org.gradle.BuildExceptionReporter] org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':reobf'.
    20:39:24.929 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:69)
    20:39:24.937 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.execute(ExecuteActionsTaskExecuter.java:46)
    20:39:24.946 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.PostExecutionAnalysisTaskExecuter.execute(PostExecutionAnalysisTaskExecuter.java:35)
    20:39:24.955 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipUpToDateTaskExecuter.execute(SkipUpToDateTaskExecuter.java:64)
    20:39:24.963 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ValidatingTaskExecuter.execute(ValidatingTaskExecuter.java:58)
    20:39:24.972 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipEmptySourceFilesTaskExecuter.execute(SkipEmptySourceFilesTaskExecuter.java:42)
    20:39:24.980 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipTaskWithNoActionsExecuter.execute(SkipTaskWithNoActionsExecuter.java:52)
    20:39:24.990 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.SkipOnlyIfTaskExecuter.execute(SkipOnlyIfTaskExecuter.java:53)
    20:39:24.998 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter.execute(ExecuteAtMostOnceTaskExecuter.java:43)
    20:39:25.006 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask.executeWithoutThrowingTaskFailure(AbstractTask.java:289)
    
    20:39:25.015 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.executeTask(AbstractTaskPlanExecutor.java:79)
    20:39:25.023 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.processTask(AbstractTaskPlanExecutor.java:63)
    20:39:25.031 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.AbstractTaskPlanExecutor$TaskExecutorWorker.run(AbstractTaskPlanExecutor.java:51)
    20:39:25.040 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskPlanExecutor.process(DefaultTaskPlanExecutor.java:23)
    20:39:25.049 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.taskgraph.DefaultTaskGraphExecuter.execute(DefaultTaskGraphExecuter.java:86)
    20:39:25.058 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.SelectedTaskExecutionAction.execute(SelectedTaskExecutionAction.java:29)
    
    20:39:25.066 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
    20:39:25.074 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.access$200(DefaultBuildExecuter.java:23)
    20:39:25.082 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter$2.proceed(DefaultBuildExecuter.java:67)
    20:39:25.090 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DryRunBuildExecutionAction.execute(DryRunBuildExecutionAction.java:32)
    20:39:25.099 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:61)
    20:39:25.107 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.execution.DefaultBuildExecuter.execute(DefaultBuildExecuter.java:54)
    20:39:25.115 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuildStages(DefaultGradleLauncher.java:166)
    
    20:39:25.124 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.doBuild(DefaultGradleLauncher.java:113)
    20:39:25.131 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.initialization.DefaultGradleLauncher.run(DefaultGradleLauncher.java:81)
    20:39:25.140 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter$DefaultBuildController.run(InProcessBuildActionExecuter.java:64)
    20:39:25.148 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:33)
    20:39:25.156 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExecuteBuildAction.run(ExecuteBuildAction.java:24)
    20:39:25.164 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:35)
    20:39:25.173 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.exec.InProcessBuildActionExecuter.execute(InProcessBuildActionExecuter.java:26)
    20:39:25.181 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.RunBuildAction.run(RunBuildAction.java:50)
    20:39:25.205 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.Actions$RunnableActionAdapter.execute(Actions.java:171)
    20:39:25.213 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:201)
    20:39:25.222 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$ParseAndBuildAction.execute(CommandLineActionFactory.java:174)
    20:39:25.230 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:170)
    20:39:25.239 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.CommandLineActionFactory$WithLogging.execute(CommandLineActionFactory.java:139)
    20:39:25.247 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:33)
    20:39:25.255 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.cli.ExceptionReportingAction.execute(ExceptionReportingAction.java:22)
    20:39:25.263 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.doAction(Main.java:46)
    20:39:25.271 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.EntryPoint.run(EntryPoint.java:45)
    20:39:25.280 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.Main.main(Main.java:37)
    20:39:25.288 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.runNoExit(ProcessBootstrap.java:50)
    20:39:25.296 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.bootstrap.ProcessBootstrap.run(ProcessBootstrap.java:32)
    20:39:25.305 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.launcher.GradleMain.main(GradleMain.java:23)
    20:39:25.313 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.BootstrapMainStarter.start(BootstrapMainStarter.java:30)
    20:39:25.322 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.WrapperExecutor.execute(WrapperExecutor.java:127)
    20:39:25.330 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.wrapper.GradleWrapperMain.main(GradleWrapperMain.java:55)
    20:39:25.339 [ERROR] [org.gradle.BuildExceptionReporter] Caused by: java.lang.IllegalArgumentException: MALFORMED
    20:39:25.347 [ERROR] [org.gradle.BuildExceptionReporter] at net.md_5.specialsource.Jar.collectJarFiles(Jar.java:177)
    20:39:25.369 [ERROR] [org.gradle.BuildExceptionReporter] at net.md_5.specialsource.Jar.init(Jar.java:237)
    20:39:25.410 [ERROR] [org.gradle.BuildExceptionReporter] at net.md_5.specialsource.Jar.init(Jar.java:214)
    20:39:25.435 [ERROR] [org.gradle.BuildExceptionReporter] at net.minecraftforge.gradle.tasks.user.reobf.ObfArtifact.applySpecialSource(ObfArtifact.java:369)
    20:39:25.460 [ERROR] [org.gradle.BuildExceptionReporter] at net.minecraftforge.gradle.tasks.user.reobf.ObfArtifact.generate(ObfArtifact.java:348)
    20:39:25.470 [ERROR] [org.gradle.BuildExceptionReporter] at net.minecraftforge.gradle.tasks.user.reobf.ReobfTask.doTask(ReobfTask.java:298)
    20:39:25.482 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.internal.reflect.JavaMethod.invoke(JavaMethod.java:63)
    20:39:25.491 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.doExecute(AnnotationProcessingTaskFactory.java:219)
    20:39:25.499 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:212)
    20:39:25.509 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.project.taskfactory.AnnotationProcessingTaskFactory$StandardTaskAction.execute(AnnotationProcessingTaskFactory.java:201)
    20:39:25.517 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:533)
    20:39:25.535 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.AbstractTask$TaskActionWrapper.execute(AbstractTask.java:516)
    20:39:25.554 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeAction(ExecuteActionsTaskExecuter.java:80)
    20:39:25.563 [ERROR] [org.gradle.BuildExceptionReporter] at org.gradle.api.internal.tasks.execution.ExecuteActionsTaskExecuter.executeActions(ExecuteActionsTaskExecuter.java:61)
    20:39:25.572 [ERROR] [org.gradle.BuildExceptionReporter] … 46 more
    20:39:25.580 [ERROR] [org.gradle.BuildExceptionReporter]
    20:39:25.588 [LIFECYCLE] [org.gradle.BuildResultLogger]
    20:39:25.596 [LIFECYCLE] [org.gradle.BuildResultLogger] BUILD FAILED
    20:39:25.605 [LIFECYCLE] [org.gradle.BuildResultLogger]
    20:39:25.614 [LIFECYCLE] [org.gradle.BuildResultLogger] Total time: 42.296 secs
    20:39:25.624 [DEBUG] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager ]Stopping 0 compiler daemon(s).
    20:39:25.634 [INFO] [org.gradle.api.internal.tasks.compile.daemon.CompilerDaemonManager ]Stopped 0 compiler daemon(s).
    20:39:25.648 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache module-metadata.bin (C:\Users\xav\.gradle\caches\modules-2\metadata-2.2\module-metadata.bin)
    20:39:25.659 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache artifact-at-url.bin (C:\Users\xav\.gradle\caches\modules-2\metadata-2.2\artifact-at-url.bin)
    20:39:25.670 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache artifact-at-repository.bin (C:\Users\xav\.gradle\caches\modules-2\metadata-2.2\artifact-at-repository.bin)
    20:39:25.682 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache dynamic-revisions.bin (C:\Users\xav\.gradle\caches\modules-2\metadata-2.2\dynamic-revisions.bin)
    20:39:25.695 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on artifact cache (C:\Users\xav\.gradle\caches\modules-2).
    20:39:25.706 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on buildscript class cache for build file 'C:\Users\xav\Desktop\Modding\build.gradle' (C:\Users\xav\.gradle\caches\1.11\scripts\build_6sigmspj3ejrri3293rn3h4cet\ProjectScript\buildscript).
    20:39:25.717 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on no_buildscript class cache for build file 'C:\Users\xav\Desktop\Modding\build.gradle' (C:\Users\xav\.gradle\caches\1.11\scripts\build_6sigmspj3ejrri3293rn3h4cet\ProjectScript\no_buildscript).
    20:39:25.732 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache taskArtifacts.bin (C:\Users\xav\Desktop\Modding\.gradle\1.11\taskArtifacts\taskArtifacts.bin)
    20:39:25.744 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache fileHashes.bin (C:\Users\xav\Desktop\Modding\.gradle\1.11\taskArtifacts\fileHashes.bin)
    20:39:25.756 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache fileSnapshots.bin (C:\Users\xav\Desktop\Modding\.gradle\1.11\taskArtifacts\fileSnapshots.bin)
    20:39:25.768 [DEBUG] [org.gradle.cache.internal.btree.BTreePersistentIndexedCache ]Closing cache outputFileStates.bin (C:\Users\xav\Desktop\Modding\.gradle\1.11\taskArtifacts\outputFileStates.bin)
    20:39:25.780 [DEBUG] [org.gradle.cache.internal.DefaultFileLockManager] Releasing lock on task history cache (C:\Users\xav\Desktop\Modding\.gradle\1.11\taskArtifacts).
    20:39:25.795 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.ivyresolve.memcache.InMemoryDependencyMetadataCache ]In-memory dependency metadata cache closed. Repos cached: 11, cache instances: 5,modules served from cache: 4, artifacts: 3
    20:39:25.808 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory ]Resolution result cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
    20:39:25.820 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.CachedStoreFactory ]Resolved configuration cache closed. Cache reads: 0, disk reads: 0 (avg: 0.0 secs, total: 0.0 secs)
    20:39:25.830 [DEBUG] [org.gradle.api.internal.artifacts.ivyservice.resolveengine.store.ResolutionResultsStoreFactory ]Deleted 2 resolution results binary files in 0.024 secs
    
    C:\Users\xav\Desktop\Modding>
    

    J'ai compris qu'il s'agit d'un problème sur la 'reobf' mais je ne comprend pas pourquoi…
    on m'a déjà dit de chercher et de supprimer toutes les lignes ' private static final String __OBFID = ...', sans rien trouver qui y ressemble dans mon code.
    En espérant que vous pourrez m'aider...



  • tu as modifier le code src de minecraft non?



  • non pourtant…
    j'ai aussi le code suivant, mais je voit pas trop en quoi je pourrait y faire qqchose:

    
    [20:28:40] [main/ERROR] [FML]: The minecraft jar file:/C:/Users/xav/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class appears to be corrupt! There has been CRITICAL TAMPERING WITH MINECRAFT, it is highly unlikely minecraft will work! STOP NOW, get a clean copy and try again!
    [20:28:40] [main/ERROR] [FML]: FML has been ordered to ignore the invalid or missing minecraft certificate. This is very likely to cause a problem!
    [20:28:40] [main/ERROR] [FML]: Technical information: ClientBrandRetriever was at jar:file:/C:/Users/xav/.gradle/caches/minecraft/net/minecraftforge/forge/1.7.2-10.12.1.1060/forgeSrc-1.7.2-10.12.1.1060.jar!/net/minecraft/client/ClientBrandRetriever.class, there were 0 certificates for it
    
    


  • tu as eu de récent problème avec ton pc car ce fichier est corrompu…


  • Administrateurs

    Ces messages sont normaux, tout le monde les a.
    Envoie tes sources par mp, je vais regarder de mon côté (juste le temps de tout réinstaller sur mon pc, je viens d'installer w8.1)



  • je conclut qu'il faut "réparer" mon minecraft -_-'
    mais… comment? j'ai la version de forge recommandée, et je n'y ai pas touché pourtant...


    ok fail ; )


    je t'envoie ça dans un instant



  • Tu n'aurrais pas créé quelque chose dans un package nommé net.minecraft.src par hasard ?