Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 362853 (boost-1.46) - [TRACKER] packages broken by boost.filesystem v3
Summary: [TRACKER] packages broken by boost.filesystem v3
Status: RESOLVED FIXED
Alias: boost-1.46
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords: Tracker
Depends on: 361399 362899 362901 362903 362907 362909 362911 362913 362915 362917 362929 362931 362933 362937 362939 367401 372925 377795 377799 377801
Blocks: 377805
  Show dependency tree
 
Reported: 2011-04-10 12:38 UTC by Sebastian Luther (few)
Modified: 2017-01-19 18:46 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Luther (few) 2011-04-10 12:38:35 UTC
Starting with dev-libs/boost-1.46 the default version of boost.filesystem is 3. Packages using version 2 need to explicitly say so or will fail to compile.

If you package has this problem use one of the two following workarounds, the first one being preferred.

1)
inherit flag-o-matic
append-flags -DBOOST_FILESYSTEM_VERSION=2

2)
If the build system doesn't respect CXXFLAGS, patch the source to contain 
#define BOOST_FILESYSTEM_VERSION 2
before any boost.filesystem header is included.

Note that support for version 2 will not be included in boost-1.48 and later
and upstream should migrate to version 3.
Comment 1 Arfrever Frehtes Taifersar Arahesis 2012-07-07 18:30:19 UTC
Boost.Filesystem Version 2 finally has been actually deleted in Boost 1.50.
Comment 2 Tiziano Müller (RETIRED) gentoo-dev 2013-04-08 13:12:02 UTC
Closing since all dependent bugs are closed.