Bug#759852: pentobi: FTBFS: thread:136: undefined reference to `pthread_create'

Lucas Nussbaum lucas at lucas-nussbaum.net
Sat Aug 30 19:02:16 UTC 2014


Source: pentobi
Version: 8.0-2
Severity: serious
Tags: jessie sid
User: debian-qa at lists.debian.org
Usertags: qa-ftbfs-20140830 qa-ftbfs
Justification: FTBFS on amd64

Hi,

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

Relevant part (hopefully):
> /usr/bin/c++   -g -fstack-protector-strong -Wformat -Werror=format-security -O3 -D_FORTIFY_SOURCE=2    -Wl,-z,relro -Wl,--as-needed CMakeFiles/unittest_libpentobi_mcts.dir/SearchTest.cpp.o  -o unittest_libpentobi_mcts -rdynamic ../../libboardgame_test_main/libboardgame_test_main.a ../../libpentobi_mcts/libpentobi_mcts.a ../../libpentobi_base/libpentobi_base.a ../../libboardgame_base/libboardgame_base.a ../../libboardgame_sgf/libboardgame_sgf.a ../../libboardgame_test/libboardgame_test.a ../../libboardgame_util/libboardgame_util.a ../../libboardgame_sys/libboardgame_sys.a 
> make[3]: Leaving directory '/«PKGBUILDDIR»/obj-x86_64-linux-gnu'
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> [ 96%] Built target pentobi-thumbnailer
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 
> /usr/bin/cmake -E cmake_progress_report /«PKGBUILDDIR»/obj-x86_64-linux-gnu/CMakeFiles 44
> [ 96%] [ 97%] Building CXX object src/pentobi/CMakeFiles/pentobi.dir/RatedGamesList.cpp.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/pentobi && /usr/bin/c++   -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SVG_LIB -g -fstack-protector-strong -Wformat -Werror=format-security -O3 -D_FORTIFY_SOURCE=2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/«PKGBUILDDIR»/src    -std=c++11 -ffast-math -o CMakeFiles/pentobi.dir/RatedGamesList.cpp.o -c /«PKGBUILDDIR»/src/pentobi/RatedGamesList.cpp
> Building CXX object src/pentobi/CMakeFiles/pentobi.dir/RatingDialog.cpp.o
> cd /«PKGBUILDDIR»/obj-x86_64-linux-gnu/src/pentobi && /usr/bin/c++   -DHAVE_CONFIG_H -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SVG_LIB -g -fstack-protector-strong -Wformat -Werror=format-security -O3 -D_FORTIFY_SOURCE=2  -I/«PKGBUILDDIR»/obj-x86_64-linux-gnu -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtCore -I/«PKGBUILDDIR»/src    -std=c++11 -ffast-math -o CMakeFiles/pentobi.dir/RatingDialog.cpp.o -c /«PKGBUILDDIR»/src/pentobi/RatingDialog.cpp
> ../../libpentobi_mcts/libpentobi_mcts.a(Search.cpp.o): In function `thread<std::_Bind<std::_Mem_fn<void (libboardgame_mcts::Search<libpentobi_mcts::State, libpentobi_base::Move, libpentobi_mcts::SearchParamConst>::Thread::*)()>(libboardgame_mcts::Search<libpentobi_mcts::State, libpentobi_base::Move, libpentobi_mcts::SearchParamConst>::Thread*)> >':
> /usr/include/c++/4.9/thread:136: undefined reference to `pthread_create'
> collect2: error: ld returned 1 exit status

The full build log is available from:
   http://aws-logs.debian.net/ftbfs-logs/2014/08/30/pentobi_8.0-2_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. The build
was done with DEB_BUILD_OPTIONS="parallel=4", so if your packaging tries
to support this, it might be a good idea to explore whether this might
be the cause of the failure.



More information about the Pkg-games-devel mailing list