[Webkit-unassigned] [Bug 245044] New: no viable conversion from returned value of type 'tuple<IPC::Attachment &&>'

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 11 05:04:21 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=245044

            Bug ID: 245044
           Summary: no viable conversion from returned value of type
                    'tuple<IPC::Attachment &&>'
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Other
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Platform
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ajacoutot at gnome.org

Hi.

Trying to build release 2.37.91 or HEAD (as of today) on:

$ uname -mrsv                                                  
OpenBSD 7.2 GENERIC.MP#719 amd64
$ c++ --version                                                
OpenBSD clang version 13.0.0
Target: amd64-unknown-openbsd7.2
Thread model: posix
InstalledDir: /usr/bin

... with libc++ 13.0.0.

I am running into the following error:

<...>/__/__/DerivedSources/WebKit/WebInspectorUIProxyMessageReceiver.cpp.o -MF Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebInspectorUIProxyMessageReceiver.cpp.o.d -o Source/WebKit/CMakeFiles/WebKit.dir/__/__/DerivedSources/WebKit/WebInspectorUIProxyMessageReceiver.cpp.o -c /hack/objdirs/pobj/webkitgtk40-2.37.91/build-amd64/DerivedSources/WebKit/WebInspectorUIProxyMessageReceiver.cpp
In file included from <built-in>:1:
In file included from /hack/objdirs/pobj/webkitgtk40-2.37.91/webkitgtk-2.37.91/Source/WebKit/WebKit2Prefix.h:72:
In file included from /usr/include/c++/v1/algorithm:653:
In file included from /usr/include/c++/v1/functional:495:
In file included from /usr/include/c++/v1/__functional/bind_front.h:14:
In file included from /usr/include/c++/v1/__functional/perfect_forward.h:14:
/usr/include/c++/v1/tuple:1505:12: error: no viable conversion from returned value of type 'tuple<IPC::Attachment &&>' to function return type 'tuple<IPC::Attachment>'
    return __tuple_cat<tuple<>, __tuple_indices<>,
           ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/hack/objdirs/pobj/webkitgtk40-2.37.91/webkitgtk-2.37.91/Source/WebKit/Platform/IPC/ArgumentCoders.h:532:21: note: in instantiation of function template specialization 'std::tuple_cat<std::tuple<IPC::Attachment>, std::tuple<>>' requested here
        return std::tuple_cat(std::make_tuple(WTFMove(*optional)), WTFMove(*remainder));
                    ^
/hack/objdirs/pobj/webkitgtk40-2.37.91/webkitgtk-2.37.91/Source/WebKit/Platform/IPC/ArgumentCoders.h:555:43: note: in instantiation of function template specialization 'IPC::TupleDecoder<IPC::Attachment>::decode<IPC::Decoder>' requested here
        return TupleDecoder<Elements...>::decode(decoder);
                                          ^
/hack/objdirs/pobj/webkitgtk40-2.37.91/webkitgtk-2.37.91/Source/WebKit/Platform/IPC/Decoder.h:126:40: note: in instantiation of function template specialization 'IPC::ArgumentCoder<std::tuple<IPC::Attachment>>::decode<IPC::Decoder>' requested here
            std::optional<T> t { Impl::decode(*this) };
                                       ^

Might have something to do with our libc++ version but as this point, I could use some help.
Thanks a lot.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220911/99638586/attachment.htm>


More information about the webkit-unassigned mailing list