hugin-devs team mailing list archive
-
hugin-devs team
-
Mailing list archive
-
Message #06378
[Bug 1597594] Re: Enblend-4.3-1472 fails to build in FC24
Trying to do a bit of sleuthing on this.
I note that when I run cmake I get the message along the lines (I didn't get a copy) "optional not found falling back to Boost"
If I look at file 'FindOptional.cmake', I see...
IF (OPTONAL_INCLUDE_DIR)
# Already in cache, be silent
SET(OPTOINAL_FIND_QUIETLY TRUE)
ENDIF()
FIND_PATH(OPTIONAL_INCLUDE_DIR optional.hpp
/usr/local/include
/usr/include
${SOURCE_BASE_DIR}/Optional-master
)
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(Optional DEFAULT_MSG
OPTIONAL_INCLUDE_DIR)
MARK_AS_ADVANCED(
OPTIONAL_INCLUDE_DIR
)
Looks like a few tripewirting errors in this, but maybe of no
consequence anyway.
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