Bug#710625: performous: FTBFS: xtime.hh:27:34: error: expected unqualified-id before numeric constant

David Suárez david.sephirot at gmail.com
Fri May 31 21:58:40 UTC 2013


Source: performous
Version: 0.7.0-1
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20130529 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

It's a problem in boost which is fixed in 1.50. TIME_UTC is a C11 macro
that colides with boost::TIME_UTC. In Boost 1.50, this constant was renamed
to TIME_UTC_. 

You should update your Build-Depends (upstream has already fixed this).

Relevant part:
> make[3]: Entering directory `/«PKGBUILDDIR»/build-tree'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/build-tree/CMakeFiles 19
> [ 17%] Building CXX object game/CMakeFiles/performous.dir/ffmpeg.cc.o
> cd /«PKGBUILDDIR»/build-tree/game && /usr/bin/c++   -DBOOST_FILESYSTEM_VERSION=2 -DUSE_GETTEXT -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -pthread -O2 -g -DNDEBUG -I/usr/include/SDL -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/cairo -I/usr/include/librsvg-2.0 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libxml++-2.6 -I/usr/sbin/../lib/libxml++-2.6/include -I/usr/include/libxml2 -I/usr/include/glibmm-2.4 -I/usr/lib/x86_64-linux-gnu/glibmm-2.4/include -I/usr/include/sigc++-2.0 -I/usr/lib/x86_64-linux-gnu/sigc++-2.0/include -I/usr/include/GL -I/usr/include/x86_64-linux-gnu -I/«PKGBUILDDIR»/build-tree/game    -o CMakeFiles/performous.dir/ffmpeg.cc.o -c /«PKGBUILDDIR»/game/ffmpeg.cc
> In file included from /«PKGBUILDDIR»/game/ffmpeg.cc:5:0:
> /«PKGBUILDDIR»/game/xtime.hh: In function 'boost::xtime {anonymous}::now()':
> /«PKGBUILDDIR»/game/xtime.hh:27:34: error: expected unqualified-id before numeric constant
> make[3]: *** [game/CMakeFiles/performous.dir/ffmpeg.cc.o] Error 1

The full build log is available from:
   http://deiv.vzpla.net/logs/2013/05/29/performous_0.7.0-1_unstable.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.



More information about the Pkg-games-devel mailing list