hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #06405
[Bug 1597594] Re: Enblend-4.3-1472 fails to build in FC24
OK, I do have "boost/optional.hpp", it is in /usr/include, but FindOptional is not finding it.
I tried a local change as follows...
diff -r c8d6c0d1a6fe CMakeModules/FindOptional.cmake
--- a/CMakeModules/FindOptional.cmake Sun Jul 03 18:11:07 2016 +0200
+++ b/CMakeModules/FindOptional.cmake Wed Jul 06 15:05:42 2016 +1000
@@ -4,8 +4,8 @@
ENDIF()
FIND_PATH(OPTIONAL_INCLUDE_DIR optional.hpp
- /usr/local/include
- /usr/include
+ /usr/local/include/boost
+ /usr/include/boost
${SOURCE_BASE_DIR}/Optional-master
)
and cmake now finds optional in Fedora 24, for what it's worth.
Doesn't help fix the original issue, which appears to be a result of changes introduced in boost-1.60.0.
Cheers,
Terry
--
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/1597594
Title:
Enblend-4.3-1472 fails to build in FC24
Status in Enblend:
New
Bug description:
Attempting to build Enblend-4.3-1472 (current default branch) in Fedora 24, using rpmbuild.
The build fails with the following message...
In file included from /home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:81:0:
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/optional_transitional.hpp:51:31: error: no matching function for call to 'boost::none_t::none_t()'
constexpr ::boost::none_t nullopt;
^~~~~~~
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-Source/src/optional_transitional.hpp:47,
from /home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:81:
/usr/include/boost/none_t.hpp:32:12: note: candidate: boost::none_t::none_t(boost::none_t::init_tag)
explicit none_t(init_tag){} // to prevent default constructor
^~~~~~
/usr/include/boost/none_t.hpp:32:12: note: candidate expects 1 argument, 0 provided
/usr/include/boost/none_t.hpp:29:8: note: candidate: constexpr boost::none_t::none_t(const boost::none_t&)
struct none_t
^~~~~~
/usr/include/boost/none_t.hpp:29:8: note: candidate expects 1 argument, 0 provided
/usr/include/boost/none_t.hpp:29:8: note: candidate: constexpr boost::none_t::none_t(boost::none_t&&)
/usr/include/boost/none_t.hpp:29:8: note: candidate expects 1 argument, 0 provided
In file included from /home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:190:0:
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/common.h: In function 'std::__cxx11::string enblend::expandFilenameTemplate(const string&, unsigned int, const string&, const string&, unsigned int)':
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/common.h:760:25: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
In file included from /home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/mask.h:42:0,
from /home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.h:46,
from /home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:193:
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/fillpolygon.hxx: In function 'void vigra_ext::detail::group_to_pairs(Iterator, Iterator, BackInsertIterator)':
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/fillpolygon.hxx:255:21: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc: In function 'int process_options(int, char**)':
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:926:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:933:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:965:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:1051:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:1063:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:1355:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:1390:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
/home/terry/rpmbuild/BUILD/enblend-4.3.0-1472hg-Source/src/enblend.cc:1495:13: warning: attributes at the beginning of statement are ignored [-Wattributes]
[[fallthrough]];
^
src/CMakeFiles/enblend.dir/build.make:65: recipe for target 'src/CMakeFiles/enblend.dir/enblend.cc.o' failed
make[2]: *** [src/CMakeFiles/enblend.dir/enblend.cc.o] Error 1
this source build OK using the same rpmbuild .spec file in Fedora 23,
so looks like an issue brought about by changes in Fedora.
Cheers,
Terry
To manage notifications about this bug go to:
https://bugs.launchpad.net/enblend/+bug/1597594/+subscriptions
References