frogatto version 1.0.3+dfsg1-1 failed to build on amd64 with GCC-4.6/oneiric
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2450339
Details about the rebuild:
https://lists.ubuntu.com/archives/ubuntu-devel/2011-April/033042.html
Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110413/+buildjob/2450339/+files/buildlog_ubuntu-natty-amd64.frogatto_1.0.3%2Bdfsg1-1_FAILEDTOBUILD.txt.gz
This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1526 lines into the build log:
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/multi_tile_pattern.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/multiplayer.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/object_events.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/options_dialog.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/package.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/particle_system.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/pause_game_dialog.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/playable_custom_object.cpp
g++ -DIMPLEMENT_SAVE_PNG -fno-inline-functions -g -O2 -fno-inline-functions `sdl-config --cflags` -I/usr/X11R6/include -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -fthreadsafe-statics -c src/player_info.cpp
In file included from src/player_info.cpp:1:0:
src/controls.hpp:39:43: error: 'size_t' has not been declared
make[1]: *** [player_info.o] Error 1
make[1]: Leaving directory `/build/buildd/frogatto-1.0.3+dfsg1'
make: *** [build/frogatto] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
******************************************************************************
Build finished at 20110422-1704
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/frogatto-1.0.3+dfsg1
This particular failure has been fixed, but there's another one now. It looks like this:
https:/ /launchpadlibra rian.net/ 78738606/ buildlog_ ubuntu- oneiric- i386.frogatto_ 1.1%2Bdfsg- 4_FAILEDTOBUILD .txt.gz
g++ -g -O2 -fno-inline- functions -L. -L/sw/lib -L. -D_GNU_SOURCE=1 -D_REENTRANT -Wnon-virtual-dtor -Wreturn-type -L/usr/lib `sdl-config --libs` -lSDLmain -lSDL -lGL -lGLU -lGLEW -lSDL_image -lSDL_ttf -lSDL_mixer -lpng -lboost_regex-mt -lboost_system-mt -lpthread -fthreadsafe- statics IMG_savepng.o achievements.o background.o blur.o border_widget.o button.o character_ editor_ dialog. o checkbox.o current_generator.o decimal.o editor_dialogs.o editor_ formula_ functions. o editor_ layers_ dialog. o editor_ stats_dialog. o editor_ variable_ info.o collision_utils.o color_utils.o controls.o controls_dialog.o custom_object.o custom_ object_ callable. o custom_ object_ functions. o custom_ object_ type.o debug_console.o dialog.o draw_number.o draw_scene.o draw_tile.o editor.o editor_ level_propertie s_dialog. o entity.o filesystem.o font.o formula.o formula_ callable_ definition. o formula_constants.o formula_function.o formula_profiler.o formula_tokenizer.o formula_ variable_ storage. o frame.o framed_ gui_element. o game_registry.o geometry.o globals.o graphical_font.o graphical_ font_label. o grid_widget.o group_property_ editor_ dialog. o gui_formula_ functions. o gui_section.o i18n.o image_widget.o input.o inventory.o iphone_controls.o joystick.o key.o key_button.o label.o level.o level_logic.o level_object.o level_runner.o level_solid_map.o light.o load_level.o main.o message_dialog.o movement_script.o multi_tile_ pattern. o multiplayer.o object_events.o options_dialog.o package.o particle_system.o pause_game_dialog.o playable_ custom_ object. o player_info.o powerup.o preferences.o preprocessor.o preview_ tileset_ widget. o property_ editor_ dialog. o random.o raster.o raster_distortion.o rectangle_rotator.o scrollbar_widget.o scrollable_widget.o segment_ editor_ dialog. o settings_dialog.o slider.o solid_map.o sound.o speech_dialog.o stats.o string_utils.o surface_cache.o surface_formula.o surface_palette.o surface_scaling.o surface.o texture.o texture_ frame_buffer. o text_entry_widget.o thread.o tile_map.o tileset_ editor_ dialog. o tooltip.o translate.o utils.o variant.o water.o water_particle_ system. o weather_ particle_ system. o widget.o wml_formula_ adapter. o wml_formula_ callable. o wml_modify.o wml_node.o wml_parser.o wml_schema.o wml_utils.o wml_writer.o unit_test.o formula_test.o wml_parser_test.o loading_screen.o utility_ object_ compiler. o utility_ object_ editor. o -o game :draw_layer( int, int, rect const&, int, background::layer const&, int) const': frogatto- 1.1+dfsg/ src/background. cpp:367: undefined reference to `glEnable'
background.o: In function `background:
/tmp/buildd/
This is a straightforward link order bug - fixing.