hugin-bug-hunters team mailing list archive
-
hugin-bug-hunters team
-
Mailing list archive
-
Message #06645
Re: [Bug 1597594] Re: Enblend-4.3-1472 fails to build in FC24
Hi Terry
Am 05.07.2016 um 09:10 schrieb tduell:
> the latest default includes fixes to CMakelists.txt to correct FindOptional, which seems to be related to this problem.
> Attempting to build the current default (1473) cmake reports...
>
> -- Could not find OPTIONAL package Optional
> -- No optional headers found, fall back to boost
>
> Fedora 24 is using boost-1.60.0-6, and there doesn't seem to be any sign of the file "boost/optional.hpp".
But the error message you quoted shows the presence of
In file included from /usr/include/boost/none.hpp:16:0,
from /usr/include/boost/optional/optional.hpp:51,
from /usr/include/boost/optional.hpp:15,
from /home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-
In the case of Ubuntu, the only difference between xenial (which
compiles) and yakkety (which fails) is that xenial uses boost-1.58.0
whereas yakkety uses boost-1.60.0.
So my conclusion is that something in the libboost implementation of
optional has changed between 1.58 and 1.60. And lo and behold, in the
release notes of boost 1.60 [1] you can find:
Optional:
Changed the implementation of boost::none again. Now it is a const
object with internal linkage (as any other tag). This fixes #11203.
So, this may be the root issue. How to fix this, however, is beyond my
pay grade.
With kind regards
Stefan Peter
[1] http://www.boost.org/users/history/version_1_60_0.html
Follow ups
References