Bug 760616
Summary: | [FTBFS][fusecompress] Error in boost lexical_cast | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Denis Arnaud <denis.arnaud_fedora> | ||||||
Component: | fusecompress | Assignee: | Lubomir Rintel <lkundrak> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | CC: | bkoz, denis.arnaud_fedora, lkundrak, lmacken, pertusus, pmachata | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-01-14 20:24:59 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: | |||||||||
Attachments: |
|
Description
Denis Arnaud
2011-12-06 16:22:24 UTC
The fusecompress sources contain what seems like partial version of boost. iarchive is included, as is math, but lexical cast is not. So when we request boost lexical_cast, we go to the system boost library. That in turn requests boost math, but that has already been satisfied before by including the embedded library, except that library doesn't define generic_tag (and perhaps others), presumably because it's outdated. My guess on why embedded boost is shipped is that there's a bunch of stream filters that don't seem to be available in mainline boost: lzma, lxo, xor. Perhaps dropping the embedded boost math library would work? Or does this also diverge from upstream? Alternatively, I guess we might just sed through the include guards of the embedded boost and rename them. Created attachment 541647 [details]
Compile against system boost::math
This removes boost math files from Makefile.am and fixes include paths in boost archive.
Created attachment 541648 [details]
Spec file fixes
This patches the spec file so that boost::math is dropped and the previous patch used.
(In reply to comment #2) > Created attachment 541647 [details] > Compile against system boost::math Thanks for the patch. It works, in principle. But for whatever reason, the version of source code you used is slightly different from upstream. Nevertheless, the patch I use is the one in the pull request/upstream ticket: https://github.com/tex/fusecompress/pull/7 => https://github.com/fedorapackaging/fusecompress/commit/e736b865475a4d0f270dbf7bcab17acbd5e20d6c (and I checked that it corresponds to the version used by the Fedora packaging, i.e., https://github.com/fedorapackaging/fusecompress/commit/913897f424af319a0fa67d5356454de1512efeae, as seen in the specification file: http://pkgs.fedoraproject.org/gitweb/?p=fusecompress.git;a=blob_plain;f=fusecompress.spec;hb=HEAD) ------------------ Successful Koji build: http://koji.fedoraproject.org/koji/taskinfo?taskID=3576462 |