[Webkit-unassigned] [Bug 275872] New: error: pack expansion contains parameter pack '_UTypes' that has a different length (3 vs. 1) from outer parameter packs

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 25 14:32:26 PDT 2024


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

            Bug ID: 275872
           Summary: error: pack expansion contains parameter pack
                    '_UTypes' that has a different length (3 vs. 1) from
                    outer parameter packs
           Product: WebKit
           Version: Other
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKitGTK
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: mcatanzaro at redhat.com
                CC: bugs-noreply at webkitgtk.org

I failed to build WebKitGTK 2.45.4 for GNOME. The error message is a little impressive:

/usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/tuple:691:2: error: pack expansion contains parameter pack '_UTypes' that has a different length (3 vs. 1) from outer parameter packs
      691 |         using __convertible = __and_<is_convertible<_UTypes, _Types>...>;
          |         ^~~~~
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/tuple:853:27: note: in instantiation of template type alias '__convertible' requested here
      853 |           = _TCC<true>::template __convertible<_Args...>::value;
          |                                  ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/tuple:948:12: note: in instantiation of static data member 'std::tuple<gl::TextureType, unsigned int, unsigned int>::__convertible<const std::tuple<gl::TextureType, unsigned int, unsigned int> &>' requested here
      948 |         explicit(!__convertible<_UElements&...>)
          |                   ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/type_traits:1108:57: note: while substituting deduced template arguments into function template 'tuple' [with _UElements = <const std::tuple<gl::TextureType, unsigned int, unsigned int> &>]
     1108 |       = __bool_constant<__is_nothrow_constructible(_Tp, _Args...)>;
          |                                                         ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/type_traits:1108:57: note: while substituting deduced template arguments into function template 'tuple' [with _NotEmpty = (no value), $1 = (no value)]
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/type_traits:1114:14: note: in instantiation of template type alias '__is_nothrow_constructible_impl' requested here
     1114 |     : public __is_nothrow_constructible_impl<_Tp, _Args...>
          |              ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/alloc_traits.h:534:16: note: (skipping 3 contexts in backtrace; use -ftemplate-backtrace-limit=0 to see all)
      534 |         noexcept(std::is_nothrow_constructible<_Up, _Args...>::value)
          |                       ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/stl_tree.h:614:4: note: in instantiation of function template specialization 'std::_Rb_tree<std::tuple<gl::TextureType, unsigned int, unsigned int>, std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>, std::_Select1st<std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>>, std::less<std::tuple<gl::TextureType, unsigned int, unsigned int>>>::_M_construct_node<const std::piecewise_construct_t &, std::tuple<const std::tuple<gl::TextureType, unsigned int, unsigned int> &>, std::tuple<>>' requested here
      614 |           _M_construct_node(__tmp, std::forward<_Args>(__args)...);
          |           ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/stl_tree.h:1637:18: note: in instantiation of function template specialization 'std::_Rb_tree<std::tuple<gl::TextureType, unsigned int, unsigned int>, std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>, std::_Select1st<std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>>, std::less<std::tuple<gl::TextureType, unsigned int, unsigned int>>>::_M_create_node<const std::piecewise_construct_t &, std::tuple<const std::tuple<gl::TextureType, unsigned int, unsigned int> &>, std::tuple<>>' requested here
     1637 |             _M_node(__t._M_create_node(std::forward<_Args>(__args)...))
          |                         ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/stl_tree.h:2462:13: note: in instantiation of function template specialization 'std::_Rb_tree<std::tuple<gl::TextureType, unsigned int, unsigned int>, std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>, std::_Select1st<std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>>, std::less<std::tuple<gl::TextureType, unsigned int, unsigned int>>>::_Auto_node::_Auto_node<const std::piecewise_construct_t &, std::tuple<const std::tuple<gl::TextureType, unsigned int, unsigned int> &>, std::tuple<>>' requested here
     2462 |         _Auto_node __z(*this, std::forward<_Args>(__args)...);
          |                    ^
    /usr/bin/../lib/gcc/x86_64-unknown-linux-gnu/13.2.0/../../../../include/c++/13.2.0/bits/stl_map.h:513:15: note: in instantiation of function template specialization 'std::_Rb_tree<std::tuple<gl::TextureType, unsigned int, unsigned int>, std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>, std::_Select1st<std::pair<const std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>>, std::less<std::tuple<gl::TextureType, unsigned int, unsigned int>>>::_M_emplace_hint_unique<const std::piecewise_construct_t &, std::tuple<const std::tuple<gl::TextureType, unsigned int, unsigned int> &>, std::tuple<>>' requested here
      513 |           __i = _M_t._M_emplace_hint_unique(__i, std::piecewise_construct,
          |                      ^
    /buildstream/gnome/sdk/webkit2gtk-4.1.bst/Source/ThirdParty/ANGLE/src/libANGLE/renderer/gl/BlitGL.cpp:1481:40: note: in instantiation of member function 'std::map<std::tuple<gl::TextureType, unsigned int, unsigned int>, rx::BlitGL::BlitProgram>::operator[]' requested here
     1481 |     BlitProgram &result = mBlitPrograms[programType];
          |                                        ^

Not sure what's wrong yet.

-- 
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/20240625/b55f81fd/attachment.htm>


More information about the webkit-unassigned mailing list