[Bug 1273331] [NEW] Wrong handling of pthread in FindBoost macro
Arne Nordmann
1273331 at bugs.launchpad.net
Mon Jan 27 17:17:43 UTC 2014
Public bug reported:
When calling the macro find_package(Boost thread), I get different results for ${Boost_LIBRARIES} the first and the second time I execute cmake. First time, ${Boost_LIBRARIES} contains '/usr/lib/libboost_thread-mt.so;pthread', the second time, ${Boost_LIBRARIES} just contains '/usr/lib/libboost_thread-mt.so' (without pthread).
I attached a very simple cmake script to reproduce the error.
I reported this issue upstream[1] in cmake, where I was told, that the
pthread handling is not done by cmake, but patched by Ubuntu.
This issue is still existing in quantal, but no longer in saucy.
[1] http://www.cmake.org/Bug/view.php?id=14720
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: cmake 2.8.7-0ubuntu5
ProcVersionSignature: Ubuntu 3.5.0-45.68~precise1-generic 3.5.7.26
Uname: Linux 3.5.0-45-generic x86_64
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Mon Jan 27 18:09:56 2014
InstallationMedia: Ubuntu 12.04.2 LTS "Precise Pangolin" - Release amd64 (20130213)
MarkForUpload: True
ProcEnviron:
LANGUAGE=
TERM=xterm
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cmake
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: cmake (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug cmake precise pthread running-unity
** Attachment added: "CMake script to reproduce"
https://bugs.launchpad.net/bugs/1273331/+attachment/3959346/+files/CMakeLists.txt
--
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to cmake in Ubuntu.
https://bugs.launchpad.net/bugs/1273331
Title:
Wrong handling of pthread in FindBoost macro
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/1273331/+subscriptions
More information about the kubuntu-bugs
mailing list