delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/03/18/09:18:53

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.5 required=5.0 tests=BAYES_05
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
Date: Mon, 18 Mar 2013 10:14:34 +0100
From: Martin Baute <solar AT rootdirectory DOT de>
To: <cygwin AT cygwin DOT com>
Subject: Regression with lib
Message-ID: <289c7ae88c50417f424f8bb242ece764@mail.lcube.de>
X-Sender: solar AT rootdirectory DOT de
User-Agent: Roundcube Webmail/0.6
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi there,

I would like to report a few quirks that appeared with the
1.50.0-1 update of libboost-devel.

Regression with CMake
=====================

Take this CMakeLists.txt:

     cmake_minimum_required( VERSION 2.8.9 )
     project( boost-regression )

     set( Boost_USE_STATIC_LIBS ON )
     set( Boost_USE_MULTITHREADED ON )
     set( Boost_USE_STATIC_RUNTIME OFF )
     find_package( Boost COMPONENTS system )

This is straight from the documentation of FindBoost.cmake, and
works fine with libboost-devel-1.48.0-1.

This does NOT work anymore with 1.50.0-1. The workaround is simple,
setting Boost_USE_STATIC_LIBS to OFF makes it work again. But, while
I am not a specialist for either Boost or CMake, I would expect that
a) example code works, and b) libboost-devel updates don't silently
break things like this.

Package Dependency
==================

While hunting for the reason of the above regression, I tried to
uninstall / reinstall cmake and libboost[-devel], to rule out a
damaged installation on my side.

When I tried to reinstall the previous libboost-devel-1.48.0-1, I
was somewhat surprised to find that libboost-devel-1.48.0-1 depends
on libboost1.50 - not libboost1.48 as I would expect...?!?

Regards,
-- 
Martin Baute
solar AT rootdirectory DOT de

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019