Bug#710628: player: FTBFS: playerclient.cc:171:34: error: expected unqualified-id before numeric constant

2013-09-06 Thread Nobuhiro Iwamatsu
Control: tags -1 patch

Hi,

I created a patch which revise this problem.
Could you apply this?

Best regards,
  Nobuhiro

-- 
Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6


boost1.54
Description: Binary data


Bug#710628: player: FTBFS: playerclient.cc:171:34: error: expected unqualified-id before numeric constant

2013-06-01 Thread David Suárez
Source: player
Version: 3.0.2+dfsg-4
Severity: serious
Tags: jessie sid
User: debian...@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_. To fix it just use the new symbol name.

Relevant part:
 make[4]: Entering directory 
 `/«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu'
 /usr/bin/cmake -E cmake_progress_report 
 /«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/CMakeFiles 20
 [ 15%] Building CXX object 
 client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerc++.o
 cd 
 /«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/client_libs/libplayerc++ 
  /usr/bin/c++   -Dplayerc___EXPORTS -Wall -O2 -g -DNDEBUG -fPIC 
 -I/«BUILDDIR»/player-3.0.2+dfsg 
 -I/«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu 
 -I/«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/libplayercore 
 -I/«BUILDDIR»/player-3.0.2+dfsg/client_libs 
 -I/«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/client_libs-o 
 CMakeFiles/playerc++.dir/playerc++.o -c 
 /«BUILDDIR»/player-3.0.2+dfsg/client_libs/libplayerc++/playerc++.cc
 /usr/bin/cmake -E cmake_progress_report 
 /«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/CMakeFiles 
 [ 15%] Building CXX object 
 client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerclient.o
 cd 
 /«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/client_libs/libplayerc++ 
  /usr/bin/c++   -Dplayerc___EXPORTS -Wall -O2 -g -DNDEBUG -fPIC 
 -I/«BUILDDIR»/player-3.0.2+dfsg 
 -I/«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu 
 -I/«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/libplayercore 
 -I/«BUILDDIR»/player-3.0.2+dfsg/client_libs 
 -I/«BUILDDIR»/player-3.0.2+dfsg/obj-x86_64-linux-gnu/client_libs-o 
 CMakeFiles/playerc++.dir/playerclient.o -c 
 /«BUILDDIR»/player-3.0.2+dfsg/client_libs/libplayerc++/playerclient.cc
 /«BUILDDIR»/player-3.0.2+dfsg/client_libs/libplayerc++/playerclient.cc: In 
 member function 'void PlayerCc::PlayerClient::RunThread()':
 /«BUILDDIR»/player-3.0.2+dfsg/client_libs/libplayerc++/playerclient.cc:171:34:
  error: expected unqualified-id before numeric constant
 make[4]: *** 
 [client_libs/libplayerc++/CMakeFiles/playerc++.dir/playerclient.o] Error 1

The full build log is available from:
   http://deiv.vzpla.net/logs/2013/05/29/player_3.0.2+dfsg-4_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.


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org