Bug 771370

Summary: Boost math libraries still needed
Product: [Fedora] Fedora Reporter: Matthieu Volat <matthieu.volat>
Component: boostAssignee: Petr Machata <pmachata>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 16CC: bkoz, denis.arnaud_fedora, mnewsome, pertusus, pmachata
Target Milestone: ---Keywords: Reopened
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: boost141-1.41.0-5.el5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-23 18:20:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthieu Volat 2012-01-03 14:31:55 UTC
Description of problem:
The most recent included package of the boost libraries deprecates the math libraries under the reasoning that those are now implemented as template in the header. However, those libraries are still produced and used by at least one function.

Version-Release number of selected component (if applicable):
1.47.0-4

How reproducible:
Try to compile a program that uses the std::tr1::cbrt from boost.

Steps to Reproduce:
1. Write the following program as a C++ source file:
#include <boost/tr1/cmath.hpp>

int main(void)
{
    double d = std::tr1::cbrt(12.f);
    return 0;
}
2. Try to generate the object file
3. Try to link the object file as executable
  
Actual results:
You can create the object file, bot not the executable because of the boost_cbrt symbol that is provided by the boost_math libraries.

Expected results:
If the math library was header-implemented, no libraries should have been needed. If not, we should be able to link against the math libraries that are not available.

Additional info:
A workaround would be to use other cbrt implementation, but this require patching against code that should work without it.

Comment 1 Petr Machata 2012-01-03 17:33:11 UTC
It seems that we don't compile the math library by mistake.

Comment 2 Petr Machata 2012-01-04 16:54:15 UTC
I've pushed a fix to rawhide, now trying local build in F16.  If all is smooth, I'll spin an update.

Denis, could you please somehow transpose a corresponding fix into your cmakeified-boost repository?

Comment 3 Fedora Update System 2012-01-04 18:11:47 UTC
boost-1.47.0-5.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/boost-1.47.0-5.fc16

Comment 4 Fedora Update System 2012-01-04 23:32:18 UTC
boost-1.47.0-6.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/boost-1.47.0-6.fc16

Comment 5 Fedora Update System 2012-01-05 20:57:34 UTC
Package boost-1.47.0-6.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing boost-1.47.0-6.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-0106/boost-1.47.0-6.fc16
then log in and leave karma (feedback).

Comment 6 Fedora Admin XMLRPC Client 2012-01-11 12:31:31 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin XMLRPC Client 2012-01-11 14:52:16 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Fedora Update System 2012-01-15 20:11:40 UTC
boost-1.47.0-6.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Fedora Update System 2012-06-07 00:51:09 UTC
boost-1.47.0-7.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/boost-1.47.0-7.fc16

Comment 10 Fedora Update System 2012-07-03 15:57:01 UTC
boost-1.47.0-7.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 11 Fedora Update System 2013-10-07 23:43:09 UTC
boost141-1.41.0-5.el5 has been submitted as an update for Fedora EPEL 5.
https://admin.fedoraproject.org/updates/boost141-1.41.0-5.el5

Comment 12 Fedora Update System 2013-10-08 20:38:06 UTC
Package boost141-1.41.0-5.el5:
* should fix your issue,
* was pushed to the Fedora EPEL 5 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=epel-testing boost141-1.41.0-5.el5'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-EPEL-2013-11777/boost141-1.41.0-5.el5
then log in and leave karma (feedback).

Comment 13 Fedora Update System 2013-10-23 18:20:13 UTC
boost141-1.41.0-5.el5 has been pushed to the Fedora EPEL 5 stable repository.  If problems still persist, please make note of it in this bug report.