FS#34596 - PokerTH fails to run after boost-libs update due to .so bump from 1.52 to 1.53

Attached to Project: Community Packages
Opened by Myra Nelson (myra) - Thursday, 04 April 2013, 07:52 GMT
Last edited by Federico Cinelli (Cinelli) - Friday, 05 April 2013, 03:44 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sven-Hendrik Haase (Svenstaro)
Federico Cinelli (Cinelli)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 2
Private No

Details

Description: PokerTH fails to run after boost-libs update.

$> pokerth
pokerth: error while loading shared libraries: libboost_thread.so.1.52.0: cannot open shared object file: No such file or directory

When I try to rebuild pokerth against boost-libs-1.53.0, the build fails with the following error;

/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/$
usr/include/boost/type_traits/detail/has_binary_operator.hp:50: Parse error at "BOOST_JOIN"
make[1]: *** [mocs/moc_timeoutmsgboximpl.cpp] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/myra/build/boost/pokerth/src/PokerTH-1.0-src'
make: *** [sub-pokerth_game-pro-make_default-ordered] Error 2
==> ERROR: A failure occurred in build().
Aborting...

I reported this upstream and received this response;

https://github.com/pokerth/pokerth/issues/180#issuecomment-15694929

Thanks for the report - but this is neither a problem of boost, nor a problem of pokerth. It is a problem of "moc" which is part of qt. Please try to use a more recent version of qt.
The bug was closed.

Last night (3 April 2013) I downloaded a tarball of qt4 from the git repo on gitorious and built qt4 from it, then tried to build pokerth again with the same results.

Additional info:
My pacman.conf has testing and community-testing enabled.

This combination fails
boost : 1.53.0-2
boost-libs : 1.53.0-2
gcc : 4.8.0-1
qt4 : 4.8.4-16
curl: 7.29.0-2
gsasl : 1.8.0-2
gnutls : 3.1.10-1
protobuf : 2.5.0-1
sdl_mixer : 1.2.12-3
libircclient : 1.6-1
tinyxml : 2.6.2-2

This combination fails
boost-libs : 1.53.0-2
gcc : 4.8.0-1
qt4 : 4.8.5 -- tarball is 4.8.4 but libs build as 4.8.5
curl: 7.29.0-2
gsasl : 1.8.0-2
gnutls : 3.1.10-1
protobuf : 2.5.0-1
sdl_mixer : 1.2.12-3
libircclient : 1.6-1
tinyxml : 2.6.2-2

This combination works
boost-libs : 1.52.0-3
gcc : 4.8.0-1
qt4 : 4.8.4-16
curl: 7.29.0-2
gsasl : 1.8.0-2
gnutls : 3.1.10-1
protobuf : 2.5.0-1
sdl_mixer : 1.2.12-3
libircclient : 1.6-1
tinyxml : 2.6.2-2

Steps to reproduce:
pacman -Sy
pacman -Su which upgrades boost-libs to 1.53.0-2
$> pokerth
pokerth: error while loading shared libraries: libboost_thread.so.1.52.0: cannot open shared object file: No such file or directory

Use pbget to download the PKGBUILD for pokerth, run makepkg, and the build fails.

Download qt4 tarball from https://qt.gitorious.org/qt/qt/commits/4.8, build qt4, the attempt to build pokerth again. PokerTH build fails.

I also tried building pokerth in a clean chroot with testing-x86_64-build and the build of pokerth failed.

Myra
This task depends upon

Closed by  Federico Cinelli (Cinelli)
Friday, 05 April 2013, 03:44 GMT
Reason for closing:  Fixed
Additional comments about closing:  Sorry for the breakage.
Comment by Myra Nelson (myra) - Thursday, 04 April 2013, 19:40 GMT
Based on the conversation here https://github.com/pokerth/pokerth/issues/180 , I applied the attached patch to the pokerth_game.pro file then built pokerth against qt4-4.8.4-16 and boost-libs-1.53.0-2. The build was a success and pokerth seems to run fine.

Myra
Comment by Federico Cinelli (Cinelli) - Friday, 05 April 2013, 03:13 GMT
Added patch. expect an update as soon as I'm done building.

Loading...