From: Willem Jan Withagen Subject: Re: Fwd: Build failed in Jenkins: ceph-master #804 Date: Fri, 16 Jun 2017 09:49:15 +0200 Message-ID: References: <394935589.12.1497535633528.JavaMail.jenkins@cephdev.digiware.nl> <97ec6826-d5d0-206f-7461-79a786fd304a@redhat.com> <2e3c5dff-8f88-bca6-e241-a35c12100493@digiware.nl> <1a41f840-8521-eab5-8000-a7ef3dc5bb03@digiware.nl> <3f1da6b3-d5ca-634c-8859-473c268f0c80@digiware.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Return-path: Received: from smtp.digiware.nl ([176.74.240.9]:19865 "EHLO smtp.digiware.nl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752447AbdFPHtV (ORCPT ); Fri, 16 Jun 2017 03:49:21 -0400 In-Reply-To: <3f1da6b3-d5ca-634c-8859-473c268f0c80@digiware.nl> Content-Language: nl Sender: ceph-devel-owner@vger.kernel.org List-ID: To: Casey Bodley , Ceph Development On 16-6-2017 00:20, Willem Jan Withagen wrote: > On 15-6-2017 23:36, Willem Jan Withagen wrote: >> On 15-6-2017 23:32, Willem Jan Withagen wrote: >>> On 15-6-2017 16:44, Casey Bodley wrote: >>>> Yeah, this was changed in https://github.com/ceph/ceph/pull/15376. That >>>> Boost::thread string shouldn't be making it to the link line. Can you >>>> share your cmake --version? >>> >>> wjw@cephdev:~/master % cmake --version >>> cmake version 3.6.3 >>> >>> But note that this is FreeBSDS and I'm using the system Boost, v1.64 >>> >>> I'll pull the PR into my jenkins, and see what it brings. >> >> Now I know what you ment #15376 was merged and probably causes this. > > One of the problems might be that the included cmake templates for boost > do not (yet) understand this version: Hi Casey, I was a bit behind on upgrade to newer versions, since there is a rather big API change in FreeBSD 12-CURRENT. And upgrading is a bit tricky. But it is now required to start using pre-build packages, as I found out the hard way. So all packages are now upgraded to the latest release, and this has gone away. So I guess it had to do with the fact that Boost 1.64 was not known in the modules for Cmake (which is now at 3.8.2) Sorry about the noise, --WjW > > ==== > CMake Warning at /usr/local/share/cmake/Modules/FindBoost.cmake:743 > (message): > Imported targets not available for Boost version 106400 > Call Stack (most recent call first): > /usr/local/share/cmake/Modules/FindBoost.cmake:842 > (_Boost_COMPONENT_DEPENDENCIES) > /usr/local/share/cmake/Modules/FindBoost.cmake:1395 > (_Boost_MISSING_DEPENDENCIES) > CMakeLists.txt:553 (find_package) > ==== > > The output of cmake is full of warnings: > ==== > CMake Warning (dev) at src/CMakeLists.txt:694 (add_executable): > Policy CMP0028 is not set: Double colon in target name means ALIAS or > IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. > Use the cmake_policy command to set the policy and suppress this warning. > > Target "librados-config" links to target "Boost::thread" but the > target was > not found. Perhaps a find_package() call is missing for an IMPORTED > target, or an ALIAS target is missing? > This warning is for project developers. Use -Wno-dev to suppress it. > > CMake Warning (dev) at src/CMakeLists.txt:694 (add_executable): > Policy CMP0028 is not set: Double colon in target name means ALIAS or > IMPORTED target. Run "cmake --help-policy CMP0028" for policy details. > Use the cmake_policy command to set the policy and suppress this warning. > > Target "librados-config" links to target "Boost::system" but the > target was > not found. Perhaps a find_package() call is missing for an IMPORTED > target, or an ALIAS target is missing? > This warning is for project developers. Use -Wno-dev to suppress it. > ==== > > -- > To unsubscribe from this list: send the line "unsubscribe ceph-devel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >