Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
PokerTH fails to build with boost and boost-libs version 1.53.0 #180
After boost and boost-libs were updated on my Arch Linux box to boost 1.53.0 PokerTH needed to be rebuilt for the so bump from 1.52 to 1.53. The build failed with the following error message. The complete build log is below the system information.
/usr/lib/qt4/bin/moc -DENABLE_IPV6 -DTIXML_USE_STL -DBOOST_FILESYSTEM_DEPRECATED -DPREFIX="/usr" -DQT_NO_DEBUG -DQT_SQL_LIB$
Linux gandalf 3.8.5-1-ARCH #1 SMP PREEMPT Fri Mar 29 19:18:14 CET 2013 x86_64 GNU/Linux
/usr/bin/qmake-qt4 /build/src/PokerTH-1.0-src/pokerth_protocol.pro -o Makefile.pokerth_protocol
FYI. Here's the latest results of the build with Qt 4.8.5 (built from a tarball downloaded from http://qt.gitorious.org/qt/qt/commits/4.8 on April 3, 2013.
/usr/bin/moc -DENABLE_IPV6 -DTIXML_USE_STL -DBOOST_FILESYSTEM_DEPRECATED -DPREFIX="/usr" -DQT_NO_DEBUG -DQT_SQL_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt/mkspecs/linux-g++-64 -I. -I/usr/include/QtCore -I/usr/include/QtNetwork -I/usr/include/QtGui -I/usr/include/QtSql -I/usr/include -Isrc/third_party/qtsingleapplication -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/third_party/asn1 -Isrc/gui/qt -Isrc/gui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/sound -Isrc/gui/qt/qttools -Isrc/gui/qt/chattools -Isrc/gui/qt/qttools/qthelper -Isrc/gui/qt/gametable -Isrc/gui/qt/gametable/startsplash -Isrc/gui/qt/gametable/log -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gui/qt/createinternetgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/newlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/settingsdialog/selectavatardialog -Isrc/gui/qt/settingsdialog/manualblindsorderdialog -Isrc/gui/qt/startnetworkgamedialog -Isrc/gui/qt/startwindow -Isrc/gui/qt/serverlistdialog -Isrc/gui/qt/styles -Isrc/gui/qt/changecontentdialog -Isrc/gui/qt/changecompleteblindsdialog -Isrc/gui/qt/internetgamelogindialog -Isrc/gui/qt/mymessagedialog -Isrc/gui/qt/gamelobbydialog -Isrc/gui/qt/timeoutmsgbox -Isrc/gui/qt/logfiledialog -Isrc/gui/qt/mymessagebox -I/usr/include -Imocs -Iuics src/gui/qt/timeoutmsgbox/timeoutmsgboximpl.h -o mocs/moc_timeoutmsgboximpl.cpp
At the time of the download the last commit was 13db564.
If the problem is with moc, it hasn't been fixed in the git repo yet. PokerTH builds fine with boost and boost-libs version 1.52.0-3, but the failures occur with the 1.53 branch.
Sorry, as this error previously existed, I thought it was the same. But it seems things are broken again :-(.
There is a new workaround available, see at the end of the discussion at
This could be patched globally in qt by the corresponding package maintainers, by adding this option as global flag. But I don't know whether they are willing to do this. (See the comment on the bug page about editing "the variable assignment for QMAKE_MOC in the file $QTDIR/mkspecs<your_platform>/qmake.conf").
To hack around this in the PokerTH make files, please try to add