Bug#710605: qutecom: FTBFS: Thread.cpp:108:31: error: expected unqualified-id before numeric constant

David Suárez david.sephirot at gmail.com
Fri May 31 22:24:39 UTC 2013


Source: qutecom
Version: 2.2.1+dfsg1-3
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_. To fix it just use the new symbol name.

Relevant part:
> make[3]: Entering directory `/«BUILDDIR»/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/CMakeFiles 
> [  3%] Building CXX object libs/owutil/thread/CMakeFiles/owthread.dir/src/Lockable.o
> cd /«BUILDDIR»/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/libs/owutil/thread && /usr/bin/g++   -DDEBUG -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -I/«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil    -fPIC -Wall -Wstrict-aliasing -Wextra -Wno-unused-parameter -fmessage-length=0 -DBOOST_ALL_DYN_LINK -pthread -DOWUTIL_DLL -o CMakeFiles/owthread.dir/src/Lockable.o -c /«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil/thread/src/Lockable.cpp
> /usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/CMakeFiles 
> [  3%] Building CXX object libs/owutil/thread/CMakeFiles/owthread.dir/src/Timer.o
> cd /«BUILDDIR»/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/libs/owutil/thread && /usr/bin/g++   -DDEBUG -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -I/«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil    -fPIC -Wall -Wstrict-aliasing -Wextra -Wno-unused-parameter -fmessage-length=0 -DBOOST_ALL_DYN_LINK -pthread -DOWUTIL_DLL -o CMakeFiles/owthread.dir/src/Timer.o -c /«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil/thread/src/Timer.cpp
> /usr/bin/cmake -E cmake_progress_report /«BUILDDIR»/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/CMakeFiles 
> [  3%] Building CXX object libs/owutil/thread/CMakeFiles/owthread.dir/src/Thread.o
> cd /«BUILDDIR»/qutecom-2.2.1+dfsg1/obj-x86_64-linux-gnu/libs/owutil/thread && /usr/bin/g++   -DDEBUG -D_FORTIFY_SOURCE=2 -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall -D_FORTIFY_SOURCE=2 -O2 -g -DNDEBUG -I/«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil    -fPIC -Wall -Wstrict-aliasing -Wextra -Wno-unused-parameter -fmessage-length=0 -DBOOST_ALL_DYN_LINK -pthread -DOWUTIL_DLL -o CMakeFiles/owthread.dir/src/Thread.o -c /«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil/thread/src/Thread.cpp
> /«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil/thread/src/Thread.cpp: In static member function 'static void Thread::sleep(long unsigned int)':
> /«BUILDDIR»/qutecom-2.2.1+dfsg1/libs/owutil/thread/src/Thread.cpp:108:31: error: expected unqualified-id before numeric constant
> make[3]: *** [libs/owutil/thread/CMakeFiles/owthread.dir/src/Thread.o] Error 1

The full build log is available from:
   http://deiv.vzpla.net/logs/2013/05/29/qutecom_2.2.1+dfsg1-3_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-voip-maintainers mailing list