Unreliable builds
Posted: Tue Mar 27, 2012 3:20 am
Hi,
I am using CodeLite 3.5.5377 on Windows 7 64-bits with the built-in mingw.
I am experiencing unreliable builds. I just did a build. Then I modify on file, irr_driver.cpp, and click "build". The output is
Problems :
1. It rebuilds a bunch of files that didn't change.
2. It does NOT build the file that did change]
3. I get "Error 2" but no other meaningful error message.
I cannot reproduce this issue every time but it has happened to me several times now, and when it happens I have a hard time making it go away -
I restarted CodeLite to no avail.
There is nothing special in the 'Trace' tab, only
One thing that happened around the same time this issue popup up, but I have no idea if they are related in any way : I svn'ed up the project and a file that was part of the CL project was deleted. Removing the said file and making a clean build makes the issue go away.
Anything I can do to help further debug this issue?
I am using CodeLite 3.5.5377 on Windows 7 64-bits with the built-in mingw.
I am experiencing unreliable builds. I just did a build. Then I modify on file, irr_driver.cpp, and click "build". The output is
Code: Select all
----------Build Started--------
C:\Windows\system32\cmd.exe /c ""mingw32-make.exe" -j 8 -f "workspace_cl_wsp.mk""
----------Building project:[ supertuxkart - Debug ]----------
mingw32-make.exe[1]: Entering directory `C:/Users/mmg/Developer/workspace_cl/supertuxkart'
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/states_screens/dialogs/race_over_dialog.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/dialogs_race_over_dialog.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/states_screens/main_menu_screen.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/states_screens_main_menu_screen.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/states_screens/minimal_race_gui.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/states_screens_minimal_race_gui.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/states_screens/race_gui.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/states_screens_race_gui.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/states_screens/race_gui_overworld.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/states_screens_race_gui_overworld.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/states_screens/race_result_gui.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/states_screens_race_result_gui.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/states_screens/tracks_screen.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/states_screens_tracks_screen.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
g++ -c "C:/Users/mmg/Developer/Projects/stk/src/karts/controller/controller.cpp" -g -O0 -Wall -DHAVE_OGGVORBIS -DDEBUG -DENABLE_BIDI -o ./Debug/controller_controller.o -I. -I. -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies -IC:/Users/mmg/Developer/supertuxkart-dependencies-mingw/dependencies/irrlicht -IC:/Users/mmg/Developer/Projects/stk/src -IC:/Users/mmg/Developer/Projects/stk/src/bullet/src -IC:/Users/mmg/Developer/Projects/stk/src/enet/include
C:/Users/mmg/Developer/Projects/stk/src/states_screens/race_gui.cpp: In member function 'void RaceGUI::drawSpeedAndEnergy(const AbstractKart*, const recti&, const vector2df&)':
C:/Users/mmg/Developer/Projects/stk/src/states_screens/race_gui.cpp:424:24: warning: variable 'bar_size' set but not used [-Wunused-but-set-variable]
mingw32-make.exe[1]: Leaving directory `C:/Users/mmg/Developer/workspace_cl/supertuxkart'
mingw32-make.exe: *** [All] Error 2
----------Build Ended----------
0 errors, 1 warnings, total time: 00:00:11 seconds
1. It rebuilds a bunch of files that didn't change.
2. It does NOT build the file that did change]
3. I get "Error 2" but no other meaningful error message.
I cannot reproduce this issue every time but it has happened to me several times now, and when it happens I have a hard time making it go away -
I restarted CodeLite to no avail.
There is nothing special in the 'Trace' tab, only
Code: Select all
7:12:15 PM: Loaded debugger: GNU gdb debugger, Version: v2.0
7:12:15 PM: Loaded plugin: Abbreviation plugin
7:12:15 PM: Loaded plugin: Source Code Formatter (AStyle)
7:12:15 PM: Loaded plugin: Continuous build plugin which compiles files on save and report errors
7:12:15 PM: Loaded plugin: Copyright Plugin - a small plugin that allows you to place copyright block on top of your source files
7:12:15 PM: Loaded plugin: CppCheck integration for CodeLite IDE
7:12:15 PM: Loaded plugin: CScope Integration for CodeLite
7:12:16 PM: Loaded plugin: DatabaseExplorer for CodeLite
7:12:16 PM: Loaded plugin: A plugin that allows user to launch external tools from within CodeLite
7:12:16 PM: Loaded plugin: GIT plugin
7:12:16 PM: Loaded plugin: Wizards Plugin - a collection of useful utils for C++
7:12:16 PM: Loaded plugin: Qt's QMake integration with CodeLite
7:12:16 PM: Loaded plugin: Snippet wizard
7:12:17 PM: Loaded plugin: Subversion plugin for codelite2.0 based on the svn command line tool
7:12:17 PM: Loaded plugin: Symbols View Plugin
7:12:17 PM: Loaded plugin: A Unit test plugin based on the UnitTest++ framework
7:12:17 PM: Loaded plugin: wxFormBuilder integration with CodeLite
7:12:18 PM: Install path: C:\Program Files (x86)\CodeLite
7:12:18 PM: Startup Path: C:\Program Files (x86)\CodeLite
7:12:31 PM: Loading accelerators from 'C:\Users\mmg\AppData\Roaming\CodeLite\config\accelerators.conf'
7:12:31 PM: Loading accelerators from 'C:\Program Files (x86)\CodeLite/config/accelerators.conf.default'
7:12:31 PM: Loading accelerators from 'C:\Program Files (x86)\CodeLite\plugins\resources\abbreviation.accelerators'
7:12:31 PM: Loading accelerators from 'C:\Program Files (x86)\CodeLite\plugins\resources\cscope.accelerators'
7:12:31 PM: Loading accelerators from 'C:\Program Files (x86)\CodeLite\plugins\resources\external_tools.accelerators'
7:12:31 PM: Info: CodeLite is up-to-date (or newer), version used: 5377, version on site:5377
7:12:34 PM: Symbols file loaded into OS file system cache (3 seconds)
One thing that happened around the same time this issue popup up, but I have no idea if they are related in any way : I svn'ed up the project and a file that was part of the CL project was deleted. Removing the said file and making a clean build makes the issue go away.
Anything I can do to help further debug this issue?