widelands version 1:15-2 failed to build on i386

Bug #755933 reported by Matthias Klose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
widelands
Won't Fix
Undecided
Unassigned
widelands (Ubuntu)
Fix Released
High
Unassigned
Oneiric
Fix Released
High
Unassigned

Bug Description

widelands version 1:15-2 failed to build on i386
Link to failed build: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2413482

Direct link to the build log: https://launchpad.net/ubuntu/+archive/test-rebuild-20110329/+buildjob/2413482/+files/buildlog_ubuntu-natty-i386.widelands_1%3A15-2_FAILEDTOBUILD.txt.gz

This log snippet might be of interest, since it triggered the matcher 'Purging chroot-autobuild'.
Excerpt 1880 lines into the build log:

/build/buildd/widelands-15/src/editor/ui_menus/editor_main_menu_random_map.cc:346:61: error: cannot call constructor 'Widelands::World::World' directly
/build/buildd/widelands-15/src/editor/ui_menus/editor_main_menu_random_map.cc:346:61: error: for a function-style cast, remove the redundant '::World'
/build/buildd/widelands-15/src/editor/ui_menus/editor_main_menu_random_map.cc: In member function 'void Main_Menu_New_Random_Map::id_edit_box_changed()':
/build/buildd/widelands-15/src/editor/ui_menus/editor_main_menu_random_map.cc:479:61: error: cannot call constructor 'Widelands::World::World' directly
/build/buildd/widelands-15/src/editor/ui_menus/editor_main_menu_random_map.cc:479:61: error: for a function-style cast, remove the redundant '::World'
make[4]: *** [src/editor/ui_menus/CMakeFiles/widelands_editor_ui_menus.dir/editor_main_menu_random_map.cc.o] Error 1
make[4]: Leaving directory `/build/buildd/widelands-15/build-debian'
make[3]: *** [src/editor/ui_menus/CMakeFiles/widelands_editor_ui_menus.dir/all] Error 2
make[3]: Leaving directory `/build/buildd/widelands-15/build-debian'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/build/buildd/widelands-15/build-debian'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory `/build/buildd/widelands-15'
make: *** [binary] Error 2
dpkg-buildpackage: error: /usr/bin/fakeroot debian/rules binary gave error exit status 2
******************************************************************************
Build finished at 20110408-1802
FAILED [dpkg-buildpackage died]
Purging chroot-autobuild/build/buildd/widelands-15

Matthias Klose (doko)
Changed in widelands (Ubuntu):
importance: Undecided → High
Revision history for this message
Hans Joachim Desserud (hjd) wrote :

I discovered this in the Ubuntu bug tracker, and just wanted to check if this is something which have already been addressed upstream. I briefly checked the file mentioned in the error, but from what I can see it has been updated, probably fixing this issue. (And I was able to successfully compile latest version of trunk on Ubuntu Natty earlier today.) Was that change done due to similar errors happening?

I guess the issue is still present for build15/Ubuntu, though, so I guess that part of the bug report should be left alone regardless of what the situation is upstreams.

Revision history for this message
Nasenbaer (nasenbaer) wrote :

This was a known problem with newer gcc versions. It is fixed in lp:widelands/build15 - so if you want to compile build15 please check it out.

However better compile Build16 - it's more stable and contains security updates.

Changed in widelands:
status: New → Won't Fix
tags: added: oneiric
Changed in widelands (Ubuntu):
milestone: none → oneiric-alpha-1
Revision history for this message
David Allwicher (aber) wrote :

Is this still a problem? oneiric seems to contain version 1:16-1 which should build just fine.
=> http://packages.ubuntu.com/oneiric/games/widelands

Revision history for this message
Matthias Klose (doko) wrote :

yes, fixed

Changed in widelands (Ubuntu Oneiric):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.