Build MOE failed ./gradlew mingw llvm

Hello,
./gradlew mingw llvm failed

:buildSrc:compileJava UP-TO-DATE
:buildSrc:compileGroovy UP-TO-DATE
:buildSrc:processResources UP-TO-DATE
:buildSrc:classes UP-TO-DATE
:buildSrc:jar UP-TO-DATE
:buildSrc:assemble UP-TO-DATE
:buildSrc:compileTestJava UP-TO-DATE
:buildSrc:compileTestGroovy UP-TO-DATE
:buildSrc:processTestResources UP-TO-DATE
:buildSrc:testClasses UP-TO-DATE
:buildSrc:test UP-TO-DATE
:buildSrc:check UP-TO-DATE
:buildSrc:build UP-TO-DATE
:mingw
> Checking brew dependencies
> Downloading binutils-2.24
> Building 32-bit binutils-2.24
> Building 64-bit binutils-2.24
> Downloading mingw-w64-v3.1.0
> Building 32-bit mingw-w64-v3.1.0
Error log available at /Volumes/moe-robovm/moe/moe/prebuilts/build/mingw.log
:mingw FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':mingw'.
> Process 'command 'ln'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Dear radxe,

could you try to run ./gradlew mingw again, if it fails again, then please run in debug mode ./gradlew mingw --debug and attach the complete output.

Note: building MOE is only currently being tested on case-sensitive filesystems.

Hello,
Yes, I tried again and again, the file system is case-sensitive filesystems.
I will try it using --debug option.
Thank you very much!

Hello, the debug output is :

00:13:28.140 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process ‘command ‘make’’. Working directory: /Volumes/moe-robovm/moe/moe/prebuilts/build/mingw/mingw-w64-v3.1.0/build-headers32 Command: make install-strip
00:13:28.140 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment for process ‘command ‘make’’: {PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin, CXX=g+±5, CPP=cpp-5, JAVA_ARCH=x86_64, TERM=xterm-256color, LANG=zh_CN.UTF-8, APP_ICON_21381=/Volumes/moe-robovm/moe/moe/prebuilts/media/gradle.icns, LOGNAME=macos12, TERM_PROGRAM_VERSION=387, PWD=/Volumes/moe-robovm/moe/moe/prebuilts, XPC_SERVICE_NAME=0, CC=gcc-5, SHELL=/bin/bash, TERM_PROGRAM=Apple_Terminal, OLDPWD=/Volumes/moe-robovm/moe/moe/prebuilts, SECURITYSESSIONID=186a6, USER=macos12, TMPDIR=/var/folders/6g/n41stvm54vxfwh0s_7zmfqt00000gn/T/, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.ULXYmYByeV/Listeners, XPC_FLAGS=0x0, JAVA_MAIN_CLASS_21381=org.gradle.wrapper.GradleWrapperMain, TERM_SESSION_ID=E2593912-B281-4CDD-A6A6-2C79EF4476EB, APP_NAME_21381=Gradle, __CF_USER_TEXT_ENCODING=0x1F5:0x19:0x34, LD=gcc-5, Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.pjWmBFuNDo/Render, com.apple.java.jvmTask=CommandLine, HOME=/Users/macos12, SHLVL=1}
00:13:28.140 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTING
00:13:28.141 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting until process started: command ‘make’.
00:13:28.146 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTED
00:13:28.146 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting until streams are handled…
00:13:28.146 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process ‘command ‘make’’
00:13:35.921 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: SUCCEEDED
00:13:35.921 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process ‘command ‘make’’ finished with exit value 0 (state: SUCCEEDED)
00:13:35.922 [INFO] [org.gradle.process.internal.DefaultExecHandle] Starting process ‘command ‘ln’’. Working directory: /Volumes/moe-robovm/moe/moe/prebuilts/mingw/i686-w64-mingw32 Command: ln -s lib lib32
00:13:35.923 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Environment for process ‘command ‘ln’’: {PATH=/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin, CXX=g+±5, CPP=cpp-5, JAVA_ARCH=x86_64, TERM=xterm-256color, LANG=zh_CN.UTF-8, APP_ICON_21381=/Volumes/moe-robovm/moe/moe/prebuilts/media/gradle.icns, LOGNAME=macos12, TERM_PROGRAM_VERSION=387, PWD=/Volumes/moe-robovm/moe/moe/prebuilts, XPC_SERVICE_NAME=0, CC=gcc-5, SHELL=/bin/bash, TERM_PROGRAM=Apple_Terminal, OLDPWD=/Volumes/moe-robovm/moe/moe/prebuilts, SECURITYSESSIONID=186a6, USER=macos12, TMPDIR=/var/folders/6g/n41stvm54vxfwh0s_7zmfqt00000gn/T/, SSH_AUTH_SOCK=/private/tmp/com.apple.launchd.ULXYmYByeV/Listeners, XPC_FLAGS=0x0, JAVA_MAIN_CLASS_21381=org.gradle.wrapper.GradleWrapperMain, TERM_SESSION_ID=E2593912-B281-4CDD-A6A6-2C79EF4476EB, APP_NAME_21381=Gradle, __CF_USER_TEXT_ENCODING=0x1F5:0x19:0x34, LD=gcc-5, Apple_PubSub_Socket_Render=/private/tmp/com.apple.launchd.pjWmBFuNDo/Render, com.apple.java.jvmTask=CommandLine, HOME=/Users/macos12, SHLVL=1}
00:13:35.923 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTING
00:13:35.923 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Waiting until process started: command ‘ln’.
00:13:35.939 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: STARTED
00:13:35.940 [DEBUG] [org.gradle.process.internal.ExecHandleRunner] waiting until streams are handled…
00:13:35.940 [INFO] [org.gradle.process.internal.DefaultExecHandle] Successfully started process ‘command ‘ln’’
00:13:35.944 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Changing state to: FAILED
00:13:35.944 [DEBUG] [org.gradle.process.internal.DefaultExecHandle] Process ‘command ‘ln’’ finished with exit value 1 (state: FAILED)
00:13:35.945 [ERROR] [system.err] Error log available at /Volumes/moe-robovm/moe/moe/prebuilts/build/mingw.log
00:13:35.947 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ‘:mingw’
00:13:35.947 [LIFECYCLE] [class org.gradle.internal.buildevents.TaskExecutionLogger] :mingw FAILED
00:13:35.947 [INFO] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] :mingw (Thread[Daemon worker Thread 2,5,main]) completed. Took 14 mins 37.98 secs.
00:13:35.948 [DEBUG] [org.gradle.internal.operations.DefaultBuildOperationWorkerRegistry] Worker root.1 completed (0 in use)
00:13:35.948 [DEBUG] [org.gradle.execution.taskgraph.AbstractTaskPlanExecutor] Task worker [Thread[Daemon worker Thread 2,5,main]] finished, busy: 14 mins 37.98 secs, idle: 0.002 secs
00:13:35.953 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
00:13:35.953 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] FAILURE: Build failed with an exception.
00:13:35.953 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
00:13:35.953 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * What went wrong:
00:13:35.953 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Execution failed for task ‘:mingw’.
00:13:35.953 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] > Process ‘command ‘ln’’ finished with non-zero exit value 1
00:13:35.953 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter]
00:13:35.954 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] * Try:
00:13:35.954 [ERROR] [org.gradle.internal.buildevents.BuildExceptionReporter] Run with --stacktrace option to get the stack trace.
00:13:35.954 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger]
00:13:35.954 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] BUILD FAILED
00:13:35.954 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger]
00:13:35.954 [LIFECYCLE] [org.gradle.internal.buildevents.BuildResultLogger] Total time: 14 mins 40.796 secs
00:13:35.955 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache task history cache (/Volumes/moe-robovm/moe/moe/prebuilts/.gradle/3.0/taskArtifacts) was closed 0 times.
00:13:35.955 [DEBUG] [org.gradle.cache.internal.DefaultCacheAccess] Cache Plugin Resolution Cache (/Users/macos12/.gradle/caches/3.0/plugin-resolution) was closed 0 times.
00:13:35.956 [DEBUG] [org.gradle.launcher.daemon.server.exec.ExecuteBuild] The daemon has finished executing the build.
00:13:36.260 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientInputForwarder] Dispatching close input message: [email protected]
00:13:36.261 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 13: dispatching class org.gradle.launcher.daemon.protocol.CloseInput
00:13:36.263 [INFO] [org.gradle.launcher.daemon.client.DaemonClient] Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ‘:mingw’.] from daemon DaemonInfo{pid=55432, address=[357ac4ca-94a1-41a6-b321-df140cda496d port:54854, addresses:[/0:0:0:0:0:0:0:1, /127.0.0.1]], idle=true, lastBusy=1478533396441, context=DefaultDaemonContext[uid=17759150-857b-43fb-85d2-31c9041aafb1,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_112.jdk/Contents/Home,daemonRegistryDir=/Users/macos12/.gradle/daemon,pid=55432,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=CN,-Duser.language=zh,-Duser.variant]} (build should be done).
00:13:36.263 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: dispatching class org.gradle.launcher.daemon.protocol.Finished
00:13:36.277 [DEBUG] [org.gradle.launcher.daemon.client.DaemonClientConnection] thread 1: connection stop

dear liliomk,
today I repo sync again, now BUILD SUCCESSFUL.
Thank you very much!