← Back to team overview

hugin-devs team mailing list archive

[Bug 1597594] Re: Enblend-4.3-1472 fails to build in FC24

 

Hi Thomas
Thank you for your patches, I can confirm that it builds now for both xenial (boost 1.58) and yakkety (boost 1.60).

With kind regards

Stefan Peter

-- 
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:
  Fix Committed

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