Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 887053 - media-video/aegisub-3.2.2_p20160518-r104 with boost-1.81: /usr/include/boost/filesystem/detail/path_traits.hpp:495:85: error: call of overloaded ‘_check_convertible_to_path_source(const wxCStrData&)’ is ambiguous
Summary: media-video/aegisub-3.2.2_p20160518-r104 with boost-1.81: /usr/include/boost/...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Nick Sarnie
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: boost-1.83 boost-1.82
  Show dependency tree
 
Reported: 2022-12-18 20:50 UTC by Kobboi
Modified: 2023-08-12 09:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log.gz (build.log.gz,20 bytes, application/gzip)
2022-12-18 20:50 UTC, Kobboi
Details
emerge-info.txt (emerge-info.txt,7.88 KB, text/plain)
2022-12-18 20:50 UTC, Kobboi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kobboi 2022-12-18 20:50:06 UTC
x86_64-pc-linux-gnu-g++ -MMD -MP -DNDEBUG -I/var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/src/ -I.. -I/var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/src/include -I/var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/libaegisub/include -I/var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/build    -I/usr/include -O2 -march=znver3 -pipe -fomit-frame-pointer -g -ggdb3 -Wall -Wextra -Wno-unused-parameter -fno-strict-aliasing -std=c++11 -Wno-unused-local-typedefs -I/usr/lib64/wx/include/gtk2-unicode-3.0 -I/usr/include/wx-3.0 -D_FILE_OFFSET_BITS=64 -DWXUSINGDLL -D__WXGTK__ -pthread -include /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/src/agi_pre.h   -c -o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/src/dialog_export.o /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/src/dialog_export.cpp
In file included from /usr/include/boost/filesystem/path.hpp:21,
                 from /var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/src/agi_pre.h:110:
/usr/include/boost/filesystem/detail/path_traits.hpp: In instantiation of ‘constexpr const bool boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxCStrData>::value’:
/usr/include/boost/type_traits/conjunction.hpp:31:27:   required from ‘struct boost::conjunction<boost::disjunction<boost::filesystem::detail::path_traits::is_path_source<wxCStrData>, boost::filesystem::detail::path_traits::is_convertible_to_path_source<wxCStrData> >, boost::negation<boost::filesystem::detail::path_traits::is_native_path_source<wxCStrData> > >’
/usr/include/boost/filesystem/path.hpp:256:9:   required by substitution of ‘template<class Source, class> boost::filesystem::path::path(const Source&) [with Source = wxCStrData; <template-parameter-1-2> = <missing>]’
/var/tmp/portage/media-video/aegisub-3.2.2_p20160518-r104/work/aegisub-3.2.2_p20160518/src/dialog_attachments.cpp:164:139:   required from here
/usr/include/boost/filesystem/detail/path_traits.hpp:495:85: error: call of overloaded ‘_check_convertible_to_path_source(const wxCStrData&)’ is ambiguous
  495 |         sizeof(is_convertible_to_path_source< T >::_check_convertible_to_path_source(boost::declval< T const& >())) == sizeof(yes_type);
      |               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/filesystem/detail/path_traits.hpp:480:21: note: candidate: ‘static boost::filesystem::detail::path_traits::yes_type boost::filesystem::detail::path_traits::is_convertible_to_path_source<T>::_check_convertible_to_path_source(const char*) [with T = wxCStrData; boost::filesystem::detail::path_traits::yes_type = char]’
  480 |     static yes_type _check_convertible_to_path_source(const char*);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/filesystem/detail/path_traits.hpp:481:21: note: candidate: ‘static boost::filesystem::detail::path_traits::yes_type boost::filesystem::detail::path_traits::is_convertible_to_path_source<T>::_check_convertible_to_path_source(const wchar_t*) [with T = wxCStrData; boost::filesystem::detail::path_traits::yes_type = char]’
  481 |     static yes_type _check_convertible_to_path_source(const wchar_t*);
      |                     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/include/boost/filesystem/detail/path_traits.hpp:492:20: note: candidate: ‘static boost::filesystem::detail::path_traits::no_type boost::filesystem::detail::path_traits::is_convertible_to_path_source<T>::_check_convertible_to_path_source(...) [with T = wxCStrData]’
  492 |     static no_type _check_convertible_to_path_source(...);
      |                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Reproducible: Always
Comment 1 Kobboi 2022-12-18 20:50:16 UTC
Created attachment 843541 [details]
build.log.gz
Comment 2 Kobboi 2022-12-18 20:50:20 UTC
Created attachment 843543 [details]
emerge-info.txt
Comment 3 Larry the Git Cow gentoo-dev 2022-12-23 00:05:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c42bd08f89e86a4e78ba5fa8b5acdb1c20ecf201

commit c42bd08f89e86a4e78ba5fa8b5acdb1c20ecf201
Author:     Nick Sarnie <sarnex@gentoo.org>
AuthorDate: 2022-12-23 00:03:48 +0000
Commit:     Nick Sarnie <sarnex@gentoo.org>
CommitDate: 2022-12-23 00:05:02 +0000

    media-video/aegisub: Fix boost 1.8.1 build
    
    Closes: https://bugs.gentoo.org/887053
    
    Signed-off-by: Nick Sarnie <sarnex@gentoo.org>

 .../aegisub/aegisub-3.2.2_p20160518-r105.ebuild    | 161 +++++++++++++++++++++
 ...gisub-3.2.2_p20160518-fix-boost-181-build.patch |  56 +++++++
 2 files changed, 217 insertions(+)