Bug 1105217 - aegisub: fails to build with Boost 1.68.0
aegisub: fails to build with Boost 1.68.0
Status: RESOLVED FIXED
Classification: openSUSE
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Other
Current
Other Other
: P5 - None : Normal (vote)
: ---
Assigned To: Dave Plater
E-mail List
:
Depends on:
Blocks: 1105081
  Show dependency treegraph
 
Reported: 2018-08-17 14:12 UTC by Adam Majer
Modified: 2018-08-30 15:50 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam Majer 2018-08-17 14:12:07 UTC
New Boost library has been released and unfortunately this package fails to build with it. The new boost library is already in devel:libraries:c_c++/boost and will be submitted to openSUSE:Factory shortly.

https://build.opensuse.org/package/show/home:adamm:boost_test/aegisub

[  229s] /home/abuild/rpmbuild/BUILD/aegisub-3.2.2/src/search_replace_engine.cpp: In member function 'bool SearchReplaceEngine::ReplaceAll()':
[  229s] /home/abuild/rpmbuild/BUILD/aegisub-3.2.2/src/search_replace_engine.cpp:317:61: error: call of overloaded 'distance(boost::u32regex_iterator<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >, boost::u32regex_iterator<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >)' is ambiguous
[  229s]       boost::u32regex_iterator<std::string::const_iterator>());
[  229s]                                                              ^
[  229s] In file included from /usr/include/boost/range/distance.hpp:18,
[  229s]                  from /usr/include/boost/range/functions.hpp:21,
[  229s]                  from /usr/include/boost/range/iterator_range_core.hpp:38,
[  229s]                  from /usr/include/boost/range/iterator_range.hpp:13,
[  229s]                  from /usr/include/boost/range/adaptor/filtered.hpp:16,
[  229s]                  from /home/abuild/rpmbuild/BUILD/aegisub-3.2.2/src/agi_pre.h:104:
[  229s] /usr/include/boost/iterator/distance.hpp:49:9: note: candidate: 'typename boost::iterators::iterator_difference<Iterator>::type boost::iterators::distance_adl_barrier::distance(SinglePassIterator, SinglePassIterator) [with SinglePassIterator = boost::u32regex_iterator<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; typename boost::iterators::iterator_difference<Iterator>::type = long int]'
[  229s]          distance(SinglePassIterator first, SinglePassIterator last)
[  229s]          ^~~~~~~~
[  229s] In file included from /usr/include/c++/8/bits/stl_algobase.h:66,
[  229s]                  from /usr/include/c++/8/algorithm:61,
[  229s]                  from /home/abuild/rpmbuild/BUILD/aegisub-3.2.2/src/agi_pre.h:72:
[  230s] /usr/include/c++/8/bits/stl_iterator_base_funcs.h:138:5: note: candidate: 'typename std::iterator_traits<_Iterator>::difference_type std::distance(_InputIterator, _InputIterator) [with _InputIterator = boost::u32regex_iterator<__gnu_cxx::__normal_iterator<const char*, std::__cxx11::basic_string<char> > >; typename std::iterator_traits<_Iterator>::difference_type = long int]'
[  230s]      distance(_InputIterator __first, _InputIterator __last)
[  230s]      ^~~~~~~~
[  232s] /home/abuild/rpmbuild/BUILD/aegisub-3.2.2/src/resolution_resampler.cpp: In function 'void ResampleResolution(AssFile*, ResampleSettings)':
[  232s] /home/abuild/rpmbuild/BUILD/aegisub-3.2.2/src/resolution_resampler.cpp:235:24: warning: this statement may fall through [-Wimplicit-fallthrough=]
[  232s]     border_horizontally = !border_horizontally;
[  232s]     ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
[  232s] /home/abuild/rpmbuild/BUILD/aegisub-3.2.2/src/resolution_resampler.cpp:236:3: note: here
[  232s]    case ResampleARMode::AddBorder:
[  232s]    ^~~~
Comment 1 Dave Plater 2018-08-30 15:00:48 UTC
Fixed in sr#632352
Comment 2 Swamp Workflow Management 2018-08-30 15:50:06 UTC
This is an autogenerated message for OBS integration:
This bug (1105217) was mentioned in
https://build.opensuse.org/request/show/632356 Factory / aegisub