Ongoing TRANS Errors

Monkey Forums/Monkey Bug Reports/Ongoing TRANS Errors

zoqfotpik(Posted 2013) [#1]
I am getting an intermittent "TRANS FAILED" error on builds. This error is intermittent-- it doesn't always happen, perhaps 30% of the time. It doesn't seem to have anything to do with the code itself because I will compile and it won't work, then the next time it will work. It just means I have to compile multiple times to get a working build.

This has occurred in all Monkey revisions since the very early days. If this is something I can fix I'd really like to because while it's not a barnburner it is starting to get really annoying.

TRANS monkey compiler V1.56
Parsing...
Semanting...
Translating...
Building...
Microsoft (R) Build Engine Version 4.0.30319.1
[Microsoft .NET Framework, Version 4.0.30319.1008]
Copyright (C) Microsoft Corporation 2007. All rights reserved.

Build started 12/10/2013 8:47:46 PM.
Project "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|Win32".
Project "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.sln" (1) is building "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.vcxproj" (2) on node 1 (default targets).
InitializeBuildStatus:
Touching "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\MonkeyGame.unsuccessfulbuild".
ClCompile:
All outputs are up-to-date.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\CL.exe /c /I"../bdwgc/libatomic_ops-1.2/src" /I../bdwgc/include /I../stb /I../openal/include /I../glfw/include /I../glfw/lib /I../glfw/lib/win32 /Zi /nologo /W0 /WX- /O2 /Oi /Oy- /GL /D WIN32 /D NDEBUG /D _WINDOWS /D _MBCS /Gm- /EHa /MT /GS /Gy- /fp:precise /Zc:wchar_t /Zc:forScope /Fo"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\\" /Fd"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\vc100.pdb" /Gd /TP /analyze- /errorReport:queue ..\main.cpp /bigobj
main.cpp
Link:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin\link.exe /ERRORREPORT:QUEUE /OUT:"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\Release\MonkeyGame.exe" /INCREMENTAL:NO /NOLOGO /LIBPATH:../openal/libs/Win32 opengl32.lib glu32.lib openal32.lib Ws2_32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /MANIFEST /ManifestFile:"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\MonkeyGame.exe.intermediate.manifest" /MANIFESTUAC:"level='asInvoker' uiAccess='false'" /PDB:"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\Release\MonkeyGame.pdb" /SUBSYSTEM:WINDOWS /OPT:REF /OPT:ICF /LTCG /TLBID:1 /ENTRY:"mainCRTStartup" /DYNAMICBASE /NXCOMPAT /IMPLIB:"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\Release\MonkeyGame.lib" /MACHINE:X86 "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\enable.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\fullscreen.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\glext.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\image.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\init.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\input.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\joystick.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\stream.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\tga.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\thread.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\time.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_dllmain.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_enable.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_fullscreen.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_glext.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_init.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_joystick.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_thread.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_time.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\win32_window.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\window.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\main.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\stb_image.obj"
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\stb_vorbis.obj"
Generating code
Finished generating code
MonkeyGame.vcxproj -> C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\Release\MonkeyGame.exe
Manifest:
C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\bin\mt.exe /nologo /verbose /outputresource:"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\Release\MonkeyGame.exe;#1" /manifest "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\build\Release\MonkeyGame.exe.intermediate.manifest"
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(574,5): error MSB6006: "mt.exe" exited with code 31. [C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.vcxproj]
Done Building Project "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.vcxproj" (default targets) -- FAILED.
Done Building Project "C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.sln" (default targets) -- FAILED.

Build FAILED.

"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.sln" (default target) (1) ->
"C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.vcxproj" (default target) (2) ->
(Manifest target) ->
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(574,5): error MSB6006: "mt.exe" exited with code 31. [C:\Dropbox\blitzmax\Alien Reactor\AlienReactor.build\glfw\vc2010\MonkeyGame.vcxproj]

0 Warning(s)
1 Error(s)

Time Elapsed 00:00:09.94
TRANS FAILED: Error executing 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe /p:Configuration=Release /p:Platform=Win32 MonkeyGame.sln', return code=1
Done.



therevills(Posted 2013) [#2]
I notice that you are building from DropBox, I have seen something similar and I believe it is DropBox which is accessing the file and stopping the build.


zoqfotpik(Posted 2013) [#3]
Ah, that would make sense. I had actually considered that but then I forgot that I considered it.

Ten builds into another folder, no problem. You appear to be right.


Nobuyuki(Posted 2013) [#4]
This happened to me a lot, especially with debug database files and locked builds resulting in a failed/incomplete clean and all sorts of other weird intermittent issues. For both your own sanity, your bandwidth, and the sake of anyone sharing the build folder with you, I recommend always pausing syncing when doing work, making sure to resync when you're done for the day.

When Dropbox updated to that new context menu, it made it very annoying to do this.....