Build 18-rc1 FTBFS on Debian (sparc)

Bug #1279029 reported by Hans Joachim Desserud on 2014-02-11
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

The release candidate has already been picked up and packaged for Debian unstable [1]. However, it failed to build on a couple of architectures, namely mips [2], ia64 and sparc. Spoke a bit with the Debian maintainer, emptty, earlier today on IRC and the main problem is not compiling on sparc. That is considered a release critical issue in Debian, meaning the package will not go into the stable release. :(

See for details/logs/error messages.

Tentatively targeting this for the second release candidate for now, hoping someone will take a look at and resolve this.

[2] By getting GCC to seg fault, no less.

description: updated
SirVer (sirver) wrote :

Seems like there isn't much we can do about that: The buildlog [1] for sparc shows pretty clearly that the compiler is barfing about boost::signal2 - we depend on that and it as standard a library as it gets. And seriously, who would want to play a Video game on sparcs anyways? Pretty ridiculous that this is a show stopper for them.


So from my point of view this is out of our hands - there is nothing that we could do except for going back to boost::signal which is deprecated.

Changed in widelands:
status: New → Incomplete
SirVer (sirver) wrote :

Is it possible to get the debian maintainer involved in this bug report? There must be other software that depends on boost::signal2 in debian.

Jens Beyer (qcumber-some) wrote :

Just a little thinking about this... shows it includes the signals2 files. This, and the fact that signals2 should be header-only (in difference to signals which was partly binary AFAIK), I see no reason why this should not work? Maybe there is a different dependency problem?

_aD (ad-simplypeachy) on 2014-02-11
description: updated
SirVer (sirver) wrote :

As discussed with emptty (the debian maintaner) in IRC, I closed this as invalid as it is not a Widelands issues.

fwiw I still hope that we do not need a second release candidate.

Changed in widelands:
status: Incomplete → Invalid
Teppo Mäenpää (kxq) wrote :

I installed Debian Wheezy on top of qemu-powered sparc. Base system only, nothing else. Then I pulled widelands build-deps, and R18rc1 sources. The compile script built the binary fine without any problems.

I did not try actually playing the game, emulating sparc on x86_64 is too slow.

Hans Joachim Desserud (hjd) wrote :

> I installed Debian Wheezy on top of qemu-powered sparc.

That's interesting. The boost version in Wheezy (the current stable Debian release) is 1.49, while testing/Jessie and unstable has 1.54 [1]. I am not sure what is going on, but whatever it is likely broke somewhere between those two releases. The fact that WL builds with an older release might indicate the problem resides in boost, especially considering it builds fine on other architectures without any changes.


SirVer (sirver) wrote :

There is nothing magical going on an this is indeed a (pretty) well known bug: essentially boost introduced some move constructors, but did not properly define their copy constructors. Early gcc violated the c++11 standard and compiled the code just fine, later gcc did implement the standard correctly and refuses to compile the boost code. So it is a nice interlock between a bug in boost and a bug in gcc. Further reading:

Hans Joachim Desserud (hjd) wrote :

Fwiw, I saw that Debian testing (i.e. the basis for the nex, upcoming release) has removed the sparc architecture all-together.

For details see

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers